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 ff86d82..00b71b6 100644
--- a/lib/AST/TypeSerialization.cpp
+++ b/lib/AST/TypeSerialization.cpp
@@ -239,7 +239,7 @@
//===----------------------------------------------------------------------===//
void TypedefType::EmitImpl(Serializer& S) const {
- S.Emit(QualType((Type*)this,0).getCanonicalType());
+ S.Emit(QualType((Type*)this,0)/*.getCanonicalType()*/);
S.EmitPtr(Decl);
}