summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReader.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-23 02:42:49 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-23 02:42:49 +0000
commit9a13efd5b2b7af82c27d63bc171819460689b451 (patch)
tree85e03daa564f907b1ed1514dfd444644d12bed40 /clang/lib/Frontend/PCHReader.cpp
parent0781ce7cce39214b3d860934be70ea1619dedcc1 (diff)
downloadbcm5719-llvm-9a13efd5b2b7af82c27d63bc171819460689b451.tar.gz
bcm5719-llvm-9a13efd5b2b7af82c27d63bc171819460689b451.zip
PCH (de-)serialization for ObjCImplDecl. This can't be tested yet.
llvm-svn: 69855
Diffstat (limited to 'clang/lib/Frontend/PCHReader.cpp')
-rw-r--r--clang/lib/Frontend/PCHReader.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PCHReader.cpp b/clang/lib/Frontend/PCHReader.cpp
index e2cffb54543..c3d4bcfa529 100644
--- a/clang/lib/Frontend/PCHReader.cpp
+++ b/clang/lib/Frontend/PCHReader.cpp
@@ -322,7 +322,9 @@ void PCHDeclReader::VisitObjCPropertyDecl(ObjCPropertyDecl *D) {
void PCHDeclReader::VisitObjCImplDecl(ObjCImplDecl *D) {
VisitDecl(D);
- // FIXME: Implement.
+ D->setClassInterface(
+ cast_or_null<ObjCInterfaceDecl>(Reader.GetDecl(Record[Idx++])));
+ D->setLocEnd(SourceLocation::getFromRawEncoding(Record[Idx++]));
}
void PCHDeclReader::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *D) {
OpenPOWER on IntegriCloud