]> granicus.if.org Git - clang/commit
Inhibit ObjC format warning only in system headers (NSLocalizedString).
authorJean-Daniel Dupas <devlists@shadowlab.org>
Fri, 4 May 2012 21:08:08 +0000 (21:08 +0000)
committerJean-Daniel Dupas <devlists@shadowlab.org>
Fri, 4 May 2012 21:08:08 +0000 (21:08 +0000)
commitdc1702001964c3314f7090e6a4af889b5771d884
treeb9a7a9e1f35f3023e54cb549737efee8738feb6a
parent46484770fe264fba24f7a9f608a3b7c3342690aa
Inhibit ObjC format warning only in system headers (NSLocalizedString).
Add a test case for the related NSAssert workaround.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156205 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/SemaObjC/format-strings-objc.m
test/SemaObjC/format-strings-system.h [new file with mode: 0644]