| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | ubsan-devirtualized-calls.cpp | 3 struct Base1 { struct 11 struct Derived1 final : Base1 { argument 15 struct Derived2 final : Base1, Base2 { 19 struct Derived3 : Base1 { 23 struct Derived4 final : Base1 { 38 static_cast<Base1 *>(&d1)->f1(); //< Devirt Base1::f1 to Derived1::f1. in t1() 46 static_cast<Base1 *>(&d2)->f1(); //< Devirt Base1::f1 to Derived2::f1. in t2() 61 Base1 p; in t4() 66 static_cast<Base1 *>(badp)->f1(); //< No devirt, test 'badp isa Base1'. in t4() 78 Base1 p; in t5() [all …]
|
| H A D | homogeneous-aggregates.cpp | 15 struct Base1 { struct 24 struct D1 : Base1 { // non-homogeneous aggregate argument 30 struct D3 : Base1, Base2 { // non-homogeneous aggregate
|
| H A D | guard_nocf.cpp | 70 struct Base1 { struct 74 struct Derived1 : Base1 {
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | cxx-invalid-function-decl.cpp | 18 struct Base1 { struct 20 Base1(T a1) : x1(a1) {} in Base1() argument 29 struct S : public Base1<int>, public Base2<float> { 33 …S() : ::Base1<int>(0) ::new, ::Base2<float>(1.0) ::delete x(2) {} // expected-error{{expected clas… in S() 37 …S(int a) : Base1<int>(a), ::Base2<float>(1.0), ::, // expected-error{{expected class member or bas… in S() 41 …S(const S &) : Base1<int>(0) ::Base2<float>(1.0) x(2) {} // expected-error2{{missing ',' between b… in S()
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-records.cpp | 255 struct Base1 {}; struct 259 struct Derived1 : Base1 { 264 struct Derived2 : private Base1 { 269 struct Derived3 : virtual Base1 { 274 struct Derived4 : Base1, virtual Base2, protected Base3 { 281 struct Derived5 : protected virtual Base1 {
|
| H A D | ast-dump-records-json.cpp | 64 struct Base1 {}; struct 68 struct Derived1 : Base1 { 71 struct Derived2 : private Base1 { 74 struct Derived3 : virtual Base1 { 77 struct Derived4 : Base1, virtual Base2, protected Base3 { 80 struct Derived5 : protected virtual Base1 {
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.derived/ |
| H A D | derived_from.pass.cpp | 17 struct Base1 {}; struct 18 struct Derived1 : Base1 {}; 19 struct Derived2 : Base1 {}; 21 struct DerivedPrivate : private Base1 {}; 386 CheckNotDerivedFrom<Base1, int>(); in main() 398 CheckNotDerivedFrom<Base1[5], Base1>(); in main() 401 CheckNotDerivedFrom<Base1, Base1[5]>(); in main() 406 CheckDerivedFrom<Base1, Base1>(); in main() 408 CheckNotDerivedFrom<Base1, void>(); in main() 418 CheckDerivedFrom<Derived1, Base1>(); in main() [all …]
|
| /llvm-project-15.0.7/clang/test/Frontend/ |
| H A D | plugin-call-super.cpp | 6 struct Base1 { struct 12 struct Derive : public Base1, public Base2 { argument 21 Base1::Test(); in Test() 29 struct Derive2 : public Base1, public Base2 { 31 Base1::Test(); in Test()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | MicrosoftSuper.cpp | 16 struct Base1 { struct 24 struct Derived : Base1 { argument 48 struct Inner : Base1 { 57 struct MemberFunctionInMultipleBases : Base1, Base2 { 74 struct PointerToMember : Base1 { 75 template <void (Base1::*MP)(int)> 147 DerivedFromTemplateParameter<Base1> t; in instantiate()
|
| H A D | code-seg.cpp | 24 struct __declspec(code_seg("my_base")) Base1 {}; struct 27 struct D1 : Base1 {}; 30 struct __declspec(code_seg("my_derived")) D2 : Base1 {}; 39 MB<Base1> mb1; // ok 44 MD<Base1> md1;
|
| H A D | code-seg1.cpp | 4 struct __declspec(code_seg("my_base")) Base1 {}; struct 7 struct D1 : Base1, Base2 {}; 11 struct __declspec(code_seg("my_derived")) D2 : Base2, Base1 {};
|
| H A D | base-class-ambiguity-check.cpp | 12 struct Base1; // expected-note{{member is declared here}} 15 …struct Derived : Base1, Base2 {}; // expected-error {{implicit instantiation of undefined member '…
|
| H A D | virtual-override.cpp | 150 struct Base1 { virtual void f(int); }; struct 154 (void)sizeof(Foo<Base1>); in test() 164 Foo2<Base1> f1; in test2()
|
| H A D | offsetof.cpp | 41 struct Base1 { struct 49 struct Derived2 : public Base1, public Base2 { argument
|
| /llvm-project-15.0.7/clang/test/CodeCompletion/ |
| H A D | ctor-initializer.cpp | 1 struct Base1 { struct 2 Base1() : {} in Base1() argument 8 Base1(int) : member1(123), {} in Base1() argument 18 struct Derived : public Base1 { argument 38 Derived::Derived(float) try : Base1(), in Derived()
|
| H A D | member-access.cpp | 1 struct Base1 { struct 12 struct Base3 : Base1, Base2 { argument 35 Base1 b; 82 class TemplateClass: public Base1 , public BaseTemplate<T> {
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/multiple-inheritance/ |
| H A D | main.cpp | 11 struct Base1 : CommonBase { struct 13 Base1() { in Base1() argument 35 struct FinalClass : Base1, Base2 { argument 50 C.Base1::func_base(); in main()
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.mem/ |
| H A D | p8-0x.cpp | 3 struct Base1 { struct 7 struct A : Base1 { 31 struct Base1 { struct 35 struct A : Base1 {
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/Inputs/ |
| H A D | every-function.cpp | 45 struct Base1 { struct 46 virtual ~Base1() {} in ~Base1() argument 49 struct Base2 : public virtual Base1 { }; 51 struct Derived : public virtual Base1, public Base2 {
|
| /llvm-project-15.0.7/llvm/test/Analysis/LoopAccessAnalysis/ |
| H A D | forked-pointers.ll | 29 ; CHECK-NEXT: (Low: %Base1 High: (400 + %Base1)) 30 ; CHECK-NEXT: Member: {%Base1,+,4}<nw><%loop> 49 %gep.1 = getelementptr inbounds float, ptr %Base1, i64 %iv 93 ; CHECK-NEXT: (Low: %Base1 High: (400 + %Base1)) 94 ; CHECK-NEXT: Member: {%Base1,+,4}<nw><%for.body> 180 ; CHECK-NEXT: (Low: %Base1 High: (800 + %Base1)) 181 ; CHECK-NEXT: Member: {%Base1,+,8}<nw><%for.body> 241 ; CHECK-NEXT: (Low: %Base1 High: (399 + %Base1)) 242 ; CHECK-NEXT: Member: {%Base1,+,4}<nw><%for.body> 302 ; CHECK-NEXT: (Low: %Base1 High: (100 + %Base1)) [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | reinterpret-cast.cpp | 23 class Base1 {}; class 24 class Derived1 : public Base1 {}; 35 Base1 *v; in f3()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/fuchsia/ |
| H A D | multiple-inheritance.cpp | 90 struct Base1 { virtual void foo() = 0; }; struct 91 struct V1 : virtual Base1 {}; 92 struct V2 : virtual Base1 {};
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/ |
| H A D | confusable-identifiers.cpp | 92 struct Base1 { struct 99 struct Derived1 : Base1 { argument
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64MachineScheduler.cpp | 39 const MachineOperand &Base1 = AArch64InstrInfo::getLdStBaseOp(MI1); in mayOverlapWrite() local 42 if (!Base0.isIdenticalTo(Base1)) in mayOverlapWrite()
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | dependent-base-classes.cpp | 66 struct Base1 { struct 75 struct Derived : Base1<T>, Base2 {
|