================
@@ -696,7 +982,7 @@ renameOutsideFile(const NamedDecl &RenameDecl, 
llvm::StringRef MainFilePath,
                    FilePath);
     }
     auto RenameEdit =
-        buildRenameEdit(FilePath, AffectedFileCode, *RenameRanges, NewName);
+        buildRenameEdit(FilePath, AffectedFileCode, *RenameRanges, NewNames);
----------------
kadircet wrote:

as discussed yesterday, i was suggesting to move:
```
llvm::SmallVector<llvm::StringRef, 8> NewNames;
NewName.split(NewNames, ":");
```

from lines 928/936 to right before this call to `buildRenameEdit`

https://github.com/llvm/llvm-project/pull/76466
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to