]> granicus.if.org Git - clang/commit
Objective-C. Under a special flag, -Wcstring-format-directive,
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 9 Sep 2014 23:10:54 +0000 (23:10 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 9 Sep 2014 23:10:54 +0000 (23:10 +0000)
commitd6d59f0664c7a2c73314117d2544f71d6eff86a4
treebe9011ed6b912c13a9eebbf9c6e1356e1f3899a8
parent4c4ef1f5430bdc65a249c8d32acc1f0f07454558
Objective-C. Under a special flag, -Wcstring-format-directive,
off by default, issue a warning if %s directive is used in
certain CF/NS formatting APIs, to assist user in deprecating
use of such %s in these APIs. rdar://18182443

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217467 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/AST/Decl.h
include/clang/Analysis/Analyses/FormatString.h
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/IdentifierTable.h
include/clang/Sema/Sema.h
lib/AST/Decl.cpp
lib/Analysis/PrintfFormatString.cpp
lib/Basic/IdentifierTable.cpp
lib/Sema/SemaChecking.cpp
lib/Sema/SemaExprObjC.cpp
test/SemaObjC/format-cstrings-warning.m [new file with mode: 0644]