/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 | 165 // CHECK-source: usrs.m:6:3: EnumConstantDecl=ABA:6:3 (Definition) Extent=[6:3 - 6:6] 166 // CHECK-source: usrs.m:7:3: EnumConstantDecl=CADABA:7:3 (Definition) Extent=[7:3 - 7:9] 168 // CHECK-source: usrs.m:11:3: EnumConstantDecl=FOO:11:3 (Definition) Extent=[11:3 - 11:6] 169 // CHECK-source: usrs.m:12:3: EnumConstantDecl=BAR:12:3 (Definition) Extent=[12:3 - 12:6] 175 // CHECK-source: usrs.m:21:3: EnumConstantDecl=CHEESE:21:3 (Definition) Extent=[21:3 - 21:9] 176 // 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 | 108 // CHECK: c-index-api-loadTU-test.m:43:3: EnumConstantDecl=someEnum:43:3 (Definition) Extent=[43:3 …
|
/external/clang/lib/AST/ |
D | StmtIterator.cpp | 108 else if (EnumConstantDecl* ECD = dyn_cast<EnumConstantDecl>(D)) { in HandleDecl() 153 EnumConstantDecl* ECD = cast<EnumConstantDecl>(decl); in GetDeclExpr()
|
D | NSAPI.cpp | 412 if (const EnumConstantDecl * in isObjCEnumerator() 413 EnumD = dyn_cast_or_null<EnumConstantDecl>(DRE->getDecl())) in isObjCEnumerator()
|
D | Decl.cpp | 689 } else if (isa<EnumConstantDecl>(D)) { in getLVForNamespaceScopeDecl() 3243 EnumConstantDecl *EnumConstantDecl::Create(ASTContext &C, EnumDecl *CD, in Create() 3247 return new (C) EnumConstantDecl(CD, L, Id, T, E, V); in Create() 3250 EnumConstantDecl * 3251 EnumConstantDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 3252 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(EnumConstantDecl)); in CreateDeserialized() 3253 return new (Mem) EnumConstantDecl(0, SourceLocation(), 0, QualType(), 0, in CreateDeserialized() 3273 SourceRange EnumConstantDecl::getSourceRange() const { in getSourceRange()
|
D | DeclPrinter.cpp | 53 void VisitEnumConstantDecl(EnumConstantDecl *D); 306 else if (isa<EnumConstantDecl>(*D)) { in VisitDeclContext() 382 void DeclPrinter::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl()
|
D | ASTImporter.cpp | 124 bool IsStructuralMatch(EnumConstantDecl *FromEC, EnumConstantDecl *ToEC); 134 Decl *VisitEnumConstantDecl(EnumConstantDecl *D); 2159 bool ASTNodeImporter::IsStructuralMatch(EnumConstantDecl *FromEC, in IsStructuralMatch() 2160 EnumConstantDecl *ToEC) in IsStructuralMatch() 2531 Decl *ASTNodeImporter::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl() 2554 if (EnumConstantDecl *FoundEnumConstant in VisitEnumConstantDecl() 2555 = dyn_cast<EnumConstantDecl>(FoundDecls[I])) { in VisitEnumConstantDecl() 2576 EnumConstantDecl *ToEnumerator in VisitEnumConstantDecl() 2577 = EnumConstantDecl::Create(Importer.getToContext(), cast<EnumDecl>(DC), Loc, in VisitEnumConstantDecl()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerHelpers.cpp | 38 if (DR && isa<EnumConstantDecl>(DR->getDecl())) in containsEnum()
|
D | ExprEngine.cpp | 1547 if (const EnumConstantDecl *ED = dyn_cast<EnumConstantDecl>(D)) { in VisitCommonDeclRefExpr() 1611 if (isa<VarDecl>(Member) || isa<EnumConstantDecl>(Member)) { in VisitMemberExpr()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 260 if (const EnumConstantDecl *TD = dyn_cast_or_null<EnumConstantDecl>(D)) { in clang_getEnumConstantDeclValue() 276 if (const EnumConstantDecl *TD = dyn_cast_or_null<EnumConstantDecl>(D)) { in clang_getEnumConstantDeclUnsignedValue()
|
D | CursorVisitor.h | 211 bool VisitEnumConstantDecl(EnumConstantDecl *D);
|
D | IndexDecl.cpp | 108 bool VisitEnumConstantDecl(const EnumConstantDecl *D) { in VisitEnumConstantDecl()
|
D | IndexingContext.h | 407 bool handleEnumerator(const EnumConstantDecl *D);
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 419 EnumConstantDecl* ECD = cast<EnumConstantDecl>(*I); in PrintDeclContext()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 11111 EnumConstantDecl *Sema::CheckEnumConstant(EnumDecl *Enum, in CheckEnumConstant() 11112 EnumConstantDecl *LastEnumConst, in CheckEnumConstant() 11278 return EnumConstantDecl::Create(Context, Enum, IdLoc, Id, EltTy, in CheckEnumConstant() 11288 EnumConstantDecl *LastEnumConst = in ActOnEnumConstant() 11289 cast_or_null<EnumConstantDecl>(lastEnumConst); in ActOnEnumConstant() 11312 if (isa<EnumConstantDecl>(PrevDecl)) in ActOnEnumConstant() 11333 EnumConstantDecl *New = in ActOnEnumConstant() 11356 static bool ValidDuplicateEnum(EnumConstantDecl *ECD, EnumDecl *Enum) { in ValidDuplicateEnum() 11379 EnumConstantDecl *EnumConstant = dyn_cast<EnumConstantDecl>(DRE->getDecl()); in ValidDuplicateEnum() 11431 typedef SmallVector<EnumConstantDecl *, 3> ECDVector; in CheckForDuplicateEnumValues() [all …]
|
D | SemaStmt.cpp | 529 static bool CmpEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs, in CmpEnumVals() 530 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs) in CmpEnumVals() 537 static bool EqEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs, in EqEnumVals() 538 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs) in EqEnumVals() 981 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl*>, 64> in ActOnFinishSwitchStmt() 1124 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl*>, 64> in DiagnoseAssignmentEnum()
|
D | SemaLambda.cpp | 242 if (EnumConstantDecl *D in findEnumForBlockReturn() 243 = dyn_cast<EnumConstantDecl>(DRE->getDecl())) { in findEnumForBlockReturn()
|
D | CodeCompleteConsumer.cpp | 504 if (isa<EnumConstantDecl>(D)) in getDeclAvailability()
|
D | SemaTemplateInstantiateDecl.cpp | 706 EnumConstantDecl *LastEnumConst = 0; in InstantiateEnumDefinition() 727 EnumConstantDecl *EnumConst in InstantiateEnumDefinition() 762 Decl *TemplateDeclInstantiator::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl() 3591 } else if (EnumConstantDecl *ED = dyn_cast<EnumConstantDecl>(D)) { in FindInstantiatedDecl()
|
/external/clang/include/clang/Sema/ |
D | Template.h | 407 Decl *VisitEnumConstantDecl(EnumConstantDecl *D);
|
/external/clang/include/clang/AST/ |
D | Decl.h | 2153 class EnumConstantDecl : public ValueDecl { 2157 EnumConstantDecl(DeclContext *DC, SourceLocation L, in EnumConstantDecl() function 2164 static EnumConstantDecl *Create(ASTContext &C, EnumDecl *DC, 2168 static EnumConstantDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2730 typedef specific_decl_iterator<EnumConstantDecl> enumerator_iterator;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdempotentOperationChecker.cpp | 709 if (isa<EnumConstantDecl>(DR->getDecl())) in isConstantOrPseudoConstant()
|
/external/v8/tools/gcmole/ |
D | gcmole.cc | 76 const clang::EnumConstantDecl* enum_constant = in IsExternalVMState() 77 dyn_cast<clang::EnumConstantDecl>(var); in IsExternalVMState()
|