forked from OSchip/llvm-project
Fix the __has_attribute example; we don't have an override attribute anymore.
llvm-svn: 124106
This commit is contained in:
parent
c2989b3718
commit
3bbfb7f64b
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue