projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79f4585
)
[clang-tidy][NFC] Add missing argument comment to LexerUtils.cpp
author
Piotr Zegar
<me@piotrzegar.pl>
Thu, 22 Jun 2023 08:02:20 +0000
(08:02 +0000)
committer
Piotr Zegar
<me@piotrzegar.pl>
Thu, 22 Jun 2023 09:12:40 +0000
(09:12 +0000)
D148697 post commit review change.
clang-tools-extra/clang-tidy/utils/LexerUtils.cpp
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clang-tidy/utils/LexerUtils.cpp
b/clang-tools-extra/clang-tidy/utils/LexerUtils.cpp
index
218cf2f
..
95e0255
100644
(file)
--- a/
clang-tools-extra/clang-tidy/utils/LexerUtils.cpp
+++ b/
clang-tools-extra/clang-tidy/utils/LexerUtils.cpp
@@
-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 {};
}