summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2015-10-02 18:40:30 +0000
committerSean Callanan <scallanan@apple.com>2015-10-02 18:40:30 +0000
commita994b0b27314668f5bcddaf8ba166c531ddb797c (patch)
tree9f462f35426bcc96dd5a0468f533920b80a159ba /lldb/source/DataFormatters
parent9e31cb9ea7be1a7f5c8690e36d827f483f5d7ae1 (diff)
downloadbcm5719-llvm-a994b0b27314668f5bcddaf8ba166c531ddb797c.tar.gz
bcm5719-llvm-a994b0b27314668f5bcddaf8ba166c531ddb797c.zip
Made GetScratchTypeSystemForLanguage return an error if desired.
Also made it not store nullptrs in its TypeSystemMap, so it will retry to make the AST context if it errored out last time. llvm-svn: 249167
Diffstat (limited to 'lldb/source/DataFormatters')
-rw-r--r--lldb/source/DataFormatters/VectorType.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/DataFormatters/VectorType.cpp b/lldb/source/DataFormatters/VectorType.cpp
index 1b62d81de02..c04c0deca18 100644
--- a/lldb/source/DataFormatters/VectorType.cpp
+++ b/lldb/source/DataFormatters/VectorType.cpp
@@ -235,7 +235,7 @@ namespace lldb_private {
TargetSP target_sp(m_backend.GetTargetSP());
m_child_type = ::GetCompilerTypeForFormat(m_parent_format,
element_type,
- target_sp ? target_sp->GetScratchTypeSystemForLanguage(lldb::eLanguageTypeC) : nullptr);
+ target_sp ? target_sp->GetScratchTypeSystemForLanguage(nullptr, lldb::eLanguageTypeC) : nullptr);
m_num_children = ::CalculateNumChildren(parent_type,
m_child_type);
m_item_format = GetItemFormatForFormat(m_parent_format,
OpenPOWER on IntegriCloud