Haojian Wu 752b971297 [AST] Always set dependent-type for the CallExpr for error-recovery in C.
When build CallExpr for error-recovery where we have any dependent
child nodes), we should set a dependent type for CallExpr to avoid
running into some unexpected following semantic analysis.

This also aligns with the C++ behavior.

This fixes the symptom crashes: https://github.com/llvm/llvm-project/issues/50244

Differential Revision: https://reviews.llvm.org/D152561
2023-06-12 07:04:39 +02:00
..
2022-11-01 10:47:30 -04:00
2023-05-08 13:08:23 -07:00
2023-01-08 10:35:26 +01:00