[PATCH] D120806: [clang-format] Recognize "if consteval".

Johel Ernesto Guerrero Peña via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 2 05:35:22 PST 2022


JohelEGP added a comment.

In D120806#3354119 <https://reviews.llvm.org/D120806#3354119>, @MyDeveloperDay wrote:

> LFTM
>
> Do we also need to consider this in the context of "AllowShortIfStatments"?  (that would be in a different review in my view)

Definitely. Since it didn't work at all, I reported it without a `.clang-format`. I was hoping it'd play well with `AllowShortIfStatments` out of the box.
I'm currently building `HEAD` with this patch to reformat my code.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120806



More information about the cfe-commits mailing list