/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 { }; // expected-warning{{direct base 'C2' is inaccessible due to ambiguity:\n class E2 -> class D2 -> class C2\n class E2 -> class C2}} 18 class F2 : public E2, public A2 { }; // expected-warning{{direct base 'A2' is inaccessible due to ambiguity:\n class F2 -> class E2 -> class D2 -> class B2 -> class A2\n class F2 -> class A2}} 20 void g(E2* e2, F2* f2) { 22 o2 = e2; 29 void overload_okay(E2*);
|
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...] |
enum-bitfield.cpp | 11 enum E2 : int;
|
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...] |
overloaded-builtin-operators.cpp | 21 enum E2 { }; 23 operator E2(); 40 void f(Short s, Long l, Enum1 e1, Enum2 e2, Xpmf pmf) { 43 int i2 = -e2; 62 // FIXME: should pass (void)static_cast<no&>(islong(e1 % e2)); 84 operator E2&(); 99 E2 e2r2; 208 MyEnum e1, e2; local 209 if (e1 > e2) {}
|
/external/clang/test/Modules/ |
macro-hiding.cpp | 96 #ifdef E2 97 #include "e2.h" 100 #if defined(A1) || defined(B2) || defined(C1) || defined(D1) || defined(E1) || defined(E2)
|
/external/vulkan-validation-layers/libs/glm/detail/ |
_swizzle.hpp | 51 template <typename T, precision P, typename V, int E0, int E1, int E2, int E3, int N> 62 template <typename T, precision P, typename V, int E0, int E1, int E2> 63 struct _swizzle_base1<T, P, V,E0,E1,E2,-1,3> : public _swizzle_base0<T, 3> 65 GLM_FUNC_QUALIFIER V operator ()() const { return V(this->elem(E0), this->elem(E1), this->elem(E2)); } 68 template <typename T, precision P, typename V, int E0, int E1, int E2, int E3> 69 struct _swizzle_base1<T, P, V,E0,E1,E2,E3,4> : public _swizzle_base0<T, 4> 71 GLM_FUNC_QUALIFIER V operator ()() const { return V(this->elem(E0), this->elem(E1), this->elem(E2), this->elem(E3)); } 86 template <typename ValueType, precision P, typename VecType, int N, int E0, int E1, int E2, int E3, int DUPLICATE_ELEMENTS> 87 struct _swizzle_base2 : public _swizzle_base1<ValueType, P, VecType,E0,E1,E2,E3,N> 145 const int offset_dst[4] = { E0, E1, E2, E3 } [all...] |
/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...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mri/ |
float.s | 7 dc.s 1E2
|
/external/clang/test/ASTMerge/Inputs/ |
enum1.c | 9 enum E2 {
|
enum2.c | 9 enum E2 {
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/ |
tuple_element.fail.cpp | 30 using E2 = typename std::tuple_element<3, T>::type;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SectionExtractionPei/ |
SectionExtractionPei.inf | 20 FILE_GUID = EED5EA31-38E2-463d-B623-2C57702B8A1C
|
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
p3.cpp | 15 enum E2 { e2 }; enumerator in enum:B::E2 34 using D::E2; 35 using D::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/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/libcxx/test/std/language.support/support.exception/except.nested/ |
rethrow_if_nested.pass.cpp | 53 class E2 : public std::nested_exception {}; 54 class E : public E1, public E2 {};
|
/prebuilts/go/darwin-x86/src/go/doc/testdata/ |
c.go | 41 // E (should see this for E2 and E3) 45 E2 struct{}
|
/prebuilts/go/linux-x86/src/go/doc/testdata/ |
c.go | 41 // E (should see this for E2 and E3) 45 E2 struct{}
|