================ @@ -3659,9 +3697,23 @@ static FormatToken *getFunctionName(const AnnotatedLine &Line, } // Skip to the unqualified part of the name. - while (Tok->startsSequence(tok::identifier, tok::coloncolon)) { - assert(Tok->Next); - Tok = Tok->Next->Next; + while (startsQualifiedName(Tok)) { ---------------- bdunkin wrote:
I have done this, and renamed it `skipNameQualifier` to reflect the new behaviour. https://github.com/llvm/llvm-project/pull/143194 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits