https://github.com/dtcxzyw closed
https://github.com/llvm/llvm-project/pull/80409
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nikic approved this pull request.
LGTM, nice find!
https://github.com/llvm/llvm-project/pull/80409
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Yingwei Zheng (dtcxzyw)
Changes
According to the C++ standard, `dynamic_cast` of pointers either returns a
pointer (7.6.1.7) or results in undefined behavior (11.9.5). This patch marks
`__dynamic_cast` as `willreturn` to remove
https://github.com/dtcxzyw created
https://github.com/llvm/llvm-project/pull/80409
According to the C++ standard, `dynamic_cast` of pointers either returns a
pointer (7.6.1.7) or results in undefined behavior (11.9.5). This patch marks
`__dynamic_cast` as `willreturn` to remove unused calls.