OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:typeid
(Results
1 - 25
of
157
) sorted by null
1
2
3
4
5
6
7
/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'}}
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]);
38
return
typeid
(*static_cast<A *>(0)).name();
rtti-visibility.cpp
16
(void)
typeid
(A);
17
(void)
typeid
(A *);
27
(void)
typeid
(A);
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()); }
44
const std::type_info* test4_typeid() { return &
typeid
(b); }
48
const std::type_info* test5_typeid() { return &
typeid
(v); }
rtti-fundamental.cpp
6
return
typeid
(void);
vtable-key-function-ios.cpp
27
Test0a::Test0a() { use(
typeid
(Test0a)); }
46
Test0b::Test0b() { use(
typeid
(Test0b)); }
59
Test1a::Test1a() { use(
typeid
(Test1a)); }
79
Test1b::Test1b() { use(
typeid
(Test1b)); }
93
Test2a::Test2a() { use(
typeid
(Test2a)); }
112
Test2b::Test2b() { use(
typeid
(Test2b)); }
131
Test2c::Test2c() { use(
typeid
(Test2c)); }
145
Test3a::Test3a() { use(
typeid
(Test3a)); }
165
Test3b::Test3b() { use(
typeid
(Test3b)); }
186
Test3c::Test3c() { use(
typeid
(Test3c));
[
all
...]
vtable-key-function-arm.cpp
27
Test0a::Test0a() { use(
typeid
(Test0a)); }
46
Test0b::Test0b() { use(
typeid
(Test0b)); }
59
Test1a::Test1a() { use(
typeid
(Test1a)); }
78
Test1b::Test1b() { use(
typeid
(Test1b)); }
91
Test2a::Test2a() { use(
typeid
(Test2a)); }
112
Test2b::Test2b() { use(
typeid
(Test2b)); }
132
Test2c::Test2c() { use(
typeid
(Test2c)); }
146
Test3a::Test3a() { use(
typeid
(Test3a)); }
167
Test3b::Test3b() { use(
typeid
(Test3b)); }
187
Test3c::Test3c() { use(
typeid
(Test3c));
[
all
...]
arm64.cpp
51
const std::type_info &b0 =
typeid
(B);
55
const std::type_info &b1 =
typeid
(B*);
60
const std::type_info &c0 =
typeid
(C);
64
const std::type_info &c1 =
typeid
(C*);
72
const std::type_info &d0 =
typeid
(D<int>);
rtti-layout.cpp
92
#define CHECK_VTABLE(type, vtable) CHECK(&vtable##_type_info_vtable + 2 == (((void **)&(
typeid
(type)))[0]))
93
#define CHECK_BASE_INFO_TYPE(type, index, base) CHECK(to<__vmi_class_type_info>(
typeid
(type)).__base_info[(index)].__base_type == &
typeid
(base))
94
#define CHECK_BASE_INFO_OFFSET_FLAGS(type, index, offset, flags) CHECK(to<__vmi_class_type_info>(
typeid
(type)).__base_info[(index)].__offset_flags == (((offset) << 8) | (flags)))
115
CHECK(to<__si_class_type_info>(
typeid
(SI1)).__base_type == &
typeid
(A));
119
CHECK(to<__si_class_type_info>(
typeid
(SI2)).__base_type == &
typeid
(Empty));
124
CHECK(to<__si_class_type_info>(
typeid
(SI3)).__base_type == &
typeid
(Empty))
[
all
...]
/external/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);
eq.pass.cpp
22
std::type_index t1 =
typeid
(int);
23
std::type_index t2 =
typeid
(int);
24
std::type_index t3 =
typeid
(long);
lt.pass.cpp
24
std::type_index t1 =
typeid
(int);
25
std::type_index t2 =
typeid
(int);
26
std::type_index t3 =
typeid
(long);
/external/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));
copy_ctor.pass.cpp
21
std::type_index t1(
typeid
(int));
/external/libcxx/test/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);
type_info.pass.cpp
18
const std::type_info& t1 =
typeid
(int);
19
const std::type_info& t2 =
typeid
(int);
21
const std::type_info& t3 =
typeid
(short);
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p2-generic-lambda-1y.cpp
21
const std::type_info &ti1 =
typeid
([](auto &a) -> P& { static P p; return p; }(i));
22
const std::type_info &ti2 =
typeid
([](auto) -> int { return i; }(i)); // expected-error{{lambda expression in an unevaluated operand}}\
Completed in 5310 milliseconds
1
2
3
4
5
6
7