Ver Fonte

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
Anna Zaks há 10 anos atrás
pai
commit
319934e338
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp

+ 1 - 1
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