]> granicus.if.org Git - clang/commit
It appears that technically a null format string is not warned under -Wformat-nonlite...
authorTed Kremenek <kremenek@apple.com>
Thu, 9 Sep 2010 03:51:42 +0000 (03:51 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 9 Sep 2010 03:51:42 +0000 (03:51 +0000)
commit95355bb53ef3145e463b98c6fd26f8f95e26e26c
tree62081976089bfe6aa9ba54b7781522d2c3c76e76
parent4fe6441a558e471f2ad3c6bddf07c77332539f6b
It appears that technically a null format string is not warned under -Wformat-nonliteral, as
the function processing the format string can decided whether or not to accept a null format string (e.g., asl_log).  Fixes <rdar://problem/8269537>.

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