diff options
author | Bob Wilson <bob.wilson@apple.com> | 2012-05-03 19:47:19 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2012-05-03 19:47:19 +0000 |
commit | c03f2df2a2b097bf2686bf32411d5022323988b2 (patch) | |
tree | d7777ba8b50ed94596fff9ce5e6522b653ac05e1 /lib/Frontend/ASTMerge.cpp | |
parent | 3bb2994a7de3679fb825f3a36f3dc11ea1daf6a6 (diff) |
Disable -Wformat-extra-args for arguments defined in system headers.
Some of the NSAssert macros in OS X 10.7 are implemented in a way that
adds extra arguments that trigger the -Wformat-extra-args warning.
Earlier versions of clang failed to detect those -Wformat issues, but now
that clang is reporting those problems, we need to quiet them since there's
nothing to be done to fix them. <rdar://problem/11317765>
I don't know how to write a testcase for this. Suggestions welcome.
Patch by Ted Kremenek!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions