summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/LibCxxList.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-06-08 22:27:10 +0000
committerPavel Labath <labath@google.com>2015-06-08 22:27:10 +0000
commitc33ae024a64962cb38b64073a035a5fc36aa2214 (patch)
tree4fff2e0f0c816610b412c932fbbb0a6b54ac861c /lldb/source/DataFormatters/LibCxxList.cpp
parente6eea5d055d06db7aefdfa879ae052a2d34ab464 (diff)
downloadbcm5719-llvm-c33ae024a64962cb38b64073a035a5fc36aa2214.tar.gz
bcm5719-llvm-c33ae024a64962cb38b64073a035a5fc36aa2214.zip
Introduce a TypeSystem interface to support adding non-clang languages.
Reviewers: clayborg Reviewed By: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D8712 Original Author: Ryan Brown <ribrdb@google.com> llvm-svn: 239360
Diffstat (limited to 'lldb/source/DataFormatters/LibCxxList.cpp')
-rw-r--r--lldb/source/DataFormatters/LibCxxList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/DataFormatters/LibCxxList.cpp b/lldb/source/DataFormatters/LibCxxList.cpp
index f3e07fe7a01..e70cd917977 100644
--- a/lldb/source/DataFormatters/LibCxxList.cpp
+++ b/lldb/source/DataFormatters/LibCxxList.cpp
@@ -335,10 +335,10 @@ lldb_private::formatters::LibcxxStdListSyntheticFrontEnd::Update()
if (list_type.IsReferenceType())
list_type = list_type.GetNonReferenceType();
- if (list_type.GetNumTemplateArguments() == 0)
+ if (ClangASTContext::GetNumTemplateArguments(list_type) == 0)
return false;
lldb::TemplateArgumentKind kind;
- m_element_type = list_type.GetTemplateArgument(0, kind);
+ m_element_type = ClangASTContext::GetTemplateArgument(list_type, 0, kind);
m_head = impl_sp->GetChildMemberWithName(ConstString("__next_"), true).get();
m_tail = impl_sp->GetChildMemberWithName(ConstString("__prev_"), true).get();
return false;
OpenPOWER on IntegriCloud