diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-29 04:15:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-29 04:15:07 +0000 |
commit | be8434a0cc0355f652d59553f8aaa3c88bfe3c94 (patch) | |
tree | 1927729fdec905d24447f0f094588d2dae0a19c0 /lib/Sema/SemaChecking.cpp | |
parent | b9fc856696defc78750fdb4977c4dce34307a7f1 (diff) |
tweak warning options to be more like gcc:
1. All all variants of -Wformat*, make them imply -Wformat. GCC warns
if you use -Wformatfoo without -Wformat. We just make one imply the
other.
2. Make -Wformat-nonliteral default to off, like gcc. It is an incredible
nuisance.
3. Accept but currently ignore -Wformat-extra-args.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions