[all-commits] [llvm/llvm-project] 2fe5b1: [Clang][Sema] improve sema check of clang::musttai...
Qizhi Hu via All-commits
all-commits at lists.llvm.org
Wed Jan 17 04:59:13 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2fe5b157189906cac86c300f1a4c89614087c0f4
https://github.com/llvm/llvm-project/commit/2fe5b157189906cac86c300f1a4c89614087c0f4
Author: Qizhi Hu <836744285 at qq.com>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaStmt.cpp
A clang/test/SemaCXX/PR76631.cpp
Log Message:
-----------
[Clang][Sema] improve sema check of clang::musttail attribute (#77727)
Call function with no-return attribute generates code with unreachable
instruction instead of return and if the call statement has
`clang::musttail` attribute, it would crash in `VerifyPass`. Check this
condition in Sema ahead.
Fix [issue](https://github.com/llvm/llvm-project/issues/76631)
Co-authored-by: huqizhi <836744285 at qq.com>
More information about the All-commits
mailing list