Fix clang-tidy performance-unnecessary-copy-initialization warnings

This commit is contained in:
Tim Wojtulewicz 2025-04-25 16:34:11 -07:00
parent 909413838c
commit cb8c35748a
15 changed files with 26 additions and 28 deletions

View file

@ -1526,7 +1526,7 @@ ASTBlockAnalyzer::ASTBlockAnalyzer(std::vector<FuncInfo>& funcs) {
auto func = f.Func();
auto fn = func->GetName();
auto body = f.Body();
const auto& body = f.Body();
// First get the line numbers all sorted out.
SetBlockLineNumbers sbln;