forked from OSchip/llvm-project
Remove an unused argument from checkCorrectionVisibility.
llvm-svn: 211133
This commit is contained in:
parent
9277ff426d
commit
61df4a787e
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue