[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
parent
7282a37f
Please register or sign in to comment