diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-23 02:42:49 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-23 02:42:49 +0000 |
commit | 2c2d43c557beca1b4ba4bd743f33978aecb46a97 (patch) | |
tree | 1c0c18a38da3df863e75659e6cd3e0f0fcb79740 /lib/Frontend/PCHReader.cpp | |
parent | e349bea668622ef31bd51a229960a73d69940709 (diff) |
PCH (de-)serialization for ObjCImplDecl. This can't be tested yet.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReader.cpp')
-rw-r--r-- | lib/Frontend/PCHReader.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Frontend/PCHReader.cpp b/lib/Frontend/PCHReader.cpp index e2cffb5454..c3d4bcfa52 100644 --- a/lib/Frontend/PCHReader.cpp +++ b/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) { |