[Driver] Don't warn about unused inputs in config files
authorMartin Storsjo <martin@martin.st>
Fri, 4 May 2018 06:05:58 +0000 (06:05 +0000)
committerMartin Storsjo <martin@martin.st>
Fri, 4 May 2018 06:05:58 +0000 (06:05 +0000)
commit665c7a44798435daa239984db552d9941e8dbdc3
tree688a4a1ba877686d35b3a527adf3e84b9d7f2b5e
parentf0a6927932f654cfcae7080795d3ddde8b6a6ea0
[Driver] Don't warn about unused inputs in config files

This avoids warnings about unused linker parameters, just like
other flags are ignored if they're from config files.

Differential Revision: https://reviews.llvm.org/D46286

llvm-svn: 331504
clang/lib/Driver/Driver.cpp
clang/test/Driver/Inputs/config-4.cfg
clang/test/Driver/config-file.c