Replace a loop with the call that does the same thing.

llvm-svn: 257014
This commit is contained in:
Eric Christopher 2016-01-07 02:00:55 +00:00
parent 152ac7ad70
commit 5d1caa5bf3
1 changed files with 1 additions and 2 deletions

View File

@ -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());