In https://reviews.llvm.org/D114576 I am trying to add an unconditional define to the MSVC cc1 driver which sadly then leads to a test failure in cppcoreguidelines-macro-usage-command-line-macros.cpp with MSVC builds.
The solution is a bit hacky IMO, but there seems to already be a similar workaround for __GCC_HAVE_DWARF2_CFI_ASM. I don't know of any way to differentiate between defines passed on the CLI by users, and ones set by the driver, so this will have to do for now.
Can that macro be defined elsewhere so this check fires instead of having to special-case the macro here?