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()
122 D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
126 return D->getParentFunctionOrMethod() != nullptr; in isLocal()192 if (D->getParentFunctionOrMethod()) in ShouldGenerateLocation()
64 if (!D->getParentFunctionOrMethod()) in isFunctionLocalSymbol()
632 if (!D->getParentFunctionOrMethod()) in VisitUsingDirectiveDecl()
947 return getParentFunctionOrMethod() == nullptr; in isDefinedOutsideFunctionOrMethod()967 getParentFunctionOrMethod(bool LexicalParent = false) const;968 DeclContext *getParentFunctionOrMethod(bool LexicalParent = false) {970 const_cast<const Decl *>(this)->getParentFunctionOrMethod(
323 const DeclContext *Decl::getParentFunctionOrMethod(bool LexicalParent) const { in getParentFunctionOrMethod() function in Decl
12857 const DeclContext *LexicalContext = VD->getParentFunctionOrMethod(); in basicGVALinkageForVariable()
1157 else if (const DeclContext *DC = D.getParentFunctionOrMethod()) in createUnnamedGlobalFrom()
5275 const clang::DeclContext *Context = Node.getParentFunctionOrMethod(); in AST_MATCHER_P()
14869 auto *FD = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()14875 FD = dyn_cast_or_null<FunctionDecl>(FD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()15005 auto *F = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in FinalizeDeclaration()