Add Dump to Pattern (#715)

This commit is contained in:
Jon Meow
2021-08-06 10:05:00 -07:00
committed by GitHub
parent 2620ba066d
commit f7d8b7f2e2
+1
View File
@@ -42,6 +42,7 @@ class Pattern {
auto LineNumber() const -> int { return line_num; }
void Print(llvm::raw_ostream& out) const;
LLVM_DUMP_METHOD void Dump() const { Print(llvm::errs()); }
protected:
// Constructs a Pattern representing syntax at the given line number.