[all-commits] [llvm/llvm-project] 752b97: [AST] Always set dependent-type for the CallExpr f...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Sun Jun 11 22:23:31 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 752b97129789dec1c2b6093bcbf848d6efb14523
https://github.com/llvm/llvm-project/commit/752b97129789dec1c2b6093bcbf848d6efb14523
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExpr.cpp
M clang/test/AST/ast-dump-recovery.c
Log Message:
-----------
[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
More information about the All-commits
mailing list