Searched refs:EnumA (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang/test/SemaCXX/ |
D | compare-cxx2a.cpp | 29 enum EnumA : int {A}; in test0() enum 135 enum EnumA { A }; in test5() enum 250 enum EnumA : int {A, ANeg = -1, AMax = __INT_MAX__}; in test_enum_integral_compare() enum 273 enum class EnumA { A, A2 }; enum 278 auto r1 = (EnumA::A <=> EnumA::A2); // OK in test_enum_enum_compare_no_builtin() 280 …(void)(EnumA::A <=> EnumA::A); // expected-warning {{self-comparison always evaluates to 'std::str… in test_enum_enum_compare_no_builtin() 281 …(void)(EnumA::A <=> EnumB::B); // expected-error {{invalid operands to binary expression ('EnumCom… in test_enum_enum_compare_no_builtin() 282 (void)(EnumB::B <=> EnumA::A); // expected-error {{invalid operands}} in test_enum_enum_compare_no_builtin() 287 Tag<0> operator<=>(EnumA, EnumA) { // expected-note {{not viable}} in operator <=>() argument 291 Tag<1> operator<=>(EnumA, EnumB) { // expected-note {{not viable}} in operator <=>() argument [all …]
|
D | compare.cpp | 8 enum EnumA {A}; in test0() enum
|
/external/llvm-project/clang/test/CodeGen/ |
D | globalinit.c | 40 EnumA, EnumB enumerator 43 int c[] = { EnumA, EnumB }; 46 int d[] = { EnumA | EnumB };
|
/external/clang/test/CodeGen/ |
D | globalinit.c | 40 EnumA, EnumB enumerator 43 int c[] = { EnumA, EnumB }; 46 int d[] = { EnumA | EnumB };
|
/external/libchrome/mojo/public/interfaces/bindings/tests/ |
D | validation_test_interfaces.mojom | 47 enum EnumA { 95 Method14(EnumA param0, EnumB param1); 96 Method15(array<EnumA>? param0, array<EnumB>? param1); 97 Method16(map<EnumA, EnumA>? param0);
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | cxx2a-compare.cpp | 84 enum EnumA : int { A }; in unscoped_enum_test() enum
|
/external/clang/test/Sema/ |
D | compare.c | 11 enum EnumA {A}; in ints() enum
|
/external/clang/test/SemaCXX/ |
D | compare.cpp | 7 enum EnumA {A}; in test0() enum
|
/external/llvm-project/clang/test/Sema/ |
D | compare.c | 12 enum EnumA {A}; in ints() enum
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaOverload.cpp | 9912 auto *EnumA = cast<EnumDecl>(EA->getDeclContext()); in isEquivalentInternalLinkageDeclaration() local 9914 if (EnumA->hasNameForLinkage() || EnumB->hasNameForLinkage() || in isEquivalentInternalLinkageDeclaration() 9915 !Context.hasSameType(EnumA->getIntegerType(), in isEquivalentInternalLinkageDeclaration()
|