summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/interface
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2016-08-30 20:39:58 +0000
committerEnrico Granata <egranata@apple.com>2016-08-30 20:39:58 +0000
commit639392fe76d61fcb6960f438ce0736911c964526 (patch)
tree8ef8f80e716a183b31760f46b587938be612859e /lldb/scripts/interface
parentb7df1e21481cfb8e65f85da366fac23adf0301de (diff)
downloadbcm5719-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.i3
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 ();
OpenPOWER on IntegriCloud