mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-15 12:09:51 +00:00
Finally drop the 'static' from INLINE and ALWAYS_INLINE
The ALWAYS_INLINE doesn't have static on POSIX anyways since r178341; the INLINE is only used in .h files, so shouldn't have been 'static' in the first place llvm-svn: 179371
This commit is contained in:
parent
eee73f5fcf
commit
664ec5d7a8
@ -109,13 +109,13 @@ using namespace __sanitizer; // NOLINT
|
||||
// This header should NOT include any other headers to avoid portability issues.
|
||||
|
||||
// Common defs.
|
||||
#define INLINE static inline
|
||||
#define INLINE inline
|
||||
#define INTERFACE_ATTRIBUTE SANITIZER_INTERFACE_ATTRIBUTE
|
||||
#define WEAK SANITIZER_WEAK_ATTRIBUTE
|
||||
|
||||
// Platform-specific defs.
|
||||
#if defined(_MSC_VER)
|
||||
# define ALWAYS_INLINE static __forceinline
|
||||
# define ALWAYS_INLINE __forceinline
|
||||
// FIXME(timurrrr): do we need this on Windows?
|
||||
# define ALIAS(x)
|
||||
# define ALIGNED(x) __declspec(align(x))
|
||||
|
Loading…
Reference in New Issue
Block a user