diff options
| author | Richard Trieu <rtrieu@google.com> | 2014-01-25 01:10:35 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2014-01-25 01:10:35 +0000 |
| commit | c8a38fbc6ba95fd9bd47550b0a162e71451b20b9 (patch) | |
| tree | 09f81d7d844a2fb27cc4fddb76dbe1e56f1713bc /lib/CodeGen/CGExpr.cpp | |
| parent | 0d05ab46c656ba334bdded25ff100aa083ceee99 (diff) | |
| download | clang-c8a38fbc6ba95fd9bd47550b0a162e71451b20b9.tar.gz clang-c8a38fbc6ba95fd9bd47550b0a162e71451b20b9.tar.bz2 clang-c8a38fbc6ba95fd9bd47550b0a162e71451b20b9.tar.xz | |
Broaden -Wstring-conversion to catch string literals in logical or expressions.
Previously, string literals were ignored in all logical expressions. This
reduces it to only ignore in logical and expressions.
assert(0 && "error"); // No warning
assert(0 || "error"); // Warn
Fixes PR17565
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
