diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-09-12 06:13:44 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-09-12 06:13:44 +0000 |
commit | 6eb4a61023871a1b7c98514af2b518d46383c470 (patch) | |
tree | 868be3b780ed430a20d6d444b45338f35d57ca9f /utils | |
parent | 89f2f0d1857f59e6c3625b0aaee69b76a74722cb (diff) |
Attempt to placate MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281194 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/ClangDiagnosticsEmitter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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<std::unique_ptr<Piece>> 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)) { |