Home
last modified time | relevance | path

Searched +defs:U +defs:T +defs:f (Results 1 – 25 of 62) sorted by relevance

123

/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/
Dp2-0x.cpp4 typedef int T; typedef
5 using T = int; typedef
6 using T = int; typedef
7 typedef T T; typedef
8 using T = T; typedef
9 typedef int T; typedef
35 using T = int[42]; // ok typedef
38 …using T = int[n]; // expected-error {{variable length array declaration not allowed at file scope}} typedef
41 using U = int[m]; // expected-note {{previous definition}} typedef
42 using U = int[42]; // ok typedef
[all …]
/external/clang/test/CodeGenCXX/
Dmangle-subst.cpp6 void f(X, X) { } in f() function
9 void f(X&, X&) { } in f() function
12 void f(const X&, const X&) { } in f() function
14 typedef void T(); typedef
18 void f(T*, T (S::*)) {} in f() argument
26 void f(A::A a, A::B b) { } in f() function
33 void f(C::D, C&, C*, C&) { } in f() function
37 typedef int U; typedef
40 template <typename T> void f1(typename V<T>::U, V<T>) { } in f1()
45 template <typename T> void f2(V<T>, typename V<T>::U) { } in f2()
[all …]
Dcxx11-thread-local.cpp14 struct U { static thread_local int m; }; struct
59 int f() { in f() function
106 struct T { ~T(); }; struct
143 int PR19254::f() { in f() function in PR19254
/external/clang/test/SemaCXX/
Daccess.cpp17 class T { class
41 template<typename T1, typename T2> struct U { }; struct
52 struct U<T1, float> { struct
55U() : v_(A::x) { } // expected-error {{'x' is a private member of 'PR15209::alias_templates::A'}} in U() function
59 struct U<T1, int> { struct
61U() : v_(A::y) { } // expected-error {{'y' is a private member of 'PR15209::alias_templates::A'}} in U() function
64 …template struct U<int, int>; // expected-note {{in instantiation of member function 'PR15209::alia… argument
66 void f() in f() function
98 void funct(T) in funct() argument
105 void f() in f() function
[all …]
Dconstexpr-printing.cpp15 void f() { in f() function
22 struct T { struct
23 constexpr T() : arr() {} in T() argument
26 struct U : T { argument
27 constexpr U(const int *p) : T(), another(), p(p) {} in U() function
28 constexpr U(const U &u) : T(), another(), p(u.p) {} in U() function
32 constexpr U u1(&u1.arr[2]); argument
35 int *e, int &f, vector_int g, U h) { in test_printing()
Dbuiltins.cpp5 void f() { in f() function
32 struct T { constexpr T *operator&() const { return nullptr; } int n; } t; in operator &() struct
36 struct U { int n : 5; } u; struct
Dalias-template.cpp4 template<typename U> using T = int; typedef
5 template<typename U> using T = int; typedef
6 template<typename U> using T = T<U>; typedef
32 template<typename Z> using T = int[42]; // ok typedef
35 …template<typename Z> using T = int[n]; // expected-error {{variable length array declaration not a… typedef
38 template<typename Z> using U = int[m]; // expected-note {{previous definition}} typedef
39 template<typename Z> using U = int[42]; // ok typedef
40 …template<typename Z> using U = int; // expected-error {{type alias template redefinition with diff… typedef
45 template<typename Z> using T = int; typedef
57 …template<typename Z> using U = T*; // expected-error {{declaration type contains unexpanded parame… typedef
[all …]
Dtrailing-return-0x.cpp15 auto f() -> int in f() function
30 using T = auto (int) -> auto (*)(char) -> void; // expected-note {{previous}} typedef
31 using T = void; // expected-error {{type alias redefinition with different types ('void' vs 'auto (… typedef
33 using U = auto (int) -> auto (*)(char) -> void; typedef
34 using U = void (*(int))(char); // ok typedef
49 auto f(T x) -> T { return x; } in f() function
Dwarn-infinite-recursion.cpp30 void f() { e(); } in f() function
75 struct T { struct
82 T<int> foo; in test_T() argument
87 class U { class
Dcxx1y-deduced-return-type.cpp46 using T = decltype(a()); typedef
47 using T = int; typedef
49 using T = decltype(a()); typedef
115 int f = fwd_decl<int>(); variable
163 …template <typename T> auto f() { return 0; } // expected-note {{couldn't infer template argument '… in f() function
176 …template <typename T> auto f(int) { return 0; } // expected-note {{couldn't infer template argumen… in f() function
189 template<typename T> auto f(T) { return 0; } in f() argument
202 template<typename T, typename U> auto f() -> auto (T::*)(U) { in f() function
226 auto f() { return 0; } in f() function
231 auto f(int) { return 0.0; } in f() function
[all …]
Dconstant-expression-cxx11.cpp29 struct U { int n; }; struct
98 void f(int n) { in f() function
172 constexpr int f() { return 1; } in f() function
182 static constexpr int f(int n) { return n * k + 2; } in f() function
227 constexpr int f(int n, const int *a, const int *b, const int *c) { in f() function
302 struct U {}; struct
336 constexpr int f(const int &r) { return r; } in f() function
436 struct T { struct
437 char c[6];
438 constexpr T() : c{"foo"} {} in T() function
[all …]
/external/compiler-rt/test/ubsan/TestCases/TypeCheck/
Dvptr.cpp21 int f() { return 0; } in f() function
25 struct T : S { struct
26 T() : b(0) {} in T() function
32 struct U : S, T { virtual int v() { return 2; } }; in v() argument
/external/clang/test/Sema/
Dnested-redef.c7 void f(void) { in f() function
13 struct T { int x; } t; struct
14 struct U { int x; } u; argument
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
Dp1.cpp25 void X0<T, U>::f0(const T&, const U&) { // expected-note{{previous definition}} in f0()
50 void X0<T, U>::f0(const T&, const U&) { // expected-error{{redefinition}} in f0()
78 void X1<T>::template B<U>::f() { } in f() function in X1::B
/external/clang/test/Parser/
DDelayedTemplateParsing.cpp59 void f() { in f() function in Inner_Outer_same_template_param_name::Outmost::Inner
149 static void f() { in f() function
156 template<typename A> template<typename B> struct S<A>::T { struct in PR19613::S
158 template<typename C> struct U<C, C> { struct
159 template<typename E> static int f() { in f() function
174 static int f() { in f() function
Dcxx0x-decl.cpp51 constexpr const int &ConstexprTrailingReturn::f() const { return n; } in f() function in ConstexprTrailingReturn
78 using T = int (*f)(); // expected-error {{type-id cannot have a name}} typedef
79 template<typename T> using U = int (*f)(); // expected-error {{type-id cannot have a name}} typedef
100 using T __attribute__((aligned(1))) = int; typedef
101 using T [[gnu::aligned(1)]] = int; typedef
104 using [[gnu::aligned(1)]] T = int; // expected-error {{an attribute list cannot appear here}} typedef
105 …using T = int [[gnu::aligned(1)]]; // expected-error {{'aligned' attribute cannot be applied to ty… typedef
121 void f() override __asm__("foobar") __attribute__(( )) {} in f() function
Dcxx0x-ambig.cpp8 struct T { int n; }; argument
25 struct T final : S {}; // expected-error {{base 'S' is marked 'final'}} struct
37 struct T { struct
38 constexpr T() {} in T() function
39 constexpr T(int) {} in T() argument
40 constexpr T(T, T, T, T) {} in T() argument
41 constexpr T operator=(T) const { return *this; } in operator =()
42 constexpr operator int() const { return 4; } in operator int()
70 struct U { struct
71 constexpr operator T() const { return T(); } // expected-note 2{{candidate}} in operator T()
[all …]
/external/clang/test/PCH/
Dcxx-for-range.h8 struct T { }; struct
13 struct U { }; struct
19 void f() { in f() function
/external/clang/test/CXX/dcl.decl/dcl.init/
Dp5.cpp12 S f() { in f() function
16 struct T struct
21 struct U { struct
24 U u = U(); // expected-note {{in value-initialization of type 'U' here}} argument
/external/clang/test/CXX/dcl.decl/dcl.meaning/
Dp1-0x.cpp49 void f() {} // expected-note {{possible target}} in f() function
73 template<typename T> struct U<T*> {}; struct
74 template<> struct U<int> {}; struct
75 template struct U<int*>; variable
76 template struct U<char>; // expected-error {{undefined}} variable
82 struct N::T {}; struct in inline_namespaces::N
/external/doclava/res/assets/templates/assets/
Djquery-resizable.min.js12 …[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nod… argument
19 …unction(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||type… argument
40function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.opt… argument
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/
Dp3-0x.cpp15 void f() { in f() function
21 new struct T {}; // expected-error {{'T' cannot be defined in a type specifier}} in f() struct
24 try {} catch (struct U {}) {} // expected-error {{'U' cannot be defined in a type specifier}} in f() local
/external/clang/test/SemaTemplate/
Dconstexpr-instantiate.cpp17 template<typename T> constexpr int consume(T) { return 0; } in consume() argument
25 template<typename T> constexpr T f(T n) { return n; } in f() function
36 template<typename T> constexpr T f(T n) { return n; } in f() function
37 int f() { in f() function
46 template<typename T> constexpr T f(T t) { return t; } in f() function
53 template<typename T> auto h(T t[f(sizeof(T))]) -> decltype(&*t) { in h() argument
100 struct U : S<int> {}; struct
109 struct U : S<int> {}; // expected-note {{instantiation}} struct
114 template<int x> constexpr int f() { return x; } in f() function
116 void f() { int x[10]; ovf<10>(x); } in f() function
[all …]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp3.cpp30 struct T : SS, NonLiteral { // expected-note {{base class 'NonLiteral' of non-literal type}} struct
45 constexpr ~T(); // expected-error {{destructor cannot be marked constexpr}} argument
62 constexpr T &operator=(const T&) = default; argument
80 struct U { struct
100 typedef struct S T; in AllowedStmtsCXX11() typedef
236 constexpr int f(int k) { in f() function
241 constexpr int f() { // expected-error {{constexpr function never produces a constant expression}} in f() function
/external/clang/test/Layout/
Dms-x86-empty-virtual-base.cpp20 …ign(16)) D0 { D0() {printf("D0 : %3d\n", ((int)(__SIZE_TYPE__)this)&0xfff);} virtual void f() {} }; in f() function
219 virtual void f() {} in f() function
256 virtual void f() {} in f() function
624 struct T : virtual B0, virtual B1, virtual C0, virtual D2, virtual B2, virtual B3, virtual B4 { struct
626 T() : a(0xf0000022) {printf("X : %3d\n", ((int)(__SIZE_TYPE__)this)&0xfff);} in T() argument
662 struct __declspec(align(32)) U : virtual B0, virtual B1 { struct
664 U() : a(0xf0000023) {printf("X : %3d\n", ((int)(__SIZE_TYPE__)this)&0xfff);} in U() function

123