[PATCH] D11572: [Static Analyzer] Checker for OS X / iOS localizability issues

Kulpreet Chilana kulpreet at apple.com
Tue Jul 28 13:28:01 PDT 2015


kulpreet created this revision.
kulpreet added a subscriber: cfe-commits.

This is the basis for a set of checks to detect code-level localizability issues for OS X / iOS including:

1) A checker that warns about uses of non-localized NSStrings passed to UI methods expecting localized strings
2) A syntax checker that warns against not including a comment in NSLocalizedString macros.

http://reviews.llvm.org/D11572

Files:
  lib/StaticAnalyzer/Checkers/CMakeLists.txt
  lib/StaticAnalyzer/Checkers/Checkers.td
  lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
  test/Analysis/localization-aggressive.m
  test/Analysis/localization.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11572.30849.patch
Type: text/x-patch
Size: 32532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150728/06418797/attachment.bin>


More information about the cfe-commits mailing list