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

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 9 01:59:42 PDT 2022


MyDeveloperDay added a comment.

  struct Style {
    enum E {
      Yes,
      No,
    };
    unsigned OverEmptyLines;
  }

I don't understand the need for `state` as a struct could have multiple options (as enums) each enum should have a state that means "Leave"


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