[clang-tools-extra] [clang-tidy] Fix modernize-loop-convert by introducing space (PR #202015)

Gaurav Dhingra via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 7 05:36:10 PDT 2026


================
@@ -698,11 +698,32 @@ void LoopConvertCheck::doConversion(
       std::string ReplaceText;
       SourceRange Range = Usage.Range;
       if (Usage.Expression) {
+        // Decide whether `ReplaceText` needs to be pre-appended with a space
----------------
gxyd wrote:

I've addressed this in the latest commit(s).

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


More information about the cfe-commits mailing list