aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/TypeSerialization.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-07-26 22:40:28 +0000
committerChris Lattner <sabre@nondot.org>2008-07-26 22:40:28 +0000
commita210573f75e28687f66560a6de8e5c4d32902c49 (patch)
tree598cd90754dc90519beeaab001fb5fe8dbbba4e3 /lib/AST/TypeSerialization.cpp
parentd394cc6f0fca198ec8def0f1cfaf16b5df0d52fa (diff)
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
Diffstat (limited to 'lib/AST/TypeSerialization.cpp')
-rw-r--r--lib/AST/TypeSerialization.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}