[PATCH] D127484: [clang-format] Use tabs on GNU style

2022-06-10 Thread Tsukasa OI via Phabricator via cfe-commits
a4lg updated this revision to Diff 436087. a4lg added a comment. Thanks, suggestion by @owenpan is applied. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D127484/new/ https://reviews.llvm.org/D127484 Files: clang/lib/Format/Format.cpp clang/uni

[PATCH] D127484: [clang-format] Use tabs on GNU style

2022-06-11 Thread Tsukasa OI via Phabricator via cfe-commits
a4lg marked an inline comment as done. a4lg added a comment. Interesting. I measured some development branch (targeting `*.c`, `*.cc`, `*.cpp` and `*.h`): | Program | prefix: 8 spaces | prefix: 1 tab | 8sp percentage | | Coreutils | 23494| 461 | 98.08% | | Binutil

[PATCH] D127484: [clang-format] Use tabs on GNU style

2022-06-10 Thread Tsukasa OI via Phabricator via cfe-commits
a4lg created this revision. Herald added a project: All. a4lg requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. On default configuration of GNU Indent, it uses 8-width tabs. Because GNU Indent's indentation works like UT_ForContinuationAndIn