diff --git a/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp b/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
index c9ddc9a461bea25bb3c12f7364fb06d8508f8c57..7c4e184296cfbb7c2b07b4392c12c92469762f60 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