/external/llvm-project/clang/lib/Frontend/ |
D | InterfaceStubFunctionsConsumer.cpp | 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()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | NonConstParameterCheck.cpp | 43 if (const DeclContext *D = Parm->getParentFunctionOrMethod()) { in check() 143 dyn_cast_or_null<const FunctionDecl>(Par->getParentFunctionOrMethod()); in diagnoseNonConstParameters()
|
D | IdentifierNamingCheck.cpp | 346 dyn_cast_or_null<FunctionDecl>(ParmDecl.getParentFunctionOrMethod()); in isParamInMainLikeFunction()
|
/external/llvm-project/clang-tools-extra/clang-doc/ |
D | Mapper.cpp | 32 if (D->getParentFunctionOrMethod()) in mapDecl()
|
/external/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 81 if (D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
|
D | USRGeneration.cpp | 117 return D->getParentFunctionOrMethod() != nullptr; in isLocal() 175 if (D->getParentFunctionOrMethod()) in ShouldGenerateLocation()
|
D | IndexingContext.cpp | 109 if (!D->getParentFunctionOrMethod()) in isFunctionLocalDecl()
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 741 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/ |
D | DeclBase.h | 875 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/ |
D | IndexTypeSourceInfo.cpp | 111 D->getParentFunctionOrMethod()) in VisitTagTypeLoc()
|
D | USRGeneration.cpp | 127 return D->getParentFunctionOrMethod() != nullptr; in isLocal() 190 if (D->getParentFunctionOrMethod()) in ShouldGenerateLocation()
|
D | IndexSymbol.cpp | 64 if (!D->getParentFunctionOrMethod()) in isFunctionLocalSymbol()
|
D | IndexDecl.cpp | 610 if (!D->getParentFunctionOrMethod()) in VisitUsingDirectiveDecl()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/ |
D | Rename.cpp | 214 if (RenameDecl.getParentFunctionOrMethod()) in renameable() 675 if (!Opts.AllowCrossFile || RenameDecl.getParentFunctionOrMethod()) { in rename()
|
/external/clang/tools/libclang/ |
D | CIndexHigh.cpp | 230 if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) { in findIdRefsInFile()
|
D | CXIndexDataConsumer.cpp | 420 if (!D->getParentFunctionOrMethod()) in isFunctionLocalDecl()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndexHigh.cpp | 227 if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) { in findIdRefsInFile()
|
D | CXIndexDataConsumer.cpp | 423 if (!D->getParentFunctionOrMethod()) in isFunctionLocalDecl()
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 211 const DeclContext *Decl::getParentFunctionOrMethod() const { in getParentFunctionOrMethod() function in Decl
|
/external/llvm-project/clang/lib/AST/ |
D | DeclBase.cpp | 286 const DeclContext *Decl::getParentFunctionOrMethod() const { in getParentFunctionOrMethod() function in Decl
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | XRefs.cpp | 1253 if (D->getParentFunctionOrMethod()) in findReferences()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGDecl.cpp | 1127 else if (const DeclContext *DC = D.getParentFunctionOrMethod()) in createUnnamedGlobalFrom()
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4578 const clang::DeclContext *Context = Node.getParentFunctionOrMethod(); in AST_MATCHER_P()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDecl.cpp | 13135 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/ |
D | SemaDecl.cpp | 10516 dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod())) { in FinalizeDeclaration() 10602 auto *F = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in FinalizeDeclaration()
|