[all-commits] [llvm/llvm-project] 636a1c: [scudo] Make Scudo compile for C++20
Kostya Kortchinsky via All-commits
all-commits at lists.llvm.org
Fri Jan 14 14:53:59 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 636a1cfdcdb8af750a33a6dd2c5d6f84a59aa1c3
https://github.com/llvm/llvm-project/commit/636a1cfdcdb8af750a33a6dd2c5d6f84a59aa1c3
Author: Kostya Kortchinsky <kostyak at google.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M compiler-rt/lib/scudo/standalone/tests/mutex_test.cpp
Log Message:
-----------
[scudo] Make Scudo compile for C++20
In C++20 compound assignment to volatile (here `LocalData[I]++`) is
deprecated, so `mutex_test.cpp` fails to compile.
Simply changing it to `LocalData[I] = LocalData[I] + 1` fixes it.
Differential Revision: https://reviews.llvm.org/D117359
More information about the All-commits
mailing list