forked from OSchip/llvm-project
Replace a loop with the call that does the same thing.
llvm-svn: 257014
This commit is contained in:
parent
152ac7ad70
commit
5d1caa5bf3
|
@ -6058,8 +6058,7 @@ void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
// doesn't handle that so rather than warning about unused flags that are
|
||||
// actually used, we'll lie by omission instead.
|
||||
// FIXME: Stop lying and consume only the appropriate driver flags
|
||||
for (const Arg *A : Args.filtered(options::OPT_W_Group))
|
||||
A->claim();
|
||||
Args.ClaimAllArgs(options::OPT_W_Group);
|
||||
|
||||
CollectArgsForIntegratedAssembler(C, Args, CmdArgs,
|
||||
getToolChain().getDriver());
|
||||
|
|
Loading…
Reference in New Issue