summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReaderDecl.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-02-19 00:31:17 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-02-19 00:31:17 +0000
commitaef662206bce972589df4294bc5e299403bf6af6 (patch)
tree739a4e8831b6bafe71e6a07d0535d293ae82a8ea /clang/lib/Frontend/PCHReaderDecl.cpp
parent9baeb02000660bd570c9f3aaef21380a2489464c (diff)
downloadbcm5719-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.cpp1
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++]);
OpenPOWER on IntegriCloud