From cd608d1a20aadf2786eb2bd4ed1144ea55ce485f Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 12 Sep 2016 06:13:44 +0000 Subject: [PATCH] Attempt to placate MSVC. llvm-svn: 281194 --- clang/utils/TableGen/ClangDiagnosticsEmitter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp b/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp index 2af3e91a4942..e8d23dde4e13 100644 --- a/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp +++ b/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp @@ -928,7 +928,7 @@ struct DiagText { std::vector> Pieces; - DiagText() {} + DiagText(); DiagText(StringRef Text); DiagText(StringRef Kind, StringRef Text); @@ -1021,6 +1021,8 @@ DiagText parseDiagText(StringRef &Text, bool Nested = false) { return Parsed; } +DiagText::DiagText() {} + DiagText::DiagText(StringRef Text) : DiagText(parseDiagText(Text, false)) {} DiagText::DiagText(StringRef Kind, StringRef Text) : DiagText(parseDiagText(Text, false)) { -- 2.34.1