mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 03:00:31 +00:00
Remove empty lambda parameter lists (#7760)
clang-tidy 24 warns about these being redundant
This commit is contained in:
1 parent
52e28c02c3
commit
eca38a90e1
2 files changed
+2
-2
No files matched your search
@@ -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