Home
last modified time | relevance | path

Searched refs:EnumConstantDecl (Results 1 – 25 of 43) sorted by relevance

12

/external/clang/test/Index/
Dcomplete-type-factors.m36 // 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 …]
Dusrs.m166 // 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]
Dc-index-getCursor-test.m106 // CHECK: [41:3 - 41:11] EnumConstantDecl=someEnum:41:3 (Definition)
Dc-index-api-loadTU-test.m107 // CHECK: c-index-api-loadTU-test.m:43:3: EnumConstantDecl=someEnum:43:3 (Definition) Extent=[43:3 …
/external/clang/lib/AST/
DStmtIterator.cpp108 else if (EnumConstantDecl* ECD = dyn_cast<EnumConstantDecl>(D)) { in HandleDecl()
153 EnumConstantDecl* ECD = cast<EnumConstantDecl>(decl); in GetDeclExpr()
DDecl.cpp437 } 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()
DDeclPrinter.cpp55 void VisitEnumConstantDecl(EnumConstantDecl *D);
300 else if (isa<EnumConstantDecl>(*D)) { in VisitDeclContext()
381 void DeclPrinter::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl()
DDumpXML.cpp531 void visitEnumConstantDeclChildren(EnumConstantDecl *D) { in visitEnumConstantDeclChildren()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp38 if (DR && isa<EnumConstantDecl>(DR->getDecl())) in containsEnum()
DBugReporter.cpp527 const EnumConstantDecl *D = in GenerateMinimalPathDiagnostic()
528 dyn_cast<EnumConstantDecl>(DR->getDecl()); in GenerateMinimalPathDiagnostic()
/external/clang/tools/libclang/
DCXType.cpp226 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()
DCursorVisitor.h200 bool VisitEnumConstantDecl(EnumConstantDecl *D);
DIndexDecl.cpp107 bool VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl()
DIndexingContext.h412 bool handleEnumerator(const EnumConstantDecl *D);
DCIndexUSRs.cpp817 isa<EnumConstantDecl>(ND) || isa<FieldDecl>(ND) || in getDeclCursorUSR()
/external/clang/lib/Frontend/
DASTConsumers.cpp347 EnumConstantDecl* ECD = cast<EnumConstantDecl>(*I); in PrintDeclContext()
/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp416 if (isa<EnumConstantDecl>(ND)) in getPriorityFromDecl()
525 if (isa<EnumConstantDecl>(D)) in getDeclAvailability()
DSemaStmt.cpp478 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()
DSemaTemplateInstantiateDecl.cpp641 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()
DSemaDecl.cpp6049 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 …]
DSemaExprMember.cpp969 if (EnumConstantDecl *Enum = dyn_cast<EnumConstantDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
/external/clang/include/clang/AST/
DDecl.h2213 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/
DTemplate.h393 Decl *VisitEnumConstantDecl(EnumConstantDecl *D);
/external/clang/lib/StaticAnalyzer/Checkers/
DIdempotentOperationChecker.cpp708 if (isa<EnumConstantDecl>(DR->getDecl())) in isConstantOrPseudoConstant()
/external/v8/tools/gcmole/
Dgcmole.cc76 const clang::EnumConstantDecl* enum_constant = in IsExternalVMState()
77 dyn_cast<clang::EnumConstantDecl>(var); in IsExternalVMState()

12