/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 | 166 // CHECK-source: usrs.m:6:3: EnumConstantDecl=ABA:6:3 (Definition) Extent=[6:3 - 6:6] 167 // CHECK-source: usrs.m:7:3: EnumConstantDecl=CADABA:7:3 (Definition) Extent=[7:3 - 7:9] 169 // CHECK-source: usrs.m:11:3: EnumConstantDecl=FOO:11:3 (Definition) Extent=[11:3 - 11:6] 170 // CHECK-source: usrs.m:12:3: EnumConstantDecl=BAR:12:3 (Definition) Extent=[12:3 - 12:6] 176 // CHECK-source: usrs.m:21:3: EnumConstantDecl=CHEESE:21:3 (Definition) Extent=[21:3 - 21:9] 177 // 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 | 107 // 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 | Decl.cpp | 437 } else if (isa<EnumConstantDecl>(D)) { in getLVForNamespaceScopeDecl() 2885 EnumConstantDecl *EnumConstantDecl::Create(ASTContext &C, EnumDecl *CD, in Create() 2889 return new (C) EnumConstantDecl(CD, L, Id, T, E, V); in Create() 2892 EnumConstantDecl * 2893 EnumConstantDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2894 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(EnumConstantDecl)); in CreateDeserialized() 2895 return new (Mem) EnumConstantDecl(0, SourceLocation(), 0, QualType(), 0, in CreateDeserialized() 2915 SourceRange EnumConstantDecl::getSourceRange() const { in getSourceRange()
|
D | DeclPrinter.cpp | 55 void VisitEnumConstantDecl(EnumConstantDecl *D); 300 else if (isa<EnumConstantDecl>(*D)) { in VisitDeclContext() 381 void DeclPrinter::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl()
|
D | DumpXML.cpp | 531 void visitEnumConstantDeclChildren(EnumConstantDecl *D) { in visitEnumConstantDeclChildren()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerHelpers.cpp | 38 if (DR && isa<EnumConstantDecl>(DR->getDecl())) in containsEnum()
|
D | BugReporter.cpp | 527 const EnumConstantDecl *D = in GenerateMinimalPathDiagnostic() 528 dyn_cast<EnumConstantDecl>(DR->getDecl()); in GenerateMinimalPathDiagnostic()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 226 if (EnumConstantDecl *TD = dyn_cast_or_null<EnumConstantDecl>(D)) { in clang_getEnumConstantDeclValue() 242 if (EnumConstantDecl *TD = dyn_cast_or_null<EnumConstantDecl>(D)) { in clang_getEnumConstantDeclUnsignedValue()
|
D | CursorVisitor.h | 200 bool VisitEnumConstantDecl(EnumConstantDecl *D);
|
D | IndexDecl.cpp | 107 bool VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl()
|
D | IndexingContext.h | 412 bool handleEnumerator(const EnumConstantDecl *D);
|
D | CIndexUSRs.cpp | 817 isa<EnumConstantDecl>(ND) || isa<FieldDecl>(ND) || in getDeclCursorUSR()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 347 EnumConstantDecl* ECD = cast<EnumConstantDecl>(*I); in PrintDeclContext()
|
/external/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 416 if (isa<EnumConstantDecl>(ND)) in getPriorityFromDecl() 525 if (isa<EnumConstantDecl>(D)) in getDeclAvailability()
|
D | SemaStmt.cpp | 478 static bool CmpEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs, in CmpEnumVals() 479 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs) in CmpEnumVals() 486 static bool EqEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs, in EqEnumVals() 487 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs) in EqEnumVals() 869 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl*>, 64> in ActOnFinishSwitchStmt()
|
D | SemaTemplateInstantiateDecl.cpp | 641 EnumConstantDecl *LastEnumConst = 0; in InstantiateEnumDefinition() 662 EnumConstantDecl *EnumConst in InstantiateEnumDefinition() 697 Decl *TemplateDeclInstantiator::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl() 3394 } else if (EnumConstantDecl *ED = dyn_cast<EnumConstantDecl>(D)) { in FindInstantiatedDecl()
|
D | SemaDecl.cpp | 6049 if (isa<EnumConstantDecl>(VD) || isa<VarDecl>(VD)) return; in VisitExpr() 9914 EnumConstantDecl *Sema::CheckEnumConstant(EnumDecl *Enum, in CheckEnumConstant() 9915 EnumConstantDecl *LastEnumConst, in CheckEnumConstant() 10081 return EnumConstantDecl::Create(Context, Enum, IdLoc, Id, EltTy, in CheckEnumConstant() 10091 EnumConstantDecl *LastEnumConst = in ActOnEnumConstant() 10092 cast_or_null<EnumConstantDecl>(lastEnumConst); in ActOnEnumConstant() 10115 if (isa<EnumConstantDecl>(PrevDecl)) in ActOnEnumConstant() 10135 EnumConstantDecl *New = in ActOnEnumConstant() 10162 EnumConstantDecl *ECD = in ActOnEnumBody() 10163 cast_or_null<EnumConstantDecl>(Elements[i]); in ActOnEnumBody() [all …]
|
D | SemaExprMember.cpp | 969 if (EnumConstantDecl *Enum = dyn_cast<EnumConstantDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 2213 class EnumConstantDecl : public ValueDecl { 2217 EnumConstantDecl(DeclContext *DC, SourceLocation L, in EnumConstantDecl() function 2224 static EnumConstantDecl *Create(ASTContext &C, EnumDecl *DC, 2228 static EnumConstantDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2241 static bool classof(const EnumConstantDecl *D) { return true; } in classof() 2767 typedef specific_decl_iterator<EnumConstantDecl> enumerator_iterator;
|
/external/clang/include/clang/Sema/ |
D | Template.h | 393 Decl *VisitEnumConstantDecl(EnumConstantDecl *D);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdempotentOperationChecker.cpp | 708 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()
|