/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);
|
/prebuilts/ndk/r11/sources/cxx-stl/gabi++/tests/ |
test_gabixx_rtti.cpp | 63 CHECK(typeid(int) == typeid(i)); 64 CHECK(typeid(int*) == typeid(pi)); 65 CHECK(typeid(int) == typeid(*pi)); 67 printf("int is: %s\n", typeid(int).name()); 68 printf(" i is: %s\n", typeid(i).name()); 69 printf(" pi is: %s\n", typeid(pi).name()); 70 printf("*pi is: %s\n", typeid(*pi).name()) [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/gabi++/tests/ |
test_gabixx_rtti.cpp | 63 CHECK(typeid(int) == typeid(i)); 64 CHECK(typeid(int*) == typeid(pi)); 65 CHECK(typeid(int) == typeid(*pi)); 67 printf("int is: %s\n", typeid(int).name()); 68 printf(" i is: %s\n", typeid(i).name()); 69 printf(" pi is: %s\n", typeid(pi).name()); 70 printf("*pi is: %s\n", typeid(*pi).name()) [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/type.index/type.index.members/ |
ctor.pass.cpp | 21 std::type_index t1 = typeid(int);
|
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);
|
/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);
|
/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/r11/sources/cxx-stl/llvm-libc++/libcxx/test/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/r13/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);
|
/prebuilts/ndk/r13/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));
|