]> granicus.if.org Git - clang/commit
Do not warn about empty format strings when there are no data arguments. Fixes ...
authorTed Kremenek <kremenek@apple.com>
Thu, 29 Sep 2011 05:52:16 +0000 (05:52 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 29 Sep 2011 05:52:16 +0000 (05:52 +0000)
commit4cd5791f4aa6deb572979bb38c1deedbc155efe0
tree1cfded7c8c6851db997d70a0350cbb05dec84436
parente37cdc42bf7298a974dfdfa9c03ef11398e7c889
Do not warn about empty format strings when there are no data arguments.  Fixes <rdar://problem/9473155>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140777 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/Sema/format-strings.c