summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/LibCxxInitializerList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/DataFormatters/LibCxxInitializerList.cpp')
-rw-r--r--lldb/source/DataFormatters/LibCxxInitializerList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/DataFormatters/LibCxxInitializerList.cpp b/lldb/source/DataFormatters/LibCxxInitializerList.cpp
index 0dcef981e5e..1f79f00b2b7 100644
--- a/lldb/source/DataFormatters/LibCxxInitializerList.cpp
+++ b/lldb/source/DataFormatters/LibCxxInitializerList.cpp
@@ -101,7 +101,7 @@ lldb_private::formatters::LibcxxInitializerListSyntheticFrontEnd::Update()
m_num_elements = 0;
m_children.clear();
lldb::TemplateArgumentKind kind;
- m_element_type = m_backend.GetClangType().GetTemplateArgument(0, kind);
+ m_element_type = ClangASTContext::GetTemplateArgument(m_backend.GetClangType(), 0, kind);
if (kind != lldb::eTemplateArgumentKindType || false == m_element_type.IsValid())
return false;
OpenPOWER on IntegriCloud