diff options
author | Enrico Granata <egranata@apple.com> | 2015-09-23 20:12:19 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-09-23 20:12:19 +0000 |
commit | 15a67f49aa57f0d36a42a02eb63fe57836664b81 (patch) | |
tree | ff1a6ac9250bc74e94a0c7dd8be824d2079462d3 /lldb/source/Plugins/Language/ObjC/NSArray.cpp | |
parent | 27a69a2ba02ee1882bf312a087970a928666b270 (diff) | |
download | bcm5719-llvm-15a67f49aa57f0d36a42a02eb63fe57836664b81.tar.gz bcm5719-llvm-15a67f49aa57f0d36a42a02eb63fe57836664b81.zip |
Make the ObjCLanguageRuntimes comply with llvm-style RTTI
llvm-svn: 248427
Diffstat (limited to 'lldb/source/Plugins/Language/ObjC/NSArray.cpp')
-rw-r--r-- | lldb/source/Plugins/Language/ObjC/NSArray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Language/ObjC/NSArray.cpp b/lldb/source/Plugins/Language/ObjC/NSArray.cpp index c6db27e93d4..a85169996cc 100644 --- a/lldb/source/Plugins/Language/ObjC/NSArray.cpp +++ b/lldb/source/Plugins/Language/ObjC/NSArray.cpp @@ -624,7 +624,7 @@ SyntheticChildrenFrontEnd* lldb_private::formatters::NSArraySyntheticFrontEndCre lldb::ProcessSP process_sp (valobj_sp->GetProcessSP()); if (!process_sp) return NULL; - AppleObjCRuntime *runtime = (AppleObjCRuntime*)process_sp->GetLanguageRuntime(lldb::eLanguageTypeObjC); + AppleObjCRuntime *runtime = llvm::dyn_cast_or_null<AppleObjCRuntime>(process_sp->GetObjCLanguageRuntime()); if (!runtime) return NULL; |