summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/LibStdcpp.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/LibStdcpp.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/LibStdcpp.cpp')
-rw-r--r--lldb/source/DataFormatters/LibStdcpp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/DataFormatters/LibStdcpp.cpp b/lldb/source/DataFormatters/LibStdcpp.cpp
index 16ee2c1c391..2b3bcb58afa 100644
--- a/lldb/source/DataFormatters/LibStdcpp.cpp
+++ b/lldb/source/DataFormatters/LibStdcpp.cpp
@@ -79,10 +79,10 @@ lldb_private::formatters::LibstdcppMapIteratorSyntheticFrontEnd::Update()
m_pair_address += (is_64bit ? 32 : 16);
ClangASTType my_type(valobj_sp->GetClangType());
- if (ClangASTContext::GetNumTemplateArguments(my_type) >= 1)
+ if (my_type.GetNumTemplateArguments() >= 1)
{
TemplateArgumentKind kind;
- ClangASTType pair_type = ClangASTContext::GetTemplateArgument(my_type, 0, kind);
+ ClangASTType pair_type = my_type.GetTemplateArgument(0, kind);
if (kind != eTemplateArgumentKindType && kind != eTemplateArgumentKindTemplate && kind != eTemplateArgumentKindTemplateExpansion)
return false;
m_pair_type = pair_type;
OpenPOWER on IntegriCloud