[clang-cl] Add _M_FP_* #defines for floating point modes
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 21 Aug 2022 20:03:22 +0000 (20:03 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 22 Aug 2022 20:04:35 +0000 (20:04 +0000)
commit0bf525bf902e3cd2072ddac82069f28e6d01fdc5
tree685b24d893c2c8e1845647fc84f3379e10e52623
parent491a5c9570e2a6caf0f077f333631d69762d3742
[clang-cl] Add _M_FP_* #defines for floating point modes

This keeps clang compatible with MSVC defines for the FP environment.
These defines are used by the CRT and other libraries to interrogate
what to expect. Perhaps most importantly, they feed into the definition
of float_t and double_t which may result in ODR violations between MSVC
and clang.
clang/lib/Basic/Targets/OSTargets.cpp