Skip to content

Commit b2c3cc2

Browse files
committed
remove anonymous namespace
on-behalf-of: @amd <[email protected]>
1 parent e9e0f9a commit b2c3cc2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang-tools-extra/clang-tidy/readability/AvoidDefaultLambdaCaptureCheck.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
using namespace clang::tidy::readability;
1515

16-
namespace {
1716
static std::optional<std::string>
1817
generateImplicitCaptureText(const clang::LambdaCapture &Capture) {
1918
if (Capture.capturesThis()) {
@@ -38,8 +37,6 @@ generateImplicitCaptureText(const clang::LambdaCapture &Capture) {
3837
return std::nullopt;
3938
}
4039

41-
} // namespace
42-
4340
void AvoidDefaultLambdaCaptureCheck::registerMatchers(
4441
clang::ast_matchers::MatchFinder *Finder) {
4542
Finder->addMatcher(

0 commit comments

Comments
 (0)