Home
last modified time | relevance | path

Searched refs:DeclNode (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDeclNodes.td3 class DeclNode<DeclNode base, string diagSpelling = "", bit abstract = 0>
5 DeclNode Base = base;
12 def Decl : DeclNode<?, "", 1>;
13 def TranslationUnit : DeclNode<Decl>, DeclContext;
14 def PragmaComment : DeclNode<Decl>;
15 def PragmaDetectMismatch : DeclNode<Decl>;
16 def ExternCContext : DeclNode<Decl>, DeclContext;
17 def Named : DeclNode<Decl, "named declarations", 1>;
18 def Namespace : DeclNode<Named, "namespaces">, DeclContext;
19 def UsingDirective : DeclNode<Named>;
[all …]
H A DAttr.td224 class DeclArgument<DeclNode kind, string name, bit opt = 0, bit fake = 0>
226 DeclNode Kind = kind;
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DASTTableGen.h181 class DeclNode : public ASTNode {
183 DeclNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode()
187 DeclNode getBase() const { return DeclNode(ASTNode::getBase().getRecord()); } in getBase()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMapContext.cpp430 bool TraverseDecl(Decl *DeclNode) { in TraverseDecl() argument
432 DeclNode, DeclNode, [&] { return VisitorBase::TraverseDecl(DeclNode); }, in TraverseDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3970 const Decl *DeclNode = MsgNode->getMethodDecl(); variable
3971 return (DeclNode != nullptr &&
3972 InnerMatcher.matches(*DeclNode, Finder, Builder));
4254 const Decl *DeclNode = Node.getDecl(); in AST_MATCHER_P() local
4255 return (DeclNode != nullptr && in AST_MATCHER_P()
4256 InnerMatcher.matches(*DeclNode, Finder, Builder)); in AST_MATCHER_P()