[all-commits] [llvm/llvm-project] 2c923b: [clang-cl] Expose the /volatile:{iso, ms} choice vi...
David Majnemer via All-commits
all-commits at lists.llvm.org
Tue Aug 23 07:31:23 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2c923b88631cda41cbddf58a13ccfb5c04a2fc3c
https://github.com/llvm/llvm-project/commit/2c923b88631cda41cbddf58a13ccfb5c04a2fc3c
Author: David Majnemer <david.majnemer at gmail.com>
Date: 2022-08-23 (Tue, 23 Aug 2022)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/OSTargets.cpp
M clang/lib/CodeGen/CGAtomic.cpp
M clang/test/Preprocessor/predefined-win-macros.c
Log Message:
-----------
[clang-cl] Expose the /volatile:{iso,ms} choice via _ISO_VOLATILE
MSVC allows interpreting volatile loads and stores, when combined with
/volatile:iso, as having acquire/release semantics. MSVC also exposes a
define, _ISO_VOLATILE, which allows users to enquire if this feature is
enabled or disabled.
More information about the All-commits
mailing list