forked from OSchip/llvm-project
parent
3e2f36e905
commit
6d35cc945f
|
@ -287,6 +287,8 @@ private:
|
||||||
/// subclasses can pack their bitfields into the same word.
|
/// subclasses can pack their bitfields into the same word.
|
||||||
unsigned TC : 5;
|
unsigned TC : 5;
|
||||||
|
|
||||||
|
Type(const Type&); // DO NOT IMPLEMENT.
|
||||||
|
void operator=(const Type&); // DO NOT IMPLEMENT.
|
||||||
protected:
|
protected:
|
||||||
// silence VC++ warning C4355: 'this' : used in base member initializer list
|
// silence VC++ warning C4355: 'this' : used in base member initializer list
|
||||||
Type *this_() { return this; }
|
Type *this_() { return this; }
|
||||||
|
|
|
@ -631,7 +631,7 @@ const RecordDecl *ASTContext::addRecordToClass(const ObjCInterfaceDecl *D) {
|
||||||
D->getIdentifier());
|
D->getIdentifier());
|
||||||
/// FIXME! Can do collection of ivars and adding to the record while
|
/// FIXME! Can do collection of ivars and adding to the record while
|
||||||
/// doing it.
|
/// doing it.
|
||||||
for (unsigned int i = 0; i != RecFields.size(); i++) {
|
for (unsigned i = 0, e = RecFields.size(); i != e; ++i) {
|
||||||
NewRD->addDecl(FieldDecl::Create(*this, NewRD,
|
NewRD->addDecl(FieldDecl::Create(*this, NewRD,
|
||||||
RecFields[i]->getLocation(),
|
RecFields[i]->getLocation(),
|
||||||
RecFields[i]->getIdentifier(),
|
RecFields[i]->getIdentifier(),
|
||||||
|
|
Loading…
Reference in New Issue