[PATCH] D98297: [NFC] Fix a compiler warning
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 10 13:30:44 PST 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG49942c6d4a0a: [NFC] Fix a compiler warning (authored by qcolombet).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98297/new/
https://reviews.llvm.org/D98297
Files:
llvm/include/llvm/ADT/SetOperations.h
Index: llvm/include/llvm/ADT/SetOperations.h
===================================================================
--- llvm/include/llvm/ADT/SetOperations.h
+++ llvm/include/llvm/ADT/SetOperations.h
@@ -71,7 +71,7 @@
bool set_is_subset(const S1Ty &S1, const S2Ty &S2) {
if (S1.size() > S2.size())
return false;
- for (const auto &It : S1)
+ for (const auto It : S1)
if (!S2.count(It))
return false;
return true;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98297.329760.patch
Type: text/x-patch
Size: 436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210310/8b9b7326/attachment.bin>
More information about the llvm-commits
mailing list