| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.enum/ |
| H A D | check_bitmask_types.h | 10 template <class EnumType, EnumType Val1, EnumType Val2, 15 EnumType Zero = static_cast<EnumType>(0) 30 EnumType ValRef = Val1; in check() 31 ASSERT_SAME_TYPE(EnumType, decltype(Val1 & Val2)); in check() 34 ASSERT_SAME_TYPE(EnumType, decltype((~Val1))); in check() 54 EnumType e = Val1; in check() 55 EnumType& eref = (e &= Val2); in check() 60 EnumType e = Val1; in check() 61 EnumType& eref = (e |= Val2); in check() 66 EnumType e = Val1; in check() [all …]
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/template/ |
| H A D | main.cpp | 16 enum class EnumType enum 22 template <EnumType Arg> class EnumTemplate; 28 class EnumTemplate<EnumType::Member> 49 class EnumTemplate<EnumType::Subclass> : 50 public EnumTemplate<EnumType::Member> 53 EnumTemplate(int m) : EnumTemplate<EnumType::Member>(m) in EnumTemplate() 66 EnumTemplate<EnumType::Member> member(123); in main() 67 EnumTemplate<EnumType::Subclass> subclass(123*2); in main()
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/ |
| H A D | global-classes.cpp | 11 enum class EnumType : unsigned { enum 28 /* [28] */ EnumType l = EnumType::A; 96 static EnumType j; 111 EnumType Statics::j = EnumType::A; 128 EnumType *l = &Statics::j; 144 EnumType &j = Statics::j;
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | attr-mode-tmpl.cpp | 3 typedef enum { XX } EnumType; typedef 82 CheckEnumerations<EnumType>(); // expected-note{{in instantiation of}} in main() 89 CheckMachineMode<EnumType>(); // expected-note{{in instantiation of}} in main() 97 …CheckParameters<EnumType, float>(0, valV4DI, 1.0, valV4DF); // expected-error{{no matching functio… in main() 102 TemplatedStruct<EnumType> s2; // expected-note{{in instantiation of}} in main()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | attr-mode-enums.c | 8 typedef enum { E4 } EnumType; typedef 18 …typedef EnumType __attribute__((mode(V4DI))) RejectedType4; // expected-error{{mode 'V4DI' is not … in main() 20 …EnumType v1 __attribute__((mode(V4QI))); // expected-error{{mode 'V4QI' is not supported for enume… in main()
|
| /llvm-project-15.0.7/lldb/test/API/python_api/type/ |
| H A D | main.cpp | 32 enum EnumType {}; enum 65 EnumType enum_type; in main()
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | get-cursor.cpp | 157 enum EnumType { Enumerator }; enum 159 EnumType e = Enumerator;
|
| /llvm-project-15.0.7/libcxx/test/libcxx/type_traits/ |
| H A D | convert_to_integral.pass.cpp | 29 struct EnumType struct 58 typedef typename EnumType<From>::type Enum; in check_integral_types()
|
| /llvm-project-15.0.7/polly/lib/External/isl/interface/ |
| H A D | generator.cc | 228 const EnumType *enum_type = return_type->getAs<EnumType>(); in add_type_subclasses() 283 const EnumType *enum_type; in handled_sets_enum() 296 enum_type = param->getType()->getAs<EnumType>(); in handled_sets_enum() 353 if (param->getType()->getAs<EnumType>()) in takes_enums()
|
| /llvm-project-15.0.7/libcxx/benchmarks/ |
| H A D | CartesianBenchmarks.h | 94 template <class Derived, class EnumType, size_t NumLabels> 96 decltype(internal::makeEnumValueTuple<Derived, EnumType>(
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/unittests/ |
| H A D | ForestTest.cpp | 109 const auto *EnumType = &Arena.createSequence( in TEST_F() local 114 &Arena.createSequence(symbol("type"), /*RuleID=*/4, {EnumType}); in TEST_F()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | PopulateSwitch.cpp | 76 const EnumType *EnumT = nullptr; 116 EnumT = Cond->getType().getCanonicalType()->getAsAdjusted<EnumType>(); in REGISTER_TWEAK()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 774 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 797 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 1052 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 1932 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 2894 if (const EnumType *ET = Ty->getAs<EnumType>()) { in classify() 4298 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classify() 4590 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI() 5093 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI() 7247 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 7472 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableIntegerTypeForABI() [all …]
|
| H A D | CodeGenTBAA.cpp | 198 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTypeInfoHelper()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | FormatString.cpp | 351 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType() 374 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType()
|
| H A D | Type.cpp | 81 ND = ty->castAs<EnumType>()->getDecl(); in getBaseTypeIdentifier() 613 if (const auto *ET = getAs<EnumType>()) in isScopedEnumeralType() 1955 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isUnscopedEnumerationType() 2024 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerType() 2147 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isRealType() 2157 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isArithmeticType() 2187 } else if (isa<EnumType>(T)) { in getScalarTypeKind() 2188 assert(cast<EnumType>(T)->getDecl()->isComplete()); in getScalarTypeKind() 2763 if (const auto *ET = getAs<EnumType>()) { in isAlignValT() 2772 if (const auto *ET = getAs<EnumType>()) { in isStdByteType() [all …]
|
| H A D | ScanfFormatString.cpp | 426 if (const EnumType *ETy = PT->getAs<EnumType>()) { in fixType()
|
| H A D | TemplateBase.cpp | 63 if (const EnumType *ET = T->getAs<EnumType>()) { in printIntegral()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | EnumCastOutOfRangeChecker.cpp | 128 const EnumDecl *ED = T->castAs<EnumType>()->getDecl(); in checkPreStmt()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnusedUsingDeclsCheck.cpp | 113 if (const auto *ET = ECD->getType()->getAs<EnumType>()) in check()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 563 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
|
| /llvm-project-15.0.7/clang/utils/ABITest/ |
| H A D | ABITestGen.py | 216 elif isinstance(t, EnumType): 292 elif isinstance(t, EnumType): 322 elif isinstance(t, EnumType):
|
| H A D | TypeGen.py | 59 class EnumType(Type): class 279 return EnumType(n, enumerators)
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | HeuristicResolver.cpp | 254 if (auto *ET = T->getAs<EnumType>()) { in resolveDependentMember()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-doc/ |
| H A D | HTMLGenerator.cpp | 639 std::string EnumType; in genHTML() local 641 EnumType = "enum class "; in genHTML() 643 EnumType = "enum "; in genHTML() 646 std::make_unique<TagNode>(HTMLTag::TAG_H3, EnumType + I.Name)); in genHTML()
|