From 61df4a787ebcf3cbe11530c9c423140680ae1f13 Mon Sep 17 00:00:00 2001 From: Kaelyn Takata Date: Tue, 17 Jun 2014 23:41:33 +0000 Subject: [PATCH] Remove an unused argument from checkCorrectionVisibility. llvm-svn: 211133 --- clang/lib/Sema/SemaLookup.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp index ac1aeb6..788ca87 100644 --- a/clang/lib/Sema/SemaLookup.cpp +++ b/clang/lib/Sema/SemaLookup.cpp @@ -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; -- 2.7.4