[all-commits] [llvm/llvm-project] a62e20: [clang][RecoveryExpr] Fix a crash where a dependen...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Fri May 19 11:25:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a62e205254c0f482ba38bacc1f7f6927e6bc6375
https://github.com/llvm/llvm-project/commit/a62e205254c0f482ba38bacc1f7f6927e6bc6375
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2023-05-19 (Fri, 19 May 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDecl.cpp
M clang/test/AST/ast-dump-recovery.c
Log Message:
-----------
[clang][RecoveryExpr] Fix a crash where a dependent type crahes on c-only code path.
A depenent type is possible in C-only path, add a proper handling when
checking the enum constant.
Fixes https://github.com/llvm/llvm-project/issues/62446
Differential Revision: https://reviews.llvm.org/D150948
More information about the All-commits
mailing list