commit | a7ff8d300af6c58ab2633b397d678db1febbd1ec | [log] [tgz] |
---|---|---|
author | Alex Lorenz <arphaman@gmail.com> | Thu Jan 12 10:48:03 2017 +0000 |
committer | Alex Lorenz <arphaman@gmail.com> | Fri Jan 13 17:05:22 2017 +0000 |
tree | 1d0dd3e682b60c43cd9ebd67f07897d242e8ff49 | |
parent | e12566a15173d869283184bb8ee2c9de7869c81a [diff] |
Avoid multiple -Wunreachable-code diagnostics that are triggered by the same source range and use the unary operator fixit only when it actually silences the warning. rdar://24570531 Differential Revision: https://reviews.llvm.org/D28231 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291757 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 485363ae349c4f9b038ae42921f530692994ce4b)