mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 02:25:47 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185833 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -201,7 +201,7 @@
|
|||||||
#define LLVM_ATTRIBUTE_WEAK
|
#define LLVM_ATTRIBUTE_WEAK
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __has_attribute(const) || defined(__GNUC__)
|
#if __has_attribute(__const__) || defined(__GNUC__)
|
||||||
// aka 'CONST' but following LLVM Conventions.
|
// aka 'CONST' but following LLVM Conventions.
|
||||||
#define LLVM_READNONE __attribute__((__const__))
|
#define LLVM_READNONE __attribute__((__const__))
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user