diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-02-19 00:31:17 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-02-19 00:31:17 +0000 |
commit | aef662206bce972589df4294bc5e299403bf6af6 (patch) | |
tree | 739a4e8831b6bafe71e6a07d0535d293ae82a8ea /clang/lib/Frontend/PCHReaderDecl.cpp | |
parent | 9baeb02000660bd570c9f3aaef21380a2489464c (diff) | |
download | bcm5719-llvm-aef662206bce972589df4294bc5e299403bf6af6.tar.gz bcm5719-llvm-aef662206bce972589df4294bc5e299403bf6af6.zip |
Patch removes IVars list from ObjCInterfaceDecl and
instead relies on their DeclContext for iteration, etc.
llvm-svn: 96638
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHReaderDecl.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp index cadc5427658..af69664fe1f 100644 --- a/clang/lib/Frontend/PCHReaderDecl.cpp +++ b/clang/lib/Frontend/PCHReaderDecl.cpp @@ -235,7 +235,6 @@ void PCHDeclReader::VisitObjCInterfaceDecl(ObjCInterfaceDecl *ID) { IVars.reserve(NumIvars); for (unsigned I = 0; I != NumIvars; ++I) IVars.push_back(cast<ObjCIvarDecl>(Reader.GetDecl(Record[Idx++]))); - ID->setIVarList(IVars.data(), NumIvars, *Reader.getContext()); ID->setCategoryList( cast_or_null<ObjCCategoryDecl>(Reader.GetDecl(Record[Idx++]))); ID->setForwardDecl(Record[Idx++]); |