From 65b798ea10dd716c1bb3dda029f9bf255435af72 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 6 Apr 2015 09:35:22 -0700 Subject: ART: Enable more Clang warnings Change-Id: Ie6aba02f4223b1de02530e1515c63505f37e184c --- runtime/base/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/base') diff --git a/runtime/base/macros.h b/runtime/base/macros.h index 3a9de5f..6c33232 100644 --- a/runtime/base/macros.h +++ b/runtime/base/macros.h @@ -66,7 +66,7 @@ friend class test_set_name##_##individual_test##_Test // A macro to disallow new and delete operators for a class. It goes in the private: declarations. #define DISALLOW_ALLOCATION() \ public: \ - ALWAYS_INLINE void operator delete(void*, size_t) { UNREACHABLE(); } \ + NO_RETURN ALWAYS_INLINE void operator delete(void*, size_t) { UNREACHABLE(); } \ private: \ void* operator new(size_t) = delete -- cgit v1.1