We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f93f44 commit 3781da1Copy full SHA for 3781da1
source/compiler/compiler.cpp
@@ -118,6 +118,7 @@ auto compiler::replace_last_pop_with_return() -> void
118
119
auto compiler::replace_instruction(const std::size_t pos, const instructions& instr) -> void
120
{
121
+ // cppcheck-suppress variableScope
122
auto& target_instrs = m_scopes[m_scope_index].instrs;
123
for (auto idx = 0UL; const auto& inst : instr) {
124
target_instrs[pos + idx] = inst;
0 commit comments