/external/clang/include/clang/AST/ |
D | ASTTypeTraits.h | 210 class DynTypedNode { 214 static DynTypedNode create(const T &Node) { 272 bool operator<(const DynTypedNode &Other) const { 302 bool operator==(const DynTypedNode &Other) const { 322 bool operator!=(const DynTypedNode &Other) const { 329 static inline DynTypedNode getEmptyKey() { 330 DynTypedNode Node; 334 static inline DynTypedNode getTombstoneKey() { 335 DynTypedNode Node; 339 static unsigned getHashValue(const DynTypedNode &Val) { [all …]
|
D | ASTContext.h | 467 typedef llvm::SmallVector<ast_type_traits::DynTypedNode, 2> ParentVector; 474 ast_type_traits::DynTypedNode *, 480 ast_type_traits::DynTypedNode, 482 ast_type_traits::DynTypedNode *, ParentVector *>> 488 typedef ast_type_traits::DynTypedNode DynTypedNode; typedef 489 llvm::AlignedCharArrayUnion<ast_type_traits::DynTypedNode, 490 ArrayRef<DynTypedNode>> Storage; 494 DynTypedNodeList(const DynTypedNode &N) : IsSingleNode(true) { in DynTypedNodeList() 495 new (Storage.buffer) DynTypedNode(N); in DynTypedNodeList() 497 DynTypedNodeList(ArrayRef<DynTypedNode> A) : IsSingleNode(false) { in DynTypedNodeList() [all …]
|
/external/clang/unittests/AST/ |
D | ASTTypeTraitsTest.cpp | 127 TEST(DynTypedNode, DeclSourceRange) { in TEST() argument 128 RangeVerifier<DynTypedNode> Verifier; in TEST() 133 TEST(DynTypedNode, StmtSourceRange) { in TEST() argument 134 RangeVerifier<DynTypedNode> Verifier; in TEST() 139 TEST(DynTypedNode, TypeLocSourceRange) { in TEST() argument 140 RangeVerifier<DynTypedNode> Verifier; in TEST() 145 TEST(DynTypedNode, NNSLocSourceRange) { in TEST() argument 146 RangeVerifier<DynTypedNode> Verifier; in TEST() 152 TEST(DynTypedNode, DeclDump) { in TEST() argument 158 TEST(DynTypedNode, StmtDump) { in TEST() argument [all …]
|
D | MatchVerifier.h | 162 inline void MatchVerifier<ast_type_traits::DynTypedNode>::run( in run() 260 class DumpVerifier : public MatchVerifier<ast_type_traits::DynTypedNode> { 268 const ast_type_traits::DynTypedNode &Node) override { in verify() 287 class PrintVerifier : public MatchVerifier<ast_type_traits::DynTypedNode> { 295 const ast_type_traits::DynTypedNode &Node) override { in verify()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 24 bool NotUnaryOperator(const ast_type_traits::DynTypedNode &DynNode, 28 bool AllOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, 33 bool EachOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, 38 bool AnyOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, 55 const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, 64 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() 80 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() 103 bool dynMatches(const ast_type_traits::DynTypedNode &, ASTMatchFinder *, in dynMatches() argument 182 bool DynTypedMatcher::matches(const ast_type_traits::DynTypedNode &DynNode, in matches() 197 const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, in matchesNoKindCheck() [all …]
|
D | ASTMatchFinder.cpp | 61 ast_type_traits::DynTypedNode Node; 113 bool findMatch(const ast_type_traits::DynTypedNode &DynNode) { in findMatch() 251 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node), Finder, in match() 259 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node), Finder, in match() 376 bool memoizedMatchesRecursively(const ast_type_traits::DynTypedNode &Node, in memoizedMatchesRecursively() 410 bool matchesRecursively(const ast_type_traits::DynTypedNode &Node, in matchesRecursively() 424 bool matchesChildOf(const ast_type_traits::DynTypedNode &Node, in matchesChildOf() 435 bool matchesDescendantOf(const ast_type_traits::DynTypedNode &Node, in matchesDescendantOf() 445 bool matchesAncestorOf(const ast_type_traits::DynTypedNode &Node, in matchesAncestorOf() 459 void match(const ast_type_traits::DynTypedNode &Node) { in match() [all …]
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchFinder.h | 184 match(clang::ast_type_traits::DynTypedNode::create(Node), Context); in match() 186 void match(const clang::ast_type_traits::DynTypedNode &Node, 240 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node, 281 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node, in match() 293 return match(Matcher, ast_type_traits::DynTypedNode::create(Node), Context); in match()
|
D | ASTMatchersInternal.h | 126 void addNode(StringRef ID, const ast_type_traits::DynTypedNode& DynNode) { in addNode() 143 ast_type_traits::DynTypedNode getNode(StringRef ID) const { in getNode() 146 return ast_type_traits::DynTypedNode(); in getNode() 161 typedef std::map<std::string, ast_type_traits::DynTypedNode> IDToNodeMap; 200 void setBinding(StringRef Id, const ast_type_traits::DynTypedNode &DynNode) { in setBinding() 257 virtual bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, 280 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() 362 bool matches(const ast_type_traits::DynTypedNode &DynNode, 369 bool matchesNoKindCheck(const ast_type_traits::DynTypedNode &DynNode, 509 return Implementation.matches(ast_type_traits::DynTypedNode::create(Node), in matches() [all …]
|
D | ASTMatchers.h | 3474 Predicate.Node = ast_type_traits::DynTypedNode::create(Node); in AST_POLYMORPHIC_MATCHER_P() 5371 llvm::SmallVector<ast_type_traits::DynTypedNode, 8> Stack(Parents.begin(), in AST_MATCHER_P()
|
/external/clang/lib/AST/ |
D | ASTTypeTraits.cpp | 108 void DynTypedNode::print(llvm::raw_ostream &OS, in print() 130 void DynTypedNode::dump(llvm::raw_ostream &OS, SourceManager &SM) const { in dump() 139 SourceRange DynTypedNode::getSourceRange() const { in getSourceRange()
|
D | ASTContext.cpp | 797 if (Entry.second.is<ast_type_traits::DynTypedNode *>()) { in ReleaseParentMapEntries() 798 delete Entry.second.get<ast_type_traits::DynTypedNode *>(); in ReleaseParentMapEntries() 804 if (Entry.second.is<ast_type_traits::DynTypedNode *>()) { in ReleaseParentMapEntries() 805 delete Entry.second.get<ast_type_traits::DynTypedNode *>(); in ReleaseParentMapEntries() 8888 ast_type_traits::DynTypedNode getSingleDynTypedNodeFromParentMap( in getSingleDynTypedNodeFromParentMap() 8891 return ast_type_traits::DynTypedNode::create(*D); in getSingleDynTypedNodeFromParentMap() 8893 return ast_type_traits::DynTypedNode::create(*S); in getSingleDynTypedNodeFromParentMap() 8894 return *U.get<ast_type_traits::DynTypedNode *>(); in getSingleDynTypedNodeFromParentMap() 8900 ast_type_traits::DynTypedNode createDynTypedNode(const T &Node) { in createDynTypedNode() 8901 return ast_type_traits::DynTypedNode::create(*Node); in createDynTypedNode() [all …]
|
/external/v8/tools/clang/base_bind_rewriters/ |
D | BaseBindRewriters.cpp | 39 using clang::ast_type_traits::DynTypedNode;
|