/external/clang/test/SemaCXX/ |
ref-init-ambiguous.cpp | 3 enum E2 { }; 6 operator E2&(); // expected-note 3 {{candidate function}} 10 operator E2&(); // expected-note 3 {{candidate function}} 17 const E2 &e2 = c; // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous}} local 20 void foo(const E2 &);// expected-note{{passing argument to parameter here}} 22 const E2 & re(C c) { 23 foo(c); // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous}} 25 return c; // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous} [all...] |
warn-c++11-extensions.cpp | 9 enum class E2 { C, D }; // expected-warning {{scoped enumerations are a C++11 extension}}
|
derived-to-base-ambig.cpp | 17 class E2 : public D2, public C2, public virtual A2 { }; 18 class F2 : public E2, public A2 { }; 20 void g(E2* e2, F2* f2) { 22 o2 = e2; 29 void overload_okay(E2*);
|
enum-bitfield.cpp | 11 enum E2 : int;
|
class-names.cpp | 50 enum E e2; variable in typeref:enum:E 52 enum E2 { E2 };
|
member-name-lookup.cpp | 21 enum E2 { enumerator2 }; 48 D::E2 e2 = D::enumerator2; // okay local 64 E2 e2 = enumerator2; // okay local 72 enum E2 { enumerator2 }; 104 D2::E2 e2 = D2::enumerator2; // okay local 123 E2 e2 = enumerator2; // oka local [all...] |
overloaded-builtin-operators.cpp | 19 enum E2 { }; 21 operator E2(); 38 void f(Short s, Long l, Enum1 e1, Enum2 e2, Xpmf pmf) { 41 int i2 = -e2; 60 // FIXME: should pass (void)static_cast<no&>(islong(e1 % e2)); 76 operator E2&(); 91 E2 e2r2; 200 MyEnum e1, e2; local 201 if (e1 > e2) {}
|
enum-scoped.cpp | 7 enum struct E2 { 16 static_assert(sizeof(E2) == sizeof(int), "bad size"); 17 static_assert(sizeof(E2::Val1) == sizeof(int), "bad size"); 19 E1 v3 = E2::Val1; // expected-error{{cannot initialize a variable}} 41 e2 = 2147483647, // ok member in class:E1::E2::E4 47 e2 // expected-error{{2147483648 is not representable in the underlying}} 51 e1 = false, e2 = true, member in class:E1::E2::E4::E6 56 e1 = false, e2 = true, 63 e1, e2, member in struct:E1::E2::E4::X 260 enum class E2 : T [all...] |
namespace-alias.cpp | 19 namespace E2 = N::
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/ |
loopadsz.asm | 2 foo: a32 loop foo ; 67 E2 FD 3 bar: loop bar, ecx ; 67 E2 FD 6 baz: a16 loop baz ; 67 E2 FD 7 qux: loop qux, cx ; 67 E2 FD
|
/external/clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/ |
p2.cpp | 69 struct E2 { 70 E2() noexcept(false) = default; // expected-error {{exception specification of explicitly defaulted default constructor does not match the calculated one}} 71 E2(const E2&) noexcept(false) = default; // expected-error {{exception specification of explicitly defaulted copy constructor does not match the calculated one}} 72 E2(E2&&) noexcept(false) = default; // expected-error {{exception specification of explicitly defaulted move constructor does not match the calculated one}} 73 E2 &operator=(const E2&) noexcept(false) = default; // expected-error {{exception specification of explicitly defaulted copy assignment operator does not match the calculated one}} 74 E2 &operator=(E2&&) noexcept(false) = default; // expected-error {{exception specification of explicitly defaulted (…) [all...] |
/external/clang/test/ASTMerge/Inputs/ |
enum1.c | 9 enum E2 {
|
enum2.c | 9 enum E2 {
|
/external/clang/test/Sema/ |
warn-duplicate-enum.c | 31 E2 = E1, 32 E3 = E2
|
/external/clang/test/SemaTemplate/ |
instantiate-non-type-template-parameter.cpp | 40 enum E { E1, E2, E3 }; 42 template<typename T, E e = E2>
|
/external/clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/ |
p3.cpp | 32 enum E2 { two }; 37 A operator >= (E1, const E2); 40 E2 b;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
UndefBranchChecker.cpp | 43 const Expr *E2 = FindExpr(ExI); 44 if (E2) return E2;
|
/external/clang/test/CXX/special/class.copy/ |
p23-cxx11.cpp | 146 struct E2 : AmbiguousMoveAssign { // expected-note {{base class 'AmbiguousMoveAssign' has multiple move}} 147 E2 &operator=(E2 &&) = default; // expected-note {{here}} 158 template struct MoveAssign<E2>; // expected-note {{here}}
|
/external/clang/INPUTS/ |
c99-intconst-1.c | 40 /* (T1 *) if E1, otherwise (T2 *) if E2. */ 41 #define first_of2p(T1, E1, T2, E2) type_comb2(type_if(T1, (E1)), \ 42 type_if(T2, (!(E1) && (E2)))) 43 /* (T1 *) if E1, otherwise (T2 *) if E2, otherwise (T3 *) if E3. */ 44 #define first_of3p(T1, E1, T2, E2, T3, E3) \ 46 type_if(T2, (!(E1) && (E2))), \ 47 type_if(T3, (!(E1) && !(E2) && (E3)))) 48 /* (T1 *) if E1, otherwise (T2 *) if E2, otherwise (T3 *) if E3, otherwise 50 #define first_of4p(T1, E1, T2, E2, T3, E3, T4, E4) \ 52 type_if(T2, (!(E1) && (E2))), \ [all...] |
/external/chromium_org/ppapi/generators/test_parser/ |
enum.idl | 11 /* OK EnumItem(E2) */ 12 E2 = 2
|
/external/clang/test/Parser/ |
MicrosoftExtensions.c | 41 enum __declspec(deprecated) E2 { i, j, k }; /* expected-note {{'E2' has been explicitly marked deprecated here}} */ 46 enum E2 e1; /* expected-warning {{'E2' is deprecated}} */ 47 enum E3 e2; /* No warning expected, the deprecation follows the variable */ local
|
declarators.c | 113 enum E2 { e2 } : 4; // ok enumerator in enum:EnumBitfield::E2
|
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/ |
p5.cpp | 15 enum alignas(1) E2 : char {}; // ok
|
/external/clang/test/CXX/temp/temp.res/temp.dep/ |
p3.cpp | 27 namespace E2 {
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ClassCastExceptionTest.java | 83 A2, B2, C2, D2, E2, F2, G2, H2, I2, J2, K2, L2, M2, N2, O2, P2, Q2, R2, S2, T2, U2, V2, W2, X2, Y2, Z2, 88 A2, B2, C2, D2, E2, F2, G2, H2, I2, J2, K2, L2, M2, N2, O2, P2, Q2, R2, S2, T2, U2, V2, W2, X2, Y2, Z2,
|