diff options
author | Cyndy Ishida <cyndy_ishida@apple.com> | 2025-07-25 13:17:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-25 13:17:09 -0700 |
commit | 5ebdfe386e3bb9f959719f76a9ad689f843c2164 (patch) | |
tree | 48686f6a1cabe754846278f119e3c8d50e7702d7 /llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp | |
parent | 3e1392fb4b6afa4e1b212d04fb4881656d846736 (diff) | |
download | llvm-5ebdfe386e3bb9f959719f76a9ad689f843c2164.zip llvm-5ebdfe386e3bb9f959719f76a9ad689f843c2164.tar.gz llvm-5ebdfe386e3bb9f959719f76a9ad689f843c2164.tar.bz2 |
[clang][Modules] Respect -fno-cxx-modules as a driver flag (#150349)
The mentioned flag is already both a cc1 & driver flag; however, whether
it is respected was tied to either:
1. Whether it was passed as a cc1 option (`Xclang`)
2. or `-fmodules` accompanying it
This poses a consistency problem where `std=c++20` enables the modules
feature, independent of other module settings.
This patch resolves this issue by checking for the presence
unconditionally & passing it down to cc1 when applicable.
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions