[clang] [clang-tools-extra] [clang-tidy] Improve performance of misc-const-correctness (PR #72705)
Congcong Cai via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 11 07:54:53 PST 2023
================
@@ -15,6 +15,76 @@
namespace clang {
using namespace ast_matchers;
+static bool canResolveToExprImpl(const Expr *Node, const Expr *Target) {
----------------
HerrCai0907 wrote:
This function is hard to understand because it used matcher style naming but logic operator style code.
https://github.com/llvm/llvm-project/pull/72705
More information about the cfe-commits
mailing list