diff options
author | Enrico Granata <egranata@apple.com> | 2016-08-30 20:39:58 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2016-08-30 20:39:58 +0000 |
commit | 639392fe76d61fcb6960f438ce0736911c964526 (patch) | |
tree | 8ef8f80e716a183b31760f46b587938be612859e /lldb/scripts/interface | |
parent | b7df1e21481cfb8e65f85da366fac23adf0301de (diff) | |
download | bcm5719-llvm-639392fe76d61fcb6960f438ce0736911c964526.tar.gz bcm5719-llvm-639392fe76d61fcb6960f438ce0736911c964526.zip |
Add SBType::GetArrayType() such that - given a type - one can make an array (of a given size) of that type
This is currently only implemented for the clang-based TypeSystem, but other languages are welcome to jump in!
llvm-svn: 280151
Diffstat (limited to 'lldb/scripts/interface')
-rw-r--r-- | lldb/scripts/interface/SBType.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBType.i b/lldb/scripts/interface/SBType.i index 76bd3f0352c..999941a4b8f 100644 --- a/lldb/scripts/interface/SBType.i +++ b/lldb/scripts/interface/SBType.i @@ -247,6 +247,9 @@ public: lldb::SBType GetArrayElementType (); + + lldb::SBType + GetArrayType (uint64_t size); lldb::SBType GetVectorElementType (); |