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

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Wed May 6 07:23:41 PDT 2026


================
@@ -15,12 +15,13 @@
 #include <forward_list>
 #include <list>
 #include <map>
+#include <memory>
 #include <set>
 #include <string>
+#include <tuple>
----------------
vbvictor wrote:

It's defined here https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/tuple#L70, we should always use all mocks

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


More information about the cfe-commits mailing list