diff options
author | Anna Zaks <ganna@apple.com> | 2015-08-08 04:52:59 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2015-08-08 04:52:59 +0000 |
commit | 08f3c1e12ac46e0ff55ed3c67c09cc2c432ea726 (patch) | |
tree | d9f7b0cb33854c217fd09d0077a71107c07d677f /clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp | |
parent | 60c994b98525a2301f1959094ee6f0da5d531805 (diff) | |
download | bcm5719-llvm-08f3c1e12ac46e0ff55ed3c67c09cc2c432ea726.tar.gz bcm5719-llvm-08f3c1e12ac46e0ff55ed3c67c09cc2c432ea726.zip |
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.
llvm-svn: 244393
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp index c9ddc9a461b..7c4e184296c 100644 --- a/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp +++ b/clang/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 |