forked from OSchip/llvm-project
[clang][NFC] Remove unused parameter from ActOnCXXNestedNameSpecifier
This commit is contained in:
parent
87a2dba14e
commit
bce55d0690
|
@ -6746,7 +6746,6 @@ public:
|
|||
NestedNameSpecInfo &IdInfo,
|
||||
bool EnteringContext,
|
||||
CXXScopeSpec &SS,
|
||||
bool ErrorRecoveryLookup = false,
|
||||
bool *IsCorrectedToColon = nullptr,
|
||||
bool OnlyNamespace = false);
|
||||
|
||||
|
|
|
@ -453,8 +453,8 @@ bool Parser::ParseOptionalCXXScopeSpecifier(
|
|||
bool IsCorrectedToColon = false;
|
||||
bool *CorrectionFlagPtr = ColonIsSacred ? &IsCorrectedToColon : nullptr;
|
||||
if (Actions.ActOnCXXNestedNameSpecifier(
|
||||
getCurScope(), IdInfo, EnteringContext, SS, false,
|
||||
CorrectionFlagPtr, OnlyNamespace)) {
|
||||
getCurScope(), IdInfo, EnteringContext, SS, CorrectionFlagPtr,
|
||||
OnlyNamespace)) {
|
||||
// Identifier is not recognized as a nested name, but we can have
|
||||
// mistyped '::' instead of ':'.
|
||||
if (CorrectionFlagPtr && IsCorrectedToColon) {
|
||||
|
|
|
@ -850,7 +850,6 @@ bool Sema::BuildCXXNestedNameSpecifier(Scope *S, NestedNameSpecInfo &IdInfo,
|
|||
|
||||
bool Sema::ActOnCXXNestedNameSpecifier(Scope *S, NestedNameSpecInfo &IdInfo,
|
||||
bool EnteringContext, CXXScopeSpec &SS,
|
||||
bool ErrorRecoveryLookup,
|
||||
bool *IsCorrectedToColon,
|
||||
bool OnlyNamespace) {
|
||||
if (SS.isInvalid())
|
||||
|
|
Loading…
Reference in New Issue