================
@@ -665,12 +680,12 @@ void IgnoreDirectInit() {
 }
 
 void StdMapTestCases() {
-  for (auto p : std::unordered_map<int, int>()) {
+  for (const auto p : std::unordered_map<int, int>()) {
----------------
vbvictor wrote:

Same happens on trunk - we can't decompose unordered_map if it is not const

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

Reply via email to