Home
last modified time | relevance | path

Searched refs:KindId (Results 1 – 2 of 2) sorted by relevance

/external/clang/include/clang/AST/
DASTTypeTraits.h49 ASTNodeKind() : KindId(NKI_None) {} in ASTNodeKind()
66 return KindId != NKI_None && KindId == Other.KindId; in isSame()
70 bool isNone() const { return KindId == NKI_None; } in isNone()
82 return KindId < Other.KindId;
105 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue()
107 return LHS.KindId == RHS.KindId; in isEqual()
114 return KindId > NKI_LastKindWithoutPointerIdentity; in hasPointerIdentity()
143 ASTNodeKind(NodeKindId KindId) : KindId(KindId) {} in ASTNodeKind() argument
169 NodeKindId KindId;
/external/clang/lib/AST/
DASTTypeTraits.cpp43 return isBaseOf(KindId, Other.KindId, Distance); in isBaseOf()
59 StringRef ASTNodeKind::asStringRef() const { return AllKindInfo[KindId].Name; } in asStringRef()
70 NodeKindId Parent = Kind1.KindId; in getMostDerivedCommonAncestor()
71 while (!isBaseOf(Parent, Kind2.KindId, nullptr) && Parent != NKI_None) { in getMostDerivedCommonAncestor()