Home
last modified time | relevance | path

Searched refs:Test1 (Results 1 – 25 of 136) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Daix-static-init-temp-spec-and-inline-var.cpp10 struct Test1 { struct
11 Test1(int) {} in Test1() argument
12 ~Test1() {} in ~Test1() argument
15 Test1 t0 = 2;
18 Test1 t1 = 2;
20 inline Test1 t2 = 2;
H A Dconstructor-direct-call.cpp4 class Test1 { class
10 Test1 var; in f1()
11 var.Test1::Test1(); in f1()
15 var.Test1::Test1(var); in f1()
H A Dms-property.cpp9 class Test1 { class
15 Test1(int x) : x_(x) {} in Test1() function in Test1
18 static Test1 *GetTest1() { return new Test1(10); } in GetTest1()
36 char GetY(char i, Test1 j) { return i+j.get_x(); } in GetY()
43 Test1 t(i); in foo()
53 Test1 t(argc); in main()
102 return Test1::GetTest1()->X; in main()
H A Dbitfield-layout.cpp8 union Test1 { union
12 Test1 t1;
50 Test1 u1; in test_assign()
78 Test1 u1 = {1}; in test_init()
H A Daix-static-init.cpp10 struct Test1 { struct
11 Test1();
12 ~Test1();
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dforwarding-reference-overload.cpp20 class Test1 { class
22 template <typename T> Test1(T &&n);
28 template <typename T> Test1(T &&n, int i = 5, ...);
35 Test1(T &&n);
42 Test1(T &&n, typename foo::enable_if<long>::type i = 5, ...);
48 Test1(const Test1 &other) {} in Test1() function in Test1
49 Test1(Test1 &other) {} in Test1() function in Test1
50 Test1(Test1 &&other) {} in Test1() function in Test1
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-funcs-json.cpp4 void Test1();
18 void Test1();
20 void U::Test1() {} // parent in Test1() function in U
22 void Test1();
41 Test1(); // Causes this to be marked 'used' in main()
/llvm-project-15.0.7/clang/test/Analysis/
H A DanalyzeOneFunction.m1 // RUN: %clang_analyze_cc1 -analyze-function="-[Test1 myMethodWithY:withX:]" -analyzer-checker=core…
25 @interface Test1 : NSObject { interface
34 @implementation Test1 implementation
39 Test1 *cell = [[[Test1 alloc] init] autorelease];
48 Test1 *cell = [[[Test1 alloc] init] autorelease];
H A Dmisc-ps-region-store.mm21 @interface Test1 interface
25 char* Test1_harness(Test1 *p) {
29 char Test1_harness_b(Test1 *p) {
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dinterleave.td16 // CHECK: Test1 = "";
23 string Test1 = !interleave(EmptyList, "/");
31 // CHECK: Test1 = "01234567";
36 string Test1 = !interleave(IntList, "");
42 // CHECK: Test1 = "271";
47 string Test1 = !interleave(BitsList, "");
53 // CHECK: Test1 = "01101";
58 string Test1 = !interleave(BitList, "");
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dms-property.cpp9 class Test1 { class
14 Test1(int x) : x_(x) {} in Test1() function in Test1
17 static Test1 *GetTest1() { return new Test1(10); } in GetTest1()
58 return Test1::GetTest1()->X; in main()
H A Dbitfield-layout.cpp7 struct Test1 { struct
10 CHECK_SIZE(Test1, 2); argument
11 CHECK_ALIGN(Test1, 1);
/llvm-project-15.0.7/clang/test/CXX/class.access/
H A Dp4.cpp313 class Test1 { A a; }; // expected-error {{private member}} class
315 Test1 a; in test1()
316 a = Test1(); // expected-note{{implicit copy}} in test1()
327 Test1 a; in test1()
328 a = Test1(); // expected-error {{copy assignment operator is implicitly deleted}} in test1()
350 class Test1 { A a; }; // expected-error {{field of type 'test6::A' has private copy constructor}} class
351 void test1(const Test1 &t) { in test1()
352 Test1 a = t; // expected-note{{implicit copy}} in test1()
360 class Test1 { A a; }; // expected-note {{field 'a' has an inaccessible copy constructor}} class
361 void test1(const Test1 &t) { in test1()
[all …]
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp11.cpp49 class Test1 { class
66 template <typename> class Test1 { class
84 template <typename T> class Test1 { class
92 template class Test1<int>; variable
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dunknown-anytype.mm12 @interface Test1 interface
22 void a(Test1 *obj) {
33 void b(Test1 *obj) {
38 void c(Test1 *obj) {
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dmay-alias.c26 struct Test1 { int x; }; struct
28 void test1(struct Test1MA *p1, struct Test1 *p2) { in test1()
H A Dvisibility.c51 struct Test1 { int field; }; struct
52 void __attribute__((visibility("default"))) test1(struct Test1 *v) { } in test1()
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dproperty-reference.mm35 @interface Test1 { interface
40 @implementation Test1 implementation
43 …ernal noundef nonnull align {{[0-9]+}} dereferenceable({{[0-9]+}}) [[A:%.*]]* @"\01-[Test1 prop1]"(
51 // CHECK: define internal void @"\01-[Test1 setProp1:]"(
/llvm-project-15.0.7/clang/test/Rewriter/
H A Dobjc-modern-linkage-spec.mm12 @interface Test1 @end interface
14 @implementation Test1 @end implementation
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dtemp_class_spec_neg.cpp45 template<typename T> struct Test1;
47 struct Test1<T*> { }; // expected-error{{never be used}} struct
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Divar-lookup-resolution-builtin.m22 @interface Test1 { interface
28 @implementation Test1 implementation
/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_suite.py130 class Test1(unittest2.TestCase): class
155 class Test1(unittest2.TestCase): class
163 child = unittest2.TestSuite((Test1('test2'), test2))
164 parent = unittest2.TestSuite((test3, child, Test1('test1')))
/llvm-project-15.0.7/llvm/test/DebugInfo/COFF/
H A Dglobal-constants.ll5 ; namespace Test1 {
21 ; useConst(Test1::TestConst1);
35 ; ASM-NEXT: .asciz "Test1::TestConst1" # Name
61 ; OBJ-NEXT: Name: Test1::TestConst1
122 !21 = !DINamespace(name: "Test1", scope: null)
/llvm-project-15.0.7/llvm/test/Analysis/MemorySSA/
H A Dsimple_loop_unswitch_nontrivial.ll8 ; In Test1, there are no definitions. MemorySSA updates insert trivial phis and remove them.
10 ; CHECK-LABEL: @Test1
11 define void @Test1(i32) {
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Darc-precise-lifetime.m31 @interface Test1 interface
36 extern Test1 *test1_helper(void);
65 Test1 *ptr = test1_helper();
97 Test1 *ptr = test1_helper();
127 PRECISE_LIFETIME Test1 *ptr = test1_helper();
156 PRECISE_LIFETIME Test1 *ptr = test1_helper();
187 Test1 *ptr = test1_helper();
218 Test1 *ptr = test1_helper();
246 PRECISE_LIFETIME Test1 *ptr = test1_helper();
274 PRECISE_LIFETIME Test1 *ptr = test1_helper();

123456