Lines Matching defs:clang
17 #include "clang/AST/CharUnits.h"
22 namespace clang {
51 } // end namespace clang
55 template<> struct DenseMapInfo<clang::BaseSubobject> {
56 static clang::BaseSubobject getEmptyKey() {
57 return clang::BaseSubobject(
58 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(),
59 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey()));
62 static clang::BaseSubobject getTombstoneKey() {
63 return clang::BaseSubobject(
64 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(),
65 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey()));
68 static unsigned getHashValue(const clang::BaseSubobject &Base) {
69 typedef std::pair<const clang::CXXRecordDecl *, clang::CharUnits> PairTy;
74 static bool isEqual(const clang::BaseSubobject &LHS,
75 const clang::BaseSubobject &RHS) {
81 template <> struct isPodLike<clang::BaseSubobject> {