Recognize CompoundLiteralExpr's as valid lvalue's.
Also updated a FIXME in Sema::CheckInitializer()...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44602 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/SemaDecl.cpp b/Sema/SemaDecl.cpp
index e2b1fdf..f1eb753 100644
--- a/Sema/SemaDecl.cpp
+++ b/Sema/SemaDecl.cpp
@@ -553,7 +553,8 @@
hadError);
return hadError;
}
- // FIXME: Handle struct/union types.
+ // FIXME: Handle struct/union types, including those appearing in a
+ // CompoundLiteralExpr...
return hadError;
}