diff options
| author | Craig Topper <craig.topper@gmail.com> | 2017-05-17 23:22:10 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2017-05-17 23:22:10 +0000 |
| commit | 48187cffe2b55d99c655ad38aeca308d02303e95 (patch) | |
| tree | ccf3f94fefa8ca5683dbf50093ce552e774f1bba /clang | |
| parent | a072d13e5467e7cb0a3d3612c525158b35f03723 (diff) | |
| download | bcm5719-llvm-48187cffe2b55d99c655ad38aeca308d02303e95.tar.gz bcm5719-llvm-48187cffe2b55d99c655ad38aeca308d02303e95.zip | |
[Statistics] Use Statistic::operator+= instead of adding and assigning separately.
I believe this technically fixes a multithreaded race condition in this code. But my primary concern was as part of looking at removing the ability to treat Statistics like a plain unsigned. There are many weird operations on Statistics in the codebase.
llvm-svn: 303314
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions

