/external/clang/test/Index/ |
D | complete-type-factors.m | 36 // CHECK-CC1: EnumConstantDecl:{ResultType enum Color}{TypedText Blue} (32) 40 // CHECK-CC1: EnumConstantDecl:{ResultType enum Color}{TypedText Green} (32) 41 // CHECK-CC1: EnumConstantDecl:{ResultType enum Priority}{TypedText High} (32) 44 // CHECK-CC1: EnumConstantDecl:{ResultType enum Priority}{TypedText Low} (32) 46 // CHECK-CC1: EnumConstantDecl:{ResultType enum Color}{TypedText Red} (32) 50 // CHECK-CC2: EnumConstantDecl:{ResultType enum Color}{TypedText Blue} (16) 55 // CHECK-CC2: EnumConstantDecl:{ResultType enum Color}{TypedText Green} (16) 56 // CHECK-CC2: EnumConstantDecl:{ResultType enum Priority}{TypedText High} (65) 59 // CHECK-CC2: EnumConstantDecl:{ResultType enum Priority}{TypedText Low} (65) 61 // CHECK-CC2: EnumConstantDecl:{ResultType enum Color}{TypedText Red} (16) [all …]
|
D | usrs.m | 189 // CHECK-source: usrs.m:6:3: EnumConstantDecl=ABA:6:3 (Definition) Extent=[6:3 - 6:6] 190 // CHECK-source: usrs.m:7:3: EnumConstantDecl=CADABA:7:3 (Definition) Extent=[7:3 - 7:9] 192 // CHECK-source: usrs.m:11:3: EnumConstantDecl=FOO:11:3 (Definition) Extent=[11:3 - 11:6] 193 // CHECK-source: usrs.m:12:3: EnumConstantDecl=BAR:12:3 (Definition) Extent=[12:3 - 12:6] 199 // CHECK-source: usrs.m:21:3: EnumConstantDecl=CHEESE:21:3 (Definition) Extent=[21:3 - 21:9] 200 // CHECK-source: usrs.m:22:3: EnumConstantDecl=MUSHROOMS:22:3 (Definition) Extent=[22:3 - 22:12]
|
D | c-index-getCursor-test.m | 106 // CHECK: [41:3 - 41:11] EnumConstantDecl=someEnum:41:3 (Definition)
|
D | c-index-api-loadTU-test.m | 109 // CHECK: c-index-api-loadTU-test.m:43:3: EnumConstantDecl=someEnum:43:3 (Definition) Extent=[43:3 …
|
/external/clang/lib/AST/ |
D | StmtIterator.cpp | 87 else if (EnumConstantDecl* ECD = dyn_cast<EnumConstantDecl>(D)) { in HandleDecl()
|
D | NSAPI.cpp | 567 if (const EnumConstantDecl * in isObjCEnumerator() 568 EnumD = dyn_cast_or_null<EnumConstantDecl>(DRE->getDecl())) in isObjCEnumerator()
|
D | Decl.cpp | 804 } else if (isa<EnumConstantDecl>(D)) { in getLVForNamespaceScopeDecl() 4079 EnumConstantDecl *EnumConstantDecl::Create(ASTContext &C, EnumDecl *CD, in Create() 4083 return new (C, CD) EnumConstantDecl(CD, L, Id, T, E, V); in Create() 4086 EnumConstantDecl * 4087 EnumConstantDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 4088 return new (C, ID) EnumConstantDecl(nullptr, SourceLocation(), nullptr, in CreateDeserialized() 4119 SourceRange EnumConstantDecl::getSourceRange() const { in getSourceRange()
|
D | DeclPrinter.cpp | 62 void VisitEnumConstantDecl(EnumConstantDecl *D); 352 else if (isa<EnumConstantDecl>(*D)) { in VisitDeclContext() 439 void DeclPrinter::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl()
|
D | TemplateBase.cpp | 44 for (const EnumConstantDecl* ECD : ET->getDecl()->enumerators()) { in printIntegral()
|
D | ASTImporter.cpp | 134 bool IsStructuralMatch(EnumConstantDecl *FromEC, EnumConstantDecl *ToEC); 147 Decl *VisitEnumConstantDecl(EnumConstantDecl *D); 2390 bool ASTNodeImporter::IsStructuralMatch(EnumConstantDecl *FromEC, in IsStructuralMatch() 2391 EnumConstantDecl *ToEC) in IsStructuralMatch() 2879 Decl *ASTNodeImporter::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl() 2905 if (EnumConstantDecl *FoundEnumConstant in VisitEnumConstantDecl() 2906 = dyn_cast<EnumConstantDecl>(FoundDecls[I])) { in VisitEnumConstantDecl() 2927 EnumConstantDecl *ToEnumerator in VisitEnumConstantDecl() 2928 = EnumConstantDecl::Create(Importer.getToContext(), cast<EnumDecl>(DC), Loc, in VisitEnumConstantDecl()
|
/external/bcc/src/cc/ |
D | json_map_decl_visitor.cc | 44 bool VisitEnumConstantDecl(clang::EnumConstantDecl *D); 95 bool BMapDeclVisitor::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerHelpers.cpp | 37 if (DR && isa<EnumConstantDecl>(DR->getDecl())) in containsEnum()
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 38 return isa<EnumConstantDecl>(DR->getDecl()); in isEnumConstant() 231 if (const EnumConstantDecl *ED = dyn_cast<EnumConstantDecl>(D)) in isConfigurationValue()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 428 EnumConstantDecl* ECD = cast<EnumConstantDecl>(I); in PrintDeclContext()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 280 if (const EnumConstantDecl *TD = dyn_cast_or_null<EnumConstantDecl>(D)) { in clang_getEnumConstantDeclValue() 296 if (const EnumConstantDecl *TD = dyn_cast_or_null<EnumConstantDecl>(D)) { in clang_getEnumConstantDeclUnsignedValue()
|
D | CursorVisitor.h | 212 bool VisitEnumConstantDecl(EnumConstantDecl *D);
|
D | CXIndexDataConsumer.h | 408 bool handleEnumerator(const EnumConstantDecl *D);
|
D | CXIndexDataConsumer.cpp | 54 bool VisitEnumConstantDecl(const EnumConstantDecl *D) { in VisitEnumConstantDecl() 629 bool CXIndexDataConsumer::handleEnumerator(const EnumConstantDecl *D) { in handleEnumerator()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 2481 class EnumConstantDecl : public ValueDecl, public Mergeable<EnumConstantDecl> { 2485 EnumConstantDecl(DeclContext *DC, SourceLocation L, in EnumConstantDecl() function 2492 static EnumConstantDecl *Create(ASTContext &C, EnumDecl *DC, 2496 static EnumConstantDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2508 EnumConstantDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 2509 const EnumConstantDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3105 typedef specific_decl_iterator<EnumConstantDecl> enumerator_iterator; 3106 typedef llvm::iterator_range<specific_decl_iterator<EnumConstantDecl>>
|
/external/clang/lib/Index/ |
D | IndexingContext.cpp | 188 isa<EnumConstantDecl>(D) || in isDeclADefinition()
|
D | IndexDecl.cpp | 176 bool VisitEnumConstantDecl(const EnumConstantDecl *D) { in VisitEnumConstantDecl()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 2025 auto *ED = cast<EnumConstantDecl>(D); in MergeTypedefNameDecl() 14305 EnumConstantDecl *Sema::CheckEnumConstant(EnumDecl *Enum, in CheckEnumConstant() 14306 EnumConstantDecl *LastEnumConst, in CheckEnumConstant() 14475 return EnumConstantDecl::Create(Context, Enum, IdLoc, Id, EltTy, in CheckEnumConstant() 14490 auto *PrevECD = dyn_cast_or_null<EnumConstantDecl>(PrevDecl); in shouldSkipAnonEnumBody() 14510 EnumConstantDecl *LastEnumConst = in ActOnEnumConstant() 14511 cast_or_null<EnumConstantDecl>(lastEnumConst); in ActOnEnumConstant() 14537 EnumConstantDecl *New = in ActOnEnumConstant() 14549 if (isa<EnumConstantDecl>(PrevDecl)) in ActOnEnumConstant() 14576 static bool ValidDuplicateEnum(EnumConstantDecl *ECD, EnumDecl *Enum) { in ValidDuplicateEnum() [all …]
|
D | CodeCompleteConsumer.cpp | 528 if (isa<EnumConstantDecl>(D)) in getDeclAvailability()
|
D | SemaStmt.cpp | 583 static bool CmpEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs, in CmpEnumVals() 584 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs) in CmpEnumVals() 591 static bool EqEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs, in EqEnumVals() 592 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs) in EqEnumVals() 704 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl*>, 64> EnumValsTy; 1205 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl *>, 64> in DiagnoseAssignmentEnum()
|
D | SemaLambda.cpp | 504 if (EnumConstantDecl *D in findEnumForBlockReturn() 505 = dyn_cast<EnumConstantDecl>(DRE->getDecl())) { in findEnumForBlockReturn()
|