[llvm] r193011 - YAMLBench.cpp: Use llvm_move instead of std::move also here.
NAKAMURA Takumi
geek4civic at gmail.com
Fri Oct 18 16:25:40 PDT 2013
Author: chapuni
Date: Fri Oct 18 18:25:39 2013
New Revision: 193011
URL: http://llvm.org/viewvc/llvm-project?rev=193011&view=rev
Log:
YAMLBench.cpp: Use llvm_move instead of std::move also here.
Modified:
llvm/trunk/utils/yaml-bench/YAMLBench.cpp
Modified: llvm/trunk/utils/yaml-bench/YAMLBench.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/yaml-bench/YAMLBench.cpp?rev=193011&r1=193010&r2=193011&view=diff
==============================================================================
--- llvm/trunk/utils/yaml-bench/YAMLBench.cpp (original)
+++ llvm/trunk/utils/yaml-bench/YAMLBench.cpp Fri Oct 18 18:25:39 2013
@@ -69,7 +69,7 @@ static std::string prettyTag(yaml::Node
if (StringRef(Tag).startswith("tag:yaml.org,2002:")) {
std::string Ret = "!!";
Ret += StringRef(Tag).substr(18);
- return std::move(Ret);
+ return llvm_move(Ret);
}
std::string Ret = "!<";
Ret += Tag;
More information about the llvm-commits
mailing list