reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/Decl.h
 1138     return DC->isFunctionOrMethod() && DC->getDeclKind() != Decl::Block;
tools/clang/include/clang/AST/DeclBase.h
 1812   bool isClosure() const { return getDeclKind() == Decl::Block; }
 1819     switch (getDeclKind()) {
 1832     switch (getDeclKind()) {
 1838       return getDeclKind() >= Decl::firstFunction &&
 1839              getDeclKind() <= Decl::lastFunction;
 1845     return !isFunctionOrMethod() && getDeclKind() != Decl::LinkageSpec &&
 1846            getDeclKind() != Decl::Export;
 1850     return getDeclKind() == Decl::TranslationUnit ||
 1851            getDeclKind() == Decl::Namespace;
 1855     return getDeclKind() == Decl::TranslationUnit;
 1859     return getDeclKind() >= Decl::firstRecord &&
 1860            getDeclKind() <= Decl::lastRecord;
 1863   bool isNamespace() const { return getDeclKind() == Decl::Namespace; }
 2491     return To::classofKind(Val.getDeclKind());
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
 1041       Method1->getDeclKind() == Method2->getDeclKind() &&
 1041       Method1->getDeclKind() == Method2->getDeclKind() &&
tools/clang/lib/AST/Decl.cpp
  304   while (DC->getDeclKind() != Decl::TranslationUnit) {
tools/clang/lib/AST/DeclBase.cpp
  156   switch (getDeclKind()) {
  859   Decl::Kind DK = D->getDeclKind();
  946 static Decl::Kind getKind(const DeclContext *DC) { return DC->getDeclKind(); }
 1122   if (getDeclKind() == Decl::Enum)
 1124   else if (getDeclKind() == Decl::LinkageSpec || getDeclKind() == Decl::Export)
 1124   else if (getDeclKind() == Decl::LinkageSpec || getDeclKind() == Decl::Export)
 1132   while (DC->getDeclKind() != Decl::TranslationUnit) {
 1133     if (DC->getDeclKind() == Decl::LinkageSpec)
 1146   while (DC->getDeclKind() != Decl::TranslationUnit) {
 1147     if (DC->getDeclKind() == Decl::LinkageSpec &&
 1170   switch (getDeclKind()) {
 1209     if (getDeclKind() >= Decl::firstTag && getDeclKind() <= Decl::lastTag) {
 1209     if (getDeclKind() >= Decl::firstTag && getDeclKind() <= Decl::lastTag) {
 1229     assert(getDeclKind() >= Decl::firstFunction &&
 1230            getDeclKind() <= Decl::lastFunction &&
 1240   if (getDeclKind() != Decl::Namespace) {
 1610   assert(getDeclKind() != Decl::LinkageSpec &&
 1611          getDeclKind() != Decl::Export &&
 1675   assert(getDeclKind() != Decl::LinkageSpec &&
 1676          getDeclKind() != Decl::Export &&
 1752   bool SkipRecords = getDeclKind() == Decl::Kind::Enum &&
tools/clang/lib/AST/DeclCXX.cpp
 1939   switch (Function->getDeclKind()) {
tools/clang/lib/AST/Expr.cpp
  862       if (DC->isFunctionOrMethod() && (DC->getDeclKind() != Decl::Captured)) {
tools/clang/lib/AST/ExternalASTMerger.cpp
   82         SearchResultDecl->getKind() == DC->getDeclKind())
tools/clang/lib/AST/ODRHash.cpp
  533   ID.AddInteger(Function->getDeclKind());
tools/clang/lib/Sema/SemaDecl.cpp
13627       getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl &&
13628       getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation)
15476       DC->getDeclKind() == Decl::Enum) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9774   switch (CurContext->getDeclKind()) {
tools/clang/lib/Sema/SemaDeclObjC.cpp
 3781   switch (CurContext->getDeclKind()) {
 4221     switch (container->getDeclKind()) {
tools/clang/lib/Sema/SemaOverload.cpp
10566   switch (Cand->Function->getDeclKind()) {
tools/clang/lib/Sema/SemaPseudoObject.cpp
  697       S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl &&
  698       S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) {
tools/clang/lib/Serialization/ASTCommon.cpp
  264   switch (DC->getDeclKind()) {
tools/clang/tools/extra/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp
   90   if (ParentDecl1->getDeclKind() == Decl::TranslationUnit ||
   91       ParentDecl2->getDeclKind() == Decl::TranslationUnit) {
   94   assert(ParentDecl1->getDeclKind() == Decl::Namespace &&
   96   assert(ParentDecl2->getDeclKind() == Decl::Namespace &&
  105   if (ParentDecl->getDeclKind() == Decl::TranslationUnit) {
tools/clang/tools/extra/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.cpp
   39   if (DC->getDeclKind() != Decl::Namespace)
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1776     switch (ND.getDeclContext()->getDeclKind()) {
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
  222   switch (DeclCtx->getDeclKind()) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
  784         containing_decl_ctx->getDeclKind();
 1507       const clang::Decl::Kind containing_decl_kind = decl_ctx->getDeclKind();
 3129               DeclKindIsCXXClass(containing_decl_ctx->getDeclKind()) &&
tools/lldb/source/Symbol/ClangASTContext.cpp
 2374                 lhs_decl_ctx->getDeclKind();
 2376                 rhs_decl_ctx->getDeclKind();
 2410           switch (lhs_decl_ctx->getDeclKind()) {