diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-03-23 19:45:40 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-03-23 19:45:40 +0000 |
commit | 4f75c097b05b8eaf704ed679b18d5a54f2e63476 (patch) | |
tree | 8f3c20d2a8471682027531b7ff4abacc61a8df9f /llvm/lib/IR/Instructions.cpp | |
parent | 60f0aa8a42e1414af752cba5531254d449d238c0 (diff) | |
download | bcm5719-llvm-4f75c097b05b8eaf704ed679b18d5a54f2e63476.tar.gz bcm5719-llvm-4f75c097b05b8eaf704ed679b18d5a54f2e63476.zip |
Refactor: Simplify boolean expressions in llvm Support
Simplify boolean expressions using `true` and `false` with `clang-tidy`
Patch by Richard Thomson - I dropped the parens and != 0 test, for
consistency with other patches/tests like this, but I'm open to the
notion that we should add the explicit non-zero test in all these sort
of cases (non-bool assigned to a bool).
Differential Revision: http://reviews.llvm.org/D8526
llvm-svn: 233004
Diffstat (limited to 'llvm/lib/IR/Instructions.cpp')
0 files changed, 0 insertions, 0 deletions