We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
performance-move-const-arg
1 parent c5213ec commit b900322Copy full SHA for b900322
1 file changed
lib/clangimport.cpp
@@ -998,7 +998,7 @@ Token *clangimport::AstNode::createTokens(TokenList &tokenList)
998
--addrIndex;
999
const std::string addr = mExtTokens[addrIndex];
1000
std::string name = unquote(getSpelling());
1001
- Token *reftok = addtoken(tokenList, name.empty() ? "<NoName>" : std::move(name));
+ Token *reftok = addtoken(tokenList, name.empty() ? "<NoName>" : name);
1002
mData->ref(addr, reftok);
1003
return reftok;
1004
}
0 commit comments