[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@qq.com>
Loading
Please sign in to comment