| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | StmtIterator.cpp | 87 else if (EnumConstantDecl* ECD = dyn_cast<EnumConstantDecl>(D)) { in HandleDecl()
|
| HD | NSAPI.cpp | 564 if (const EnumConstantDecl * in isObjCEnumerator() 565 EnumD = dyn_cast_or_null<EnumConstantDecl>(DRE->getDecl())) in isObjCEnumerator()
|
| HD | Decl.cpp | 802 } else if (isa<EnumConstantDecl>(D)) { in getLVForNamespaceScopeDecl() 3904 EnumConstantDecl *EnumConstantDecl::Create(ASTContext &C, EnumDecl *CD, in Create() 3908 return new (C, CD) EnumConstantDecl(CD, L, Id, T, E, V); in Create() 3911 EnumConstantDecl * 3912 EnumConstantDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 3913 return new (C, ID) EnumConstantDecl(nullptr, SourceLocation(), nullptr, in CreateDeserialized() 3933 SourceRange EnumConstantDecl::getSourceRange() const { in getSourceRange()
|
| HD | DeclPrinter.cpp | 62 void VisitEnumConstantDecl(EnumConstantDecl *D); 321 else if (isa<EnumConstantDecl>(*D)) { in VisitDeclContext() 402 void DeclPrinter::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl()
|
| HD | TemplateBase.cpp | 44 for (const EnumConstantDecl* ECD : ET->getDecl()->enumerators()) { in printIntegral()
|
| HD | ASTImporter.cpp | 129 bool IsStructuralMatch(EnumConstantDecl *FromEC, EnumConstantDecl *ToEC); 140 Decl *VisitEnumConstantDecl(EnumConstantDecl *D); 2271 bool ASTNodeImporter::IsStructuralMatch(EnumConstantDecl *FromEC, in IsStructuralMatch() 2272 EnumConstantDecl *ToEC) in IsStructuralMatch() 2678 Decl *ASTNodeImporter::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl() 2704 if (EnumConstantDecl *FoundEnumConstant in VisitEnumConstantDecl() 2705 = dyn_cast<EnumConstantDecl>(FoundDecls[I])) { in VisitEnumConstantDecl() 2726 EnumConstantDecl *ToEnumerator in VisitEnumConstantDecl() 2727 = EnumConstantDecl::Create(Importer.getToContext(), cast<EnumDecl>(DC), Loc, in VisitEnumConstantDecl()
|
| HD | ASTDumper.cpp | 420 void VisitEnumConstantDecl(const EnumConstantDecl *D); 1071 void ASTDumper::VisitEnumConstantDecl(const EnumConstantDecl *D) { in VisitEnumConstantDecl()
|
| /NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| HD | CheckerHelpers.cpp | 36 if (DR && isa<EnumConstantDecl>(DR->getDecl())) in containsEnum()
|
| HD | ExprEngine.cpp | 1869 if (const EnumConstantDecl *ED = dyn_cast<EnumConstantDecl>(D)) { in VisitCommonDeclRefExpr() 1938 if (isa<VarDecl>(Member) || isa<EnumConstantDecl>(Member)) { in VisitMemberExpr()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Analysis/ |
| HD | ReachableCode.cpp | 38 return isa<EnumConstantDecl>(DR->getDecl()); in isEnumConstant() 231 if (const EnumConstantDecl *ED = dyn_cast<EnumConstantDecl>(D)) in isConfigurationValue()
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Core/ |
| HD | ClangForward.h | 61 class EnumConstantDecl; variable
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/ |
| HD | ASTConsumers.cpp | 430 EnumConstantDecl* ECD = cast<EnumConstantDecl>(I); in PrintDeclContext()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | Decl.h | 2450 class EnumConstantDecl : public ValueDecl, public Mergeable<EnumConstantDecl> { 2454 EnumConstantDecl(DeclContext *DC, SourceLocation L, in EnumConstantDecl() function 2461 static EnumConstantDecl *Create(ASTContext &C, EnumDecl *DC, 2465 static EnumConstantDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2477 EnumConstantDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() 2478 const EnumConstantDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() 3083 typedef specific_decl_iterator<EnumConstantDecl> enumerator_iterator; 3084 typedef llvm::iterator_range<specific_decl_iterator<EnumConstantDecl>>
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaDecl.cpp | 13507 EnumConstantDecl *Sema::CheckEnumConstant(EnumDecl *Enum, in CheckEnumConstant() 13508 EnumConstantDecl *LastEnumConst, in CheckEnumConstant() 13674 return EnumConstantDecl::Create(Context, Enum, IdLoc, Id, EltTy, in CheckEnumConstant() 13689 auto *PrevECD = dyn_cast_or_null<EnumConstantDecl>(PrevDecl); in shouldSkipAnonEnumBody() 13707 EnumConstantDecl *LastEnumConst = in ActOnEnumConstant() 13708 cast_or_null<EnumConstantDecl>(lastEnumConst); in ActOnEnumConstant() 13731 if (isa<EnumConstantDecl>(PrevDecl)) in ActOnEnumConstant() 13749 EnumConstantDecl *New = in ActOnEnumConstant() 13772 static bool ValidDuplicateEnum(EnumConstantDecl *ECD, EnumDecl *Enum) { in ValidDuplicateEnum() 13795 EnumConstantDecl *EnumConstant = dyn_cast<EnumConstantDecl>(DRE->getDecl()); in ValidDuplicateEnum() [all …]
|
| HD | CodeCompleteConsumer.cpp | 528 if (isa<EnumConstantDecl>(D)) in getDeclAvailability()
|
| HD | SemaStmt.cpp | 553 static bool CmpEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs, in CmpEnumVals() 554 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs) in CmpEnumVals() 561 static bool EqEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs, in EqEnumVals() 562 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs) in EqEnumVals() 691 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl*>, 64> EnumValsTy; 1193 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl *>, 64> in DiagnoseAssignmentEnum()
|
| HD | SemaLambda.cpp | 503 if (EnumConstantDecl *D in findEnumForBlockReturn() 504 = dyn_cast<EnumConstantDecl>(DRE->getDecl())) { in findEnumForBlockReturn()
|
| HD | SemaExprMember.cpp | 1096 if (EnumConstantDecl *Enum = dyn_cast<EnumConstantDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
|
| HD | SemaTemplateInstantiateDecl.cpp | 858 EnumConstantDecl *LastEnumConst = nullptr; in InstantiateEnumDefinition() 877 EnumConstantDecl *EnumConst in InstantiateEnumDefinition() 912 Decl *TemplateDeclInstantiator::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl() 4617 } else if (EnumConstantDecl *ED = dyn_cast<EnumConstantDecl>(D)) { in FindInstantiatedDecl()
|
| HD | SemaCodeComplete.cpp | 666 else if (const EnumConstantDecl *Enumerator = dyn_cast<EnumConstantDecl>(ND)) in getDeclUsageType() 731 if (isa<EnumConstantDecl>(ND)) in getBasePriority() 2079 } else if (const EnumConstantDecl *Enumerator = dyn_cast<EnumConstantDecl>(ND)) in AddResultTypeChunk() 3846 llvm::SmallPtrSet<EnumConstantDecl *, 8> EnumeratorsSeen; in CodeCompleteCase() 3856 if (EnumConstantDecl *Enumerator in CodeCompleteCase() 3857 = dyn_cast<EnumConstantDecl>(DRE->getDecl())) { in CodeCompleteCase()
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Symbol/ |
| HD | Type.h | 912 TypeEnumMemberImpl (const clang::EnumConstantDecl* enum_member_decl,
|
| /NextBSD/contrib/llvm/tools/lldb/source/Symbol/ |
| HD | Type.cpp | 1417 TypeEnumMemberImpl::TypeEnumMemberImpl (const clang::EnumConstantDecl* enum_member_decl, in TypeEnumMemberImpl()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Serialization/ |
| HD | ASTReaderDecl.cpp | 301 void VisitEnumConstantDecl(EnumConstantDecl *ECD); 702 void ASTDeclReader::VisitEnumConstantDecl(EnumConstantDecl *ECD) { in VisitEnumConstantDecl() 2630 if (isa<EnumConstantDecl>(X)) in isSameEntity() 3127 D = EnumConstantDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| HD | ASTWriterDecl.cpp | 78 void VisitEnumConstantDecl(EnumConstantDecl *D); 420 void ASTDeclWriter::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Edit/ |
| HD | RewriteObjCFoundationAPI.cpp | 968 return isa<EnumConstantDecl>(VD); in isEnumConstant()
|