[PATCH] D117359: [scudo] Make Scudo compile for C++20
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 14 14:53:58 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG636a1cfdcdb8: [scudo] Make Scudo compile for C++20 (authored by cryptoad).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117359/new/
https://reviews.llvm.org/D117359
Files:
compiler-rt/lib/scudo/standalone/tests/mutex_test.cpp
Index: compiler-rt/lib/scudo/standalone/tests/mutex_test.cpp
===================================================================
--- compiler-rt/lib/scudo/standalone/tests/mutex_test.cpp
+++ compiler-rt/lib/scudo/standalone/tests/mutex_test.cpp
@@ -43,7 +43,7 @@
void backoff() {
volatile T LocalData[Size] = {};
for (scudo::u32 I = 0; I < Size; I++) {
- LocalData[I]++;
+ LocalData[I] = LocalData[I] + 1;
EXPECT_EQ(LocalData[I], 1U);
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117359.400157.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220114/d236eb63/attachment.bin>
More information about the llvm-commits
mailing list