diff options
author | Anders Carlsson <andersca@mac.com> | 2010-02-03 18:54:13 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-02-03 18:54:13 +0000 |
commit | 0f01a331918cefe21fcd567e5f40cd00de2beccf (patch) | |
tree | a7a7e8aa987c9c48ce5cf945797ba76018648ad1 /lib/CodeGen/CGExprAgg.cpp | |
parent | 136b0cd75c37895ed0e00dee5b06c55c5b1d8199 (diff) |
Add a band-aid fix for clang self-hosting. A better fix will follow shortly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95232 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
-rw-r--r-- | lib/CodeGen/CGExprAgg.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CGExprAgg.cpp b/lib/CodeGen/CGExprAgg.cpp index e95d7c0fcb..667fe6714b 100644 --- a/lib/CodeGen/CGExprAgg.cpp +++ b/lib/CodeGen/CGExprAgg.cpp @@ -514,6 +514,9 @@ void AggExprEmitter::VisitImplicitValueInitExpr(ImplicitValueInitExpr *E) { void AggExprEmitter::EmitInitializationToLValue(Expr* E, LValue LV, QualType T) { + // FIXME: Remove this. + T = E->getType(); + // FIXME: Ignore result? // FIXME: Are initializers affected by volatile? if (isa<ImplicitValueInitExpr>(E)) { |