Searched refs:Incomplete (Results 1 - 25 of 26) sorted by relevance

12

/external/clang/test/SemaTemplate/
H A Dinstantiate-exception-spec.cpp4 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 Ddestructor-template.cpp12 struct Incomplete;
19 template void destroy_me(Incomplete*);
H A Dinstantiate-function-1.cpp53 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 Dinstantiate-exception-spec-cxx11.cpp6 template<typename T> void f1(T*) throw(T); // expected-error{{incomplete type 'Incomplete' is not allowed in exception specification}}
7 struct Incomplete; // expected-note{{forward}}
9 void test_f1(Incomplete *incomplete_p, int *int_p) {
H A Dinstantiate-expr-4.cpp166 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/except/except.spec/
H A Dp2-dynamic-types.cpp5 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 Dp1.cpp25 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 Dcompound-literal.c28 struct Incomplete; // expected-note{{forward declaration of 'struct Incomplete'}}
29 struct Incomplete* I1 = &(struct Incomplete){1, 2, 3}; // -expected-error {{variable has incomplete type}}
31 struct Incomplete* I2 = (struct foo[x]){1, 2, 3}; // -expected-error {{variable-sized object may not be initialized}}
H A Datomic-ops.c43 struct Incomplete *incomplete;
/external/clang/test/CodeGen/
H A Dfunctions.c52 struct Incomplete;
53 void f8_callback(struct Incomplete);
54 void f8_user(void (*callback)(struct Incomplete));
H A Datomic-ops.c198 int lock_free(struct Incomplete *incomplete) {
/external/clang/test/CodeGenCXX/
H A Dthunks-available-externally.cpp6 struct Incomplete;
10 virtual void g(Incomplete);
18 virtual void g(Incomplete);
28 virtual void g(Incomplete);
H A Ddelete.cpp127 struct Incomplete;
129 void array_delete_incomplete(Incomplete *p1, Incomplete *p2) {
H A Drtti-layout.cpp68 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 Dp4.cpp45 struct Incomplete; // expected-note{{forward declaration of 'Incomplete'}}
47 auto l1 = [] () -> Incomplete { }; // expected-error{{incomplete result type 'Incomplete' in lambda expression}}
/external/clang/test/SemaCXX/
H A Ddynamic-cast.cpp11 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 Dmember-pointer.cpp91 struct Incomplete;
125 Incomplete *inc;
126 int Incomplete::*pii = 0;
H A Doverload-call.cpp357 struct Incomplete;
362 void test(Incomplete *P) {
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
H A Dp1.cpp50 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 Dp10.cpp25 struct Incomplete; // expected-note 2{{forward declaration of 'Incomplete'}}
28 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}}
29 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 Dp5-0x.cpp26 extern struct Incomplete incomplete; // expected-note 4{{forward decl}}
/external/webkit/Source/WebCore/websockets/
H A DWebSocketHandshake.h49 Incomplete, Normal, Failed, Connected enumerator in enum:WebCore::WebSocketHandshake::Mode
H A DWebSocketHandshake.cpp168 , m_mode(Incomplete)
306 m_mode = Incomplete;
316 m_mode = Incomplete;
337 m_mode = Incomplete;
353 m_mode = Incomplete;
H A DWebSocketChannel.cpp277 if (m_handshake.mode() == WebSocketHandshake::Incomplete) {
/external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/
H A Dp1.cpp84 extern struct Incomplete also_incomplete[2]; // expected-note {{forward declaration}}
85 for (auto &a : also_incomplete) // expected-error {{cannot use incomplete type 'struct Incomplete [2]' as a range}}
175 for (auto a : *also_incomplete) { // expected-error {{cannot use incomplete type 'struct Incomplete' as a range}}

Completed in 324 milliseconds

12