This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] libomp: fix clang-cl build for vs2019
ClosedPublic

Authored by AndreyChurbanov on Jan 26 2021, 2:58 PM.

Details

Summary

Joseph Shen <joseph.smeng@gmail.com> reported build failure on Windows because of poor code with atomic variable.
The patch fixes 3 offending cases.
Also two formatting changes suggested by clang-format.

Diff Detail

Event Timeline

AndreyChurbanov requested review of this revision.Jan 26 2021, 2:58 PM
This revision is now accepted and ready to land.Jan 26 2021, 3:05 PM
This revision was landed with ongoing or failed builds.Jan 27 2021, 1:19 AM
This revision was automatically updated to reflect the committed changes.