diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2011-05-31 05:41:42 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2011-05-31 05:41:42 +0000 |
| commit | 0683a1418b28b289eca4cb602ac69780f9e0a609 (patch) | |
| tree | 431c3a3e98c383f8123221b2ae31f02b5cca8362 /lib/CodeGen/CodeGenModule.cpp | |
| parent | 049f6d0239e242dc338be6ac6f6c5175803d2163 (diff) | |
| download | clang-0683a1418b28b289eca4cb602ac69780f9e0a609.tar.gz clang-0683a1418b28b289eca4cb602ac69780f9e0a609.tar.bz2 clang-0683a1418b28b289eca4cb602ac69780f9e0a609.tar.xz | |
Expand the coverage of the warning for constants on the RHS of logical operands:
return f() || -1;
where the user meant to write '|'.
This bootstraps without any additional warnings.
Patch by Richard Trieu.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
