[clang] [clang][NFC] Regroup declarations in `Parser` (PR #138511)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Wed May 7 09:08:13 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list