summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/LibCxxList.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-06-08 23:38:06 +0000
committerPavel Labath <labath@google.com>2015-06-08 23:38:06 +0000
commitc7c30eb52832dc20a7afe6640ac4ab361ff9b9fe (patch)
treef92b605a516615b447eefa8d9d21381cfc113b70 /lldb/source/DataFormatters/LibCxxList.cpp
parent4e8e900dd1f21b5b5458affd5d6c2c89f07fdd28 (diff)
downloadbcm5719-llvm-c7c30eb52832dc20a7afe6640ac4ab361ff9b9fe.tar.gz
bcm5719-llvm-c7c30eb52832dc20a7afe6640ac4ab361ff9b9fe.zip
Revert "Introduce a TypeSystem interface to support adding non-clang languages."
This seems to break expression evaluation on the linux build. llvm-svn: 239366
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 e70cd917977..f3e07fe7a01 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 (ClangASTContext::GetNumTemplateArguments(list_type) == 0)
+ if (list_type.GetNumTemplateArguments() == 0)
return false;
lldb::TemplateArgumentKind kind;
- m_element_type = ClangASTContext::GetTemplateArgument(list_type, 0, kind);
+ m_element_type = list_type.GetTemplateArgument(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