[PATCH] D132131: [clang-format] Adds a formatter for aligning trailing comments over empty lines

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 2 12:02:01 PDT 2022


HazardyKnusperkeks added a comment.

In D132131#3766590 <https://reviews.llvm.org/D132131#3766590>, @MyDeveloperDay wrote:

> Is there a technical reason for reusing the struct rather than introducing a new one?

I see, good point. Really only if one would port the implementation to `AlignTokens`. If that's feasible (or sensible) I don't know. Otherwise one will only reuse the parsing code.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132131



More information about the cfe-commits mailing list