mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix clang-tidy performance-unnecessary-copy-initialization warnings
This commit is contained in:
parent
909413838c
commit
cb8c35748a
15 changed files with 26 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue