commit | b2400000cc7ef9254738b1cfe873817f0c67a830 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Thu Nov 03 16:39:25 2016 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Thu Nov 03 16:39:25 2016 +0000 |
tree | 2de38c9f431f5ffcba70038e43b2199243ceb49f | |
parent | e91b7e8657280fffb0f2e156857a552ee09acf45 [diff] |
Fix a bug found by inspection by PVS-Studio. This condition is trivially always true prior to the change. The comment at the call site makes it clear that we expect *all* of these to be '=', 'S', or 'I' so fix the code. We have a bug I will update to track the fact that Clang doesn't warn on this: http://llvm.org/PR13101 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285930 91177308-0d34-0410-b5e6-96231b3b80d8