19 #ifndef LLVM_CLANG_AST_TYPEORDERING_H
20 #define LLVM_CLANG_AST_TYPEORDERING_H
38 template<
class>
struct DenseMapInfo;
45 return QualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1));
65 return CanQualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1));
static clang::CanQualType getEmptyKey()
void * getAsOpaquePtr() const
static clang::CanQualType getTombstoneKey()
static unsigned getHashValue(clang::QualType Val)
static clang::QualType getEmptyKey()
static clang::QualType getTombstoneKey()
static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS)
static unsigned getHashValue(clang::CanQualType Val)
Function object that provides a total ordering on QualType values.
void * getAsOpaquePtr() const
Retrieve the internal representation of this canonical type.
static bool isEqual(clang::QualType LHS, clang::QualType RHS)
bool operator()(QualType T1, QualType T2) const
CanQual< Type > CanQualType
Represents a canonical, potentially-qualified type.