Apply 'make format'

This commit is contained in:
github action 2021-07-25 01:07:07 +00:00
parent 18b0f6387d
commit 33af14eba8

View File

@ -156,9 +156,9 @@ class EmitXmlFileVisitor final : public AstNVisitor {
} }
virtual void visit(AstConstPool* nodep) override { virtual void visit(AstConstPool* nodep) override {
if (!v3Global.opt.xmlOnly()) { if (!v3Global.opt.xmlOnly()) {
puts("<constpool>\n"); puts("<constpool>\n");
iterateChildren(nodep); iterateChildren(nodep);
puts("</constpool>\n"); puts("</constpool>\n");
} }
} }
virtual void visit(AstInitArray* nodep) override { virtual void visit(AstInitArray* nodep) override {
@ -264,9 +264,7 @@ class EmitXmlFileVisitor final : public AstNVisitor {
puts(" left=\"" + cvtToStr(nodep->left()) + "\""); puts(" left=\"" + cvtToStr(nodep->left()) + "\"");
puts(" right=\"" + cvtToStr(nodep->right()) + "\""); puts(" right=\"" + cvtToStr(nodep->right()) + "\"");
} }
if (nodep->isSigned()) { if (nodep->isSigned()) { puts(" signed=\"true\""); }
puts(" signed=\"true\"");
}
puts("/>\n"); puts("/>\n");
} }
virtual void visit(AstIfaceRefDType* nodep) override { virtual void visit(AstIfaceRefDType* nodep) override {