diff options
author | whitequark <whitequark@whitequark.org> | 2019-04-24 13:30:03 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2019-04-24 13:30:03 +0000 |
commit | 50392a3b1b84beea67bb294f6855d5fb1facd35e (patch) | |
tree | 92674af471cec2be760785175af827a21927be40 /lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py | |
parent | f96b6d927088db90286844a472d45a5ac9d3f3d6 (diff) | |
download | bcm5719-llvm-50392a3b1b84beea67bb294f6855d5fb1facd35e.tar.gz bcm5719-llvm-50392a3b1b84beea67bb294f6855d5fb1facd35e.zip |
[LLVM-C] Use dyn_cast instead of unwrap in LLVMGetDebugLoc functions
Summary:
The `unwrap<Type>` calls can assert with:
```
Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast
```
so replace them with `dyn_cast`.
Reviewers: whitequark, abdulras, hiraditya, compnerd
Reviewed By: whitequark
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60473
llvm-svn: 359093
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py')
0 files changed, 0 insertions, 0 deletions