/llvm-project/clang/test/CXX/temp/temp.spec/ |
H A D | part.spec.cpp | 15 class TestClass { class 81 template <void (TestClass::*)()> class IT4 {}; 87 template <void (TestClass::*)(), int X> class IT8 {}; 93 template class IT1<TestClass::PublicClass>; 94 template struct IT1<TestClass::TemplatePublicClass<int>>; 95 template class IT1<TestClass::AliasPublicClass>; 96 template struct IT2<TestClass::PublicClass, TestClass::PublicClass>; 97 template class IT3<TestClass::publicStaticInt>; 98 template struct IT4<&TestClass::publicFunc>; 99 template class IT4<&TestClass::publicFuncOverloaded>; [all …]
|
/llvm-project/libcxx/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke_constexpr.pass.cpp | 59 struct TestClass { struct 60 constexpr explicit TestClass(int x) : data(x) {} in TestClass() argument 70 TestClass(TestClass const&) = delete; argument 71 TestClass& operator=(TestClass const&) = delete; 74 struct DerivedFromTestClass : public TestClass { 75 constexpr explicit DerivedFromTestClass(int x) : TestClass(x) {} in DerivedFromTestClass() 86 typedef Signature TestClass::*ClassFunc; in test_b12() 87 ClassFunc func_ptr = &TestClass::operator(); in test_b12() 112 typedef int TestClass::*ClassFunc; in test_b34() 113 ClassFunc func_ptr = &TestClass::data; in test_b34() [all …]
|
H A D | invoke.pass.cpp | 58 struct TestClass { struct 59 explicit TestClass(int x) : data(x) {} in TestClass() function 73 TestClass(TestClass const&) = delete; argument 74 TestClass& operator=(TestClass const&) = delete; 77 struct DerivedFromTestClass : public TestClass { 78 explicit DerivedFromTestClass(int x) : TestClass(x) {} in DerivedFromTestClass() 89 typedef Signature TestClass::*ClassFunc; in test_b12() 90 ClassFunc func_ptr = &TestClass::operator(); in test_b12() 115 typedef int TestClass::*ClassFunc; in test_b34() 116 ClassFunc func_ptr = &TestClass::data; in test_b34() [all …]
|
/llvm-project/clang/test/OpenMP/ |
H A D | single_codegen.cpp | 24 class TestClass { class 27 TestClass() : a(0) {} in TestClass() function in TestClass 28 TestClass(const TestClass &C) : a(C.a) {} in TestClass() function in TestClass 29 TestClass &operator=(const TestClass &) { return *this;} in operator =() argument 30 ~TestClass(){}; in ~TestClass() 35 TestClass tc; 36 TestClass tc2[2]; 77 TestClass in main() [all...] |
H A D | threadprivate_messages.cpp | 61 class TestClass { class 65 TestClass() : a(0){} in TestClass() function in TestClass 67 TestClass (int aaa) : a(aaa) {} in TestClass() function in TestClass 71 #pragma omp threadprivate (TestClass::b) // expected-error {{'#pragma omp threadprivate' must appea… 125 …static TestClass LocalClass(y); // expected-error {{variable with local storage in initial value o… in main()
|
H A D | allocate_messages.cpp | 61 class TestClass { class 65 TestClass() : a(0) {} in TestClass() function in TestClass 68 TestClass(int aaa) : a(aaa) {} in TestClass() function in TestClass 72 #pragma omp allocate(TestClass::b) // expected-error {{'#pragma omp allocate' must appear in the sc… 127 static TestClass LocalClass(y); in main()
|
/llvm-project/llvm/test/TableGen/ |
H A D | named-arguments.td | 11 class TestClass<int a, int b = 2, int c = 3> { 38 def testClass1: TestClass<1>; 39 def testClass2: TestClass<1, 2>; 40 def testClass3: TestClass<1, 2, 3>; 41 def testClass4: TestClass<1, b=2>; 42 def testClass5: TestClass<1, c=3>; 43 def testClass6: TestClass<1, b=2, c=3>; 44 def testClass7: TestClass<1, c=3, b=2>; 45 def testClass8: TestClass<a=1, c=3, b=2>; 48 def "": TestClass<a, b=b, c=c>; [all …]
|
H A D | HwModeSelect.td | 19 def TestClass : RegisterClass<"TestTarget", [i32], 32, (add TestReg)>;
|
/llvm-project/clang/test/SemaObjC/ |
H A D | error-missing-getter.m | 19 @interface TestClass interface 24 if (TestClass.setterOnly) { // expected-error {{no getter method for read from property}} 25 TestClass.setterOnly = 1; 27 … func(TestClass.setterOnly + 1, x); // expected-error {{no getter method for read from property}} \ 29 int i = TestClass.setterOnly + 1; // expected-error {{no getter method for read from property}} 30 return TestClass.setterOnly + 1; // expected-error {{no getter method for read from property}}
|
H A D | synthesize-setter-contclass.m | 4 @interface TestClass interface 12 @interface TestClass() interface in readwrite 16 @implementation TestClass implementation
|
H A D | warn-protocol-method-deprecated.m | 10 @interface TestClass : NSObject <TestProtocol> interface 20 TestClass *testObj = (TestClass*)0;
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/ |
H A D | suspicious-call-argument.cpp | 260 class TestClass { class 265 class DerivedTestClass : public TestClass {}; 267 void base_derived_pointer_parameters(TestClass *aaaaaa, 271 TestClass *bbbbbb; in base_derived_swap1() 284 class PrivateDerivedClass : private TestClass {}; 286 void private_derived_pointer_parameters(TestClass *aaaaaa, PrivateDerivedClass *bbbbbb); 289 TestClass *bbbbbb; in private_base_swap1() 480 TestClass test; in main()
|
/llvm-project/clang/test/CodeGenObjC/ |
H A D | ivar-type-encoding.m | 17 @interface TestClass : NSObject { interface 23 @implementation TestClass implementation 28 TestClass *c = [TestClass new];
|
H A D | property-ref-cast-to-void.m | 4 @interface TestClass interface 11 TestClass *obj;
|
/llvm-project/clang/test/SemaCXX/Inputs/ |
H A D | source-location-file.h | 49 struct TestClass { struct 54 TestClass() = default; argument 55 constexpr TestClass(int, SL cinfo = SL::current(), 59 constexpr TestClass(int, T, U u = U::current(), argument
|
/llvm-project/clang/test/SemaCXX/ |
H A D | source_location.cpp | 345 using SLF::TestClass; in test_class() 346 constexpr TestClass Default; in test_class() 347 constexpr TestClass InParam{42}; in test_class() 348 constexpr TestClass Template{42, 42}; in test_class() 393 using SLF::TestClass; in test_class() 394 constexpr TestClass Default; in test_class() 395 constexpr TestClass InParam{42}; in test_class() 396 constexpr TestClass Template{42, 42}; in test_class() 480 class TestClass { class 482 TestClass() { in TestClass() function in test_func::TestClass 620 struct TestClass { global() struct 621 xtest_column::TestClass global() argument 623 TestClasstest_column::TestClass TestClass() argument [all...] |
/llvm-project/clang/test/CodeGenCXX/ |
H A D | captured-statements.cpp | 16 struct TestClass { struct 19 TestClass() : x(0) {}; in TestClass() argument 32 TestClass c; in test1() argument 52 // CHECK-1: getelementptr inbounds nuw %struct.TestClass, ptr {{[^,]*}}, i32 0, i32 0
|
/llvm-project/clang/test/Modules/ |
H A D | merge-anon-record-definition-in-objc.m | 24 @interface TestClass : NSObject { interface 39 @interface TestClass() { interface in int 45 @implementation TestClass { implementation 73 void test(TestClass *obj) {
|
/llvm-project/libcxx/test/libcxx/ranges/range.adaptors/range.elements/ |
H A D | elements_view.no_unique_address.compile.pass.cpp | 28 struct TestClass { struct 33 static_assert(sizeof(TestClass) == sizeof(int)); argument
|
H A D | sentinel.no_unique_address.compile.pass.cpp | 32 struct TestClass { struct 37 static_assert(sizeof(TestClass) == sizeof(int)); argument
|
/llvm-project/clang/test/CodeGen/PowerPC/ |
H A D | aix-ignore-xcoff-visibility.cpp | 34 class TestClass { class 40 TestClass TC; in main()
|
/llvm-project/libcxx/test/support/ |
H A D | test_execution_policies.h | 43 template <template <class Iter> class TestClass> 47 test_execution_policies(TestClass<Iter>{}); in operator()
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/objc/ |
H A D | nsinvocation-argument-lifetime.m | 71 @interface TestClass : NSObject { interface 80 @implementation TestClass implementation 99 void baz(NSInvocation *Invocation, TestClass *Obj) {
|
/llvm-project/llvm/test/tools/llvm-pdbutil/Inputs/ |
H A D | FilterTest.cpp | 44 FilterTestClass TestClass; in main() local
|
/llvm-project/third-party/unittest/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 454 template <class TestClass> 457 Test* CreateTest() override { return new TestClass; } in CreateTest() 710 typedef typename GTEST_BIND_(TestSel, Type) TestClass; typedef 722 SuiteApiResolver<TestClass>::GetSetUpCaseOrSuite( 724 SuiteApiResolver<TestClass>::GetTearDownCaseOrSuite( 726 new TestFactoryImpl<TestClass>);
|