Fix codex warnings

Signed-off-by: wangyantian <wangyantian@huawei.com>
This commit is contained in:
wangyantian
2022-04-19 14:26:10 +08:00
parent 6b0bc329c6
commit f4871795ce
25 changed files with 60 additions and 58 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ void StackWalker::InitCalleeBuffer(SlotType *callee_stack, CalleeStorage *prev_c
// NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
callee_stack_.stack[offset] =
// NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
start_slot + (callee_regs_count - Popcount(callee_stack_.callee_regs_mask >> reg));
start_slot + (callee_regs_count - static_cast<size_t>(Popcount(callee_stack_.callee_regs_mask >> reg)));
} else {
callee_stack_.stack[offset] = prev_callees->stack[offset];
}