summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Compiler.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2012-05-07 06:00:23 +0000
committerJohn McCall <rjmccall@apple.com>2012-05-07 06:00:23 +0000
commit86062e6782798cb52a79fce22c1e4371148f120d (patch)
tree1edbec428e54e3e9d89667334367720c988336ed /include/llvm/Support/Compiler.h
parentef2b8bda024962fd07f3c428588f6594504f5e14 (diff)
downloadllvm-86062e6782798cb52a79fce22c1e4371148f120d.tar.gz
llvm-86062e6782798cb52a79fce22c1e4371148f120d.tar.bz2
llvm-86062e6782798cb52a79fce22c1e4371148f120d.tar.xz
Fix trivial typo in llvm_move.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Compiler.h')
-rw-r--r--include/llvm/Support/Compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h
index 0ae02e85c5..5564db79c2 100644
--- a/include/llvm/Support/Compiler.h
+++ b/include/llvm/Support/Compiler.h
@@ -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