]> granicus.if.org Git - clang/commitdiff
Fix the __has_attribute example; we don't have an override attribute anymore.
authorAnders Carlsson <andersca@mac.com>
Mon, 24 Jan 2011 03:54:51 +0000 (03:54 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 24 Jan 2011 03:54:51 +0000 (03:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124106 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LanguageExtensions.html

index ef6b0da9ff311369f2b9e207f511f79915415da9..ecd7169d825a5450a969abc5924d899146bf970a 100644 (file)
@@ -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>