/external/clang/test/CodeGenCXX/ |
attr-used.cpp | 4 struct X0 { 6 __attribute__((used)) X0() {} 8 __attribute__((used)) ~X0() {}
|
template-linkage.cpp | 26 struct X0 { 27 virtual ~X0() { } 31 struct X1 : X0<T> { 37 extern template struct X0<char>;
|
/external/clang/test/ASTMerge/Inputs/ |
class-template1.cpp | 2 struct X0; 22 extern X0<int> *x0i; 23 extern X0<long> *x0l; 24 extern X0<float> *x0r; 27 struct X0<char> { 32 struct X0<wchar_t> {
|
class-template2.cpp | 2 struct X0; 23 extern X0<Integer> *x0i; 24 extern X0<float> *x0f; 25 extern X0<double> *x0r; 28 struct X0<char> { 33 struct X0<wchar_t> {
|
/external/clang/test/CXX/expr/expr.mptr.oper/ |
p5.cpp | 3 struct X0 { 10 void test_object_cvquals(void (X0::*pm)(), 11 void (X0::*pmc)() const, 12 void (X0::*pmv)() volatile, 13 void (X0::*pmcv)() const volatile, 14 X0 *p, 15 const X0 *pc, 16 volatile X0 *pv, 17 const volatile X0 *pcv, 18 X0 &o [all...] |
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/class.qual/ |
p2.cpp | 2 struct X0 { 3 X0 f1(); 4 X0 f2(); 21 X0::X0 X0::f1() { return X0(); } // expected-error{{qualified reference to 'X0' is a constructor name rather than a type wherever a constructor can be declared}} 23 struct X0::X0 X0::f2() { return X0(); [all...] |
/external/clang/test/CXX/class/class.mem/ |
p14.cpp | 7 struct X0 { 8 int X0; // okay
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
p13.cpp | 15 struct X0 { };
|
p14.cpp | 22 struct X0 {
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/ |
p3.cpp | 9 struct X0 {
|
p6.cpp | 19 struct X0 { 29 void X0<T>::f(int = 17) { } // expected-error{{cannot be added}} 33 void X0<T>::Inner::g(int = 17) { } // expected-error{{cannot be added}}
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
p1inst.cpp | 4 struct X0 { 10 void X0<T, U>::f(T *t, const U &u) { 14 void test_f(X0<float, int> xfi, X0<void, int> xvi, float *fp, void *vp, int i) {
|
p1-retmem.cpp | 6 struct X0 { 16 typename X0<T>::size_type X0<T>::f0() const { 21 typename X0<U>::value_type *X0<U>::f1() { 26 X1<typename X0<U>::value_type*> X0<U>::f2() {
|
/external/clang/test/CXX/temp/temp.param/ |
p1.cpp | 11 class X0 {}; // expected-note{{template is declared here}} 12 X0<int> x0; // expected-error{{too few template arguments for class template 'X0'}} variable
|
p9.cpp | 13 struct X0 { 18 void X0<N>::f() { } 21 template<template<int> class TT = X0> // expected-error{{not permitted on a friend template}}
|
/external/clang/test/SemaCXX/ |
type-formatting.cpp | 3 struct X0 { }; 8 const T *t = (const X0*)0; // expected-error{{cannot initialize a variable of type 'const X1 *' with an rvalue of type 'const X0 *'}}
|
attr-regparm.cpp | 5 struct X0 { 12 void X0::f0() { } 13 void __attribute__((regparm(3))) X0::f1() { } 14 void __attribute__((regparm(2))) X0::f2() { } // expected-error{{function declared with with regparm(2) attribute was previously declared with the regparm(3) attribute}} 15 void __attribute__((regparm(2))) X0::f3() { } // expected-error{{function declared with with regparm(2) attribute was previously declared without the regparm attribute}}
|
static-array-member.cpp | 3 struct X0 { 10 int X0::array[sizeof(X0) * 2];
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
p8.cpp | 3 class X0 {
|
/external/clang/test/CXX/special/class.ctor/ |
p1.cpp | 2 struct X0 { 5 X0(); 6 X0(int); 7 (X0)(float); 8 X0 (f0)(int); 9 X0 (f0)(type); 11 X0 f1(); 12 X0 f1(double); 15 X0::X0() { } [all...] |
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
p10.cpp | 4 struct X0 { 13 void X0<T>::f(T& t) { 18 struct X0<T>::Inner { 23 T X0<T>::static_var = 1; // expected-error{{cannot initialize}} 25 extern template struct X0<void*>; 26 template struct X0<void*>; // expected-note 2{{instantiation}} 28 template struct X0<int>; // expected-note 4{{explicit instantiation definition is here}} 30 extern template void X0<int>::f(int&); // expected-error{{follows explicit instantiation definition}} 31 extern template struct X0<int>::Inner; // expected-error{{follows explicit instantiation definition}} 32 extern template int X0<int>::static_var; // expected-error{{follows explicit instantiation definition} [all...] |
p4.cpp | 7 struct X0 { 15 template void X0<int>::f1(); // expected-error{{explicit instantiation of undefined member function}} 17 template int X0<int>::value; // expected-error{{explicit instantiation of undefined static data member}} 22 template<> void X0<long>::f1(); // expected-note{{previous template specialization is here}} 23 template void X0<long>::f1(); // expected-warning{{explicit instantiation of 'f1' that occurs after an explicit specialization will be ignored}} 25 template<> struct X0<long>::Inner; // expected-note{{previous template specialization is here}} 26 template struct X0<long>::Inner; // expected-warning{{explicit instantiation of 'Inner' that occurs after an explicit specialization will be ignored}} 28 template<> long X0<long>::value; // expected-note{{previous template specialization is here}} 29 template long X0<long>::value; // expected-warning{{explicit instantiation of 'value' that occurs after an explicit specialization will be ignored}} 31 template<> struct X0<double>; // expected-note{{previous template specialization is here} [all...] |
/external/clang/test/SemaTemplate/ |
explicit-specialization-member.cpp | 3 struct X0 { 10 template<> void X0<char>::f0(char); 11 template<> void X0<char>::f1(type);
|
/external/clang/test/CXX/class.access/class.friend/ |
p2-cxx03.cpp | 3 class X0 { 9 X0<X1> x0a; 10 X0<X1 *> x0b; 11 X0<int> x0c; 12 X0<E1> x0d;
|
/external/clang/test/CXX/temp/temp.res/temp.local/ |
p1.cpp | 10 template <typename T> struct X0 { 11 X0(); 12 ~X0(); 13 X0 f(const X0&); 30 X0<int> x0; (void)x0; local
|