mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 14:26:40 +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
@@ -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