r281195 - Attempt #2 to placate MSVC
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 11 23:23:26 PDT 2016
Author: rsmith
Date: Mon Sep 12 01:23:26 2016
New Revision: 281195
URL: http://llvm.org/viewvc/llvm-project?rev=281195&view=rev
Log:
Attempt #2 to placate MSVC
Modified:
cfe/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp
Modified: cfe/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp?rev=281195&r1=281194&r2=281195&view=diff
==============================================================================
--- cfe/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp (original)
+++ cfe/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp Mon Sep 12 01:23:26 2016
@@ -929,6 +929,8 @@ struct DiagText {
std::vector<std::unique_ptr<Piece>> Pieces;
DiagText();
+ DiagText(DiagText &&O) : Pieces(std::move(O.Pieces)) {}
+
DiagText(StringRef Text);
DiagText(StringRef Kind, StringRef Text);
More information about the cfe-commits
mailing list