r244393 - Revert "[analyzer] Fixup to r244389 to make this build on windows."

Anna Zaks via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 7 21:52:59 PDT 2015


Author: zaks
Date: Fri Aug  7 23:52:59 2015
New Revision: 244393

URL: http://llvm.org/viewvc/llvm-project?rev=244393&view=rev
Log:
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.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp?rev=244393&r1=244392&r2=244393&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp Fri Aug  7 23:52:59 2015
@@ -123,7 +123,7 @@ void NonLocalizedStringChecker::initUIMe
                {"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




More information about the cfe-commits mailing list