[clang] [clang-format] Handle common C++ non-keyword types as such (PR #83709)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 5 03:26:11 PST 2024
mydeveloperday wrote:
> > But looking for a parenthesized single identifier addresses all of the examples in the issue.
>
> I don't think it would work, but you are welcome to submit a patch to prove me wrong. 🙂
+1 for this, it will be the 95%/5% rule, you might think all cases of (identifier) is a cast, but I'm pretty sure it won't be I'm with @owenca on this, this patch will move us closer, meaning users don't need to add common types to TypeNames
https://github.com/llvm/llvm-project/pull/83709
More information about the cfe-commits
mailing list