Searched refs:getParentFunctionOrMethod (Results 1 – 11 of 11) sorted by relevance
58 if (const auto *Parent = VD->getParentFunctionOrMethod()) in WriteNamedDecl()64 VD->getParentFunctionOrMethod() == nullptr)) in WriteNamedDecl()88 dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod())) in WriteNamedDecl()
939 return getParentFunctionOrMethod() == nullptr; in isDefinedOutsideFunctionOrMethod()959 getParentFunctionOrMethod(bool LexicalParent = false) const;960 DeclContext *getParentFunctionOrMethod(bool LexicalParent = false) {962 const_cast<const Decl *>(this)->getParentFunctionOrMethod(
121 D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
130 return D->getParentFunctionOrMethod() != nullptr; in isLocal()196 if (D->getParentFunctionOrMethod()) in ShouldGenerateLocation()
64 if (!D->getParentFunctionOrMethod()) in isFunctionLocalSymbol()
632 if (!D->getParentFunctionOrMethod()) in VisitUsingDirectiveDecl()
317 const DeclContext *Decl::getParentFunctionOrMethod(bool LexicalParent) const { in getParentFunctionOrMethod() function in Decl
12232 const DeclContext *LexicalContext = VD->getParentFunctionOrMethod(); in basicGVALinkageForVariable()
1165 else if (const DeclContext *DC = D.getParentFunctionOrMethod()) in createUnnamedGlobalFrom()
5229 const clang::DeclContext *Context = Node.getParentFunctionOrMethod(); in AST_MATCHER_P()
14484 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()