| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | ctor-init-source-loc.cpp | 28 struct Outer { struct 36 struct Derived4: Outer::Inner<Q>::Parm argument 38 Derived4() : Outer::Inner<Q>::Parm() {} in Derived4() 45 struct Derived5: Outer::Inner<Q>::Parm::InnerIterator 54 struct Derived6: Outer::Inner<Q> 56 Derived6() : Outer::Inner<Q>() {} in Derived6() 64 struct Derived7: Outer::Inner<Base>::Parm 66 Derived7() : Outer::Inner<Base>::Parm() {} in Derived7() 72 struct Derived8: Outer::Inner<Base> 74 Derived8() : Outer::Inner<Base>() {} in Derived8() [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.class.spec/ |
| H A D | p8-1y.cpp | 22 template<typename Outer> struct X { 25 …template<typename Inner> static int y<Outer>; // expected-error 3{{cannot be deduced}} expected-no… 29 template<Outer N> static int z<int, N>; // expected-error {{not implicitly convertible}} 31 template<typename Outer> template<typename Inner> int X<Outer>::y<Outer>; // expected-error {{canno… 32 template<typename Outer> template<typename Inner> int X<Outer>::y<Inner>; // expected-error {{does …
|
| H A D | p6.cpp | 39 struct Outer { struct 45 Outer<int, int> outer; // expected-note{{instantiation}} argument 59 struct Outer { struct 74 int array0[Outer<int>::Inner<int, int>::value? 1 : -1]; 75 int array1[Outer<int>::Inner<int, float>::value? -1 : 1];
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | nested-template.cpp | 17 struct Outer { struct 36 class Outer<X>::Inner0 { argument 43 void Outer<X>::Inner0<Y>::f(X, Y) { in f() 48 struct Outer<X>::Inner1<Y>::ReallyInner { 56 void Outer<X>::Inner1<Y>::ReallyInner::g(X, Y) { in g() 61 X Outer<X>::Inner1<Y>::foo(Y) { in foo() 68 X Outer<X>::Inner1<Y>::bar(Z) { in bar() 75 X* Outer<X>::Inner1<Y>::bar(Z) { in bar() 81 X Outer<X>::Inner1<Y>::value1 = 0; 85 Y Outer<X>::Inner1<Y>::value2 = Y(); [all …]
|
| H A D | explicit-specialization-member.cpp | 67 template<int N> struct Outer { struct 84 static_assert(Outer<123>::Inner<>::f() == 123, ""); 85 static_assert(Outer<123>::Inner<>::f() != 125, ""); 87 static_assert(Outer<123>::a<> == 123, ""); 88 static_assert(Outer<123>::a<> != 125, ""); 90 static_assert(Outer<123>::b<> == 123, ""); 91 static_assert(Outer<123>::b<> != 125, ""); 93 static_assert(Outer<123>::f<>() == 123, ""); 94 static_assert(Outer<123>::f<>() != 125, "");
|
| H A D | instantiate-declref.cpp | 3 struct Outer { struct 17 Outer::Inner::InnerTemplate<type>::VeryInner::Kind2 = K2Val; in foo() 25 Outer::Inner::InnerTemplate<type>::VeryInner::Kind2 = K2Val; in bar() 38 template struct N::Outer::Inner::InnerTemplate<INT>::VeryInner; 39 template struct N::Outer::Inner::InnerTemplate<INT>::UeberInner; // expected-error{{no struct named…
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
| H A D | construct_type.pass.cpp | 41 using Outer = CountingAllocator<T, 1>; in test_bullet_one() typedef 43 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_bullet_one() 44 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_bullet_one() 47 Outer O(POuter); in test_bullet_one() 74 using Outer = CountingAllocator<T, 1>; in test_bullet_two() typedef 76 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_bullet_two() 77 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_bullet_two() 80 Outer O(POuter); in test_bullet_two() 107 using Outer = CountingAllocator<T, 1>; in test_bullet_three() typedef 109 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_bullet_three() [all …]
|
| H A D | construct_pair.pass.cpp | 91 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() typedef 93 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_with_inner_alloc() 95 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_with_inner_alloc() 99 Outer O(POuter); in test_with_inner_alloc() 118 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() typedef 120 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_with_inner_alloc() 122 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_with_inner_alloc() 126 Outer O(POuter); in test_with_inner_alloc()
|
| H A D | construct_pair_rvalue.pass.cpp | 102 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() typedef 104 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_with_inner_alloc() 106 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_with_inner_alloc() 110 Outer O(POuter); in test_with_inner_alloc() 133 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() typedef 135 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_with_inner_alloc() 137 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_with_inner_alloc() 141 Outer O(POuter); in test_with_inner_alloc()
|
| H A D | construct_pair_values.pass.cpp | 97 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() typedef 99 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_with_inner_alloc() 101 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_with_inner_alloc() 105 Outer O(POuter); in test_with_inner_alloc() 126 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() typedef 128 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_with_inner_alloc() 130 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_with_inner_alloc() 134 Outer O(POuter); in test_with_inner_alloc()
|
| H A D | construct_pair_piecewise.pass.cpp | 102 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() typedef 104 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_with_inner_alloc() 106 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_with_inner_alloc() 110 Outer O(POuter); in test_with_inner_alloc() 133 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() typedef 135 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_with_inner_alloc() 137 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_with_inner_alloc() 141 Outer O(POuter); in test_with_inner_alloc()
|
| H A D | construct_pair_const_lvalue_pair.pass.cpp | 102 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() typedef 104 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_with_inner_alloc() 106 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_with_inner_alloc() 110 Outer O(POuter); in test_with_inner_alloc() 133 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() typedef 135 using SA = std::scoped_allocator_adaptor<Outer, Inner>; in test_with_inner_alloc() 137 static_assert(!std::uses_allocator<T, Outer>::value, ""); in test_with_inner_alloc() 141 Outer O(POuter); in test_with_inner_alloc()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FindTarget.cpp | 249 TargetFinder &Outer; in add() member 251 Visitor(TargetFinder &Outer, RelSet Flags) : Outer(Outer), Flags(Flags) {} in add() 265 Outer.add(D, Flags); in add() 272 Outer.add(D, Flags); in add() 303 if (Outer.Resolver) { in add() 310 if (Outer.Resolver) { in add() 356 TargetFinder &Outer; in add() member 358 Visitor(TargetFinder &Outer, RelSet Flags) : Outer(Outer), Flags(Flags) {} in add() 402 if (Outer.Resolver) { in add() 411 if (Outer.Resolver) { in add() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | 2011-03-15-LdStMultipleBug.ll | 6 %struct.Outer = type { i32, [2 x %"struct.Outer::Inner"] } 7 %"struct.Outer::Inner" = type { i32, i32, i8, i8 } 9 @oStruct = external global %struct.Outer, align 4 21 %x = getelementptr %struct.Outer, %struct.Outer* @oStruct, i32 0, i32 1, i32 %i.022, i32 0 22 %y = getelementptr %struct.Outer, %struct.Outer* @oStruct, i32 0, i32 1, i32 %i.022, i32 1 37 …%b.phi.trans.insert = getelementptr %struct.Outer, %struct.Outer* @oStruct, i32 0, i32 1, i32 %inc…
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/support.exception/uncaught/ |
| H A D | uncaught_exceptions.pass.cpp | 31 struct Outer { struct 32 Outer(int depth) : d_(depth) {} in Outer() argument 33 ~Outer() { in ~Outer() argument 47 Outer o(0); in main() argument 53 Outer o(1); in main()
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/X86/ |
| H A D | pieces-2.ll | 11 ; } Outer; 13 ; int foo(Outer outer) { 28 %struct.Outer = type { [2 x %struct.Inner] } 32 define i32 @foo(%struct.Outer* byval(%struct.Outer) align 8 %outer) #0 !dbg !4 { 34 …call void @llvm.dbg.declare(metadata %struct.Outer* %outer, metadata !25, metadata !DIExpression()… 35 …%i1.sroa.0.0..sroa_idx = getelementptr inbounds %struct.Outer, %struct.Outer* %outer, i64 0, i32 0… 38 %i1.sroa.2.0..sroa_raw_cast = bitcast %struct.Outer* %outer to i8*, !dbg !27 68 !9 = !DIDerivedType(tag: DW_TAG_typedef, name: "Outer", line: 8, file: !1, baseType: !10)
|
| H A D | sroasplit-1.ll | 14 ; } Outer; 16 ; int foo(Outer outer) { 33 %struct.Outer = type { [2 x %struct.Inner] } 37 define i32 @foo(%struct.Outer* byval(%struct.Outer) align 8 %outer) #0 !dbg !4 { 40 call void @llvm.dbg.declare(metadata %struct.Outer* %outer, metadata !25, metadata !2), !dbg !26 42 %inner = getelementptr inbounds %struct.Outer, %struct.Outer* %outer, i32 0, i32 0, !dbg !28 74 !9 = !DIDerivedType(tag: DW_TAG_typedef, name: "Outer", line: 8, file: !1, baseType: !10)
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/support/ |
| H A D | CancellationTests.cpp | 48 std::pair<Context, Canceler> Outer, Inner; member 50 Outer = cancelableTask(OuterReason); in NestedTasks() 52 WithContext WithOuter(Outer.first.clone()); in NestedTasks() 63 EXPECT_FALSE(isCancelled(CancelInner.Outer.first)); in TEST() 66 CancelOuter.Outer.second(); in TEST() 68 EXPECT_EQ(NestedTasks::OuterReason, isCancelled(CancelOuter.Outer.first)); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | unused-return-value-custom.cpp | 16 struct Outer { struct 22 using AliasName = Outer; 24 struct Derived : public Outer::Inner {}; 57 ns::Outer::Inner ObjA1; in warning() 89 ns::Outer::Inner ObjB1; in noWarning()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | cxx1y-variable-template.cpp | 11 template<typename T> struct Outer { struct 16 Outer<char[100]> outer_int; argument 18 template<typename T> template<typename U> template<typename V> int Outer<T>::Inner<U>::arr[sizeof(T… 19 int *p = Outer<char[100]>::Inner<char[20]>::arr<char[3]>;
|
| H A D | cxx20-module-nested-1.cppm | 4 namespace Outer::Inner { 8 } // namespace Outer::Inner 11 namespace Outer { 17 } // namespace Outer
|
| H A D | template-linkage.cpp | 49 struct Outer { struct 60 Outer o; in test() 61 typedef void (Outer::*mptr)(); in test() 62 mptr method = &Outer::Get<local>; in test()
|
| /llvm-project-15.0.7/clang/test/ASTMerge/class-template-partial-spec/Inputs/ |
| H A D | class-template-partial-spec1.cpp | 91 struct Outer { struct 97 class Outer<X>::Inner0 { 105 void Outer<X>::Inner0<Y>::f(X, Y) {} in f() 110 class Outer<X>::Inner0<Y>::Inner1 { 118 void Outer<X>::Inner0<Y>::Inner1<Z>::f(Y, Z) {} in f()
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/ |
| H A D | DebugCXX.h | 41 template <class> struct Outer { 42 Outer(); 44 Inner(Outer) {} 47 template <class T> Outer<T>::Outer() {
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.friend/ |
| H A D | p1.cpp | 5 struct Outer { struct 33 friend class Outer::Inner; 34 friend int Outer::Inner::intfield; // expected-error {{friends can only be classes or functions}} 35 …friend int Outer::Inner::missing_field; //expected-error {{friends can only be classes or function…
|