Skip to content

Commit

Permalink
Support OVERRIDE for clang.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thakis@chromium.org committed Jan 7, 2011
1 parent 13a8a3e commit 2b6bba9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/compiler_specific.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b6bba9

Please sign in to comment.