From 90443477f9a0061581c420775ce3b7eeae7468bc Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Thu, 16 Jul 2015 20:32:27 -0700 Subject: Move to newer clang annotations Also enable -Wthread-safety-negative. Changes: Switch to capabilities and negative capabilities. Future work: Use capabilities to implement uninterruptible annotations to work with AssertNoThreadSuspension. Bug: 20072211 Change-Id: I42fcbe0300d98a831c89d1eff3ecd5a7e99ebf33 --- compiler/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/compiler.h') diff --git a/compiler/compiler.h b/compiler/compiler.h index e5d1aff08c..fcd3434e68 100644 --- a/compiler/compiler.h +++ b/compiler/compiler.h @@ -58,7 +58,7 @@ class Compiler { const DexFile& dex_file) const = 0; virtual uintptr_t GetEntryPointOf(ArtMethod* method) const - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) = 0; + SHARED_REQUIRES(Locks::mutator_lock_) = 0; uint64_t GetMaximumCompilationTimeBeforeWarning() const { return maximum_compilation_time_before_warning_; -- cgit v1.2.3-59-g8ed1b