aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2014-02-20 22:19:24 +0000
committerEli Bendersky <eliben@google.com>2014-02-20 22:19:24 +0000
commit7da92ed8794185c1b101c42e9d9e809a94abfbcb (patch)
treeaa36326e92da80691f84dcc6f06ea430c460144c /clang/lib/Frontend/CompilerInvocation.cpp
parentc8130a74f498c5ca3d1d6276df392bae337cf221 (diff)
downloadllvm-7da92ed8794185c1b101c42e9d9e809a94abfbcb.zip
llvm-7da92ed8794185c1b101c42e9d9e809a94abfbcb.tar.gz
llvm-7da92ed8794185c1b101c42e9d9e809a94abfbcb.tar.bz2
Set the SuppressWarnings option on tool level and propagate to the library.
The SuppressWarnings flag, unfortunately, isn't very useful for custom tools that want to use the LLVM module linker. So I'm changing it to a parameter of the Linker, and the flag itself moves to the llvm-link tool. For the time being as SuppressWarnings is pretty much the only "option" it seems reasonable to propagate it to Linker objects. If we end up with more options in the future, some sort of "struct collecting options" may be a better idea. llvm-svn: 201819
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions