diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2024-02-04 11:31:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-04 11:31:50 +0800 |
commit | a3d8b78333b80b47209ad0dc8f8159d70c7fcb39 (patch) | |
tree | 35e3b05a6fe4f5f3754b3f8a0664401682fdd23a /llvm/lib/FileCheck/FileCheck.cpp | |
parent | f2cf8da636ee2b27b54f14fea540d7ef75cebc05 (diff) | |
download | llvm-a3d8b78333b80b47209ad0dc8f8159d70c7fcb39.zip llvm-a3d8b78333b80b47209ad0dc8f8159d70c7fcb39.tar.gz llvm-a3d8b78333b80b47209ad0dc8f8159d70c7fcb39.tar.bz2 |
[Clang][CodeGen] Mark `__dynamic_cast` as `willreturn` (#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.
Fixes #77606.
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions