summaryrefslogtreecommitdiffstats
path: root/llvm/include
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
commit02d06b95aa326138473ab4109aebf10e2cac2d79 (patch)
treef0587680e3ff783e9fd2a06b191cd5c748fe92af /llvm/include
parentdbb98b491736192f4e6282ffe9967b53f0c213c4 (diff)
downloadbcm5719-llvm-02d06b95aa326138473ab4109aebf10e2cac2d79.tar.gz
bcm5719-llvm-02d06b95aa326138473ab4109aebf10e2cac2d79.zip
Fix trivial typo in llvm_move.
llvm-svn: 156288
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Support/Compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/Compiler.h b/llvm/include/llvm/Support/Compiler.h
index 0ae02e85c57..5564db79c21 100644
--- a/llvm/include/llvm/Support/Compiler.h
+++ b/llvm/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
OpenPOWER on IntegriCloud