[clang] [Frontend] Move -mllvm and loading of plugins to address a fixme. NFC (PR #192476)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 17 05:39:27 PDT 2026
================
@@ -418,6 +418,8 @@ void dependencies::initializeScanCompilerInstance(
DiagnosticConsumer *DiagConsumer, DependencyScanningService &Service,
IntrusiveRefCntPtr<DependencyScanningWorkerFilesystem> DepFS) {
ScanInstance.setBuildingModule(false);
+ // LLVM options are not going to affect dependency scanning.
+ ScanInstance.getFrontendOpts().LLVMArgs.clear();
----------------
AaronBallman wrote:
Is this always true? e.g., do we need the dependency scanner to look for things which may be part of the source but not passed to the compiler frontend, like Windows resource files (.rc)?
https://github.com/llvm/llvm-project/pull/192476
More information about the cfe-commits
mailing list