summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHWriter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-23 22:34:55 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-23 22:34:55 +0000
commitf6c2a27e16230070b29d67dbf1162dca4fd1618f (patch)
tree4ce3ae9dc2c64a8ed23fc6cceb11f3dd2d2556be /clang/lib/Frontend/PCHWriter.cpp
parent512b07780327f392833bded86f0277f13a61db44 (diff)
downloadbcm5719-llvm-f6c2a27e16230070b29d67dbf1162dca4fd1618f.tar.gz
bcm5719-llvm-f6c2a27e16230070b29d67dbf1162dca4fd1618f.zip
PCH support for categories in Objective-C interfaces.
llvm-svn: 69933
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r--clang/lib/Frontend/PCHWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp
index 9a60625d1f0..11302d136ed 100644
--- a/clang/lib/Frontend/PCHWriter.cpp
+++ b/clang/lib/Frontend/PCHWriter.cpp
@@ -415,12 +415,12 @@ void PCHDeclWriter::VisitObjCInterfaceDecl(ObjCInterfaceDecl *D) {
for (ObjCInterfaceDecl::ivar_iterator I = D->ivar_begin(),
IEnd = D->ivar_end(); I != IEnd; ++I)
Writer.AddDeclRef(*I, Record);
+ Writer.AddDeclRef(D->getCategoryList(), Record);
Record.push_back(D->isForwardDecl());
Record.push_back(D->isImplicitInterfaceDecl());
Writer.AddSourceLocation(D->getClassLoc(), Record);
Writer.AddSourceLocation(D->getSuperClassLoc(), Record);
Writer.AddSourceLocation(D->getLocEnd(), Record);
- // FIXME: add categories.
Code = pch::DECL_OBJC_INTERFACE;
}
OpenPOWER on IntegriCloud