Home
last modified time | relevance | path

Searched refs:getParentFunctionOrMethod (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp57 if (const auto *Parent = VD->getParentFunctionOrMethod()) in WriteNamedDecl()
63 VD->getParentFunctionOrMethod() == nullptr)) in WriteNamedDecl()
87 dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod())) in WriteNamedDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclBase.h875 return getParentFunctionOrMethod() == nullptr; in isDefinedOutsideFunctionOrMethod()
894 const DeclContext *getParentFunctionOrMethod() const;
895 DeclContext *getParentFunctionOrMethod() { in getParentFunctionOrMethod() function
897 const_cast<const Decl*>(this)->getParentFunctionOrMethod()); in getParentFunctionOrMethod()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp111 D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
H A DUSRGeneration.cpp127 return D->getParentFunctionOrMethod() != nullptr; in isLocal()
190 if (D->getParentFunctionOrMethod()) in ShouldGenerateLocation()
H A DIndexSymbol.cpp64 if (!D->getParentFunctionOrMethod()) in isFunctionLocalSymbol()
H A DIndexDecl.cpp610 if (!D->getParentFunctionOrMethod()) in VisitUsingDirectiveDecl()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndexHigh.cpp227 if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) { in findIdRefsInFile()
H A DCXIndexDataConsumer.cpp423 if (!D->getParentFunctionOrMethod()) in isFunctionLocalDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclBase.cpp286 const DeclContext *Decl::getParentFunctionOrMethod() const { in getParentFunctionOrMethod() function in Decl
H A DASTContext.cpp10786 const DeclContext *LexicalContext = VD->getParentFunctionOrMethod(); in basicGVALinkageForVariable()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4842 const clang::DeclContext *Context = Node.getParentFunctionOrMethod(); in AST_MATCHER_P()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDecl.cpp1130 else if (const DeclContext *DC = D.getParentFunctionOrMethod()) in createUnnamedGlobalFrom()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDecl.cpp13258 auto *FD = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()
13264 FD = dyn_cast_or_null<FunctionDecl>(FD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()
13391 auto *F = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in FinalizeDeclaration()