[llvm-commits] [llvm] r160576 - /llvm/trunk/include/llvm/Support/Compiler.h

Galina Kistanova gkistanova at gmail.com
Fri Jul 20 14:30:52 PDT 2012


Author: gkistanova
Date: Fri Jul 20 16:30:52 2012
New Revision: 160576

URL: http://llvm.org/viewvc/llvm-project?rev=160576&view=rev
Log:
Fix few warnings.

Modified:
    llvm/trunk/include/llvm/Support/Compiler.h

Modified: llvm/trunk/include/llvm/Support/Compiler.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Compiler.h?rev=160576&r1=160575&r2=160576&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Compiler.h (original)
+++ llvm/trunk/include/llvm/Support/Compiler.h Fri Jul 20 16:30:52 2012
@@ -121,7 +121,7 @@
 // 3.4 supported this but is buggy in various cases and produces unimplemented
 // errors, just use it in GCC 4.0 and later.
 #if __GNUC__ > 3
-#define LLVM_ATTRIBUTE_ALWAYS_INLINE __attribute__((always_inline))
+#define LLVM_ATTRIBUTE_ALWAYS_INLINE inline __attribute__((always_inline))
 #elif defined(_MSC_VER)
 #define LLVM_ATTRIBUTE_ALWAYS_INLINE __forceinline
 #else





More information about the llvm-commits mailing list