Searched refs:DeclNode (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | DeclNodes.td | 3 class DeclNode<DeclNode base, string diagSpelling = "", bit abstract = 0> 5 DeclNode Base = base; 12 def Decl : DeclNode<?, "", 1>; 14 def PragmaComment : DeclNode<Decl>; 40 def Binding : DeclNode<Value>; 43 def MSGuid : DeclNode<Value>; 97 def AccessSpec : DeclNode<Decl>; 98 def Friend : DeclNode<Decl>; 104 def Import : DeclNode<Decl>; 106 def OMPAllocate : DeclNode<Decl>; [all …]
|
| H A D | Attr.td | 200 class DeclArgument<DeclNode kind, string name, bit opt = 0, bit fake = 0> 202 DeclNode Kind = kind;
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 152 bool TraverseDecl(Decl *DeclNode) { in TraverseDecl() argument 154 if (DeclNode && DeclNode->isImplicit() && in TraverseDecl() 156 return baseTraverse(*DeclNode); in TraverseDecl() 159 return (DeclNode == nullptr) || traverse(*DeclNode); in TraverseDecl() 334 bool baseTraverse(const Decl &DeclNode) { in baseTraverse() argument 489 TypeAliases[CanonicalType].insert(DeclNode); in VisitTypedefNameDecl() 499 bool TraverseDecl(Decl *DeclNode); 1422 bool MatchASTVisitor::TraverseDecl(Decl *DeclNode) { in TraverseDecl() argument 1423 if (!DeclNode) { in TraverseDecl() 1441 } else if (isa<BindingDecl>(DeclNode)) { in TraverseDecl() [all …]
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ASTTableGen.h | 180 class DeclNode : public ASTNode { 182 DeclNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() 186 DeclNode getBase() const { return DeclNode(ASTNode::getBase().getRecord()); } in getBase()
|
| H A D | ASTTableGen.cpp | 45 std::string clang::tblgen::DeclNode::getClassName() const { in getClassName() 48 StringRef clang::tblgen::DeclNode::getId() const { in getId()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ParentMapContext.cpp | 420 bool TraverseDecl(Decl *DeclNode) { in TraverseDecl() argument 422 DeclNode, DeclNode, [&] { return VisitorBase::TraverseDecl(DeclNode); }, in TraverseDecl()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | ASTSelectionTest.cpp | 116 const SelectedASTNode &DeclNode, SourceSelectionKind SelectionKind, in checkNode() argument 120 checkNodeImpl(isa<T>(DeclNode.Node.get<Decl>()), DeclNode, SelectionKind, in checkNode() 123 checkDeclName(DeclNode, Name); in checkNode() 124 return DeclNode; in checkNode()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 3872 const Decl *DeclNode = MsgNode->getMethodDecl(); variable 3873 return (DeclNode != nullptr && 3874 InnerMatcher.matches(*DeclNode, Finder, Builder)); 4157 const Decl *DeclNode = Node.getDecl(); in AST_MATCHER_P() local 4158 return (DeclNode != nullptr && in AST_MATCHER_P() 4159 InnerMatcher.matches(*DeclNode, Finder, Builder)); in AST_MATCHER_P()
|