diff options
author | Anders Carlsson <andersca@mac.com> | 2011-01-24 03:54:51 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-01-24 03:54:51 +0000 |
commit | 961003d4321c3c457afbf191f8185c30b23afe18 (patch) | |
tree | 9969a61615d3c999b56dc7f9a9c2aa9b12efc6f3 | |
parent | d462b6afcdc2e1c3fc7257dd25dd00d8aca29c5e (diff) |
Fix the __has_attribute example; we don't have an override attribute anymore.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124106 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/LanguageExtensions.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html index ef6b0da9ff..ecd7169d82 100644 --- a/docs/LanguageExtensions.html +++ b/docs/LanguageExtensions.html @@ -151,10 +151,10 @@ can be used like this:</p> #endif ... -#if __has_attribute(override) -#define OVERRIDE __attribute__((override)) +#if __has_attribute(always_inline) +#define ALWAYS_INLINE __attribute__((always_inline)) #else -#define OVERRIDE +#define ALWAYS_INLINE #endif ... </pre> |