================
@@ -1,19 +0,0 @@
-// RUN: clang-tidy %s -checks='-*,readability-simplify-boolean-expr' --
-std=c++17 | count 0
-struct RAII {};
-bool foo(bool Cond) {
- bool Result;
-
- if (RAII Object; Cond)
- Result = true;
- else
- Result = false;
-
- if (bool X = Cond; X)
- Result = true;
- else
- Result = false;
-
- if (bool X = Cond; X)
- return true;
- return false;
-}
----------------
Anshul200677 wrote:
Thanks @vbvictor! I missed the specific documentation update. I will add that
now. Regarding the deleted tests, I have integrated the relevant cases into
simplify-boolean-expr.cpp, but I will double-check to ensure nothing was lost.
https://github.com/llvm/llvm-project/pull/172220
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits