HomeSort by relevance Sort by last modified time
    Searched defs:Derived (Results 51 - 75 of 91) sorted by null

1 23 4

  /external/clang/test/FixIt/
typo.cpp 53 struct Derived : public Base { // expected-note{{base class 'Base' specified here}}
56 Derived() : base(), // expected-error{{initializer 'base' does not name a non-static data member or base class; did you mean the base class 'Base'?}}
66 int &Derived::getMember() {
117 struct derived : base { struct in inherits:base
122 derived d;
124 // to replace base::i with derived::i as we would for other qualified name misspellings.
  /external/clang/test/Index/
load-stmts.cpp 98 struct Derived : public Base {
99 Derived(int x);
103 Derived::Derived(int x)
216 // CHECK: load-stmts.cpp:103:10: CXXConstructor=Derived:103:10 (Definition)
217 // CHECK: load-stmts.cpp:103:1: TypeRef=struct Derived:98:8 Extent=[103:1 - 103:
  /external/clang/test/SemaCXX/
offsetof.cpp 17 struct Derived : Base { int y; };
18 int o = __builtin_offsetof(Derived, x); // expected-warning{{offset of on non-POD type}}
20 const int o2 = sizeof(__builtin_offsetof(Derived, x));
MicrosoftExtensions.cpp 22 struct Derived : Base {
constructor-initializer.cpp 85 struct Derived : Base, Base1, virtual V {
86 Derived ();
89 struct Current : Derived {
90 int Derived;
91 Current() : Derived(1), ::Derived(), // expected-warning {{field 'Derived' will be initialized after base '::Derived'}} \
92 // 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 24 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 *')}}
55 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\
188 class Derived : public Base {};
197 virtual Derived<int>* Method();
205 class Derived : public Base {};
208 typedef Derived* DerivedP;
215 Y1<Derived*, Base*> y;
233 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> *')}}
typo-correction.cpp 39 struct Derived : public BaseType { // expected-note {{base class 'BaseType' specified here}}
41 Derived() : basetype() {} // expected-error{{initializer 'basetype' does not name a non-static data member or base class; did you mean the base class 'BaseType'?}}
46 int get_type(struct Derived *st) {
47 return st->Base_Type; // expected-error{{no member named 'Base_Type' in 'Derived'; did you mean 'base_type'?}}
  /external/clang/test/SemaTemplate/
dependent-base-classes.cpp 76 struct Derived : Base1<T>, Base2 {
77 typedef typename Derived::type type; // expected-error{{member 'type' found in multiple base classes of different types}}
81 Derived<int> di; // expected-note{{instantiation of}}
120 class Derived
131 template <class T> struct Derived: public Base<T> {
132 typename Derived::Base* p; // meaning Derived::Base<T>
135 Derived<int> di;
instantiate-exception-spec-cxx11.cpp 115 template<typename T> struct Derived : Base {
120 Derived<Exc1> d1; // ok
121 Derived<Exc2> d2; // expected-note {{in instantiation of}}
123 // If the vtable for a derived class is used, the exception specification of
member-access-expr.cpp 141 template <class T> class Derived : public Base<T> {
typename-specifier-4.cpp 161 template <class T> struct Derived: public Base<T> {
162 typename Derived::template Base<double>* p1;
  /external/eigen/Eigen/src/Core/
Product.h 91 typedef Product<Lhs, Rhs> Derived;
95 EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
CwiseBinaryOp.h 166 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> Derived;
170 EIGEN_DENSE_PUBLIC_INTERFACE( Derived )
174 return derived().functor()(derived().lhs().coeff(row, col),
175 derived().rhs().coeff(row, col));
181 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(row, col),
182 derived().rhs().template packet<LoadMode>(row, col));
187 return derived().functor()(derived().lhs().coeff(index)
    [all...]
  /external/eigen/Eigen/src/SparseCore/
SparseCwiseBinaryOp.h 40 template<typename BinaryOp, typename Lhs, typename Rhs, typename Derived,
54 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> Derived;
55 EIGEN_SPARSE_PUBLIC_INTERFACE(Derived)
77 : Base(binOp.derived(),outer)
93 template<typename BinaryOp, typename Lhs, typename Rhs, typename Derived>
94 class sparse_cwise_binary_op_inner_iterator_selector<BinaryOp, Lhs, Rhs, Derived, Sparse, Sparse>
112 EIGEN_STRONG_INLINE Derived& operator++()
138 return *static_cast<Derived*>(this);
158 template<typename T, typename Lhs, typename Rhs, typename Derived>
159 class sparse_cwise_binary_op_inner_iterator_selector<scalar_product_op<T>, Lhs, Rhs, Derived, Sparse, Sparse
    [all...]
  /external/llvm/unittests/Support/
Casting.cpp 160 // for example, Derived inherits from Base, and we do `isa<Base>(Derived)`.
171 class Derived : public Base {
173 Derived() {}
177 // Derived to its base class.
179 Derived D;
  /external/clang/test/Analysis/
derived-to-base.cpp 145 struct Derived : public Base {
149 struct DoubleDerived : public Derived {
157 int getY(const Derived &obj) {
162 Derived d;
171 Derived d2(d);
186 Derived d2(d);
315 struct FullyDerived : private NonTrivialCopy, public Derived {
348 class Derived : public Base {
353 void test(Derived d) {
  /external/clang/test/CXX/basic/basic.types/
p10.cpp 89 struct Derived : HasVBase {
90 constexpr Derived() {} // expected-error {{constexpr constructor not allowed in struct with virtual base class}}
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
p5-var.cpp 4 struct Derived : Base { }; // expected-note{{candidate constructor (the implicit copy constructor) not viable}}
7 struct Diamond : Derived, Derived2 { };
14 operator Derived&() const;
18 operator Derived&(); // expected-note{{candidate function}}
31 operator Derived() const;
35 operator Derived(); // expected-note{{candidate function}}
46 void bind_lvalue_to_lvalue(Base b, Derived d,
47 const Base bc, const Derived dc,
53 Derived &dr1 = d;
54 Derived &dr2 = b; // expected-error{{non-const lvalue reference to type 'Derived' cannot bind to a value o (…)
    [all...]
p5-0x.cpp 10 struct Derived : Base { };
30 Base&& base1 = xvalue<Derived>();
35 Base&& base3 = prvalue<Derived>();
50 Base&& base5 = ConvertsTo<Derived&&>();
55 Base&& base7 = ConvertsTo<Derived>();
143 base_rvalue_ref(xvalue<Derived>());
147 base_rvalue_ref(prvalue<Derived>());
154 base_rvalue_ref(ConvertsTo<Derived&&>());
158 base_rvalue_ref(ConvertsTo<Derived>());
  /external/chromium/testing/gtest/test/
gtest-port_test.cc 15 // contributors may be used to endorse or promote products derived from
75 class Derived : public Base {
77 explicit Derived(int n) : Base(n) {}
81 Derived derived(0);
82 EXPECT_TRUE(&derived == ::testing::internal::ImplicitCast_<Base*>(&derived));
86 Derived derived(1);
87 Base base = ::testing::internal::ImplicitCast_<Base>(derived);
    [all...]
  /external/clang/test/CodeGenCXX/
predefined-expr.cpp 46 // CHECK: private unnamed_addr constant [44 x i8] c"virtual void NS::Derived::virtualFunction()\00"
240 class Derived : public Base {
467 NS::Derived d;
  /external/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/libvpx/libvpx/third_party/googletest/src/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...]
  /frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
JavaBridgeBasicsTest.java 359 class Derived extends Base {
361 injectObjectAndReload(new Derived(), "testObject");
371 class Derived extends Base {
373 injectObjectAndReload(new Derived(), "testObject");
381 class Derived extends Base {
382 public void method() { mTestController.setStringValue("derived"); }
384 injectObjectAndReload(new Derived(), "testObject");
386 assertEquals("derived", mTestController.waitForStringValue());

Completed in 506 milliseconds

1 23 4