/external/clang/lib/CodeGen/ |
CGCXXABI.cpp | 293 const CXXRecordDecl *Derived = Path[I]; 295 std::swap(Base, Derived); 297 getContext().getASTRecordLayout(Derived).getBaseClassOffset(Base);
|
/external/clang/test/Analysis/inlining/ |
path-notes.cpp | 217 struct Derived : public Base {}; 219 void test(Derived d) { [all...] |
/external/clang/test/CXX/basic/basic.types/ |
p10.cpp | 94 struct Derived : HasVBase { 95 constexpr Derived() {} // expected-error {{constexpr constructor not allowed in struct with virtual base class}} 172 // the derived class, not for the base class.
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
p5-var.cpp | 6 struct Derived : Base { }; // expected-note{{candidate constructor (the implicit copy constructor) not viable}} 12 struct Diamond : Derived, Derived2 { }; 19 operator Derived&() const; 23 operator Derived&(); // expected-note{{candidate function}} 36 operator Derived() const; 40 operator Derived(); // expected-note{{candidate function}} 51 void bind_lvalue_to_lvalue(Base b, Derived d, 52 const Base bc, const Derived dc, 58 Derived &dr1 = d; 59 Derived &dr2 = b; // expected-error{{non-const lvalue reference to type 'Derived' cannot bind to a value o (…) [all...] |
/external/clang/test/FixIt/ |
typo.cpp | 52 struct Derived : public Base { // expected-note{{base class 'Base' specified here}} 55 Derived() : base(), // expected-error{{initializer 'base' does not name a non-static data member or base class; did you mean the base class 'Base'?}} 65 int &Derived::getMember() { 120 struct derived : base { struct in inherits:base 125 derived d; 127 // to replace base::i with derived::i as we would for other qualified name misspellings.
|
/external/clang/test/Modules/Inputs/ |
DebugCXX.h | 83 class Derived : Base { 85 Derived *getParent() const override;
|
/external/clang/test/SemaCXX/ |
constructor-initializer.cpp | 88 struct Derived : Base, Base1, virtual V { 89 Derived (); 92 struct Current : Derived { 93 int Derived; 94 Current() : Derived(1), ::Derived(), // expected-warning {{field 'Derived' will be initialized after base '::Derived'}} \ 95 // expected-warning {{base class '::Derived' will be initialized after base 'Derived::V'} [all...] |
empty-class-layout.cpp | 36 template<int N> struct Derived : Empty, Derived<N - 1> { 38 template<> struct Derived<0> : Empty { }; 40 struct S1 : virtual Derived<10> { 45 struct S2 : virtual Derived<10> {
|
virtual-override.cpp | 25 virtual b* f(); // expected-error{{return type of virtual function 'f' is not covariant with the return type of the function it overrides ('T2::b *' is not derived from 'T2::a *')}} 56 virtual b* f(); // expected-error{{return type of virtual function 'f' is not covariant with the return type of the function it overrides (ambiguous conversion from derived class 'T4::b' to base class 'T4::a':\n\ 189 class Derived : public Base {}; 198 virtual Derived<int>* Method(); 206 class Derived : public Base {}; 209 typedef Derived* DerivedP; 216 Y1<Derived*, Base*> y; 234 virtual D* f2(); // expected-error{{return type of virtual function 'f2' is not covariant with the return type of the function it overrides ('type_dependent_covariance::D *' is not derived from 'TB<1> *')}}
|
/external/clang/test/SemaTemplate/ |
instantiate-exception-spec-cxx11.cpp | 126 template<typename T> struct Derived : Base { 131 Derived<Exc1> d1; // ok 132 Derived<Exc2> d2; // expected-note {{in instantiation of}} 134 // If the vtable for a derived class is used, the exception specification of
|
ms-lookup-template-base-classes.cpp | 269 template <typename T> struct Derived : Base<T> { 278 template struct Derived<int>;
|
typename-specifier-4.cpp | 166 template <class T> struct Derived: public Base<T> { 167 typename Derived::template Base<double>* p1;
|
/external/eigen/Eigen/src/Core/ |
Product.h | 127 using Base::derived; 132 return internal::evaluator<ProductXpr>(derived()).coeff(0,0); 150 typedef Product<Lhs, Rhs, Option> Derived; 155 EIGEN_DENSE_PUBLIC_INTERFACE(Derived) 170 return internal::evaluator<Derived>(derived()).coeff(row,col); 178 return internal::evaluator<Derived>(derived()).coeff(i);
|
/external/googletest/googlemock/test/ |
gmock-internal-utils_test.cc | 15 // contributors may be used to endorse or promote products derived from 152 class Derived : public Base {};
|
/external/libchrome/base/memory/ |
weak_ptr_unittest.cc | 48 struct Derived : public Base {}; 266 Derived data; 267 WeakPtrFactory<Derived> factory(&data);
|
/external/libcxx/test/std/utilities/function.objects/func.not_fn/ |
not_fn.pass.cpp | 592 struct Derived : public Abstract { void f() const {} }; 595 Derived d;
|
/external/llvm/unittests/Support/ |
Casting.cpp | 184 // for example, Derived inherits from Base, and we do `isa<Base>(Derived)`. 195 class Derived : public Base { 197 Derived() {} 201 // Derived to its base class. 203 Derived D; 244 struct Derived : Base { 245 Derived() : Base(true) {} 282 pointer_wrappers::Derived D; 295 EXPECT_TRUE(!isa<pointer_wrappers::Derived>(MB)) [all...] |
/external/v8/testing/gmock/test/ |
gmock-internal-utils_test.cc | 15 // contributors may be used to endorse or promote products derived from 151 class Derived : public Base {};
|
/external/v8/tools/clang/rewrite_to_chrome_style/tests/ |
fields-expected.cc | 46 struct Derived : public C {
|
fields-original.cc | 43 struct Derived : public C {
|
/external/clang/test/Analysis/ |
derived-to-base.cpp | 146 struct Derived : public Base { 150 struct DoubleDerived : public Derived { 158 int getY(const Derived &obj) { 163 Derived d; 172 Derived d2(d); 187 Derived d2(d); 316 struct FullyDerived : private NonTrivialCopy, public Derived { 349 class Derived : public Base { 354 void test(Derived d) { 458 struct Derived : public Base { int x; } [all...] |
temporaries.cpp | 69 struct Derived : public Trivial { 70 Derived(int value) : Trivial(value), value2(-value) {} 75 Derived obj(1);
|
/external/clang/test/CodeGenCXX/ |
predefined-expr.cpp | 48 // CHECK-DAG: private unnamed_addr constant [44 x i8] c"virtual void NS::Derived::virtualFunction()\00" 242 class Derived : public Base { 486 NS::Derived d;
|
/external/google-breakpad/src/testing/gtest/test/ |
gtest-port_test.cc | 15 // contributors may be used to endorse or promote products derived from 77 class Derived : public Base { 79 explicit Derived(int n) : Base(n) {} 83 Derived derived(0); 84 EXPECT_TRUE(&derived == ::testing::internal::ImplicitCast_<Base*>(&derived)); 88 Derived derived(1); 89 Base base = ::testing::internal::ImplicitCast_<Base>(derived); [all...] |
/external/googletest/googletest/test/ |
gtest-port_test.cc | 15 // contributors may be used to endorse or promote products derived from 114 class Derived : public Base { 116 explicit Derived(int n) : Base(n) {} 120 Derived derived(0); 121 EXPECT_TRUE(&derived == ::testing::internal::ImplicitCast_<Base*>(&derived)); 125 Derived derived(1); 126 Base base = ::testing::internal::ImplicitCast_<Base>(derived); [all...] |