diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-27 19:04:32 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-27 19:04:32 +0000 |
commit | 067c407c4826e425ae38967383ee8972ffb284a4 (patch) | |
tree | d77ed4b32549920f540110031af7c209caa23ce7 /clang/lib/Frontend/PCHReaderDecl.cpp | |
parent | b8aa9589bb58f5644609d50ef5da214daf330c2f (diff) | |
download | bcm5719-llvm-067c407c4826e425ae38967383ee8972ffb284a4.tar.gz bcm5719-llvm-067c407c4826e425ae38967383ee8972ffb284a4.zip |
Make ObjCImplDecl inherit from ObjCContainerDecl.
ObjCContainerDecl now is the root class for objc decls that contain methods.
llvm-svn: 77235
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHReaderDecl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp index 3dbea5e8b06..99a1a16835a 100644 --- a/clang/lib/Frontend/PCHReaderDecl.cpp +++ b/clang/lib/Frontend/PCHReaderDecl.cpp @@ -304,10 +304,9 @@ void PCHDeclReader::VisitObjCPropertyDecl(ObjCPropertyDecl *D) { } void PCHDeclReader::VisitObjCImplDecl(ObjCImplDecl *D) { - VisitNamedDecl(D); + VisitObjCContainerDecl(D); D->setClassInterface( cast_or_null<ObjCInterfaceDecl>(Reader.GetDecl(Record[Idx++]))); - D->setLocEnd(SourceLocation::getFromRawEncoding(Record[Idx++])); } void PCHDeclReader::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *D) { |