[PATCH] D119138: [clang-format] Further improve support for requires expressions
Manuel Klimek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 26 02:58:58 PST 2022
klimek added a comment.
Generally, why do we need to have that much information? I.e. why do we need to know the exact type of the "requires" keyword?
I do understand we need to know the brace type, but that seems like it would be easier to figure out in the TokenAnnotator (where we already parsed UnwrappedLines).
Do we ever parse UnwrappedLines differently depending on requires clauses/expressions?
If not, we should really do the annotation in TokenAnnotator, where we already have nice parsing bounds from the parsed UnwrappedLines.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119138/new/
https://reviews.llvm.org/D119138
More information about the cfe-commits
mailing list