================ @@ -127,7 +127,7 @@ class AnnotatingParser { SmallVector<ScopeType> &Scopes) : Style(Style), Line(Line), CurrentToken(Line.First), AutoFound(false), IsCpp(Style.isCpp()), LangOpts(getFormattingLangOpts(Style)), - Keywords(Keywords), Scopes(Scopes) { + Keywords(Keywords), Scopes(Scopes), TemplateDeclarationDepth(0) { ---------------- owenca wrote:
```suggestion Keywords(Keywords), Scopes(Scopes), InTemplateDeclaration(false) { ``` https://github.com/llvm/llvm-project/pull/95025 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits