commit | ba9c5471095e838342c7e376e6f6b8d65f82d3a9 | [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:12 2022 -0800 |
tree | b4dab0fa0369f369d1ef5c3c5ef71c8bc7cd2dd8 | |
parent | 4a697ab595555133eccfb14b8fd23c285280ebf5 [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