HomeSort by relevance Sort by last modified time
    Searched refs:Incomplete (Results 1 - 25 of 27) sorted by null

1 2

  /external/clang/test/SemaTemplate/
instantiate-exception-spec.cpp 4 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) {
destructor-template.cpp 12 struct Incomplete;
19 template void destroy_me(Incomplete*);
instantiate-function-1.cpp 53 struct Incomplete; // expected-note 2{{forward declaration}}
56 T f() { } // expected-error{{incomplete result type}}
58 void test_X5(X5<Incomplete> x5); // okay!
60 template struct X5<Incomplete>; // expected-note{{instantiation}}
197 } catch (T t) { // expected-error{{incomplete type}} \
209 template struct TryCatch0<Incomplete*>; // expected-note{{instantiation}}
instantiate-exception-spec-cxx11.cpp 6 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) {
instantiate-expr-4.cpp 162 throw t; // expected-error{{incomplete type}}
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/dcl.decl/dcl.meaning/dcl.array/
p1.cpp 8 volatile void ar2[10]; // expected-error {{incomplete element type 'volatile void'}}
22 // An array with unknown bound is incomplete.
24 // So is an array with an incomplete element type.
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/CXX/except/except.spec/
p2-dynamic-types.cpp 5 struct Incomplete; // expected-note 3 {{forward declaration}}
7 // Exception spec must not have incomplete types, or pointers to them, except
9 void ic1() throw(void); // expected-error {{incomplete type 'void' is not allowed in exception specification}}
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 speci (…)
    [all...]
  /external/clang/test/Sema/
compound-literal.c 28 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}}
32 (void){1,2,3}; // -expected-error {{variable has incomplete type}}
atomic-ops.c 43 struct Incomplete *incomplete; variable in typeref:struct:Incomplete
64 _Static_assert(__atomic_always_lock_free(1, incomplete), "");
65 _Static_assert(!__atomic_always_lock_free(2, incomplete), "");
66 _Static_assert(!__atomic_always_lock_free(4, incomplete), "");
  /external/clang/test/CodeGen/
functions.c 51 // PR6911 - incomplete function types
52 struct Incomplete;
53 void f8_callback(struct Incomplete);
54 void f8_user(void (*callback)(struct Incomplete));
atomic-ops.c 198 int lock_free(struct Incomplete *incomplete) {
211 __atomic_is_lock_free(4, incomplete);
  /external/clang/test/CodeGenCXX/
thunks-available-externally.cpp 6 struct Incomplete;
10 virtual void g(Incomplete);
18 virtual void g(Incomplete);
28 virtual void g(Incomplete);
delete.cpp 127 struct Incomplete;
129 void array_delete_incomplete(Incomplete *p1, Incomplete *p2) {
rtti-layout.cpp 68 struct Incomplete;
167 // Pointers to incomplete classes.
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 (…)
    [all...]
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p4.cpp 45 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/
dynamic-cast.cpp 11 struct Incomplete; // expected-note 2 {{forward declaration of 'Incomplete'}}
36 // ptr -> incomplete
37 (void)dynamic_cast<Incomplete*>((A*)0); // expected-error {{'Incomplete' is an incomplete type}}
38 // incomplete -> ptr
39 (void)dynamic_cast<A*>((Incomplete*)0); // expected-error {{'Incomplete' is an incomplete type}
    [all...]
member-pointer.cpp 91 struct Incomplete;
125 Incomplete *inc;
126 int Incomplete::*pii = 0;
overload-call.cpp 357 struct Incomplete;
359 void foo(Base *); // expected-note 2 {{cannot convert argument of incomplete type}}
360 void foo(Base &); // expected-note 2 {{cannot convert argument of incomplete type}}
362 void test(Incomplete *P) {
  /external/clang/test/CXX/temp/temp.spec/temp.explicit/
p1.cpp 7 T value; // expected-error{{incomplete}}
31 U member2; // expected-error{{incomplete}}
50 struct Incomplete; // expected-note{{forward declaration}}
63 U member2; // expected-error{{incomplete}}
81 template struct X2<int, Incomplete>::Inner; // expected-note{{instantiation}}
  /external/clang/test/CXX/basic/basic.types/
p10.cpp 25 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}} variable
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}
    [all...]
  /external/clang/test/CXX/expr/expr.const/
p5-0x.cpp 26 extern struct Incomplete incomplete; // expected-note 4{{forward decl}}
48 auto new2 = new int[1][incomplete]; // expected-error {{incomplete}}
56 enum2 = incomplete, // expected-error {{incomplete}}
65 int alignas(incomplete) alignas2; // expected-error {{incomplete}}
74 int array2[incomplete]; // expected-error {{non-integer type}}
82 int bitfield2 : incomplete; // expected-error {{incomplete}
    [all...]
  /external/webkit/Source/WebCore/websockets/
WebSocketHandshake.h 49 Incomplete, Normal, Failed, Connected
WebSocketHandshake.cpp 168 , m_mode(Incomplete)
306 m_mode = Incomplete;
316 m_mode = Incomplete;
337 m_mode = Incomplete;
353 m_mode = Incomplete;
  /external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/
p1.cpp 81 extern int incomplete[];
82 for (auto a : incomplete) // expected-error {{cannot use incomplete type 'int []' as a range}}
84 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}}
  /external/chromium/testing/gmock/scripts/
gmock_doctor.py 221 clang_regex1 = (r'error: field has incomplete type '
228 clang_regex2 = (r'error: field has incomplete type '
256 r'\'sizeof\' to incomplete type \'(?P<type>.*)\'')
259 r'\'sizeof\' to an incomplete type '
272 return _GenericDiagnoser('IBRA', 'Incomplete By-Reference Argument Type',

Completed in 1237 milliseconds

1 2