Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/Frontend/
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()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DNonConstParameterCheck.cpp43 if (const DeclContext *D = Parm->getParentFunctionOrMethod()) { in check()
143 dyn_cast_or_null<const FunctionDecl>(Par->getParentFunctionOrMethod()); in diagnoseNonConstParameters()
DIdentifierNamingCheck.cpp346 dyn_cast_or_null<FunctionDecl>(ParmDecl.getParentFunctionOrMethod()); in isParamInMainLikeFunction()
/external/llvm-project/clang-tools-extra/clang-doc/
DMapper.cpp32 if (D->getParentFunctionOrMethod()) in mapDecl()
/external/clang/lib/Index/
DIndexTypeSourceInfo.cpp81 if (D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
DUSRGeneration.cpp117 return D->getParentFunctionOrMethod() != nullptr; in isLocal()
175 if (D->getParentFunctionOrMethod()) in ShouldGenerateLocation()
DIndexingContext.cpp109 if (!D->getParentFunctionOrMethod()) in isFunctionLocalDecl()
/external/clang/include/clang/AST/
DDeclBase.h741 return getParentFunctionOrMethod() == nullptr; in isDefinedOutsideFunctionOrMethod()
755 const DeclContext *getParentFunctionOrMethod() const;
756 DeclContext *getParentFunctionOrMethod() { in getParentFunctionOrMethod() function
758 const_cast<const Decl*>(this)->getParentFunctionOrMethod()); in getParentFunctionOrMethod()
/external/llvm-project/clang/include/clang/AST/
DDeclBase.h875 return getParentFunctionOrMethod() == nullptr; in isDefinedOutsideFunctionOrMethod()
894 const DeclContext *getParentFunctionOrMethod() const;
895 DeclContext *getParentFunctionOrMethod() { in getParentFunctionOrMethod() function
897 const_cast<const Decl*>(this)->getParentFunctionOrMethod()); in getParentFunctionOrMethod()
/external/llvm-project/clang/lib/Index/
DIndexTypeSourceInfo.cpp111 D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
DUSRGeneration.cpp127 return D->getParentFunctionOrMethod() != nullptr; in isLocal()
190 if (D->getParentFunctionOrMethod()) in ShouldGenerateLocation()
DIndexSymbol.cpp64 if (!D->getParentFunctionOrMethod()) in isFunctionLocalSymbol()
DIndexDecl.cpp610 if (!D->getParentFunctionOrMethod()) in VisitUsingDirectiveDecl()
/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.cpp214 if (RenameDecl.getParentFunctionOrMethod()) in renameable()
675 if (!Opts.AllowCrossFile || RenameDecl.getParentFunctionOrMethod()) { in rename()
/external/clang/tools/libclang/
DCIndexHigh.cpp230 if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) { in findIdRefsInFile()
DCXIndexDataConsumer.cpp420 if (!D->getParentFunctionOrMethod()) in isFunctionLocalDecl()
/external/llvm-project/clang/tools/libclang/
DCIndexHigh.cpp227 if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) { in findIdRefsInFile()
DCXIndexDataConsumer.cpp423 if (!D->getParentFunctionOrMethod()) in isFunctionLocalDecl()
/external/clang/lib/AST/
DDeclBase.cpp211 const DeclContext *Decl::getParentFunctionOrMethod() const { in getParentFunctionOrMethod() function in Decl
/external/llvm-project/clang/lib/AST/
DDeclBase.cpp286 const DeclContext *Decl::getParentFunctionOrMethod() const { in getParentFunctionOrMethod() function in Decl
/external/llvm-project/clang-tools-extra/clangd/
DXRefs.cpp1253 if (D->getParentFunctionOrMethod()) in findReferences()
/external/llvm-project/clang/lib/CodeGen/
DCGDecl.cpp1127 else if (const DeclContext *DC = D.getParentFunctionOrMethod()) in createUnnamedGlobalFrom()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h4578 const clang::DeclContext *Context = Node.getParentFunctionOrMethod(); in AST_MATCHER_P()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp13135 auto *FD = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()
13141 FD = dyn_cast_or_null<FunctionDecl>(FD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport()
13268 auto *F = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in FinalizeDeclaration()
/external/clang/lib/Sema/
DSemaDecl.cpp10516 dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod())) { in FinalizeDeclaration()
10602 auto *F = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in FinalizeDeclaration()

12