summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler.cc
diff options
context:
space:
mode:
author Yabin Cui <yabinc@google.com> 2023-06-08 21:25:48 +0000
committer Yabin Cui <yabinc@google.com> 2023-06-13 18:31:39 +0000
commit5fa267b4eb075c85827afb0379a7a63ab37d6bf7 (patch)
treee8fe6c6d7557f2e16d7803e4e7b91236203217b7 /compiler/utils/assembler.cc
parentdbc33874d03c4a0a7919e2c78a68cba8a4afe7bd (diff)
Disable check for false-positive bugprone-use-after-move clang-tidy warning
After clang update, clang-tidy bugprone-use-after-move starts to check constructor initialization list. It gives below false-positive warning: art/libartbase/base/scoped_arena_allocator.cc:122:20: error: 'other' used after it was moved [bugprone-use-after-move,-warnings-as-errors] arena_stack_(other.arena_stack_), ^ art/libartbase/base/scoped_arena_allocator.cc:119:7: note: move occurred here : DebugStackReference(std::move(other)), ^ This CL disable the check in the code. Bug: 286421006 Test: build with clang-r498229 Change-Id: Icac433d9bf1600546b5f7cf7bc6c520d61d020c2
Diffstat (limited to 'compiler/utils/assembler.cc')
0 files changed, 0 insertions, 0 deletions