Add NewLine for Attribute dump()

--

PiperOrigin-RevId: 243904869
This commit is contained in:
MLIR Team 2019-04-16 16:47:41 -07:00 committed by Mehdi Amini
parent e01260bf75
commit ee7bdddfb3
1 changed files with 4 additions and 1 deletions

View File

@ -1635,7 +1635,10 @@ void Attribute::print(raw_ostream &os) const {
ModulePrinter(os, state).printAttribute(*this);
}
void Attribute::dump() const { print(llvm::errs()); }
void Attribute::dump() const {
print(llvm::errs());
llvm::errs() << "\n";
}
void Type::print(raw_ostream &os) const {
ModuleState state(getContext());