[clang-tools-extra] Add bugprone-loop-variable-copied-then-modified clang-tidy check. (PR #157213)
Julia Hansbrough via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 26 17:36:16 PDT 2025
================
@@ -0,0 +1,50 @@
+// RUN: %check_clang_tidy %s bugprone-loop-variable-copied-then-modified %t -- -config="{CheckOptions: {bugprone-loop-variable-copied-then-modified.IgnoreInexpensiveVariables: true}}" -- -I%S -std=c++!4
----------------
flowerhack wrote:
oh, it appears I do not! removed
https://github.com/llvm/llvm-project/pull/157213
More information about the cfe-commits
mailing list