]> granicus.if.org Git - clang/commit
Silence the driver warnings, if we see "-w" on the Driver.
authorFilipe Cabecinhas <me@filcab.net>
Sat, 18 Jul 2015 06:35:24 +0000 (06:35 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Sat, 18 Jul 2015 06:35:24 +0000 (06:35 +0000)
commit9fdf093bc9a22a498bbb7ed95ff8099ed6350e00
tree1583ccfd5fe8eea6e85590a8cfdb3244cbde9810
parente218034adf7d2b413e2a52d75afc4a2e3af380ee
Silence the driver warnings, if we see "-w" on the Driver.

Summary:
We can enable warnings after that -w, so the patch might not be 100%
correct.

The problem that triggered this is: we have some amount of tests that
expect 0 warnings (including unit tests for -w), but -w ends up not fully
silencing everything.

Reviewers: echristo, chandlerc

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D11322

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242606 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
test/Index/warning-flags.c