[PATCH] D30299: [tablegen] Optionally format tablegen targets with clang-format
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 28 05:40:37 PDT 2017
dsanders added a comment.
My ideal would be version of raw_ostream that allows clang-format style formatting to be switched on and off at will but that doesn't seem to be available and it would require llvm-tblgen to link to (probably old) clang libraries.
For AArch64GenGlobalISel.inc in particular, the main aim is to defer any significant work on pretty-printing until after the content of the file has settled down. The current formatting is difficult to read and debug but fixing it is an intrusive change that's wasted effort given that we intend to replace the bulk of it with an array like SelectionDAG's.
https://reviews.llvm.org/D30299
More information about the llvm-commits
mailing list