Remove empty lambda parameter lists (#7760)

clang-tidy 24 warns about these being redundant
This commit is contained in:
Dana Jansens
2026-09-10 20:10:36 +00:00
committed by GitHub
parent 52e28c02c3
commit eca38a90e1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -942,7 +942,7 @@ auto InitializeCppDomain(
// Ensure any diagnostics emitted in this function are flushed before we
// return.
auto on_exit =
llvm::scope_exit([&]() { FlushDiagnosticConsumer(*diags->getClient()); });
llvm::scope_exit([&] { FlushDiagnosticConsumer(*diags->getClient()); });
// Extract the input from the frontend invocation and make sure it makes
// sense.