[llvm-commits] [llvm] r156288 - /llvm/trunk/include/llvm/Support/Compiler.h
John McCall
rjmccall at apple.com
Sun May 6 23:00:23 PDT 2012
Author: rjmccall
Date: Mon May 7 01:00:23 2012
New Revision: 156288
URL: http://llvm.org/viewvc/llvm-project?rev=156288&view=rev
Log:
Fix trivial typo in llvm_move.
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=156288&r1=156287&r2=156288&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Compiler.h (original)
+++ llvm/trunk/include/llvm/Support/Compiler.h Mon May 7 01:00:23 2012
@@ -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
More information about the llvm-commits
mailing list