From: Richard Smith Date: Mon, 12 Sep 2016 06:13:44 +0000 (+0000) Subject: Attempt to placate MSVC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6eb4a61023871a1b7c98514af2b518d46383c470;p=clang Attempt to placate MSVC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281194 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/ClangDiagnosticsEmitter.cpp b/utils/TableGen/ClangDiagnosticsEmitter.cpp index 2af3e91a49..e8d23dde4e 100644 --- a/utils/TableGen/ClangDiagnosticsEmitter.cpp +++ b/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)) {