diff options
author | Devin Coughlin <dcoughlin@apple.com> | 2015-09-23 21:43:21 +0000 |
---|---|---|
committer | Devin Coughlin <dcoughlin@apple.com> | 2015-09-23 21:43:21 +0000 |
commit | 9f21f68bfeedd25af8be00722b47e9d5dca9de8a (patch) | |
tree | d8b328ccc5a7820bfcfb7f3db03795f5cea592a5 /clang/lib/Sema/SemaDecl.cpp | |
parent | d784e6893cfbdd24b4f701e486adbab9906d4b27 (diff) | |
download | bcm5719-llvm-9f21f68bfeedd25af8be00722b47e9d5dca9de8a.tar.gz bcm5719-llvm-9f21f68bfeedd25af8be00722b47e9d5dca9de8a.zip |
[analyzer] Improve localizability checks for iOS / OS X.
Various improvements to the localization checker:
* Adjusted copy to be consistent with diagnostic text in other Apple
API checkers.
* Added in ~150 UIKit / AppKit methods that require localized strings in
UnlocalizedStringsChecker.
* UnlocalizedStringChecker now checks for UI methods up the class hierarchy and
UI methods that conform for a certain Objective-C protocol.
* Added in alpha version of PluralMisuseChecker and some regression tests. False
positives are still not ideal.
(This is the second attempt, with the memory issues on Linux resolved.)
A patch by Kulpreet Chilana!
Differential Revision: http://reviews.llvm.org/D12417
llvm-svn: 248432
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions