[PATCH] D123896: [clang-format] fix nested angle brackets parse inside concept definition
Sergey Semushin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 21 02:47:15 PDT 2022
predelnik added a comment.
In D123896#3464171 <https://reviews.llvm.org/D123896#3464171>, @HazardyKnusperkeks wrote:
> As this is still on my todo list: Have you considered
>
> concept X = Bar<5 < 4, 5 > 8>;
> concept X = Bar<5 < 4, false>;
>
> Or stuff like that?
I think it would not work but would not make things much worse than before, have to check that though.
Looks like `parseBracedList` probably would not be enough for correct parsing of such expressions, is there any better approach?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123896/new/
https://reviews.llvm.org/D123896
More information about the cfe-commits
mailing list