Fix trivial typo in llvm_move.
authorJohn McCall <rjmccall@apple.com>
Mon, 7 May 2012 06:00:23 +0000 (06:00 +0000)
committerJohn McCall <rjmccall@apple.com>
Mon, 7 May 2012 06:00:23 +0000 (06:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156288 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Compiler.h

index 0ae02e85c574b5d00315e8b5f7b9cfb9d32d6c12..5564db79c21d31d1b3a01049b6303d8a936a5416 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