/external/clang/include/clang/AST/ |
D | Decl.h | 206 if (isa<EnumDecl>(DC)) in isCXXClassMember() 2294 static EnumConstantDecl *Create(ASTContext &C, EnumDecl *DC, 2810 class EnumDecl : public TagDecl { 2840 EnumDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in EnumDecl() function 2841 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, in EnumDecl() 2854 void setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED, 2857 EnumDecl *getCanonicalDecl() override { in getCanonicalDecl() 2858 return cast<EnumDecl>(TagDecl::getCanonicalDecl()); in getCanonicalDecl() 2860 const EnumDecl *getCanonicalDecl() const { in getCanonicalDecl() 2861 return const_cast<EnumDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl() [all …]
|
/external/clang/include/clang/Edit/ |
D | Rewriters.h | 20 class EnumDecl; variable
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 111 bool ImportDefinition(EnumDecl *From, EnumDecl *To, 127 bool IsStructuralMatch(EnumDecl *FromEnum, EnumDecl *ToRecord); 137 Decl *VisitEnumDecl(EnumDecl *D); 1107 EnumDecl *D1, EnumDecl *D2) { in IsStructurallyEquivalent() 1108 EnumDecl::enumerator_iterator EC2 = D2->enumerator_begin(), in IsStructurallyEquivalent() 1110 for (EnumDecl::enumerator_iterator EC1 = D1->enumerator_begin(), in IsStructurallyEquivalent() 1336 } else if (EnumDecl *Enum1 = dyn_cast<EnumDecl>(D1)) { in Finish() 1337 if (EnumDecl *Enum2 = dyn_cast<EnumDecl>(D2)) { in Finish() 1719 EnumDecl *ToDecl in VisitEnumType() 1720 = dyn_cast_or_null<EnumDecl>(Importer.Import(T->getDecl())); in VisitEnumType() [all …]
|
D | Decl.cpp | 3410 void EnumDecl::anchor() { } in anchor() 3412 EnumDecl *EnumDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3415 EnumDecl *PrevDecl, bool IsScoped, in Create() 3417 EnumDecl *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl, in Create() 3425 EnumDecl *EnumDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 3426 EnumDecl *Enum = in CreateDeserialized() 3427 new (C, ID) EnumDecl(C, nullptr, SourceLocation(), SourceLocation(), in CreateDeserialized() 3433 SourceRange EnumDecl::getIntegerTypeRange() const { in getIntegerTypeRange() 3439 void EnumDecl::completeDefinition(QualType NewType, in completeDefinition() 3452 TemplateSpecializationKind EnumDecl::getTemplateSpecializationKind() const { in getTemplateSpecializationKind() [all …]
|
/external/chromium_org/tools/clang/plugins/ |
D | ChromeClassTester.cpp | 94 } else if (EnumDecl* enum_decl = dyn_cast<EnumDecl>(tag)) { in CheckTag()
|
D | ChromeClassTester.h | 60 clang::EnumDecl* enum_decl) { in CheckChromeEnum()
|
D | FindBadConstructsConsumer.h | 42 clang::EnumDecl* enum_decl);
|
D | FindBadConstructsConsumer.cpp | 117 EnumDecl* enum_decl) { in CheckChromeEnum() 124 EnumDecl::enumerator_iterator iter; in CheckChromeEnum()
|
/external/clang/test/Index/ |
D | c-index-getCursor-test.m | 105 // CHECK: [40:1 - 41:3] EnumDecl=:40:1 (Definition) 107 // CHECK: [41:11 - 42:2] EnumDecl=:40:1 (Definition)
|
D | annotate-comments-objc.m | 120 // CHECK: annotate-comments-objc.m:43:22: EnumDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 IS_… 122 // CHECK: annotate-comments-objc.m:43:22: EnumDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 IS_…
|
D | annotate-comments-typedef.m | 30 // CHECK: EnumDecl=E:[[@LINE-6]]:6 (Definition) {{.*}} BriefComment=[Documentation for E] FullComme…
|
D | usrs.m | 188 // CHECK-source: usrs.m:5:1: EnumDecl=:5:1 (Definition) Extent=[5:1 - 8:2] 191 // CHECK-source: usrs.m:10:1: EnumDecl=:10:1 (Definition) Extent=[10:1 - 13:2] 198 // CHECK-source: usrs.m:20:6: EnumDecl=Pizza:20:6 (Definition) Extent=[20:1 - 23:2]
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 496 static EnumDecl *findEnumForBlockReturn(Expr *E) { in findEnumForBlockReturn() 505 return cast<EnumDecl>(D->getDeclContext()); in findEnumForBlockReturn() 530 if (EnumDecl *ED = findEnumForBlockReturn(CO->getTrueExpr())) in findEnumForBlockReturn() 559 static EnumDecl *findEnumForBlockReturn(ReturnStmt *ret) { in findEnumForBlockReturn() 568 static EnumDecl *findCommonEnumForBlockReturns(ArrayRef<ReturnStmt*> returns) { in findCommonEnumForBlockReturns() 572 EnumDecl *ED = findEnumForBlockReturn(*i); in findCommonEnumForBlockReturns() 658 const EnumDecl *ED = findCommonEnumForBlockReturns(CSI.Returns); in deduceClosureReturnType()
|
D | SemaTemplateInstantiateDecl.cpp | 660 Decl *TemplateDeclInstantiator::VisitEnumDecl(EnumDecl *D) { in VisitEnumDecl() 661 EnumDecl *PrevDecl = nullptr; in VisitEnumDecl() 667 PrevDecl = cast<EnumDecl>(Prev); in VisitEnumDecl() 670 EnumDecl *Enum = EnumDecl::Create(SemaRef.Context, Owner, D->getLocStart(), in VisitEnumDecl() 702 EnumDecl *Def = D->getDefinition(); in VisitEnumDecl() 733 EnumDecl *Enum, EnumDecl *Pattern) { in InstantiateEnumDefinition() 4221 static bool isInstantiationOf(EnumDecl *Pattern, in isInstantiationOf() 4222 EnumDecl *Instance) { in isInstantiationOf() 4300 if (EnumDecl *Enum = dyn_cast<EnumDecl>(Other)) in isInstantiationOf() 4301 return isInstantiationOf(cast<EnumDecl>(D), Enum); in isInstantiationOf() [all …]
|
D | SemaTemplateInstantiate.cpp | 446 } else if (EnumDecl *ED = dyn_cast<EnumDecl>(D)) { in PrintInstantiationStack() 1982 } else if (EnumDecl *Enum = dyn_cast<EnumDecl>(NewMember)) { in InstantiateClass() 2138 EnumDecl *Instantiation, EnumDecl *Pattern, in InstantiateEnum() 2141 EnumDecl *PatternDef = Pattern->getDefinition(); in InstantiateEnum() 2514 } else if (auto *Enum = dyn_cast<EnumDecl>(D)) { in InstantiateClassMembers() 2532 EnumDecl *Pattern = Enum->getInstantiatedFromMemberEnum(); in InstantiateClassMembers()
|
D | SemaCXXScopeSpec.cpp | 224 EnumDecl *ED = enumType->getDecl(); in RequireCompleteDeclContext() 225 if (EnumDecl *Pattern = ED->getInstantiatedFromMemberEnum()) { in RequireCompleteDeclContext() 273 (Context.getLangOpts().CPlusPlus11 && isa<EnumDecl>(SD))) in isAcceptableNestedNameSpecifier()
|
D | SemaDecl.cpp | 3435 if (EnumDecl *Enum = dyn_cast_or_null<EnumDecl>(Tag)) in ParsedFreeStandingDeclSpec() 4398 if (!DC || isa<EnumDecl>(DC)) { in HandleDeclarator() 9975 if (auto *ED = dyn_cast<EnumDecl>(D)) { in ActOnStartOfFunctionDef() 10572 const EnumDecl *Prev) { in CheckEnumRedeclaration() 10941 while (isa<RecordDecl>(SearchDC) || isa<EnumDecl>(SearchDC)) in ActOnTag() 11097 const EnumDecl *PrevEnum = cast<EnumDecl>(PrevTagDecl); in ActOnTag() 11159 else if (EnumDecl *ED = dyn_cast<EnumDecl>(Def)) in ActOnTag() 11300 New = EnumDecl::Create(Context, SearchDC, KWLoc, Loc, Name, in ActOnTag() 11301 cast_or_null<EnumDecl>(PrevDecl), ScopedEnum, in ActOnTag() 11307 cast<EnumDecl>(New)->isFixed()) { in ActOnTag() [all …]
|
/external/clang/include/clang/Sema/ |
D | Template.h | 507 void InstantiateEnumDefinition(EnumDecl *Enum, EnumDecl *Pattern);
|
/external/lldb/include/lldb/Core/ |
D | ClangForward.h | 60 class EnumDecl; variable
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 202 const EnumDecl* ED = cast<EnumDecl>(DC); in PrintDeclContext()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 236 if (const EnumDecl *ED = dyn_cast<EnumDecl>(TD)) { in UpdateCompletedType() 565 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl(); in ConvertType()
|
D | CGDebugInfo.h | 296 void completeType(const EnumDecl *ED);
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 54 bool migrateNSEnumDecl(ASTContext &Ctx, const EnumDecl *EnumDcl, 593 static bool rewriteToNSEnumDecl(const EnumDecl *EnumDcl, in rewriteToNSEnumDecl() 643 static void rewriteToNSMacroDecl(const EnumDecl *EnumDcl, in rewriteToNSMacroDecl() 658 const EnumDecl *EnumDcl) { in UseNSOptionsMacro() 768 const EnumDecl *EnumDcl, in migrateNSEnumDecl() 1733 else if (const EnumDecl *ED = dyn_cast<EnumDecl>(*D)) { in HandleTranslationUnit() 1755 if (const EnumDecl *ED = dyn_cast<EnumDecl>(*N)) { in HandleTranslationUnit()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 241 void VisitEnumDecl(EnumDecl *ED); 502 void ASTDeclReader::VisitEnumDecl(EnumDecl *ED) { in VisitEnumDecl() 520 if (EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()]) { in VisitEnumDecl() 528 if (EnumDecl *InstED = ReadDeclAs<EnumDecl>(Record, Idx)) { in VisitEnumDecl() 2379 if (EnumDecl *ED = dyn_cast<EnumDecl>(DC)) in getPrimaryContextForMerging() 2625 D = EnumDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 261 if (const EnumDecl *TD = dyn_cast_or_null<EnumDecl>(D)) { in clang_getEnumDeclIntegerType()
|