diff options
author | Ian Rogers <irogers@google.com> | 2014-10-09 21:56:44 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-10-09 22:22:46 -0700 |
commit | fc787ecd91127b2c8458afd94e5148e2ae51a1f5 (patch) | |
tree | ef48c0f511ee9bf4ed85607cc4d530bace7e6cae /runtime/arch | |
parent | 8fa8c904f7c783204a1dc9438429391d256658da (diff) | |
download | android_art-fc787ecd91127b2c8458afd94e5148e2ae51a1f5.tar.gz android_art-fc787ecd91127b2c8458afd94e5148e2ae51a1f5.tar.bz2 android_art-fc787ecd91127b2c8458afd94e5148e2ae51a1f5.zip |
Enable -Wimplicit-fallthrough.
Falling through switch cases on a clang build must now annotate the fallthrough
with the FALLTHROUGH_INTENDED macro.
Bug: 17731372
Change-Id: I836451cd5f96b01d1ababdbf9eef677fe8fa8324
Diffstat (limited to 'runtime/arch')
-rw-r--r-- | runtime/arch/x86/fault_handler_x86.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/arch/x86/fault_handler_x86.cc b/runtime/arch/x86/fault_handler_x86.cc index 17310b6d95..6715fd318d 100644 --- a/runtime/arch/x86/fault_handler_x86.cc +++ b/runtime/arch/x86/fault_handler_x86.cc @@ -113,7 +113,7 @@ static uint32_t GetInstructionSize(const uint8_t* pc) { // Group 3 case 0x66: operand_size_prefix = true; - // fallthrough + FALLTHROUGH_INTENDED; // Group 1 case 0xf0: |