mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 20:11:12 +01:00
Remove empty lambda parameter lists (#7760)
clang-tidy 24 warns about these being redundant
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user