Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/
H A Dpart.spec.cpp15 class TestClass { class
96 template struct IT2<TestClass::PublicClass, TestClass::PublicClass>;
104 template class IT7<TestClass::AliasPublicClass, TestClass::PublicClass>;
105 template struct IT7<TestClass::PublicClass, TestClass::TemplatePublicClass<TestClass::PublicClass>>;
106 template class IT8<&TestClass::publicFunc, TestClass::publicStaticInt>;
124 template struct IT7<TestClass::ProtectedClass, TestClass::TemplateProtectedClass<TestClass::Protect…
135 template struct IT2<TestClass::PrivateClass, TestClass::PrivateClass>;
143 template struct IT7<TestClass::PrivateClass, TestClass::TemplatePrivateClass<TestClass::PrivateClas…
268 template <> struct PCT2<TestClass::ProtectedClass, TestClass::PublicClass> : PCT3<TestClass::public…
290 template <> class PCT1<TestClass::AliasPrivateClass> : PCT2<TestClass::ProtectedClass, TestClass::P…
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.invoke/
H A Dinvoke_constexpr.pass.cpp59 struct TestClass { struct
70 TestClass(TestClass const&) = delete; argument
71 TestClass& operator=(TestClass const&) = delete;
154 TestClass cl(42); in bullet_one_two_tests()
170 TestClass cl_obj(42); in bullet_one_two_tests()
188 TestClass cl_obj(42); in bullet_one_two_tests()
189 TestClass *cl = &cl_obj; in bullet_one_two_tests()
204 typedef TestClass Fn; in bullet_three_four_tests()
222 typedef TestClass Fn; in bullet_three_four_tests()
234 typedef TestClass Fn; in bullet_three_four_tests()
[all …]
H A Dinvoke.pass.cpp58 struct TestClass { struct
73 TestClass(TestClass const&) = delete; argument
74 TestClass& operator=(TestClass const&) = delete;
157 TestClass cl(42); in bullet_one_two_tests()
181 TestClass cl_obj(42); in bullet_one_two_tests()
207 TestClass cl_obj(42); in bullet_one_two_tests()
208 TestClass *cl = &cl_obj; in bullet_one_two_tests()
226 typedef TestClass Fn; in bullet_three_four_tests()
252 typedef TestClass Fn; in bullet_three_four_tests()
268 typedef TestClass Fn; in bullet_three_four_tests()
[all …]
/llvm-project-15.0.7/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 &c = tc; in main()
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-15.0.7/clang/test/SemaObjC/
H A Derror-missing-getter.m22 @interface TestClass interface
27 if (TestClass.setterOnly) { // expected-error {{no getter method for read from property}}
28 TestClass.setterOnly = 1;
30 … func(TestClass.setterOnly + 1, x); // expected-error {{no getter method for read from property}} \
32 int i = TestClass.setterOnly + 1; // expected-error {{no getter method for read from property}}
33 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.m11 @interface TestClass : NSObject <TestProtocol> interface
21 TestClass *testObj = (TestClass*)0;
/llvm-project-15.0.7/clang/test/SemaCXX/Inputs/
H A Dsource-location-file.h28 struct TestClass { struct
31 TestClass() = default; argument
32 constexpr TestClass(int, SL cinfo = SL::current()) : ctor_info(cinfo) {} in ctor_info() argument
34 constexpr TestClass(int, T, U u = U::current()) : ctor_info(u) {} in ctor_info() argument
/llvm-project-15.0.7/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.m5 @interface TestClass interface
12 TestClass *obj;
H A Dgnu-nil-receiver.m17 @implementation TestClass : SuperClass implementation
/llvm-project-15.0.7/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-15.0.7/clang/test/CodeGenCXX/
H A Dcaptured-statements.cpp16 struct TestClass { struct
19 TestClass() : x(0) {}; in TestClass() argument
32 TestClass c; in test1() argument
H A Ddebug-info-use-after-free.cpp43 typename TestSel::template Bind < Type >::type TestClass; in Register() local
/llvm-project-15.0.7/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-15.0.7/clang/test/CodeGen/PowerPC/
H A Daix-ignore-xcoff-visibility.cpp34 class TestClass { class
40 TestClass TC; in main()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dsource_location.cpp320 using SLF::TestClass; in test_class()
321 constexpr TestClass Default; in test_class()
322 constexpr TestClass InParam{42}; in test_class()
323 constexpr TestClass Template{42, 42}; in test_class()
434 struct TestClass { struct
436 TestClass() = default; /* indented to 3 spaces for testing */
437 constexpr TestClass(int, int o = __builtin_COLUMN()) : x(o) {} in TestClass() function
448 TestClass t{}; in test_class()
452 TestClass t1 in test_class()
/llvm-project-15.0.7/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-15.0.7/llvm/test/tools/llvm-pdbutil/Inputs/
H A DFilterTest.cpp44 FilterTestClass TestClass; in main() local
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h461 template <class TestClass>
464 Test* CreateTest() override { return new TestClass; } in CreateTest()
705 typedef typename GTEST_BIND_(TestSel, Type) TestClass; typedef
717 SuiteApiResolver<TestClass>::GetSetUpCaseOrSuite(
719 SuiteApiResolver<TestClass>::GetTearDownCaseOrSuite(
721 new TestFactoryImpl<TestClass>);
H A Dgtest-param-util.h395 template <class TestClass>
398 typedef typename TestClass::ParamType ParamType;
402 TestClass::SetParam(&parameter_); in CreateTest()
403 return new TestClass(); in CreateTest()
/llvm-project-15.0.7/llvm/test/TableGen/
H A DHwModeSelect.td19 def TestClass : RegisterClass<"TestTarget", [i32], 32, (add TestReg)>;
/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/
H A Dloader.py46 TestClass = type(classname, (case.TestCase,), attrs)
47 return suiteClass((TestClass(methodname),))

12