[all-commits] [llvm/llvm-project] d87191: [clang][Driver] Support -fms-volatile as equivalen...
Eli Friedman via All-commits
all-commits at lists.llvm.org
Wed Dec 13 08:36:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d87191942dc4701fafd7e87f02305711a4fd22f2
https://github.com/llvm/llvm-project/commit/d87191942dc4701fafd7e87f02305711a4fd22f2
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2023-12-13 (Wed, 13 Dec 2023)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/cl-options.c
M clang/test/Driver/clang_f_opts.c
Log Message:
-----------
[clang][Driver] Support -fms-volatile as equivalent to /volatile:ms (#74790)
The flag -fms-volatile has existed as a -cc1 flag for a while. It also
technically existed as a driver flag, but didn't do anything because it
wasn't wired up to anything in the driver.
This patch adds -fno-ms-volatile, and makes both -fms-volatile and
-fno-ms-volatile work the same way as the cl-mode flags. The defaults
are unchanged (default on for x86 in cl mode, default off otherwise).
More information about the All-commits
mailing list