Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp58 if (const auto *Parent = VD->getParentFunctionOrMethod()) in WriteNamedDecl()
64 VD->getParentFunctionOrMethod() == nullptr)) in WriteNamedDecl()
88 dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod())) in WriteNamedDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp122 D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
H A DUSRGeneration.cpp126 return D->getParentFunctionOrMethod() != nullptr; in isLocal()
192 if (D->getParentFunctionOrMethod()) in ShouldGenerateLocation()
H A DIndexSymbol.cpp64 if (!D->getParentFunctionOrMethod()) in isFunctionLocalSymbol()
H A DIndexDecl.cpp632 if (!D->getParentFunctionOrMethod()) in VisitUsingDirectiveDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h947 return getParentFunctionOrMethod() == nullptr; in isDefinedOutsideFunctionOrMethod()
967 getParentFunctionOrMethod(bool LexicalParent = false) const;
968 DeclContext *getParentFunctionOrMethod(bool LexicalParent = false) {
970 const_cast<const Decl *>(this)->getParentFunctionOrMethod(
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp323 const DeclContext *Decl::getParentFunctionOrMethod(bool LexicalParent) const { in getParentFunctionOrMethod() function in Decl
H A DASTContext.cpp12857 const DeclContext *LexicalContext = VD->getParentFunctionOrMethod(); in basicGVALinkageForVariable()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp1157 else if (const DeclContext *DC = D.getParentFunctionOrMethod()) in createUnnamedGlobalFrom()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5275 const clang::DeclContext *Context = Node.getParentFunctionOrMethod(); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp14869 auto *FD = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()
14875 FD = dyn_cast_or_null<FunctionDecl>(FD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()
15005 auto *F = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in FinalizeDeclaration()