From: Chris Lattner Date: Sat, 26 Jul 2008 22:40:28 +0000 (+0000) Subject: Comment out the last call to QualType::getCanonicalType. This *breaks* X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a210573f75e28687f66560a6de8e5c4d32902c49;p=clang Comment out the last call to QualType::getCanonicalType. This *breaks* 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 --- diff --git a/lib/AST/TypeSerialization.cpp b/lib/AST/TypeSerialization.cpp index ff86d82f26..00b71b65b5 100644 --- a/lib/AST/TypeSerialization.cpp +++ b/lib/AST/TypeSerialization.cpp @@ -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); }