mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-12 17:25:49 +00:00
Can we move to C++11 already?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193007 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1608,11 +1608,11 @@ std::string Node::getVerbatimTag() const {
|
|||||||
if (Raw.find_last_of('!') == 0) {
|
if (Raw.find_last_of('!') == 0) {
|
||||||
Ret = Doc->getTagMap().find("!")->second;
|
Ret = Doc->getTagMap().find("!")->second;
|
||||||
Ret += Raw.substr(1);
|
Ret += Raw.substr(1);
|
||||||
return std::move(Ret);
|
return llvm_move(Ret);
|
||||||
} else if (Raw.startswith("!!")) {
|
} else if (Raw.startswith("!!")) {
|
||||||
Ret = Doc->getTagMap().find("!!")->second;
|
Ret = Doc->getTagMap().find("!!")->second;
|
||||||
Ret += Raw.substr(2);
|
Ret += Raw.substr(2);
|
||||||
return std::move(Ret);
|
return llvm_move(Ret);
|
||||||
} else {
|
} else {
|
||||||
StringRef TagHandle = Raw.substr(0, Raw.find_last_of('!') + 1);
|
StringRef TagHandle = Raw.substr(0, Raw.find_last_of('!') + 1);
|
||||||
std::map<StringRef, StringRef>::const_iterator It =
|
std::map<StringRef, StringRef>::const_iterator It =
|
||||||
@@ -1626,7 +1626,7 @@ std::string Node::getVerbatimTag() const {
|
|||||||
setError(Twine("Unknown tag handle ") + TagHandle, T);
|
setError(Twine("Unknown tag handle ") + TagHandle, T);
|
||||||
}
|
}
|
||||||
Ret += Raw.substr(Raw.find_last_of('!') + 1);
|
Ret += Raw.substr(Raw.find_last_of('!') + 1);
|
||||||
return std::move(Ret);
|
return llvm_move(Ret);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user