[clang-tools-extra] [clang-tidy] Fix false positive in bugprone-use-after-move for std::tie (PR #192895)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 19 22:38:55 PDT 2026


================
@@ -1789,4 +1789,43 @@ void Run() {
   RegularReset(db6);
   db6.Query();
 }
+
+// Tests for std::tie() reinitialization.
+namespace std {
----------------
zeyi2 wrote:

Could we directly `#include <tuple>` instead of manual mocking?

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


More information about the cfe-commits mailing list