From: Anders Carlsson Date: Mon, 24 Jan 2011 03:54:51 +0000 (+0000) Subject: Fix the __has_attribute example; we don't have an override attribute anymore. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=961003d4321c3c457afbf191f8185c30b23afe18;p=clang 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 --- 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:

#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 ...