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

1 2 3 4 5 6 7 8 9

  /external/clang/test/PCH/
cxx-typeid.cpp 2 // RUN: %clang_cc1 -include %S/cxx-typeid.h -fsyntax-only -stdlib=libstdc++ -verify %s
4 // RUN: %clang_cc1 -x c++-header -emit-pch -stdlib=libstdc++ -o %t.pch %S/cxx-typeid.h
10 (void)typeid(int);
  /external/clang/test/Parser/
cxx-typeid.cpp 10 (void)typeid(int);
11 (void)typeid(0);
12 (void)typeid 1; // expected-error {{expected '(' after 'typeid'}}
  /external/clang/test/SemaCXX/
typeid.cpp 5 (void)typeid(int); // expected-error {{you need to include <typeinfo> before using the 'typeid' operator}}
14 (void)typeid(int);
20 (void)typeid(X); // expected-error{{'typeid' of incomplete type 'X'}}
21 (void)typeid(X&); // expected-error{{'typeid' of incomplete type 'X'}}
22 (void)typeid(x); // expected-error{{'typeid' of incomplete type 'X'}}
27 typeid(V); // expected-error{{'typeid' of variably modified type 'char [i]'}
    [all...]
MicrosoftCompatibilityNoExceptions.cpp 8 (void)typeid(int);
runtimediag-ppe.cpp 12 void test1() { (void)typeid(NP(1 << 32)); }
16 void test2() { (void)typeid(P(1 << 32)); } // expected-warning {{shift count >= width of type}}
18 void test3() { 1 ? (void)0 : (void)typeid(P(1 << 32)); }
typeid-ref.cpp 11 (void)typeid(X&);
  /external/clang/test/CodeGenCXX/
rtti-linkage.cpp 91 (void)typeid(C*);
92 (void)typeid(C**);
93 (void)typeid(int C::*);
94 (void)typeid(int C::**);
95 (void)typeid(C C::*);
96 (void)typeid(C *C::*);
97 (void)typeid(C A::*);
98 (void)typeid(C* A::*);
121 (void)typeid(const D);
122 (void)typeid(D *)
    [all...]
typeid.cpp 10 const std::type_info &int_ti = typeid(int);
13 const std::type_info &A_ti = typeid(const volatile A &);
18 const std::type_info &c_ti = typeid(c);
23 const std::type_info &d_ti = typeid(d);
28 const std::type_info &a_ti = typeid(a);
31 const std::type_info &A10_c_ti = typeid(char const[10]);
39 return typeid(*static_cast<A *>(0)).name();
rtti-visibility.cpp 16 (void)typeid(A);
17 (void)typeid(A *);
27 (void)typeid(A);
implicit-record-visibility.cpp 12 void f(va_list) { (void)typeid(f); }
microsoft-abi-typeid.cpp 14 const std::type_info* test0_typeid() { return &typeid(int); }
18 const std::type_info* test1_typeid() { return &typeid(A); }
22 const std::type_info* test2_typeid() { return &typeid(&a); }
26 const std::type_info* test3_typeid() { return &typeid(*fn()); }
43 const std::type_info* test4_typeid() { return &typeid(b); }
47 const std::type_info* test5_typeid() { return &typeid(v); }
63 typeid(poly);
typeid-should-throw.cpp 12 void f1(A *x) { typeid(false, *x); }
17 void f2(bool b, A *x, A *y) { typeid(b ? *x : *y); }
22 void f3(bool b, A *x, A &y) { typeid(b ? *x : y); }
27 void f4(bool b, A &x, A *y) { typeid(b ? x : *y); }
32 void f5(volatile A *x) { typeid(*x); }
37 void f6(A *x) { typeid((B &)*(B *)x); }
42 void f7(A *x) { typeid((*x)); }
47 void f8(A *x) { typeid(x[0]); }
52 void f9(A *x) { typeid(0[x]); }
57 void f10(A *x, A *y) { typeid(*y ?: *x);
    [all...]
rtti-fundamental.cpp 6 return typeid(void);
vtable-key-function-ios.cpp 30 Test0a::Test0a() { use(typeid(Test0a)); }
49 Test0b::Test0b() { use(typeid(Test0b)); }
62 Test1a::Test1a() { use(typeid(Test1a)); }
82 Test1b::Test1b() { use(typeid(Test1b)); }
96 Test2a::Test2a() { use(typeid(Test2a)); }
115 Test2b::Test2b() { use(typeid(Test2b)); }
134 Test2c::Test2c() { use(typeid(Test2c)); }
148 Test3a::Test3a() { use(typeid(Test3a)); }
168 Test3b::Test3b() { use(typeid(Test3b)); }
189 Test3c::Test3c() { use(typeid(Test3c));
    [all...]
  /external/libcxx/test/std/utilities/type.index/type.index.members/
hash_code.pass.cpp 21 const std::type_info& ti = typeid(int);
22 std::type_index t1 = typeid(int);
name.pass.cpp 22 const std::type_info& ti = typeid(int);
23 std::type_index t1 = typeid(int);
eq.pass.cpp 22 std::type_index t1 = typeid(int);
23 std::type_index t2 = typeid(int);
24 std::type_index t3 = typeid(long);
  /external/libcxx/test/std/utilities/type.index/type.index.overview/
copy_assign.pass.cpp 21 std::type_index t1(typeid(int));
22 std::type_index t2(typeid(double));
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/type.index/type.index.members/
hash_code.pass.cpp 21 const std::type_info& ti = typeid(int);
22 std::type_index t1 = typeid(int);
name.pass.cpp 22 const std::type_info& ti = typeid(int);
23 std::type_index t1 = typeid(int);
eq.pass.cpp 22 std::type_index t1 = typeid(int);
23 std::type_index t2 = typeid(int);
24 std::type_index t3 = typeid(long);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/type.index/type.index.overview/
copy_assign.pass.cpp 21 std::type_index t1(typeid(int));
22 std::type_index t2(typeid(double));
  /external/libcxx/test/std/language.support/support.rtti/type.info/
type_info_hash.pass.cpp 18 const std::type_info& t1 = typeid(int);
19 const std::type_info& t2 = typeid(int);
20 const std::type_info& t3 = typeid(short);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/language.support/support.rtti/type.info/
type_info_hash.pass.cpp 18 const std::type_info& t1 = typeid(int);
19 const std::type_info& t2 = typeid(int);
20 const std::type_info& t3 = typeid(short);
  /external/libcxx/test/std/utilities/any/any.class/any.observers/
type.pass.cpp 27 assert(a.type() == typeid(void));
33 assert(a.type() == typeid(small));
39 assert(a.type() == typeid(large));

Completed in 1605 milliseconds

1 2 3 4 5 6 7 8 9