Extend the InstVisitor to visit the specialized classes wrapping
[oota-llvm.git] / include / llvm / Support / Compiler.h
index 0ae02e85c574b5d00315e8b5f7b9cfb9d32d6c12..f654f327a923a9d333c781bb82042d1ebd95ad20 100644 (file)
@@ -33,7 +33,7 @@
 /// llvm_move - Expands to ::std::move if the compiler supports
 /// r-value references; otherwise, expands to the argument.
 #if LLVM_USE_RVALUE_REFERENCES
-#define llvm_move(value) (::std::move(arg))
+#define llvm_move(value) (::std::move(value))
 #else
 #define llvm_move(value) (value)
 #endif
 // 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