mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
Remove empty lambda parameter lists (#7760)
clang-tidy 24 warns about these being redundant
This commit is contained in:
@@ -108,7 +108,7 @@ static auto AddNamespace(Context& context, PackageNameId cpp_package_id,
|
||||
SemIR::NameId::ForPackageName(cpp_package_id),
|
||||
SemIR::NameScopeId::Package,
|
||||
/*diagnose_duplicate_namespace=*/false,
|
||||
[&]() {
|
||||
[&] {
|
||||
return AddInst<SemIR::ImportCppDecl>(
|
||||
context,
|
||||
context.parse_tree().As<Parse::ImportDeclId>(
|
||||
|
||||
Reference in New Issue
Block a user