[Clang][DependencyScanner] Remove secondary actions from -cc1
authorMichael Spencer <bigcheesegs@gmail.com>
Wed, 1 Feb 2023 01:52:51 +0000 (17:52 -0800)
committerMichael Spencer <bigcheesegs@gmail.com>
Wed, 1 Feb 2023 23:17:32 +0000 (15:17 -0800)
commitffa2a647c6a9dd2fab13a5e1bd4832b5b200d908
treedf161746af8409ff80965cb605a9916327381a20
parent7e566a3d11172e2afb5e2bc054075711449a314d
[Clang][DependencyScanner] Remove secondary actions from -cc1

The -arcmt-action= and -objcmt-migrate* actions were being passed to
module builds. This caused these builds to fail, as they are secondary
actions that suppress emitting modules.

Differential Revision: https://reviews.llvm.org/D143040
clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
clang/test/ClangScanDeps/strip-input-args.m [new file with mode: 0644]