================
@@ -187,7 +188,7 @@ class ErrorReporter {
       }
       reportFix(Diag, Error.Message.Fix);
     }
-    for (auto Fix : FixLocations) {
+    for (const auto Fix : FixLocations) {
----------------
vbvictor wrote:

Hm, it seem that upstream llvm isn't typically built with this diagnostic 
enabled. Feel free to post PR with const auto&, or I will do it some time 
today. 

https://github.com/llvm/llvm-project/pull/213839
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to