forked from OSchip/llvm-project
Attempt to fix Compiler.h for some self-hosting bots
I tested r185831 by self-hosting clang with a recent clang, and got no warnings. I haven't been able to reproduce the problem locally. llvm-svn: 185833
This commit is contained in:
parent
bb625bb2f4
commit
ba22e8d56d
|
@ -201,7 +201,7 @@
|
|||
#define LLVM_ATTRIBUTE_WEAK
|
||||
#endif
|
||||
|
||||
#if __has_attribute(const) || defined(__GNUC__)
|
||||
#if __has_attribute(__const__) || defined(__GNUC__)
|
||||
// aka 'CONST' but following LLVM Conventions.
|
||||
#define LLVM_READNONE __attribute__((__const__))
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue