Go to the documentation of this file.
18 #ifndef LLVM_CLANG_AST_TYPEORDERING_H
19 #define LLVM_CLANG_AST_TYPEORDERING_H
38 template<>
struct DenseMapInfo<
clang::QualType> {
43 return QualType::getFromOpaquePtr(
reinterpret_cast<clang::Type *
>(-1));
63 return CanQualType::getFromOpaquePtr(
reinterpret_cast<clang::Type *
>(-1));
YAML serialization mapping.
static unsigned getHashValue(clang::CanQualType Val)
static bool isEqual(clang::QualType LHS, clang::QualType RHS)
static clang::QualType getTombstoneKey()
static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS)
A (possibly-)qualified type.
static clang::CanQualType getEmptyKey()
The base class of the type hierarchy.
void * getAsOpaquePtr() const
Retrieve the internal representation of this canonical type.
static unsigned getHashValue(clang::QualType Val)
CanQual< Type > CanQualType
Represents a canonical, potentially-qualified type.
__UINTPTR_TYPE__ uintptr_t
An unsigned integer type with the property that any valid pointer to void can be converted to this ty...
static clang::CanQualType getTombstoneKey()
static clang::QualType getEmptyKey()
void * getAsOpaquePtr() const
Function object that provides a total ordering on QualType values.
bool operator()(QualType T1, QualType T2) const