commit | 83cc1c620224a90e7b773d6d9f32ba84370fc1c3 | [log] [tgz] |
---|---|---|
author | Kostya Kortchinsky <kostyak@google.com> | Fri Jan 14 13:50:37 2022 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Jan 14 14:58:13 2022 -0800 |
tree | 5e2953f0aba20f285655f76bcce9c7461d4b3207 | |
parent | f5236ae73dc01beb4b7c5bdb4312b9532998f906 [diff] |
[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 GitOrigin-RevId: 636a1cfdcdb8af750a33a6dd2c5d6f84a59aa1c3