Searched refs:Enum (Results 76 - 100 of 104) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp1218 if (const EnumType *Enum = SrcType->getAs<EnumType>()) {
1219 if (Enum->getDecl()->isScoped()) {
H A DSemaTemplate.cpp2996 EnumDecl *Enum = EnumT->getDecl(); local
2999 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Enum->getParent()))
6946 if (const EnumType *Enum = IntegerType->getAs<EnumType>())
6947 IntegerType = Enum->getDecl()->getIntegerType();
7029 if (const EnumType *Enum = IntegerType->getAs<EnumType>())
7030 IntegerType = Context.getCanonicalType(Enum->getDecl()->getIntegerType());
9213 else if (auto *Enum = dyn_cast<EnumDecl>(Instantiation))
9214 completeMemberSpecializationImpl(*this, Enum, Member->getLocation());
H A DSemaLookup.cpp2813 case Type::Enum: {
2814 EnumDecl *Enum = cast<EnumType>(T)->getDecl();
2816 DeclContext *Ctx = Enum->getDeclContext();
H A DTreeTransform.h733 #define OMP_CLAUSE_CLASS(Enum, Str, Class) \
950 /// Build a new Enum type.
951 QualType RebuildEnumType(EnumDecl *Enum) { argument
952 return SemaRef.Context.getTypeDeclType(Enum);
3680 #define OMP_CLAUSE_CLASS(Enum, Str, Class) \
3681 case Enum: \
6145 EnumDecl *Enum local
6148 if (!Enum)
6153 Enum != T->getDecl()) {
6154 Result = getDerived().RebuildEnumType(Enum);
[all...]
H A DSemaChecking.cpp10088 EnumDecl *Enum = ET->getDecl(); local
10091 if (Enum->isFixed()) {
10096 unsigned NumPositive = Enum->getNumPositiveBits();
10097 unsigned NumNegative = Enum->getNumNegativeBits();
10945 // Enum types are implicitly signed on Windows, so check if there are any
11929 EnumDecl *Enum = cast<EnumDecl>(ECD->getDeclContext()); local
11930 SourceType = S.Context.getTypeDeclType(Enum);
14898 if (TC1 == Type::Enum) {
H A DSemaTemplateDeduction.cpp1515 case Type::Enum:
6036 case Type::Enum:
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp1024 SymTypes.push_back(PDB_SymType::Enum);
1136 case PDB_SymType::Enum: {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h530 : TagRecord(TypeRecordKind::Enum, MemberCount, Options, FieldList, Name,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DType.h1487 /// TypeClass bitfield - Enum that specifies what subclass this belongs to.
4607 return T->getTypeClass() == Enum || T->getTypeClass() == Record;
4643 : TagType(Enum, reinterpret_cast<const TagDecl*>(D), QualType()) {}
4653 static bool classof(const Type *T) { return T->getTypeClass() == Enum; }
H A DDecl.h3763 static bool classofKind(Kind K) { return K == Enum; }
3775 /// Enum that represents the different ways arguments are passed to and
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2998 for (const auto *Enum : ED->enumerators()) {
2999 const auto &InitVal = Enum->getInitVal();
3002 DBuilder.createEnumerator(Enum->getName(), Value, !IsSigned));
3169 // TODO: When D is a CXXRecordDecl or a C++ Enum, the ODR applies
3229 case Type::Enum:
4692 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?");
H A DCGExpr.cpp1628 bool HasEnumCheck = SanOpts.has(SanitizerKind::Enum);
1666 NeedsEnumCheck ? SanitizerKind::Enum : SanitizerKind::Bool;
3088 #define SANITIZER_CHECK(Enum, Name, Version) {#Name, Version},
H A DCGDecl.cpp105 case Decl::Enum: // enum X;
H A DCodeGenFunction.h145 #define SANITIZER_CHECK(Enum, Name, Version) Enum,
H A DItaniumCXXABI.cpp3338 case Type::Enum:
3601 case Type::Enum:
H A DCGClass.cpp904 CGF.SanOpts.set(SanitizerKind::Enum, false);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp793 case Type::Enum:
1840 // Enum/non-enum mismatch
H A DTypePrinter.cpp216 case Type::Enum:
H A DStmtProfile.cpp417 #define OMP_CLAUSE_CLASS(Enum, Str, Class) void Visit##Class(const Class *C);
H A DItaniumMangle.cpp2142 case Type::Enum:
H A DExprConstant.cpp10468 Enum = 3,
10578 case Type::Enum:
10579 return LangOpts.CPlusPlus ? GCCTypeClass::Enum : GCCTypeClass::Integer;
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp3664 std::string Enum = CreateSemanticSpellings(Spellings, SemanticToSyntacticMap);
3669 OS << Enum;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp9446 for (auto &Enum : Merge.second) {
9447 Enum->decls_begin();
11404 DeclHashes &Hashes, EnumDecl *Enum) {
11405 for (auto *D : Enum->decls()) {
11721 #define OMP_CLAUSE_CLASS(Enum, Str, Class) void Visit##Class(Class *C);
11986 #define OMP_CLAUSE_NO_CLASS(Enum, Str) \
11987 case llvm::omp::Enum: \
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp1095 auto *Enum = dyn_cast_or_null<DICompositeType>(Op); local
1096 AssertDI(Enum && Enum->getTag() == dwarf::DW_TAG_enumeration_type,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp627 return onInteger(IDInfo.Enum.EnumVal, ErrMsg);

Completed in 891 milliseconds

12345