Skip to content

Commit 9991b9c

Browse files
committed
remove superfluous comments.
on-behalf-of: @amd <[email protected]>
1 parent 689f95b commit 9991b9c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang-tools-extra/clang-tidy/bugprone/DefaultLambdaCaptureCheck.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ using namespace clang::ast_matchers;
1515
namespace clang::tidy::bugprone {
1616

1717
void DefaultLambdaCaptureCheck::registerMatchers(MatchFinder *Finder) {
18-
// Match any lambda expression
1918
Finder->addMatcher(lambdaExpr().bind("lambda"), this);
2019
}
2120

@@ -24,7 +23,6 @@ void DefaultLambdaCaptureCheck::check(const MatchFinder::MatchResult &Result) {
2423
if (!Lambda)
2524
return;
2625

27-
// Check if lambda has a default capture
2826
if (Lambda->getCaptureDefault() == LCD_None)
2927
return;
3028

0 commit comments

Comments
 (0)