summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-05-16 11:45:48 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-05-16 11:45:48 +0000
commit0b4af8f7554d8ae782fbd9e92a6d4211e8c95c2a (patch)
treeaf7500e64aa19393c7e7475db881534a99a3d138 /clang/lib/CodeGen/CodeGenModule.cpp
parent18bb9284fffb62977647bffaf0bd5fec17241751 (diff)
downloadbcm5719-llvm-0b4af8f7554d8ae782fbd9e92a6d4211e8c95c2a.tar.gz
bcm5719-llvm-0b4af8f7554d8ae782fbd9e92a6d4211e8c95c2a.zip
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. llvm-svn: 71939
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud