]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211133 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaLookup.cpp

index ac1aeb6b48728b7bb8793024f48527fe26a815a1..788ca87c4e076e990d36cf526a7a247b1734c88b 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;