/external/clang/test/CXX/class/class.mem/ |
H A D | p14.cpp | 17 struct X2 { struct 18 X2(); 19 float X2; // expected-error{{member 'X2' has the same name as its class}} member in struct:X2
|
H A D | p13.cpp | 19 struct X2 { struct 20 typedef int X2; // expected-error{{member 'X2' has the same name as its class}} typedef in struct:X2
|
/external/clang/test/Preprocessor/ |
H A D | macro_fn_comma_swallow.c | 10 #define X2(Y) fo2{A,##Y} macro 11 2: X2()
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
H A D | p13.cpp | 38 struct X2 { struct
|
/external/clang/test/CodeGenCXX/ |
H A D | instantiate-temporaries.cpp | 12 struct X2 { struct 29 (X2){};
|
H A D | attr-used.cpp | 19 struct X2 { struct
|
H A D | global-llvm-constant.cpp | 26 struct X2 { struct 31 extern const X2 x2b; 32 const X2 x2b = { { { 1 }, { 2 }, { 3 } } };
|
/external/clang/test/SemaTemplate/ |
H A D | temp_explicit_cxx0x.cpp | 14 template<typename T> struct X2 { }; // expected-note{{here}} struct 23 template struct X2<float>; // expected-error{{at global scope}}
|
H A D | temp_class_order.cpp | 30 struct X2 { }; struct 33 struct X2<T*, U> { }; // expected-note{{matches}} struct 36 struct X2<T, U*> { }; // expected-note{{matches}} struct 39 struct X2<const T*, const U*> { }; struct 41 X2<int*, int*> x2a; // expected-error{{ambiguous}} 42 X2<const int*, const int*> x2b;
|
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/ |
H A D | p9.cpp | 17 template<template<class> class X0 = X0> struct X2 { }; struct 18 template<> struct X2<X0> { static const bool value = true; }; struct 19 int array2[X2<>::value? 1 : -1];
|
/external/clang/test/CXX/special/class.ctor/ |
H A D | p1.cpp | 45 class X2 { class 46 X2::X2(); // expected-error {{extra qualification on member 'X2'}}
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.static/ |
H A D | p1.cpp | 15 struct X2 { }; // expected-note{{candidate constructor (the implicit copy constructor) not viable}} struct 22 X2& get_X2() { 23 return X0<X2>::value; // expected-note{{instantiation}}
|
/external/clang/test/Parser/ |
H A D | cxx11-brace-initializers.cpp | 13 S X2 = {1, 1,}; local
|
/external/clang/test/SemaCXX/ |
H A D | accessible-base.cpp | 16 struct X2 : A struct in inherits:A 19 struct Z1 : X2, virtual A // expected-warning{{direct base 'A' is inaccessible due to ambiguity:\n struct Z1 -> struct X2 -> struct A\n struct Z1 -> struct A}} 22 struct Z2 : X2, A // expected-warning{{direct base 'A' is inaccessible due to ambiguity:\n struct Z2 -> struct X2 -> struct A\n struct Z2 -> struct A}}
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
H A D | p5-cxx03-extra-copy.cpp | 14 struct X2 { struct 15 X2(); 18 X2(const X2&); // expected-note{{declared private here}} 50 void g2(const X2&); 57 g2(X2()); // expected-warning{{C++98 requires an accessible copy constructor for class 'X2' when binding a reference to a temporary; was private}}
|
H A D | p5-cxx0x-no-extra-copy.cpp | 13 struct X2 { struct 14 X2(); 17 X2(const X2&); 41 void g2(const X2&); 47 g2(X2());
|
/external/clang/test/CXX/except/except.spec/ |
H A D | p14-ir.cpp | 15 struct X2 : X1 { struct in inherits:X1 16 X2(); 28 void test(X2 x2, X3 x3, X5 x5) { 29 // CHECK: define linkonce_odr void @_ZN2X2C1ERKS_(%struct.X2* %this, %struct.X2* dereferenceable({{[0-9]+}})) unnamed_addr 33 X2 x2a(x2);
|
/external/clang/test/CXX/expr/expr.post/expr.call/ |
H A D | p7-0x.cpp | 7 struct X2 { struct 8 X2(); 9 ~X2(); 25 void f(X1 x1, X2 x2, X3 x3, X4 x4) { 27 vararg(x2); // expected-error{{cannot pass object of non-trivial type 'X2' through variadic function; call will abort at runtime}}
|
/external/clang/test/CXX/temp/temp.decls/temp.class.spec/temp.class.order/ |
H A D | p2.cpp | 37 struct X2 { struct in namespace:DependentSubstPartialOrdering 47 int check_X2[X<X2, void, void>::value == 2? 1 : -1];
|
/external/clang/test/CXX/temp/temp.decls/temp.friend/ |
H A D | p4.cpp | 13 struct X2 { struct 20 int array0[sizeof(X2<int>)]; 21 int array1[sizeof(X2<float>)]; // expected-note{{instantiation of}} 24 X2<int> xi; 26 X2<float> xf;
|
/external/clang/test/CXX/temp/temp.param/ |
H A D | p3.cpp | 21 template<class T, T i> struct X2 { struct
|
H A D | p9-0x.cpp | 14 struct X2; 36 struct X2 { struct in namespace:PR8748 41 template<typename T = int> void X2<T>::f0() { } // expected-error{{cannot add a default template argument to the definition of a member of a class template}} 42 template<typename T> template<typename U = int> void X2<T>::f1() { } // expected-error{{cannot add a default template argument to the definition of a member of a class template}}
|
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
H A D | p1.cpp | 56 struct X2 { struct 71 T X2<T, U>::static_member1 = 17; // expected-error{{cannot initialize}} 74 U X2<T, U>::static_member2; // expected-error{{no matching}} 76 template void X2<int, float>::f(int &, float); 77 template void X2<int, float>::f(int &, double); // expected-error{{does not refer}} 78 template void X2<int, int*>::f(int&, int*); // expected-note{{instantiation}} 80 template struct X2<int, float>::Inner; 81 template struct X2<int, Incomplete>::Inner; // expected-note{{instantiation}} 83 template int X2<int, float>::static_member1; 84 template int* X2<in [all...] |
H A D | p3-0x.cpp | 32 struct X2 {}; struct in namespace:has_inline_namespaces 35 template void f<X2>(X2&); 39 template struct X0<X2>::MemberClass; 41 template void X0<X2>::mem_func(); 43 template struct X0<X2>::MemberClassTemplate<X1>; 45 template void X0<X2>::mem_func_template(X1&); 47 template int X0<X2>::value;
|
H A D | p3.cpp | 24 struct X2 { // expected-note 4{{refers here}} struct 31 template struct X2<int>::Inner<float>; // expected-error{{explicit instantiation of undefined template}} 43 template struct X2<float>::InnerClass; // expected-error{{undefined member}} 47 template X2<int>::X2(); // expected-error{{not an instantiation}} 48 template X2<int>::X2(const X2&); // expected-error{{not an instantiation}} 49 template X2<int>::~X2(); // expecte [all...] |