[clang-tidy][NFC] Add missing argument comment to LexerUtils.cpp

D148697 post commit review change.
This commit is contained in:
Piotr Zegar 2023-06-22 08:02:20 +00:00
parent 79f45856e9
commit 3889c8214d

View File

@ -269,8 +269,9 @@ SourceLocation getLocationForNoexceptSpecifier(const FunctionDecl *FuncDecl,
const SourceLocation NoexceptLoc =
FuncDecl->getParamDecl(FuncDecl->getNumParams() - 1)->getEndLoc();
if (NoexceptLoc.isValid())
return Lexer::findLocationAfterToken(NoexceptLoc, tok::r_paren, SM,
LangOpts, true);
return Lexer::findLocationAfterToken(
NoexceptLoc, tok::r_paren, SM, LangOpts,
/*SkipTrailingWhitespaceAndNewLine=*/true);
return {};
}