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

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 21 09:59:34 PDT 2025


================
@@ -34,21 +34,22 @@ void test_invalid_call_1(int s) {
 
 int some_func2(int a, int b);
 void test_invalid_call_2() {
-  // CHECK:   -RecoveryExpr {{.*}} 'int' contains-errors
+  // CHECK:   -RecoveryExpr {{.*}} '<dependent type>' contains-errors
----------------
mizvekov wrote:

Okay, since this is a messy pre-existing problem, let's go ahead, hopefully the error recovery improvements can continue at some point.

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


More information about the cfe-commits mailing list