commit | be8434a0cc0355f652d59553f8aaa3c88bfe3c94 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Apr 29 04:15:07 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Apr 29 04:15:07 2009 +0000 |
tree | 1927729fdec905d24447f0f094588d2dae0a19c0 | |
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