diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-22 06:50:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-22 06:50:37 +0000 |
commit | ad8f750f71d5636abc134224e548f239a3f5d06d (patch) | |
tree | c0c53f751a683e12cb509f7a2bce92baefe9a608 /clang/lib/Frontend | |
parent | 587cbe1ef291241925fa547d89b00e175fc329af (diff) | |
download | bcm5719-llvm-ad8f750f71d5636abc134224e548f239a3f5d06d.tar.gz bcm5719-llvm-ad8f750f71d5636abc134224e548f239a3f5d06d.zip |
ObjCQualifiedClass is dead, remove it.
llvm-svn: 69783
Diffstat (limited to 'clang/lib/Frontend')
-rw-r--r-- | clang/lib/Frontend/PCHReader.cpp | 6 | ||||
-rw-r--r-- | clang/lib/Frontend/PCHWriter.cpp | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/clang/lib/Frontend/PCHReader.cpp b/clang/lib/Frontend/PCHReader.cpp index 3a311d49c24..8e1118cb7f7 100644 --- a/clang/lib/Frontend/PCHReader.cpp +++ b/clang/lib/Frontend/PCHReader.cpp @@ -2103,13 +2103,7 @@ QualType PCHReader::ReadTypeRecord(uint64_t Offset) { Protos.push_back(cast<ObjCProtocolDecl>(GetDecl(Record[Idx++]))); return Context.getObjCQualifiedIdType(&Protos[0], NumProtos); } - - case pch::TYPE_OBJC_QUALIFIED_CLASS: - // FIXME: Deserialize ObjCQualifiedClassType - assert(false && "Cannot de-serialize ObjC qualified class types yet"); - return QualType(); } - // Suppress a GCC warning return QualType(); } diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp index 760578164b3..f34323c1604 100644 --- a/clang/lib/Frontend/PCHWriter.cpp +++ b/clang/lib/Frontend/PCHWriter.cpp @@ -228,14 +228,6 @@ void PCHTypeWriter::VisitObjCQualifiedIdType(const ObjCQualifiedIdType *T) { Code = pch::TYPE_OBJC_QUALIFIED_ID; } -void -PCHTypeWriter::VisitObjCQualifiedClassType(const ObjCQualifiedClassType *T) { - Record.push_back(T->getNumProtocols()); - for (unsigned I = 0, N = T->getNumProtocols(); I != N; ++I) - Writer.AddDeclRef(T->getProtocols(I), Record); - Code = pch::TYPE_OBJC_QUALIFIED_CLASS; -} - //===----------------------------------------------------------------------===// // Declaration serialization //===----------------------------------------------------------------------===// |