mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
Fix the __has_attribute example; we don't have an override attribute anymore.
llvm-svn: 124106
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user