https://github.com/HerrCai0907 closed
https://github.com/llvm/llvm-project/pull/91757
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HerrCai0907 updated
https://github.com/llvm/llvm-project/pull/91757
>From e23675eae31ed9c3cc4bbf31d3bc43b492ef5eac Mon Sep 17 00:00:00 2001
From: Congcong Cai
Date: Thu, 9 May 2024 00:51:58 +0800
Subject: [PATCH 1/2] [clang-tidy] avoid false postive when ignore macro
Fixes:
@@ -513,17 +513,25 @@ class SimplifyBooleanExprCheck::Visitor : public
RecursiveASTVisitor {
return true;
}
- static bool isUnaryLNot(const Expr *E) {
-return isa(E) &&
+ static bool isExpectedUnaryLNot(SimplifyBooleanExprCheck *Check,
+
https://github.com/PiotrZSL approved this pull request.
Just nits.
https://github.com/llvm/llvm-project/pull/91757
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/PiotrZSL edited
https://github.com/llvm/llvm-project/pull/91757
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -357,6 +357,9 @@ Changes in existing checks
support calls to overloaded operators as base expression and provide fixes to
expressions with side-effects.
+- Improved
:doc:`readability-simplify-boolean-expr`
PiotrZSL wrote:
split into 2 lines
https://github.com/HerrCai0907 updated
https://github.com/llvm/llvm-project/pull/91757
>From e23675eae31ed9c3cc4bbf31d3bc43b492ef5eac Mon Sep 17 00:00:00 2001
From: Congcong Cai
Date: Thu, 9 May 2024 00:51:58 +0800
Subject: [PATCH] [clang-tidy] avoid false postive when ignore macro
Fixes:
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/91757
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits