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 e9e0f9a commit b2c3cc2Copy full SHA for b2c3cc2
clang-tools-extra/clang-tidy/readability/AvoidDefaultLambdaCaptureCheck.cpp
@@ -13,7 +13,6 @@
13
14
using namespace clang::tidy::readability;
15
16
-namespace {
17
static std::optional<std::string>
18
generateImplicitCaptureText(const clang::LambdaCapture &Capture) {
19
if (Capture.capturesThis()) {
@@ -38,8 +37,6 @@ generateImplicitCaptureText(const clang::LambdaCapture &Capture) {
38
37
return std::nullopt;
39
}
40
41
-} // namespace
42
-
43
void AvoidDefaultLambdaCaptureCheck::registerMatchers(
44
clang::ast_matchers::MatchFinder *Finder) {
45
Finder->addMatcher(
0 commit comments