Clang-tidy fixes for recent IDPtr changes

This commit is contained in:
Tim Wojtulewicz 2025-09-03 15:34:29 -07:00
parent e3b22cd21f
commit 26ea7cc655
18 changed files with 50 additions and 51 deletions

View file

@ -183,7 +183,7 @@ void Trigger::ReInit(std::vector<ValPtr> index_expr_results) {
have_trigger_elems = true;
}
for ( auto g : globals ) {
for ( const auto& g : globals ) {
Register(g.get());
auto& v = g->GetVal();
@ -191,7 +191,7 @@ void Trigger::ReInit(std::vector<ValPtr> index_expr_results) {
Register(v.get());
}
for ( auto l : locals ) {
for ( const auto& l : locals ) {
ASSERT(! l->GetVal());
}