]> granicus.if.org Git - clang/commitdiff
Comment out the last call to QualType::getCanonicalType. This *breaks*
authorChris Lattner <sabre@nondot.org>
Sat, 26 Jul 2008 22:40:28 +0000 (22:40 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 26 Jul 2008 22:40:28 +0000 (22:40 +0000)
Serialization/stmt_exprs.c, but I don't know the right solution.  Will fix
when I get a chance to talk to Ted about it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54109 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/TypeSerialization.cpp

index ff86d82f26688e0dbae7ee473b59e364b6c7aa9a..00b71b65b5fb5e381b5635129b8853589720f32f 100644 (file)
@@ -239,7 +239,7 @@ Type* TagType::CreateImpl(ASTContext& Context, Deserializer& D) {
 //===----------------------------------------------------------------------===//
 
 void TypedefType::EmitImpl(Serializer& S) const {
-  S.Emit(QualType((Type*)this,0).getCanonicalType());
+  S.Emit(QualType((Type*)this,0)/*.getCanonicalType()*/);
   S.EmitPtr(Decl);
 }