mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 13:36:44 +00:00
Add Dump to Pattern (#715)
This commit is contained in:
1 parent
2620ba066d
commit
f7d8b7f2e2
1 file changed
+1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user