aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-02-12 01:50:05 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-02-12 01:50:05 +0000
commit420fa12dfddc33b0d0b54666340bfa630b61b5bc (patch)
treee56b01c02b267ed63d582e87da5da4e9e77f654e /clang/lib/CodeGen/CodeGenAction.cpp
parent7a0516ea668b3ee511b3e5a4f16438189d1a78ae (diff)
downloadllvm-420fa12dfddc33b0d0b54666340bfa630b61b5bc.zip
llvm-420fa12dfddc33b0d0b54666340bfa630b61b5bc.tar.gz
llvm-420fa12dfddc33b0d0b54666340bfa630b61b5bc.tar.bz2
Improve the "braces around scalar init" warning to determine whether to warn
based on whether "redundant" braces are ever reasonable as part of the initialization of the entity, rather than whether the initialization is "top-level". In passing, add a warning flag for it. llvm-svn: 228896
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions