diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-03-12 23:36:42 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-03-12 23:36:42 +0000 |
| commit | c05006fda51658dc0a2fd551aeceaf90605bfc41 (patch) | |
| tree | 0724df77e0b9969bfa911b0bbb41533e4ccf0991 /lib/CodeGen/CGExprConstant.cpp | |
| parent | 9127425f846034f61801c8489e9f170569f82f2a (diff) | |
| download | clang-c05006fda51658dc0a2fd551aeceaf90605bfc41.tar.gz clang-c05006fda51658dc0a2fd551aeceaf90605bfc41.tar.bz2 clang-c05006fda51658dc0a2fd551aeceaf90605bfc41.tar.xz | |
Only allow streaming exactly type 'bool' to a DiagnosticBuilder, not anything
that implicitly converts to 'bool' (such as pointers, and the first operand of
?:). Clean up issues found by this. Patch by Stephan Tolksdorf!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
