[compiler-rt] r178296 - Add "static" to the Windows ALWAYS_INLINE macro (similar to what we do on POSIX)
Timur Iskhodzhanov
timurrrr at google.com
Thu Mar 28 15:07:28 PDT 2013
Author: timurrrr
Date: Thu Mar 28 17:07:28 2013
New Revision: 178296
URL: http://llvm.org/viewvc/llvm-project?rev=178296&view=rev
Log:
Add "static" to the Windows ALWAYS_INLINE macro (similar to what we do on POSIX)
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h?rev=178296&r1=178295&r2=178296&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h Thu Mar 28 17:07:28 2013
@@ -115,7 +115,7 @@ using namespace __sanitizer; // NOLINT
// Platform-specific defs.
#if defined(_MSC_VER)
-# define ALWAYS_INLINE __forceinline
+# define ALWAYS_INLINE static __forceinline
// FIXME(timurrrr): do we need this on Windows?
# define ALIAS(x)
# define ALIGNED(x) __declspec(align(x))
More information about the llvm-commits
mailing list