Searched refs:IntHolder (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
| H A D | p4.cpp | 6 IntHolder(int); // expected-note 2{{candidate constructor}} 32 IntHolder &test_X_IntHolderInt(X<IntHolder, int> xih) { in test_X_IntHolderInt() argument 36 X<IntHolder, int>::Inner inner; in test_X_IntHolderInt() 43 return X<IntHolder, int>::value; // expected-note{{instantiation}} in test_X_IntHolderInt() 49 void X<IntHolder, long>::f() { } in f() 52 struct X<IntHolder, long>::Inner { 54 IntHolder value; 58 IntHolder X<IntHolder, long>::value = 17; 60 IntHolder &test_X_IntHolderInt(X<IntHolder, long> xih) { in test_X_IntHolderInt() argument 64 X<IntHolder, long>::Inner inner; // okay, uses specialization in test_X_IntHolderInt() [all …]
|
| H A D | p5.cpp | 3 struct IntHolder { struct 4 IntHolder(int); 28 void X<IntHolder, long>::f(); 31 struct X<IntHolder, long>::Inner; // expected-note{{forward declaration}} 34 IntHolder X<IntHolder, long>::value; 36 IntHolder &test_X_IntHolderInt(X<IntHolder, long> xih) { in test_X_IntHolderInt() argument 40 X<IntHolder, long>::Inner inner; // expected-error {{incomplete}} in test_X_IntHolderInt() 42 return X<IntHolder, long>::value; // okay, uses specialization in test_X_IntHolderInt()
|
| /llvm-project-15.0.7/compiler-rt/test/hwasan/TestCases/ |
| H A D | use-after-scope-temp2.cpp | 9 struct IntHolder { struct 10 __attribute__((noinline)) const IntHolder &Self() const { in Self() argument 16 const IntHolder *saved; argument 19 saved = &IntHolder().Self(); in main()
|
| H A D | use-after-scope-dtor-order.cpp | 11 struct IntHolder { struct 12 explicit IntHolder(int *val = 0) : val_(val) {} in IntHolder() function 13 __attribute__((noinline)) ~IntHolder() { in ~IntHolder() argument 27 IntHolder holder; in main()
|
| H A D | use-after-scope-temp.cpp | 9 struct IntHolder { struct 13 const IntHolder *saved; argument 15 __attribute__((noinline)) void save(const IntHolder &holder) { in save()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/ |
| H A D | use-after-scope-temp2.cpp | 4 struct IntHolder { struct 5 __attribute__((noinline)) const IntHolder &Self() const { in Self() argument 11 const IntHolder *saved; argument 14 saved = &IntHolder().Self(); in main()
|
| H A D | use-after-scope-dtor-order.cpp | 6 struct IntHolder { struct 7 explicit IntHolder(int *val = 0) : val_(val) { } in IntHolder() function 8 __attribute__((noinline)) ~IntHolder() { in ~IntHolder() argument 22 IntHolder holder; in main()
|
| H A D | use-after-scope-temp.cpp | 3 struct IntHolder { struct 7 const IntHolder *saved; argument 9 __attribute__((noinline)) void save(const IntHolder &holder) { in save()
|