Home
last modified time | relevance | path

Searched refs:TestClass (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project/clang/test/CXX/temp/temp.spec/
H A Dpart.spec.cpp15 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 Dinvoke_constexpr.pass.cpp59 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 Dinvoke.pass.cpp58 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 Dsingle_codegen.cpp24 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 Dthreadprivate_messages.cpp61 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 Dallocate_messages.cpp61 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 Dnamed-arguments.td11 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 DHwModeSelect.td19 def TestClass : RegisterClass<"TestTarget", [i32], 32, (add TestReg)>;
/llvm-project/clang/test/SemaObjC/
H A Derror-missing-getter.m19 @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 Dsynthesize-setter-contclass.m4 @interface TestClass interface
12 @interface TestClass() interface in readwrite
16 @implementation TestClass implementation
H A Dwarn-protocol-method-deprecated.m10 @interface TestClass : NSObject <TestProtocol> interface
20 TestClass *testObj = (TestClass*)0;
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dsuspicious-call-argument.cpp260 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 Divar-type-encoding.m17 @interface TestClass : NSObject { interface
23 @implementation TestClass implementation
28 TestClass *c = [TestClass new];
H A Dproperty-ref-cast-to-void.m4 @interface TestClass interface
11 TestClass *obj;
/llvm-project/clang/test/SemaCXX/Inputs/
H A Dsource-location-file.h49 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 Dsource_location.cpp345 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 Dcaptured-statements.cpp16 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 Dmerge-anon-record-definition-in-objc.m24 @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 Delements_view.no_unique_address.compile.pass.cpp28 struct TestClass { struct
33 static_assert(sizeof(TestClass) == sizeof(int)); argument
H A Dsentinel.no_unique_address.compile.pass.cpp32 struct TestClass { struct
37 static_assert(sizeof(TestClass) == sizeof(int)); argument
/llvm-project/clang/test/CodeGen/PowerPC/
H A Daix-ignore-xcoff-visibility.cpp34 class TestClass { class
40 TestClass TC; in main()
/llvm-project/libcxx/test/support/
H A Dtest_execution_policies.h43 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 Dnsinvocation-argument-lifetime.m71 @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 DFilterTest.cpp44 FilterTestClass TestClass; in main() local
/llvm-project/third-party/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h454 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>);

12