diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-20 00:27:40 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-20 00:27:40 +0000 |
| commit | 8adf837adc65b55a3f74643c02c1ee077dc26f06 (patch) | |
| tree | 0238bbdbcc86036f3d277175ed08fd79d528a9c3 /lib/CodeGen/CGExprConstant.cpp | |
| parent | 152b7d82252b57763f4222fb4e3d0a4ed9937e76 (diff) | |
| download | clang-8adf837adc65b55a3f74643c02c1ee077dc26f06.tar.gz clang-8adf837adc65b55a3f74643c02c1ee077dc26f06.tar.bz2 clang-8adf837adc65b55a3f74643c02c1ee077dc26f06.tar.xz | |
PR17290: Use 'false' macro in fix-it hint for initializing a variable of type
_Bool in C, if the macro is defined. Also teach FixItUtils to look at whether
the macro was defined at the source location for which it is creating a fixit,
rather than looking at whether it's defined *now*. This is especially relevant
for analysis-based warnings which are delayed until end of TU.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
