| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | constructor-template.cpp | 79 struct X4 { struct 80 X4(); 81 ~X4(); 82 X4(X4&); 83 template<typename T> X4(const T&, int = 17); 86 X4 test_X4(bool Cond, X4 x4) { in test_X4() 87 X4 a(x4, 17); // okay, constructor template in test_X4() 88 X4 b(x4); // okay, copy constructor in test_X4() 89 return X4(); in test_X4()
|
| H A D | temp_explicit.cpp | 62 template<typename T> struct X4 { struct 70 void f2(X4<int&>); // okay, Inner, not instantiated argument 71 void f3(X4<int&>::Inner); // okay, Inner::VeryInner, not instantiated 73 template struct X4<int&>; // expected-note{{instantiation}} variable 74 template struct X4<float&>; // expected-note{{instantiation}} variable
|
| H A D | member-access-expr.cpp | 108 struct X4 { struct 119 void test_X5(X5<X4> x5, X5<const X4> x5c, X4 *xp, const X4 *cxp) { in test_X5()
|
| H A D | instantiate-member-pointers.cpp | 40 struct X4 { struct 46 int &get_X4(X4<&Y::x> x4, Y& y) { in get_X4() argument 51 void accept_X4(X4<Member>); 53 void test_accept_X4(X4<&Y::x> x4) { in test_accept_X4()
|
| H A D | instantiate-function-1.cpp | 40 template <typename T> struct X4 { struct 50 template struct X4<void>; // expected-note{{in instantiation of}} argument 51 template struct X4<int>; // expected-note{{in instantiation of}} variable
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.explicit/ |
| H A D | p3-0x.cpp | 51 struct X4; 54 template void has_inline_namespaces::f<X4>(X4&); 58 template struct has_inline_namespaces::X0<X4>::MemberClass; 60 template void has_inline_namespaces::X0<X4>::mem_func(); 63 struct has_inline_namespaces::X0<X4>::MemberClassTemplate<X3>; 66 void has_inline_namespaces::X0<X4>::mem_func_template(X3&);
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.post/expr.call/ |
| H A D | p7-0x.cpp | 16 struct X4 { struct 17 X4(const X4&) = default; 18 X4(X4&); 25 void f(X1 x1, X2 x2, X3 x3, X4 x4) { in f()
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
| H A D | p5-cxx0x-no-extra-copy.cpp | 35 struct X4 { struct 36 X4(); 37 X4(const X4&, T = get_value_badly<T>()); 48 void g4(const X4<int>&); 55 g4(X4<int>()); in test()
|
| H A D | p5-cxx03-extra-copy.cpp | 38 struct X4 { struct 39 X4(); 40 X4(const X4&, T = get_value_badly<T>()); // expected-note{{in instantiation of}} 52 void g4(const X4<int>&); 59 g4(X4<int>()); in test()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | mangle-ms-md5.cpp | 8 #define X4(X) X2(X2(X)) macro 9 #define X8(X) X2(X4(X)) 22 C4(X, X2(X), X4(X), X8(X)), \ 57 C4(X, X4(X), X4(X), X8(X)), \ 68 C4(X2(X), X4(X), X4(X), X8(X)), \
|
| H A D | override-layout.cpp | 39 struct PACKED X4 { struct 54 X4(); argument 89 X4 x4s[sizeof(X4)]; in use_structs()
|
| /llvm-project-15.0.7/clang/test/CXX/except/except.spec/ |
| H A D | p14-ir.cpp | 22 struct X4 { struct 23 X4(X4 &) throw(); 26 struct X5 : X0, X4 { };
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
| H A D | p2-0x.cpp | 322 struct X4; 325 template<> void has_inline_namespaces::f<X4>(X4&); 329 template<> struct has_inline_namespaces::X0<X4>::MemberClass { }; 331 template<> void has_inline_namespaces::X0<X4>::mem_func(); 334 struct has_inline_namespaces::X0<X4>::MemberClassTemplate { }; 337 void has_inline_namespaces::X0<X4>::mem_func_template(T&) { } in mem_func_template() 339 template<> int has_inline_namespaces::X0<X4>::value = 13;
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | annotate-nested-name-specifier.cpp | 69 struct X4 { struct 76 ::X4<type>::g(t); in h() argument 77 this->::X4<type>::g(t); in h() 83 struct X4<Integer> { struct 91 ::X4<type>::g(t); in h() argument 92 this->::X4<type>::g(t); in h()
|
| /llvm-project-15.0.7/llvm/test/FileCheck/ |
| H A D | check-dag-xfails.txt | 4 ; RUN: not FileCheck -check-prefix=X4 -input-file %s %s 51 ; X4: __x4 52 ; X4-DAG: add [[REG1:r[0-9]+]], r1, r2 53 ; X4-DAG: add [[REG2:r[0-9]+]], r3, r4 54 ; X4-NOT: not 55 ; X4-DAG: mul r5, [[REG1]], [[REG2]] 56 ; X4: __x4
|
| /llvm-project-15.0.7/compiler-rt/lib/xray/ |
| H A D | xray_trampoline_AArch64.S | 23 STP X3, X4, [SP, #-16]! 55 LDP X3, X4, [SP], #16 76 STP X3, X4, [SP, #-16]! 107 LDP X3, X4, [SP], #16 128 STP X3, X4, [SP, #-16]! 159 LDP X3, X4, [SP], #16
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.unary/expr.new/ |
| H A D | p20.cpp | 70 struct X4 { struct 71 X4(); 82 new (0, 0) X4; // expected-note{{instantiation}} in test_X4()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | copy-constructor-init.rst | 25 class X4 : public Copyable { 26 X4(const X4 &other) : Copyable() {} // other is missing
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
| H A D | p1.cpp | 21 template <int (*F)(int)> struct X4 { X4(); }; struct 22 template <int (*F)(int)> X4<F>::X4() { } in X4() function in non_type_tmpl_param::X4
|
| /llvm-project-15.0.7/clang/test/Preprocessor/ |
| H A D | macro_fn_comma_swallow.c | 22 #define X4(...) AA , ## __VA_ARGS__ BB macro 23 4: X4()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | copy-constructor-init.cpp | 98 class X4 : public Copyable { class 99 X4(const X4 &other) : Copyable() {} in X4() function in X4
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | invalid-constructor-init.cpp | 30 struct X4 { struct 34 constexpr int* s = X4().p; // expected-error {{must be initialized by}} argument
|
| H A D | default-constructor-initializers.cpp | 32 struct X4 { struct 51 X4 x4; argument
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | override-layout.c | 49 struct X4 { struct 55 void use_X4(void) { struct X4 x4; x4.y = sizeof(struct X4); }; in use_X4() argument
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | IntrusiveRefCntPtrTest.cpp | 136 IntrusiveRefCntPtr<X> X4; in TEST() local 138 X4 = Y4; in TEST() 142 EXPECT_EQ(P4, X4.get()); in TEST()
|