Revert clang-tidy fixes for readability-simplify-boolean-expr and add NOLINT
authorArjun P <arjunpitchanathan@gmail.com>
Wed, 29 Jun 2022 11:21:48 +0000 (12:21 +0100)
committerArjun P <arjunpitchanathan@gmail.com>
Wed, 29 Jun 2022 11:23:35 +0000 (12:23 +0100)
commit7236e5de5475902459038a700a4f095349c51228
treedbfb0ba5f2605b425a1780a074bbf2055a7e2954
parent66a16b2848b434e937d658f15fc1849650f52185
Revert clang-tidy fixes for readability-simplify-boolean-expr and add NOLINT

The original code is more readable because the goal is to check if the given
value does *not* lie in the range. It is harder to understand this by
reading the rewritten code.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D128753
mlir/lib/Analysis/Presburger/Utils.cpp