================
@@ -59,8 +59,8 @@ Parser::Parser(Preprocessor &pp, Sema &actions, bool 
skipFunctionBodies)
       PreferredType(&actions.getASTContext(), pp.isCodeCompletionEnabled()),
       Actions(actions), Diags(PP.getDiagnostics()), StackHandler(Diags),
       GreaterThanIsOperator(true), ColonIsSacred(false),
-      InMessageExpression(false), TemplateParameterDepth(0),
-      ParsingInObjCContainer(false) {
+      InMessageExpression(false), ParsingInObjCContainer(false),
+      TemplateParameterDepth(0) {
----------------
Endilll wrote:

There are dedicated sections for Objective-C and templates, where the latter 
lexically comes after the former, so I was reminded by Clang that the actual 
initialization order is different from what was written here

https://github.com/llvm/llvm-project/pull/138511
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to