| commit | 90bcb899cc114c542e798b4505f29fc43b3ba52d | [log] [tgz] |
|---|---|---|
| author | Eli Friedman <eli.friedman@gmail.com> | Sat May 16 11:45:48 2009 +0000 |
| committer | Eli Friedman <eli.friedman@gmail.com> | Sat May 16 11:45:48 2009 +0000 |
| tree | 35d811bfa2f7b23474a5253a249175a31f5e84c4 | |
| parent | ba2cb0edf6c9e05b8919e91f2a51e93bb61829c6 [diff] |
PR3009: Get rid of bogus warning for scalar compound literals.
This patch isn't quite ideal in that it eliminates the warning for
constructs like "int a = {1};", where the braces are in fact redundant.
However, that would have required a bunch of refactoring, and it's
much less likely to cause confusion compared to redundant nested braces.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71939 91177308-0d34-0410-b5e6-96231b3b80d8