| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 1441 D2)) { in IsStructurallyEquivalent() 1482 D2 = D2->getDefinition(); in IsStructurallyEquivalent() 1483 if (!D1 || !D2) in IsStructurallyEquivalent() 1697 D2 = D2->getDefinition(); in IsStructurallyEquivalent() 1698 if (!D1 || !D2) in IsStructurallyEquivalent() 1795 << D2->isParameterPack(); in IsStructurallyEquivalent() 1813 << D2->isParameterPack(); in IsStructurallyEquivalent() 2073 D2 = D2->getCanonicalDecl(); in IsStructurallyEquivalent() 2252 Decl *D1, Decl *D2) { in CheckKindSpecificEquivalence() argument 2278 Decl *D2 = P.second; in Finish() local [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | load_store_multiple.ll | 6 ;CHECK-LE: vld1.8 {[[D1:d[0-9]+]], [[D2:d[0-9]+]]}, [{{r[0-9]+}}] 8 ;CHECK-LE: vst1.8 {[[D1]], [[D2]]}, [{{r[0-9]+}}] 11 ;CHECK-BE: vld1.8 {[[D1:d[0-9]+]], [[D2:d[0-9]+]]}, [{{r[0-9]+}}] 14 ;CHECK-BE: vst1.8 {[[D1]], [[D2]]}, [{{r[0-9]+}}] 25 ;CHECK-LE: vst1.16 {[[D1]], [[D2]]}, [{{r[0-9]+}}] 31 ;CHECK-BE: vst1.16 {[[D1]], [[D2]]}, [{{r[0-9]+}}] 42 ;CHECK-LE: vst1.32 {[[D1]], [[D2]]}, [{{r[0-9]+}}] 45 ;CHECK-BE: vldmia {{r[0-9]+}}, {[[D1:d[0-9]+]], [[D2:d[0-9]+]]} 47 ;CHECK-BE: vstmia {{r[0-9]+}}, {[[D1]], [[D2]]} 58 ;CHECK-LE: vst1.64 {[[D1]], [[D2]]}, [{{r[0-9]+}}] [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | cast-to-struct.cpp | 40 Derived D1, *D2; in structToStruct() local 42 D2 = (Derived *)&B1; in structToStruct() 43 D2 = dynamic_cast<Derived *>(&B1); in structToStruct() 44 D2 = static_cast<Derived *>(&B1); in structToStruct() 48 …D2 = (Derived *)&B2;// expected-warning {{Casting data to a larger structure type and accessing a … in structToStruct() 49 …D2 = dynamic_cast<Derived *>(&B2);// expected-warning {{Casting data to a larger structure type an… in structToStruct() 50 …D2 = static_cast<Derived *>(&B2);// expected-warning {{Casting data to a larger structure type and… in structToStruct() 55 D2 = (Derived *)B3; in structToStruct() 56 D2 = dynamic_cast<Derived *>(B3); in structToStruct() 57 D2 = static_cast<Derived *>(B3); in structToStruct()
|
| H A D | pointer-to-member.cpp | 201 struct D2 : public L2, R2 { }; struct 220 D2 d2; in double_diamond() 227 …clang_analyzer_eval(d2.*(static_cast<int D2::*>(static_cast<int L2::*>(static_cast<int L1::*>(&B::… in double_diamond() 228 …clang_analyzer_eval(d2.*(static_cast<int D2::*>(static_cast<int R2::*>(static_cast<int L1::*>(&B::… in double_diamond() 229 …clang_analyzer_eval(d2.*(static_cast<int D2::*>(static_cast<int L2::*>(static_cast<int R1::*>(&B::… in double_diamond() 230 …clang_analyzer_eval(d2.*(static_cast<int D2::*>(static_cast<int R2::*>(static_cast<int R1::*>(&B::… in double_diamond()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | member-name-lookup.cpp | 84 struct D2 : B2, C2 { struct 89 struct G : F, D2 { 93 void test_virtual_lookup(D2 d2, G g) { in test_virtual_lookup() 101 D2::E e = D2::enumerator; // okay in test_virtual_lookup() 102 D2::type t = 0; // okay in test_virtual_lookup() 104 D2::E2 e2 = D2::enumerator2; // okay in test_virtual_lookup() 106 D2::E3 e3; // expected-error{{member 'E3' found in multiple base classes of different types}} in test_virtual_lookup() 112 void D2::test_virtual_lookup() { in test_virtual_lookup()
|
| H A D | exception-spec.cpp | 44 struct D2; 48 virtual D2 &operator=(const D2&) noexcept; // expected-note {{overridden}} 51 struct D2 : B { struct 52 D2 &operator=(const D2&); // expected-error {{more lax}}
|
| H A D | exceptions.cpp | 172 struct D2 : D {}; struct 211 …} catch (D2 &d) { // expected-warning {{exception of type 'HandlerInversion::D2 &' will be caught… in f6() 230 …} catch (D2 &d) { // expected-warning {{exception of type 'HandlerInversion::D2 &' will be caught… in f8() 235 …} catch (const D2 &d) { // expected-warning {{exception of type 'const HandlerInversion::D2 &' wi… in f8()
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.compare/class.compare.default/ |
| H A D | p2.cpp | 104 struct D2 { struct 109 bool operator==(const D2&) const; argument 110 bool operator!=(const D2&) const = default; 112 bool operator<=>(const D2&) const; 113 bool operator<(const D2&) const = default; 114 bool operator<=(const D2&) const = default; 115 bool operator>(const D2&) const = default; 116 bool operator>=(const D2&) const = default;
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | DiagnosticsYamlTest.cpp | 189 Diagnostic D2 = TUDActual.Diagnostics[1]; in TEST() local 190 EXPECT_EQ("diagnostic#2", D2.DiagnosticName); in TEST() 191 EXPECT_EQ("message #2", D2.Message.Message); in TEST() 192 EXPECT_EQ(60u, D2.Message.FileOffset); in TEST() 193 EXPECT_EQ("path/to/header.h", D2.Message.FilePath); in TEST() 194 std::vector<Replacement> Fixes2 = getFixes(D2.Message.Fix); in TEST() 200 EXPECT_EQ(1u, D2.Message.Ranges.size()); in TEST() 201 EXPECT_EQ("path/to/source.cpp", D2.Message.Ranges[0].FilePath); in TEST() 202 EXPECT_EQ(10u, D2.Message.Ranges[0].FileOffset); in TEST() 203 EXPECT_EQ(10u, D2.Message.Ranges[0].Length); in TEST()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | apple-kext-indirect-call-2.cpp | 63 struct D2 : virtual Base3 { struct 67 struct Sub : D1, D2 { 70 char* D2::abc(void) const { return 0; } in abc() 75 char* c = p->D2::abc(); in FUNC3()
|
| /llvm-project-15.0.7/clang/test/CXX/special/class.copy/ |
| H A D | p23-cxx11.cpp | 104 struct D2 { struct 105 …D2 &operator=(D2 &&) = default; // expected-note {{here}} expected-note {{copy assignment operator… 129 template struct MoveAssign<D2>; // expected-note {{here}} argument 130 template struct MoveOrCopyAssign<D2>; // expected-note {{here}}
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | mips64-class-return.cpp | 19 class D2 : public B0 { class 25 extern D2 gd2; 38 void foo3(D2 a0) { in foo3()
|
| H A D | arm-ha-alignstack.c | 101 } D2; typedef 103 double g2(D2 d) { in g2() 110 D2 d = {0.0, }; in g2call()
|
| H A D | debug-info-macro.c | 19 /*Line 18*/ #define D2 2 macro 21 /*Line 20*/ #undef D2
|
| /llvm-project-15.0.7/clang/test/CXX/special/class.inhctor/ |
| H A D | p7.cpp | 16 struct D2 : B1, B2 { struct 19 D2(int); 22 D2 d2(0);
|
| H A D | p3.cpp | 20 struct D2 : B2 { // expected-note 2{{candidate constructor}} struct 23 D2 d2a(1), d2b(1, 1), d2c(1, 1, 1); 25 D2 fd2() { return 1; } // expected-error {{no viable conversion}} in fd2()
|
| /llvm-project-15.0.7/openmp/libomptarget/test/offloading/ |
| H A D | interop.c | 19 double D0, D2; in main() local 38 #pragma omp interop use(interop) depend(in : D0, D2) in main() 44 #pragma omp interop destroy(interop) depend(in : D0, D2) device(device_id) in main()
|
| /llvm-project-15.0.7/polly/test/ScopInfo/ |
| H A D | complex-branch-structure.ll | 29 i64 %D1.p, i64 %D2.p, i64 %D3.p, 114 br i1 %C1.cmp, label %D0, label %D2 120 br i1 %C3.cmp, label %D2, label %D4 127 D2: 128 %val.D2 = load float, float* %D 129 store float %val.D2, float* %D 130 %D2.cmp = icmp eq i64 %D2.p, 0 131 br i1 %D2.cmp, label %D1, label %D3
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.compare/class.spaceship/ |
| H A D | p1.cpp | 55 struct D2 { struct 56 bool operator<(const D2&) const; 98 Cmp<D2>() <=> Cmp<D2>(), // expected-error {{deleted}} in f() 129 CmpArray<D2>() <=> CmpArray<D2>(), // expected-error {{deleted}} in g()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/ |
| H A D | sized_delete_test.cpp | 30 struct D2 { struct 32 ~D2() { fprintf(stderr, "D2::~D2\n"); } in ~D2() argument 80 D1 *d1 = reinterpret_cast<D1*>(new D2[10]); in main()
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.mem/ |
| H A D | p13.cpp | 77 typedef int D2; typedef 93 struct D2 : B { using B::D2; }; // expected-error {{member 'D2' has the same name as its class}} struct
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTStructuralEquivalence.h | 91 bool IsEquivalent(Decl *D1, Decl *D2); 134 bool CheckCommonEquivalence(Decl *D1, Decl *D2); 139 bool CheckKindSpecificEquivalence(Decl *D1, Decl *D2);
|
| /llvm-project-15.0.7/llvm/unittests/Demangle/ |
| H A D | PartialDemangleTest.cpp | 138 llvm::ItaniumPartialDemangler D1, D2; in TEST() local 141 EXPECT_FALSE(D2.partialDemangle("_Z1g")); in TEST() 142 std::swap(D1, D2); in TEST() 144 EXPECT_TRUE(D2.isFunction()); in TEST()
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
| H A D | p15.cpp | 17 struct D2 : B1, B2 { struct 20 D2(int); 22 D2 d2(0); // ok
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/ |
| H A D | p4.cpp | 12 typedef struct D { } D2; typedef 13 typedef D2 D;
|