OSDN Git Service

ART: Add Clang's -Wused-but-marked-unused
authorAndreas Gampe <agampe@google.com>
Sat, 4 Apr 2015 02:41:34 +0000 (19:41 -0700)
committerAndreas Gampe <agampe@google.com>
Sat, 4 Apr 2015 03:14:40 +0000 (20:14 -0700)
commitca71458862be8505330b7fd5649a062f31d143dc
tree7bc749056ab65906a147cc8e1d92e8be3ffea2cc
parent9d231cc422b7b32d00bd43ca6993b2dd7e9989ea
ART: Add Clang's -Wused-but-marked-unused

Add detection of wrong unused annotations. Fix our codebase.

Change-Id: I85cc20f2eac71c1ec6c5c7cd6efb08454a629634
build/Android.common_build.mk
build/Android.gtest.mk
compiler/dex/local_value_numbering.cc
compiler/optimizing/intrinsics_arm.cc
compiler/utils/arm/assembler_thumb2.cc
runtime/arch/arm64/instruction_set_features_arm64.cc
runtime/arch/x86/instruction_set_features_x86.cc
runtime/hprof/hprof.cc
runtime/interpreter/unstarted_runtime.cc
runtime/trace.cc