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:
Manmeet Singh
2023-04-17 10:15:11 -07:00
committed by GitHub
parent 3cab211489
commit 951cac9607
4 changed files with 7 additions and 11 deletions
+1 -1
View File
@@ -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 << "] ";