[clang] [Clang] Improve error recovery for invalid calls (PR #136295)

via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 18 05:54:27 PDT 2025


================
@@ -2218,27 +2218,20 @@ Parser::ParsePostfixExpressionSuffix(ExprResult LHS) {
         CalledSignatureHelp = true;
         return PreferredType;
       };
+      bool KnownInvalidCall = false;
----------------
cor3ntin wrote:

```suggestion
      bool ExpressionListIsInvalid = false;
```

(Might not be a call)

https://github.com/llvm/llvm-project/pull/136295


More information about the cfe-commits mailing list