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()
915 return getParentFunctionOrMethod() == nullptr; in isDefinedOutsideFunctionOrMethod()935 getParentFunctionOrMethod(bool LexicalParent = false) const;936 DeclContext *getParentFunctionOrMethod(bool LexicalParent = false) {938 const_cast<const Decl *>(this)->getParentFunctionOrMethod(
121 D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
128 return D->getParentFunctionOrMethod() != nullptr; in isLocal()194 if (D->getParentFunctionOrMethod()) in ShouldGenerateLocation()
64 if (!D->getParentFunctionOrMethod()) in isFunctionLocalSymbol()
632 if (!D->getParentFunctionOrMethod()) in VisitUsingDirectiveDecl()
227 if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) { in findIdRefsInFile()
428 if (!D->getParentFunctionOrMethod()) in isFunctionLocalDecl()
295 const DeclContext *Decl::getParentFunctionOrMethod(bool LexicalParent) const { in getParentFunctionOrMethod() function in Decl
11615 const DeclContext *LexicalContext = VD->getParentFunctionOrMethod(); in basicGVALinkageForVariable()
4969 const clang::DeclContext *Context = Node.getParentFunctionOrMethod(); in AST_MATCHER_P()
1150 else if (const DeclContext *DC = D.getParentFunctionOrMethod()) in createUnnamedGlobalFrom()
14196 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()