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/include/clang/AST/
H A DDeclBase.h939 return getParentFunctionOrMethod() == nullptr; in isDefinedOutsideFunctionOrMethod()
959 getParentFunctionOrMethod(bool LexicalParent = false) const;
960 DeclContext *getParentFunctionOrMethod(bool LexicalParent = false) {
962 const_cast<const Decl *>(this)->getParentFunctionOrMethod(
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp121 D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
H A DUSRGeneration.cpp130 return D->getParentFunctionOrMethod() != nullptr; in isLocal()
196 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/lib/AST/
H A DDeclBase.cpp317 const DeclContext *Decl::getParentFunctionOrMethod(bool LexicalParent) const { in getParentFunctionOrMethod() function in Decl
H A DASTContext.cpp12232 const DeclContext *LexicalContext = VD->getParentFunctionOrMethod(); in basicGVALinkageForVariable()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp1165 else if (const DeclContext *DC = D.getParentFunctionOrMethod()) in createUnnamedGlobalFrom()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5229 const clang::DeclContext *Context = Node.getParentFunctionOrMethod(); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp14484 auto *FD = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()
14490 FD = dyn_cast_or_null<FunctionDecl>(FD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()
14617 auto *F = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in FinalizeDeclaration()