We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31366e6 commit 70df9dfCopy full SHA for 70df9df
clang-tools-extra/clang-tidy/bugprone/DefaultLambdaCaptureCheck.cpp
@@ -28,7 +28,7 @@ void DefaultLambdaCaptureCheck::check(const MatchFinder::MatchResult &Result) {
28
const auto *Lambda = Result.Nodes.getNodeAs<LambdaExpr>("lambda");
29
assert(Lambda);
30
31
- SourceLocation DefaultCaptureLoc = Lambda->getCaptureDefaultLoc();
+ const SourceLocation DefaultCaptureLoc = Lambda->getCaptureDefaultLoc();
32
if (DefaultCaptureLoc.isInvalid())
33
return;
34
0 commit comments