forked from OSchip/llvm-project
parent
5857b701a3
commit
cd608d1a20
clang/utils/TableGen
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue