/external/clang/test/CXX/class.access/class.access.dcl/ |
p1.cpp | 8 // member of a base class of the class being defined, shall refer to 9 // a member of an anonymous union that is a member of a base class 11 // an enumeration type that is a member of a base class of the class 172 struct Base { 180 struct Subclass : Base { 188 template <class T> struct C : Base { 190 Base::bar; // expected-error {{no member named 'bar'}} expected-warning {{access declarations are deprecated}} 191 Unrelated::foo; // expected-error {{not a base class}} expected-warning {{access declarations are deprecated}}
|
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
p12.cpp | 4 // When a using-declaration brings names from a base class into a 7 // parameter types in a base class (rather than conflicting). 27 struct Base { 34 struct Test0 : Base { 35 using Base::foo; 46 struct Test1 : Base { 49 using Base::foo; 58 struct Test2 : Base { 60 using Base::foo; 73 struct Base { [all...] |
p4.cpp | 5 // member of a base class of the class being defined, shall refer to 6 // a member of an anonymous union that is a member of a base class 8 // an enumeration type that is a member of a base class of the class 187 struct Base { 195 struct Subclass : Base { 203 template <class T> struct C : Base { 205 using Base::bar; // expected-error {{no member named 'bar'}} 206 using Unrelated::foo; // expected-error {{not a base class}}
|
/external/clang/test/FixIt/ |
typo.cpp | 51 struct Base { }; 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'?}} 56 ember() { } // expected-error{{initializer 'ember' does not name a non-static data member or base class; did you mean the member 'member'?} [all...] |
/external/clang/test/PCH/ |
cxx_exprs.h | 8 struct Base { Base(int); virtual void f(int x = 492); ~Base(); }; 9 struct Derived : Base { Derived(); void g(); }; 10 Base *base_ptr; 49 Derived::Derived() : Base(4) { 71 Base *b = new Base(4); // CXXNewExpr
|
/external/clang/test/SemaCXX/ |
conversion-delete-expr.cpp | 80 struct Base { 84 struct Derived : Base { 85 // not the same function as Base's non-const operator int() 101 template<typename T> operator T*() const; // hides base conversion
|
user-defined-conversions.cpp | 42 struct Base { 43 Base(const FunkyDerived&); 46 struct Derived : Base { }; 48 struct FunkyDerived : Base { }; 51 operator Base(); 64 Base b1 = ctb; 65 Base b2(ctb); 66 Base b3 = ctd; 67 Base b4(ctd); 68 Base b5 = ctfd [all...] |
aggregate-initialization.cpp | 13 struct Base { }; 14 struct NonAggr2 : public Base {
|
default-assignment-operator.cpp | 3 class Base { // expected-error {{cannot define the implicit default assignment operator for 'Base', because non-static reference member 'ref' can't use default assignment operator}} \ 4 // expected-warning{{class 'Base' does not declare any constructor to initialize its non-modifiable members}} 9 class X : Base { // // expected-error {{cannot define the implicit default assignment operator for 'X', because non-static const member 'cint' can't use default assignment operator}} \ 10 // expected-note{{assignment operator for 'Base' first required here}}
|
offsetof.cpp | 16 struct Base { int x; }; 17 struct Derived : Base { int y; }; 40 // offsetof referring to members of a base class. 57 // offsetof referring to anonymous struct in base.
|
/external/llvm/lib/Target/SystemZ/ |
SystemZInstrBuilder.h | 17 // (Operand), Base, Displacement, Index. 32 /// The base register can be a frame index, which will eventually be replaced 43 } Base; 50 Base.Reg = 0; 92 MIB.addReg(AM.Base.Reg); 94 MIB.addFrameIndex(AM.Base.FrameIndex); 101 /// addFrameReference - This function is used to add a reference to the base of 103 /// reference has base register as the FrameIndex offset until it is resolved.
|
/external/llvm/lib/Target/X86/ |
X86InstrBuilder.h | 20 // (Operand), Base, Scale, Index, Displacement. 35 /// The base register can be a frame index, which will eventually be replaced 47 } Base; 57 Base.Reg = 0; 65 MO.push_back(MachineOperand::CreateReg(Base.Reg, false, false, 69 MO.push_back(MachineOperand::CreateFI(Base.FrameIndex)); 128 MIB.addReg(AM.Base.Reg); 131 MIB.addFrameIndex(AM.Base.FrameIndex); 143 /// addFrameReference - This function is used to add a reference to the base of 145 /// reference has base register as the FrameIndex offset until it is resolved [all...] |
/external/llvm/utils/TableGen/ |
FixedLenDecoderEmitter.h | 26 unsigned Base, Width, Offset; 28 : Base(B), Width(W), Offset(O) { } 38 void addField(unsigned Base, unsigned Width, unsigned Offset) { 39 Fields.push_back(EncodingField(Base, Width, Offset));
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Object/ |
regress-137000.js | 108 * the parameter to both the Base and Child constructors, 110 function Base(id) 118 Child.prototype=Base;
|
/external/webkit/Source/WebCore/svg/properties/ |
SVGPathSegListPropertyTearOff.h | 33 typedef SVGListProperty<SVGPathSegList> Base; 71 return Base::numberOfItemsValues(values); 84 return Base::initializeValues(values, newItem, ec); 99 return Base::insertItemBeforeValues(values, newItem, index, ec); 112 return Base::replaceItemValues(values, newItem, index, ec); 127 return Base::appendItemValues(values, newItem, ec);
|
/ndk/tests/device/test-gabi++/jni/ |
test_gabixx_rtti.cpp | 40 struct Base {}; 41 struct Derived : Base {}; 74 Base* pbase = &derived; 77 CHECK(typeid(pbase) == typeid(Base*));
|
/ndk/tests/device/test-stlport-rtti/jni/ |
test_stlport_rtti.cpp | 40 struct Base {}; 41 struct Derived : Base {}; 74 Base* pbase = &derived; 77 CHECK(typeid(pbase) == typeid(Base*));
|
/external/chromium/testing/gmock/test/ |
gmock-internal-utils_test.cc | 126 class Base {}; 127 class Derived : public Base {}; 162 EXPECT_EQ(kOther, GMOCK_KIND_OF_(Base)); // NOLINT
|
/external/clang/lib/CodeGen/ |
CGCXX.cpp | 31 /// Try to emit a base destructor as an alias to its primary 32 /// base-class destructor. 59 // Try to find a unique base class with a non-trivial destructor. 64 // We're in the base destructor, so skip virtual bases. 67 // Skip base classes with trivial destructors. 68 const CXXRecordDecl *Base 70 if (Base->hasTrivialDestructor()) continue; 72 // If we've already found a base class with a non-trivial 75 UniqueBase = Base; 79 // the base destructor is actually effectively trivial, which ca [all...] |
/external/clang/test/Index/ |
load-stmts.cpp | 13 // Test handling of C++ base specifiers. 94 struct Base { 95 Base(int); 98 struct Derived : public Base { 104 : member(x), Base(x) { 159 // CHECK: load-stmts.cpp:22:18: C++ base class specifier=class A:14:7 [access=public isVirtual=false] 160 // CHECK: load-stmts.cpp:22:29: C++ base class specifier=class B:18:7 [access=private isVirtual=false] 163 // CHECK: load-stmts.cpp:26:26: C++ base class specifier=class C:22:7 [access=public isVirtual=true] 164 // CHECK: load-stmts.cpp:26:45: C++ base class specifier=class A:14:7 [access=private isVirtual=true] 222 // CHECK: load-stmts.cpp:104:16: TypeRef=struct Base:94:8 Extent=[104:16 - 104: [all...] |
/external/clang/test/SemaTemplate/ |
dependent-base-classes.cpp | 40 struct Base { 47 struct HasDepBase : Base<T> { 78 typedef typename Derived::type type; // expected-error{{member 'type' found in multiple base classes of different types}} 128 template <class T> struct Base { 129 Base* p; 132 template <class T> struct Derived: public Base<T> { 133 typename Derived::Base* p; // meaning Derived::Base<T>
|
member-access-expr.cpp | 4 x.Base::f0(); 7 struct Base { 11 struct X0 : Base { 12 typedef Base CrazyBase; 26 call_f0_through_typedef<Base>(x0); 38 struct X1 : Base, OtherBase { 43 call_f0_through_typedef2<Base>(x0); 45 call_f0_through_typedef2<Base>(x1); // expected-note{{instantiation}} 114 struct Base { 118 template <class T> struct Foo : Base { [all...] |
member-template-access-expr.cpp | 129 struct Base { 134 struct X0 : Base<1, T> { }; 141 this->x0.Base<1, int>::f();
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldMachO.cpp | 196 uint8_t *Base = (uint8_t*)Obj->getData(SegmentLC->FileOffset, 203 extractFunction(Symbols[i].second, Base + StartOffset, Base + EndOffset); 212 Base + StartOffset, Base + EndOffset); 333 uint8_t *Base = (uint8_t*)Obj->getData(Segment64LC->FileOffset, 340 extractFunction(Symbols[i].second, Base + StartOffset, Base + EndOffset); 349 Base + StartOffset, Base + EndOffset) [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86MachObjectWriter.cpp | 166 // section has only temporary symbols and thus the symbols don't have base 172 // symbols don't have a base, equal but both NULL. 174 report_fatal_error("unsupported relocation with identical base"); 212 const MCSymbolData *Base = Asm.getAtom(&SD); 222 Base = 0; 226 // symbol to use as a base address (a local symbol with no preceding 228 if (Base) { 229 Index = Base->getIndex(); 233 if (Base != &SD) 234 Value += Layout.getSymbolOffset(&SD) - Layout.getSymbolOffset(Base); [all...] |