Searched refs:getParentFunctionOrMethod (Results 1 – 13 of 13) sorted by relevance
57 if (const auto *Parent = VD->getParentFunctionOrMethod()) in WriteNamedDecl()63 VD->getParentFunctionOrMethod() == nullptr)) in WriteNamedDecl()87 dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod())) in WriteNamedDecl()
875 return getParentFunctionOrMethod() == nullptr; in isDefinedOutsideFunctionOrMethod()894 const DeclContext *getParentFunctionOrMethod() const;895 DeclContext *getParentFunctionOrMethod() { in getParentFunctionOrMethod() function897 const_cast<const Decl*>(this)->getParentFunctionOrMethod()); in getParentFunctionOrMethod()
111 D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
127 return D->getParentFunctionOrMethod() != nullptr; in isLocal()190 if (D->getParentFunctionOrMethod()) in ShouldGenerateLocation()
64 if (!D->getParentFunctionOrMethod()) in isFunctionLocalSymbol()
610 if (!D->getParentFunctionOrMethod()) in VisitUsingDirectiveDecl()
227 if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) { in findIdRefsInFile()
423 if (!D->getParentFunctionOrMethod()) in isFunctionLocalDecl()
286 const DeclContext *Decl::getParentFunctionOrMethod() const { in getParentFunctionOrMethod() function in Decl
10786 const DeclContext *LexicalContext = VD->getParentFunctionOrMethod(); in basicGVALinkageForVariable()
4842 const clang::DeclContext *Context = Node.getParentFunctionOrMethod(); in AST_MATCHER_P()
1130 else if (const DeclContext *DC = D.getParentFunctionOrMethod()) in createUnnamedGlobalFrom()
13258 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()