[clang] [clang-format] Handle templates in qualified typenames (PR #143194)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 12 01:57:48 PDT 2025
================
@@ -3622,6 +3622,29 @@ static unsigned maxNestingDepth(const AnnotatedLine &Line) {
return Result;
}
+static bool startsQualifiedName(const FormatToken *Tok) {
----------------
HazardyKnusperkeks wrote:
Id check for `tok::identifier` and then move to `nextNonComment()` for checking `coloncolon` rsp. `TT_TemplateOpener`.
https://github.com/llvm/llvm-project/pull/143194
More information about the cfe-commits
mailing list