From: Anna Zaks Date: Sat, 8 Aug 2015 04:52:59 +0000 (+0000) Subject: Revert "[analyzer] Fixup to r244389 to make this build on windows." X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=319934e338bec759137b66997c16f44404b341d8;p=clang Revert "[analyzer] Fixup to r244389 to make this build on windows." This reverts commit 57a46a75b408245cf4154a838fe13ad702065745. Revert all localization checker commits until the proper fix is implemented. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244393 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp b/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp index c9ddc9a461..7c4e184296 100644 --- a/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp @@ -123,7 +123,7 @@ void NonLocalizedStringChecker::initUIMethods(ASTContext &Ctx) const { {"UIAlertController", {{"alertControllerWithTitle:message:preferredStyle:", 1}}}, {"NSAttributedString", - {{"initWithString:", 0}}}}; + {{"initWithString:", 0}, {"initWithString:attributes:", 0}}}}; } /// Initializes a list of methods and C functions that return a localized string