mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 10:31:03 +01: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:
@@ -158,7 +158,7 @@ void Declaration::PrintID(llvm::raw_ostream& out) const {
|
||||
if (!impl_decl.deduced_parameters().empty()) {
|
||||
out << "forall [";
|
||||
llvm::ListSeparator sep;
|
||||
for (auto* param : impl_decl.deduced_parameters()) {
|
||||
for (const auto* param : impl_decl.deduced_parameters()) {
|
||||
out << sep << *param;
|
||||
}
|
||||
out << "] ";
|
||||
|
||||
Reference in New Issue
Block a user