/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | ForwardDeclarationNamespaceCheck.cpp | 90 if (ParentDecl1->getDeclKind() == Decl::TranslationUnit || in haveSameNamespaceOrTranslationUnit() 91 ParentDecl2->getDeclKind() == Decl::TranslationUnit) { in haveSameNamespaceOrTranslationUnit() 94 assert(ParentDecl1->getDeclKind() == Decl::Namespace && in haveSameNamespaceOrTranslationUnit() 96 assert(ParentDecl2->getDeclKind() == Decl::Namespace && in haveSameNamespaceOrTranslationUnit() 105 if (ParentDecl->getDeclKind() == Decl::TranslationUnit) { in getNameOfNamespace()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclBase.cpp | 156 switch (getDeclKind()) { in getDeclKindName() 911 Decl::Kind DK = D->getDeclKind(); in castFromDeclContext() 998 static Decl::Kind getKind(const DeclContext *DC) { return DC->getDeclKind(); } in getKind() 1174 if (getDeclKind() == Decl::Enum) in isTransparentContext() 1176 else if (getDeclKind() == Decl::LinkageSpec || getDeclKind() == Decl::Export) in isTransparentContext() 1184 while (DC->getDeclKind() != Decl::TranslationUnit) { in isLinkageSpecContext() 1185 if (DC->getDeclKind() == Decl::LinkageSpec) in isLinkageSpecContext() 1198 while (DC->getDeclKind() != Decl::TranslationUnit) { in getExternCContext() 1199 if (DC->getDeclKind() == Decl::LinkageSpec && in getExternCContext() 1222 switch (getDeclKind()) { in getPrimaryContext() [all …]
|
D | ExternalASTMerger.cpp | 82 SearchResultDecl->getKind() == DC->getDeclKind()) in LookupSameContext()
|
D | ASTStructuralEquivalence.cpp | 1271 Method1->getDeclKind() == Method2->getDeclKind() && in IsStructurallyEquivalent()
|
D | ODRHash.cpp | 538 ID.AddInteger(Function->getDeclKind()); in AddFunctionDecl()
|
D | DeclCXX.cpp | 2046 switch (Function->getDeclKind()) { in getFromDecl()
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclBase.h | 1808 Decl::Kind getDeclKind() const { in getDeclKind() function 1848 bool isClosure() const { return getDeclKind() == Decl::Block; } in isClosure() 1855 switch (getDeclKind()) { in isObjCContainer() 1868 switch (getDeclKind()) { in isFunctionOrMethod() 1874 return getDeclKind() >= Decl::firstFunction && in isFunctionOrMethod() 1875 getDeclKind() <= Decl::lastFunction; in isFunctionOrMethod() 1881 return !isFunctionOrMethod() && getDeclKind() != Decl::LinkageSpec && in isLookupContext() 1882 getDeclKind() != Decl::Export; in isLookupContext() 1886 return getDeclKind() == Decl::TranslationUnit || in isFileContext() 1887 getDeclKind() == Decl::Namespace; in isFileContext() [all …]
|
D | Decl.h | 1146 return DC->isFunctionOrMethod() && DC->getDeclKind() != Decl::Block; in isFunctionOrMethodVarDecl()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | StaticDefinitionInAnonymousNamespaceCheck.cpp | 39 if (DC->getDeclKind() != Decl::Namespace) in check()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/ |
D | Rename.cpp | 110 if (Method->getDeclKind() == Decl::Kind::CXXConstructor || in canonicalRenameDecl() 111 Method->getDeclKind() == Decl::Kind::CXXDestructor) in canonicalRenameDecl() 333 switch (DC->getDeclKind()) { in lookupSiblingWithName()
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 727 Decl::Kind DK = D->getDeclKind(); in castFromDeclContext() 811 static Decl::Kind getKind(const DeclContext *DC) { return DC->getDeclKind(); } in getKind() 965 while (DC->getDeclKind() != Decl::TranslationUnit) { in isLinkageSpecContext() 966 if (DC->getDeclKind() == Decl::LinkageSpec) in isLinkageSpecContext()
|
D | Decl.cpp | 303 while (DC->getDeclKind() != Decl::TranslationUnit) { in getOutermostFuncOrBlockContext()
|
/external/clang/lib/Serialization/ |
D | ASTCommon.cpp | 180 switch (DC->getDeclKind()) { in getDefinitiveDeclContext()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTCommon.cpp | 281 switch (DC->getDeclKind()) { in getDefinitiveDeclContext()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 200 switch (DC->getDeclKind()) { in PrintDeclContext()
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 1208 Decl::Kind getDeclKind() const { in getDeclKind() function 1860 return To::classofKind(Val.getDeclKind());
|
D | Decl.h | 1046 return DC->isFunctionOrMethod() && DC->getDeclKind() != Decl::Block; in isFunctionOrMethodVarDecl()
|
/external/clang/lib/Sema/ |
D | SemaPseudoObject.cpp | 684 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse() 685 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
|
D | SemaDeclObjC.cpp | 3678 switch (CurContext->getDeclKind()) { in getObjCContainerKind() 3999 switch (container->getDeclKind()) { in searchFromContainer()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | SymbolCollector.cpp | 231 switch (DeclCtx->getDeclKind()) { in shouldCollectSymbol()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaPseudoObject.cpp | 689 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse() 690 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
|
D | SemaDeclObjC.cpp | 3806 switch (CurContext->getDeclKind()) { in getObjCContainerKind() 4312 switch (container->getDeclKind()) { in searchFromContainer()
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
D | DWARFASTParserClang.cpp | 924 containing_decl_ctx->getDeclKind(); in ParseSubroutine() 1600 const clang::Decl::Kind containing_decl_kind = decl_ctx->getDeclKind(); in ParseStructureLikeDIE() 2979 DeclKindIsCXXClass(containing_decl_ctx->getDeclKind()) && in ParseChildParameters()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | CodeComplete.cpp | 1849 switch (ND.getDeclContext()->getDeclKind()) { in isIndexedForCodeCompletion()
|
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
D | TypeSystemClang.cpp | 2332 lhs_decl_ctx->getDeclKind(); in DeclsAreEquivalent() 2334 rhs_decl_ctx->getDeclKind(); in DeclsAreEquivalent() 2368 switch (lhs_decl_ctx->getDeclKind()) { in DeclsAreEquivalent()
|