[PATCH] D113319: [clang-format] Improve require and concept handling

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 22 06:36:07 PST 2022


krasimir added a comment.

It appears that this causes a regression by adding a space in-between pointer dereferences `*p` -> `* p` in some cases, e.g. formatting this with llvm style:

  // before
  void f() {
    while (p < a && *p == 'a')
      p++;
  }
  // after
  void f() {
    while (p < a && * p == 'a')
      p++;
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113319



More information about the cfe-commits mailing list