Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions clang/lib/AST/ByteCode/Disasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ template <> inline std::string printArg<Floating>(Program &P, CodePtr &OpPC) {

std::string S;
llvm::raw_string_ostream SS(S);
SS << Result;
SS << std::move(Result);
return S;
}

Expand All @@ -81,7 +81,7 @@ inline std::string printArg<IntegralAP<false>>(Program &P, CodePtr &OpPC) {

std::string Str;
llvm::raw_string_ostream SS(Str);
SS << Result;
SS << std::move(Result);
return Str;
}

Expand All @@ -99,7 +99,7 @@ inline std::string printArg<IntegralAP<true>>(Program &P, CodePtr &OpPC) {

std::string Str;
llvm::raw_string_ostream SS(Str);
SS << Result;
SS << std::move(Result);
return Str;
}

Expand All @@ -109,7 +109,7 @@ template <> inline std::string printArg<FixedPoint>(Program &P, CodePtr &OpPC) {

std::string Result;
llvm::raw_string_ostream SS(Result);
SS << F;
SS << std::move(F);
return Result;
}

Expand Down