Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclBase.h915 return getParentFunctionOrMethod() == nullptr; in isDefinedOutsideFunctionOrMethod()
935 getParentFunctionOrMethod(bool LexicalParent = false) const;
936 DeclContext *getParentFunctionOrMethod(bool LexicalParent = false) {
938 const_cast<const Decl *>(this)->getParentFunctionOrMethod(
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp121 D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
H A DUSRGeneration.cpp128 return D->getParentFunctionOrMethod() != nullptr; in isLocal()
194 if (D->getParentFunctionOrMethod()) in ShouldGenerateLocation()
H A DIndexSymbol.cpp64 if (!D->getParentFunctionOrMethod()) in isFunctionLocalSymbol()
H A DIndexDecl.cpp632 if (!D->getParentFunctionOrMethod()) in VisitUsingDirectiveDecl()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndexHigh.cpp227 if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) { in findIdRefsInFile()
H A DCXIndexDataConsumer.cpp428 if (!D->getParentFunctionOrMethod()) in isFunctionLocalDecl()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclBase.cpp295 const DeclContext *Decl::getParentFunctionOrMethod(bool LexicalParent) const { in getParentFunctionOrMethod() function in Decl
H A DASTContext.cpp11615 const DeclContext *LexicalContext = VD->getParentFunctionOrMethod(); in basicGVALinkageForVariable()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4969 const clang::DeclContext *Context = Node.getParentFunctionOrMethod(); in AST_MATCHER_P()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGDecl.cpp1150 else if (const DeclContext *DC = D.getParentFunctionOrMethod()) in createUnnamedGlobalFrom()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDecl.cpp14196 auto *FD = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()
14202 FD = dyn_cast_or_null<FunctionDecl>(FD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()
14335 auto *F = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in FinalizeDeclaration()