[cfe-commits] r124106 - /cfe/trunk/docs/LanguageExtensions.html

Anders Carlsson andersca at mac.com
Sun Jan 23 19:54:51 PST 2011


Author: andersca
Date: Sun Jan 23 21:54:51 2011
New Revision: 124106

URL: http://llvm.org/viewvc/llvm-project?rev=124106&view=rev
Log:
Fix the __has_attribute example; we don't have an override attribute anymore.

Modified:
    cfe/trunk/docs/LanguageExtensions.html

Modified: cfe/trunk/docs/LanguageExtensions.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LanguageExtensions.html?rev=124106&r1=124105&r2=124106&view=diff
==============================================================================
--- cfe/trunk/docs/LanguageExtensions.html (original)
+++ cfe/trunk/docs/LanguageExtensions.html Sun Jan 23 21:54:51 2011
@@ -151,10 +151,10 @@
 #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>





More information about the cfe-commits mailing list