Remove an unused argument from checkCorrectionVisibility.

llvm-svn: 211133
This commit is contained in:
Kaelyn Takata 2014-06-17 23:41:33 +00:00
parent 9277ff426d
commit 61df4a787e
1 changed files with 1 additions and 2 deletions

View 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;