summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRForTarget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
-rw-r--r--lldb/source/Expression/IRForTarget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp
index ca1aeb4327c..57604aadacd 100644
--- a/lldb/source/Expression/IRForTarget.cpp
+++ b/lldb/source/Expression/IRForTarget.cpp
@@ -528,8 +528,7 @@ IRForTarget::MaybeHandleVariable(Module &M,
if (named_decl && !m_decl_map->AddValueToStruct(V,
named_decl,
name,
- qual_type,
- ast_context,
+ lldb_private::TypeFromParser(qual_type, ast_context),
value_size,
value_alignment))
return false;
OpenPOWER on IntegriCloud