|
|
@ -10,6 +10,10 @@ Foo::Foo(const char* name) : publicFieldMappedToEnum(TestFlag::Flag2) |
|
|
|
{ |
|
|
|
{ |
|
|
|
A = 10; |
|
|
|
A = 10; |
|
|
|
P = 50; |
|
|
|
P = 50; |
|
|
|
|
|
|
|
if (name) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
_name = name; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Foo::Foo(int a, int p) : publicFieldMappedToEnum(TestFlag::Flag2) |
|
|
|
Foo::Foo(int a, int p) : publicFieldMappedToEnum(TestFlag::Flag2) |
|
|
@ -26,6 +30,15 @@ Foo::Foo(wchar_t ch) |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Foo::Foo(const Foo& other) : A(other.A), P(other.P), |
|
|
|
|
|
|
|
templateInAnotherUnit(other.templateInAnotherUnit), _name(other._name) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Foo::~Foo() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int Foo::method() |
|
|
|
int Foo::method() |
|
|
|
{ |
|
|
|
{ |
|
|
|
return 1; |
|
|
|
return 1; |
|
|
@ -106,7 +119,7 @@ int Foo::operator --() |
|
|
|
|
|
|
|
|
|
|
|
Foo::operator const char*() const |
|
|
|
Foo::operator const char*() const |
|
|
|
{ |
|
|
|
{ |
|
|
|
return "test"; |
|
|
|
return _name.data(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const Foo& Bar::operator[](int i) const |
|
|
|
const Foo& Bar::operator[](int i) const |
|
|
@ -220,6 +233,10 @@ Bar::Bar(Items item) |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bar::~Bar() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int Bar::method() |
|
|
|
int Bar::method() |
|
|
|
{ |
|
|
|
{ |
|
|
|
return 2; |
|
|
|
return 2; |
|
|
@ -268,10 +285,18 @@ ForceCreationOfInterface::ForceCreationOfInterface() |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ForceCreationOfInterface::~ForceCreationOfInterface() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Baz::Baz(Bar::Items item) |
|
|
|
Baz::Baz(Bar::Items item) |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Baz::~Baz() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int Baz::takesQux(const Qux& qux) |
|
|
|
int Baz::takesQux(const Qux& qux) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return qux.farAwayFunc(); |
|
|
|
return qux.farAwayFunc(); |
|
|
@ -909,6 +934,10 @@ TestOverrideFromSecondaryBase::TestOverrideFromSecondaryBase() |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TestOverrideFromSecondaryBase::~TestOverrideFromSecondaryBase() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void TestOverrideFromSecondaryBase::VirtualMember() |
|
|
|
void TestOverrideFromSecondaryBase::VirtualMember() |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
@ -975,10 +1004,18 @@ InheritanceBuffer::InheritanceBuffer() |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
InheritanceBuffer::~InheritanceBuffer() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
InheritsProtectedVirtualFromSecondaryBase::InheritsProtectedVirtualFromSecondaryBase() |
|
|
|
InheritsProtectedVirtualFromSecondaryBase::InheritsProtectedVirtualFromSecondaryBase() |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
InheritsProtectedVirtualFromSecondaryBase::~InheritsProtectedVirtualFromSecondaryBase() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void InheritsProtectedVirtualFromSecondaryBase::protectedVirtual() |
|
|
|
void InheritsProtectedVirtualFromSecondaryBase::protectedVirtual() |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|