/external/clang/test/CXX/except/except.spec/ |
H A D | p2-dynamic-types.cpp | 5 struct Incomplete; // expected-note 3 {{forward declaration}} 10 void ic2() throw(Incomplete); // expected-error {{incomplete type 'Incomplete' is not allowed in exception specification}} 12 void ic4() throw(Incomplete*); // expected-error {{pointer to incomplete type 'Incomplete' is not allowed in exception specification}} 13 void ic5() throw(Incomplete&); // expected-error {{reference to incomplete type 'Incomplete' is not allowed in exception specification}}
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/ |
H A D | p1.cpp | 25 struct Incomplete; // expected-note {{forward declaration}} 26 Incomplete ar9[10]; // expected-error {{incomplete type}} 29 void fun(int p1[], Incomplete p2[10]); 31 extern Incomplete ear2[10];
|
/external/clang/test/Sema/ |
H A D | compound-literal.c | 29 struct Incomplete; // expected-note{{forward declaration of 'struct Incomplete'}} 30 struct Incomplete* I1 = &(struct Incomplete){1, 2, 3}; // expected-error {{variable has incomplete type}} 32 struct Incomplete* I2 = (struct foo[x]){1, 2, 3}; // expected-error {{variable-sized object may not be initialized}}
|
/external/clang/test/SemaCXX/ |
H A D | devirtualize-vtable-marking.cpp | 12 struct Incomplete; 21 OwnPtr<Incomplete> m_sqlError; 34 struct Incomplete; 44 OwnPtr<Incomplete> m_sqlError;
|
H A D | dynamic-cast.cpp | 11 struct Incomplete; // expected-note 2 {{forward declaration of 'Incomplete'}} 37 (void)dynamic_cast<Incomplete*>((A*)0); // expected-error {{'Incomplete' is an incomplete type}} 39 (void)dynamic_cast<A*>((Incomplete*)0); // expected-error {{'Incomplete' is an incomplete type}}
|
H A D | lambda-expressions.cpp | 297 struct Incomplete; // expected-note 2{{forward decl}} 298 void g(const Incomplete &a); 299 void f(Incomplete &a) {
|
H A D | member-pointer.cpp | 94 struct Incomplete; 131 Incomplete *inc; 132 int Incomplete::*pii = 0;
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.aggr/ |
H A D | p4.cpp | 20 struct Incomplete; // expected-note {{forward declaration of 'Incomplete'}} 22 Incomplete i; // expected-error {{field has incomplete type 'Incomplete'}}
|
/external/clang/test/CodeGen/ |
H A D | functions.c | 52 struct Incomplete; 53 void f8_callback(struct Incomplete); 54 void f8_user(void (*callback)(struct Incomplete));
|
/external/clang/test/CodeGenCXX/ |
H A D | thunks-available-externally.cpp | 6 struct Incomplete; 10 virtual void g(Incomplete); 18 virtual void g(Incomplete); 28 virtual void g(Incomplete);
|
H A D | delete.cpp | 138 struct Incomplete; 140 void array_delete_incomplete(Incomplete *p1, Incomplete *p2) {
|
H A D | rtti-layout.cpp | 68 struct Incomplete; 168 CHECK_VTABLE(Incomplete *, pointer); 169 CHECK(to<__pbase_type_info>(typeid(Incomplete *)).__flags == __pbase_type_info::__incomplete_mask); 170 CHECK(to<__pbase_type_info>(typeid(Incomplete **)).__flags == __pbase_type_info::__incomplete_mask); 171 CHECK(to<__pbase_type_info>(typeid(Incomplete ***)).__flags == __pbase_type_info::__incomplete_mask); 174 CHECK_VTABLE(int Incomplete::*, pointer_to_member); 175 CHECK(to<__pbase_type_info>(typeid(int Incomplete::*)).__flags == __pbase_type_info::__incomplete_class_mask); 176 CHECK(to<__pbase_type_info>(typeid(Incomplete Incomplete::*)).__flags == (__pbase_type_info::__incomplete_class_mask | __pbase_type_info::__incomplete_mask)); 177 CHECK(to<__pbase_type_info>(typeid(Incomplete [all...] |
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
H A D | p4.cpp | 46 struct Incomplete; // expected-note{{forward declaration of 'Incomplete'}} 48 auto l1 = [] () -> Incomplete { }; // expected-error{{incomplete result type 'Incomplete' in lambda expression}}
|
/external/clang/test/SemaTemplate/ |
H A D | instantiate-exception-spec.cpp | 5 template<typename T> void f1(T*) throw(T); // expected-error{{incomplete type 'Incomplete' is not allowed in exception specification}} 6 struct Incomplete; // expected-note{{forward}} 8 void test_f1(Incomplete *incomplete_p, int *int_p) {
|
H A D | destructor-template.cpp | 12 struct Incomplete; 19 template void destroy_me(Incomplete*);
|
H A D | instantiate-function-1.cpp | 53 struct Incomplete; // expected-note 2{{forward declaration}} 58 void test_X5(X5<Incomplete> x5); // okay! 60 template struct X5<Incomplete>; // expected-note{{instantiation}} 209 template struct TryCatch0<Incomplete*>; // expected-note{{instantiation}}
|
H A D | instantiate-exception-spec-cxx11.cpp | 9 template<typename T> void f1(T*) throw(T); // expected-error{{incomplete type 'Incomplete' is not allowed in exception specification}} 10 struct Incomplete; // expected-note{{forward}} 12 void test_f1(Incomplete *incomplete_p, int *int_p) {
|
H A D | instantiate-expr-4.cpp | 166 struct Incomplete; // expected-note 2{{forward}} 170 template struct Throw1<Incomplete*>; // expected-note{{instantiation}} 186 return typeid(T); // expected-error{{'typeid' of incomplete type 'Incomplete'}} 195 template struct TypeId0<Incomplete>; // expected-note{{instantiation of member function}}
|
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
H A D | p1.cpp | 50 struct Incomplete; // expected-note{{forward declaration}} 81 template struct X2<int, Incomplete>::Inner; // expected-note{{instantiation}}
|
/external/clang/test/CXX/basic/basic.types/ |
H A D | p10.cpp | 31 struct Incomplete; // expected-note 2{{forward declaration of 'Incomplete'}} 34 constexpr Incomplete incomplete = {}; // expected-error {{constexpr variable cannot have non-literal type 'const Incomplete'}} expected-note {{incomplete type 'const Incomplete' is not a literal type}} 35 constexpr Incomplete incomplete2[] = {}; // expected-error {{constexpr variable cannot have non-literal type 'Incomplete const[]'}} expected-note {{incomplete type 'Incomplete const[]' is not a literal type}}
|
/external/clang/test/CXX/expr/expr.const/ |
H A D | p5-0x.cpp | 26 extern struct Incomplete incomplete; // expected-note 4{{forward decl}}
|
/external/clang/test/Analysis/ |
H A D | derived-to-base.cpp | 454 struct Incomplete; 460 void* f(Incomplete *i) { 472 Incomplete *i = reinterpret_cast<Incomplete *>(b);
|
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/ |
H A D | p6.cpp | 86 alignas(4) struct Incomplete incomplete; // expected-error {{incomplete type}} expected-note {{forward declaration}}
|
/external/clang/test/Index/ |
H A D | print-type-size.cpp | 83 namespace Incomplete { namespace 199 // CHECK64: StructDecl=As:[[@LINE+1]]:8 [type=Incomplete::As] [typekind=Record] 203 // CHECK64: ClassDecl=A:[[@LINE+1]]:7 [type=Incomplete::A] [typekind=Record]
|
/external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/ |
H A D | p1.cpp | 109 extern struct Incomplete also_incomplete[2]; // expected-note {{forward declaration}} 110 for (auto &a : also_incomplete) // expected-error {{cannot use incomplete type 'struct Incomplete [2]' as a range}} 191 for (auto a : *also_incomplete) { // expected-error {{cannot use incomplete type 'struct Incomplete' as a range}}
|