tipc
A TIP to LLVM compiler
|
A simple type constraint representation. More...
#include <TypeConstraint.h>
Public Member Functions | |
TypeConstraint ()=delete | |
TypeConstraint (std::shared_ptr< TipType > l, std::shared_ptr< TipType > r) | |
bool | operator== (const TypeConstraint &other) const |
Two constraints are equal if their underlying terms are equal. More... | |
bool | operator!= (const TypeConstraint &other) const |
Public Attributes | |
std::shared_ptr< TipType > | lhs |
std::shared_ptr< TipType > | rhs |
Friends | |
std::ostream & | operator<< (std::ostream &os, const TypeConstraint &obj) |
A simple type constraint representation.
|
delete |
bool TypeConstraint::operator!= | ( | const TypeConstraint & | other | ) | const |
bool TypeConstraint::operator== | ( | const TypeConstraint & | other | ) | const |
Two constraints are equal if their underlying terms are equal.
|
friend |
std::shared_ptr<TipType> TypeConstraint::lhs |
std::shared_ptr<TipType> TypeConstraint::rhs |