mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-20 13:36:41 +00:00
clang-tidy cleanup (#2774)
running clang-tidy locally got a bunch of warning. I have ignored `bugprone-unchecked-optional-access` for now, because there are large number of occurrences.
This commit is contained in:
1 parent
3cab211489
commit
951cac9607
4 files changed
+7
-11
No files matched your search
@@ -64,7 +64,7 @@ class CloneContext::CloneValueTransform
|
||||
// A FunctionType may or may not own its bindings.
|
||||
auto operator()(Nonnull<const FunctionType*> fn_type)
|
||||
-> Nonnull<const FunctionType*> {
|
||||
for (auto* binding : fn_type->deduced_bindings()) {
|
||||
for (const auto* binding : fn_type->deduced_bindings()) {
|
||||
context_->MaybeCloneBase(binding);
|
||||
}
|
||||
for (auto [index, binding] : fn_type->generic_parameters()) {
|
||||
|
||||
Reference in new issue
Block a user