diff options
author | Andreas Gampe <agampe@google.com> | 2015-04-06 09:35:22 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-04-06 14:05:07 -0700 |
commit | 65b798ea10dd716c1bb3dda029f9bf255435af72 (patch) | |
tree | 774e9901b6917989a63f07f927c3b4d8b921a013 /runtime/base | |
parent | c411c6cc327d3f2b3b4d1987b07dd442205d9454 (diff) | |
download | art-65b798ea10dd716c1bb3dda029f9bf255435af72.zip art-65b798ea10dd716c1bb3dda029f9bf255435af72.tar.gz art-65b798ea10dd716c1bb3dda029f9bf255435af72.tar.bz2 |
ART: Enable more Clang warnings
Change-Id: Ie6aba02f4223b1de02530e1515c63505f37e184c
Diffstat (limited to 'runtime/base')
-rw-r--r-- | runtime/base/macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |