[PATCH] D24933: Enable configuration files in clang
Hal Finkel via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 20 00:58:11 PST 2016
hfinkel added a comment.
What happens with unused arguments in the configuration files? This feature looks potentially useful for me, but only if it suppresses unused-argument warnings. For example, if I put
-L/usr/local/lib -stdlib=libc++
into a configuration file, I can't have these:
clang-4.0: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
clang-4.0: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
pop up when compiling all over the place.
https://reviews.llvm.org/D24933
More information about the cfe-commits
mailing list