r244390 - [analyzer] Fixup to r244389 to make this build on windows.

Anna Zaks via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 7 19:26:07 PDT 2015


Author: zaks
Date: Fri Aug  7 21:26:07 2015
New Revision: 244390

URL: http://llvm.org/viewvc/llvm-project?rev=244390&view=rev
Log:
[analyzer] Fixup to r244389 to make this build on windows.

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=244390&r1=244389&r2=244390&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp Fri Aug  7 21:26:07 2015
@@ -123,7 +123,7 @@ void NonLocalizedStringChecker::initUIMe
                {"UIAlertController",
                 {{"alertControllerWithTitle:message:preferredStyle:", 1}}},
                {"NSAttributedString",
-                {{"initWithString:", 0}, {"initWithString:attributes:", 0}}}};
+                {{"initWithString:", 0}}}};
 }
 
 /// Initializes a list of methods and C functions that return a localized string




More information about the cfe-commits mailing list