[PATCH] D73505: [IR] Keep a double break between function decls and defs

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 14:18:13 PST 2020


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

Thanks. b0e979724f2679e4e6f5b824144ea89289bd6d56 <https://reviews.llvm.org/rGb0e979724f2679e4e6f5b824144ea89289bd6d56> intended to make newpm and oldpm -print-after-all output similar. I did not realize llvm-dis output is also affected.

> Keep a double break between function decls and defs

This patch also inserts an empty line between two declarations or two definitions.

(It actually adds a newline before printing any declaration or definition.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73505/new/

https://reviews.llvm.org/D73505





More information about the llvm-commits mailing list