diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-07 19:54:49 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-07 19:54:49 +0000 |
commit | 2b6bba91d755734bfbf7834ae3b98c248b7e2b7c (patch) | |
tree | 63e06dbefb428afc61ead1587707e5cf24d114da /base | |
parent | 13a8a3e54e80437095a1ef9abff1272355b3a1ac (diff) | |
download | chromium_src-2b6bba91d755734bfbf7834ae3b98c248b7e2b7c.zip chromium_src-2b6bba91d755734bfbf7834ae3b98c248b7e2b7c.tar.gz chromium_src-2b6bba91d755734bfbf7834ae3b98c248b7e2b7c.tar.bz2 |
Support OVERRIDE for clang.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6165001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70763 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/compiler_specific.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/compiler_specific.h b/base/compiler_specific.h index 5917882..017b869 100644 --- a/base/compiler_specific.h +++ b/base/compiler_specific.h @@ -84,6 +84,8 @@ // virtual void foo() OVERRIDE; #if defined(COMPILER_MSVC) #define OVERRIDE override +#elif defined(__clang__) +#define OVERRIDE __attribute__((override)) #else #define OVERRIDE #endif |