mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Dump the inst block with the specific (#5138)
Every time I dump a specific id, the next thing I do is dump the inst block. This saves typing `SemIR::MakeInstBlockId(x)` all the time.
This commit is contained in:
@@ -247,6 +247,7 @@ LLVM_DUMP_METHOD auto Dump(const File& file,
|
||||
LLVM_DUMP_METHOD auto Dump(const File& file, SpecificId specific_id) -> void {
|
||||
DumpNoNewline(file, specific_id);
|
||||
llvm::errs() << '\n';
|
||||
Dump(file, file.specifics().Get(specific_id).args_id);
|
||||
}
|
||||
|
||||
LLVM_DUMP_METHOD auto Dump(const File& file,
|
||||
|
||||
Reference in New Issue
Block a user