Searched defs:type (Results 176 - 200 of 3757) sorted by relevance

1234567891011>>

/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
H A Dp4.cpp5 template<class T> struct identity { typedef T type; }; typedef in struct:PR8598::identity
8 void f(T C::*, typename identity<T>::type*){}
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/
H A Dp11.cpp12 typedef T type; typedef in struct:identity
16 T* f2(int, typename identity<T>::type = 0);
18 T& f2(U, typename identity<T>::type = 0);
/external/clang/test/CodeGenCXX/
H A Ddebug-info-template-partial-specialization.cpp11 typedef _Tp* type; typedef in struct:__pointer_type_imp::__pointer_type1
17 // Test that the bool template type parameter is emitted.
20 // CHECK: ![[FALSE]] = !MDTemplateValueParameter(type: !{{[0-9]+}}, value: i8 0)
21 typedef typename __pointer_type_imp::__pointer_type1<_Tp, _Dp, false>::type type; typedef in struct:__pointer_type2
26 typedef typename __pointer_type2<_Tp, _Dp>::type pointer;
/external/clang/test/Index/
H A Dcomplete-exprs.c22 typedef int type; typedef
24 (type)f;
34 // CHECK-CC1: NotImplemented:{ResultType size_t}{TypedText sizeof}{LeftParen (}{Placeholder expression-or-type}{RightParen )} (40)
51 // CHECK-CC2: NotImplemented:{ResultType size_t}{TypedText sizeof}{LeftParen (}{Placeholder expression-or-type}{RightParen )} (40)
69 // CHECK-CC7: TypedefDecl:{TypedText type} (50)
/external/clang/test/Modules/Inputs/
H A Dcxx-templates-c.h22 template<typename T> struct DontWalkPreviousDeclAfterMerging { struct Inner { typedef T type; }; }; typedef in struct:DontWalkPreviousDeclAfterMerging::Inner
/external/clang/test/Modules/Inputs/merge-using-decls/
H A Da.h8 typedef int type; typedef in struct:YA
13 using typename T::type;
20 using typename T::type;
27 using typename T::type;
34 using typename T::type;
40 typedef C<YA>::type I;
41 typedef D<YA>::type I;
42 typedef E<YA>::type I;
43 typedef F<YA>::type I;
H A Db.h9 typedef int type; typedef in struct:YB
14 int type; member in struct:YBRev
19 using typename T::type;
25 // Mismatch in type/non-type-ness.
27 using T::type;
41 using typename T::Y::type;
47 typedef C<YB>::type I;
49 typedef E<YB>::type I;
50 typedef F<YB>::type
[all...]
/external/clang/test/PCH/
H A Dcrash-12631281.cpp13 template <> struct is_convertible<int> { typedef int type; }; typedef in struct:is_convertible
18 template <class _U1, class _U2, class = typename is_convertible< first_type>::type>
/external/clang/test/Parser/
H A Dcxx-ambig-paren-expr.cpp29 typedef int type; typedef
33 typedef int type; typedef in namespace:ns
38 typedef int type; typedef in struct:cls
48 if (result((cls::type) i).check())
51 if (result((ns::type) i).check())
54 if (result((::type) i).check())
/external/clang/test/Sema/
H A Dinvalid-struct-init.c5 _efree((p)); // expected-error{{type name requires a specifier or qualifier}} \
6 expected-warning {{type specifier missing, defaults to 'int'}}
16 static int zm_startup_pcre(int type, int module_number ) { } argument
18 static int zm_shutdown_pcre(int type, int module_number ) { argument
/external/clang/test/SemaCXX/
H A DPR9908.cpp7 typedef typename _Tp::template rebind<_Up>::other type; typedef in struct:__allocator_traits_rebind
15 __allocator_traits_rebind<allocator_type, T>::type;
H A Dcrash-lambda-12645424.cpp7 typedef _Tp type; typedef in struct:add_lvalue_reference
14 typedef T type; typedef in struct:C
18 typedef typename C<typename Fun0<T>::type, Funs...>::type type; typedef in struct:C
23 typedef type_list<typename C<Ts, Funs...>::type...> type; typedef in struct:tl_map
28 tl_map< filtered_pattern, add_lvalue_reference > type; member in struct:F
32 F<Pattern> type; member in struct:get_case
36 template<typename Expr> typename get_case<Expr, Pattern>::type operato
[all...]
H A Doverload-0x.cpp5 struct A { // expected-note {{candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const test0::A', but method is not marked const}}
7 // expected-note@-2 {{candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const test0::A', but method is not marked const}}
9 A &operator=(void*); // expected-note {{candidate function not viable: 'this' argument has type 'const test0::A', but method is not marked const}}
25 // expected-error@-3 {{non-const lvalue reference to type 'int' cannot bind to a temporary of type 'void'}}
54 // expected-error@-3 {{cannot initialize a variable of type 'double' with an rvalue of type 'void *'}}
63 struct S { typedef int type; }; typedef in struct:sfinae_test::S
66 struct S<sizeof(int)> { typedef void type; }; typedef in struct:sfinae_test::S
70 template<typename T> int cxx11_ignored(T, typename S<sizeof(f(T(), "foo"))>::type *);
[all...]
H A Dunderlying_type.cpp19 "f has the wrong underlying type");
23 "g has the wrong underlying type");
27 "h has the wrong type");
31 typedef __underlying_type(T) type; // expected-error {{only enumeration types}} typedef in struct:f::underlying_type
34 static_assert(is_same_type<underlying_type<f>::type, char>::value,
35 "f has the wrong underlying type in the template");
37 underlying_type<int>::type e; // expected-note {{requested here}}
42 static_assert(is_same_type<underlying_type<foo>::type, unsigned>::value,
43 "foo has the wrong underlying type");
48 // expected-error@-2 {{variable has incomplete type}}
[all...]
/external/clang/test/SemaTemplate/
H A Danonymous-union.cpp32 typedef T type; typedef in struct:rdar8635664::X::inner
H A Dinjected-class-name.cpp21 typedef T type; typedef in struct:X0
31 void f1(const X0<type, U_type2>&); // expected-error{{redecl}}
35 void f2(const ::X0<type, U_type2>&); // expected-error{{redecl}}
H A Dinstantiate-attr.cpp22 typedef A<unsigned long> type; typedef in namespace:test1
24 int test0[sizeof(type) == 4 ? 1 : -1];
25 int test1[__builtin_offsetof(type, a) == 0 ? 1 : -1];
26 int test2[__builtin_offsetof(type, b) == 4 ? 1 : -1];
30 template <class type>
32 type Member __attribute__ ((packed));
H A Dinstantiate-function-2.cpp17 typedef T type; typedef
18 void g(int array[sizeof(type)]);
27 T *x = 1; // expected-error{{cannot initialize a variable of type 'int *' with an rvalue of type 'int'}}
H A Dinstantiate-self.cpp8 B b; // expected-error {{has incomplete type 'test1::A<int>::B'}}
40 template<typename T> struct M { typedef int type; }; typedef in struct:test4::M
43 int k[typename A<typename M<T>::type>::B().k[0] + 1]; // expected-error {{incomplete type}}
H A Dmetafun-apply.cpp6 typedef T* type; typedef in struct:add_pointer::apply
13 typedef T& type; // expected-error{{cannot form a reference to 'void'}} typedef in struct:add_reference::apply
19 typedef int type; typedef in struct:bogus::apply
25 typedef typename MetaFun::template apply<T>::type type; // expected-note{{in instantiation of template class 'add_reference::apply<void>' requested here}} \ typedef in struct:apply1
30 apply1<add_pointer, int>::type ip = &i;
31 apply1<add_reference, int>::type ir = i;
32 apply1<add_reference, float>::type fr = i; // expected-error{{non-const lvalue reference to type 'float' cannot bind to a value of unrelated type 'in
[all...]
H A Dpartial-spec-instantiate.cpp46 typedef int type; typedef in struct:rdar9169404::X
49 X<bool, -1>::type value;
H A Dtemp_arg_nontype_cxx11.cpp5 U f() { return &F; } // expected-error{{cannot take the address of an rvalue of type 'int (*)(int)'}} expected-error{{cannot take the address of an rvalue of type 'int *'}}
13 template<typename T> struct get { typedef T type; }; typedef in struct:CanonicalNullptr::get
15 template<typename T, typename get<T *>::type P = nullptr> struct A {};
16 template<typename T, typename get<decltype((T(), nullptr))>::type P = nullptr> struct B {};
17 template<typename T, typename get<T X::*>::type P = nullptr> struct C {};
H A Dtypename-specifier-2.cpp5 typedef typename MetaFun::template apply<T> type; typedef in struct:bind_metafun
11 typedef T* type; typedef in struct:add_pointer::apply
20 bind_metafun<add_pointer, int>::type::type ip = &i;
21 bind_metafun<add_pointer, float>::type::type fp = &i; // expected-error{{cannot initialize a variable of type 'bind_metafun<add_pointer, float>::type::type' (aka 'float *') with an rvalue of type 'in
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_suppressions.h22 const char *type; member in struct:__sanitizer::Suppression
37 bool Match(const char *str, const char *type, Suppression **s);
39 bool HasSuppressionType(const char *type) const;
/external/compiler-rt/test/asan/TestCases/
H A Ddebug_locate.cc1 // Checks the ASan memory address type debugging API, makes sure it returns
2 // the correct memory type for heap, stack, global and shadow addresses and
22 const char *type; local
24 type = __asan_locate_address(&global_var, name, 100,
27 assert(0 == strcmp(type, "global"));
31 type = __asan_locate_address((char *)(&global_var)+1, name, 100,
34 assert(0 == strcmp(type, "global"));
38 type = __asan_locate_address(&local_var, name, 100,
41 assert(0 == strcmp(type, "stack"));
45 type
[all...]

Completed in 515 milliseconds

1234567891011>>