[clang] [analyzer] MoveChecker: correct invalidation of this-regions (PR #169626)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 27 05:27:43 PST 2025


================
@@ -0,0 +1,53 @@
+// RUN: %clang_analyze_cc1 -analyzer-checker=cplusplus.Move %s -std=c++11\
+// RUN: -analyzer-output=text -verify=expected
+
+#include "Inputs/system-header-simulator-cxx.h"
+
+class C {
+  int n;
+public:
+  void meth();
----------------
steakhal wrote:

Could you please change this to a different word, like `mfn`.
Meth might be read as an abbreviation for something else.

https://github.com/llvm/llvm-project/pull/169626


More information about the cfe-commits mailing list