Home
last modified time | relevance | path

Searched refs:EnumA (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dcompare-cxx2a.cpp29 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 …]
Dcompare.cpp8 enum EnumA {A}; in test0() enum
/external/llvm-project/clang/test/CodeGen/
Dglobalinit.c40 EnumA, EnumB enumerator
43 int c[] = { EnumA, EnumB };
46 int d[] = { EnumA | EnumB };
/external/clang/test/CodeGen/
Dglobalinit.c40 EnumA, EnumB enumerator
43 int c[] = { EnumA, EnumB };
46 int d[] = { EnumA | EnumB };
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dvalidation_test_interfaces.mojom47 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/
Dcxx2a-compare.cpp84 enum EnumA : int { A }; in unscoped_enum_test() enum
/external/clang/test/Sema/
Dcompare.c11 enum EnumA {A}; in ints() enum
/external/clang/test/SemaCXX/
Dcompare.cpp7 enum EnumA {A}; in test0() enum
/external/llvm-project/clang/test/Sema/
Dcompare.c12 enum EnumA {A}; in ints() enum
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp9912 auto *EnumA = cast<EnumDecl>(EA->getDeclContext()); in isEquivalentInternalLinkageDeclaration() local
9914 if (EnumA->hasNameForLinkage() || EnumB->hasNameForLinkage() || in isEquivalentInternalLinkageDeclaration()
9915 !Context.hasSameType(EnumA->getIntegerType(), in isEquivalentInternalLinkageDeclaration()