Remove an unused argument from checkCorrectionVisibility.
authorKaelyn Takata <rikka@google.com>
Tue, 17 Jun 2014 23:41:33 +0000 (23:41 +0000)
committerKaelyn Takata <rikka@google.com>
Tue, 17 Jun 2014 23:41:33 +0000 (23:41 +0000)
llvm-svn: 211133

clang/lib/Sema/SemaLookup.cpp

index ac1aeb6..788ca87 100644 (file)
@@ -4085,8 +4085,7 @@ static void AddKeywordsToConsumer(Sema &SemaRef,
 /// \brief Check whether the declarations found for a typo correction are
 /// visible, and if none of them are, convert the correction to an 'import
 /// a module' correction.
-static void checkCorrectionVisibility(Sema &SemaRef, TypoCorrection &TC,
-                                      DeclarationName TypoName) {
+static void checkCorrectionVisibility(Sema &SemaRef, TypoCorrection &TC) {
   if (TC.begin() == TC.end())
     return;