summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBCompileUnit.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-07-25 08:22:05 +0000
committerPavel Labath <pavel@labath.sk>2019-07-25 08:22:05 +0000
commitf46e8974dea4f8c6f4f9655a7e24d196af54862c (patch)
tree516b3e4a291eefae66a08fc3bcf1d674e313c91d /lldb/source/API/SBCompileUnit.cpp
parent5c606cef796ebcd9165719955fe46fa1ace2d124 (diff)
downloadbcm5719-llvm-f46e8974dea4f8c6f4f9655a7e24d196af54862c.tar.gz
bcm5719-llvm-f46e8974dea4f8c6f4f9655a7e24d196af54862c.zip
SymbolVendor: Remove the type list member
Summary: Similarly to the compile unit lists, the list of types can also be managed by the symbol file itself. Since the only purpose of this list seems to be to maintain an owning reference to all the types a symbol file has created (items are only ever added to the list, never retrieved), I remove the passthrough functions in SymbolVendor and Module. I also tighten the interface of the function (return a reference instead of a pointer, make it protected instead of public). Reviewers: clayborg, JDevlieghere, jingham Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D65135 llvm-svn: 366994
Diffstat (limited to 'lldb/source/API/SBCompileUnit.cpp')
-rw-r--r--lldb/source/API/SBCompileUnit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/API/SBCompileUnit.cpp b/lldb/source/API/SBCompileUnit.cpp
index c9ca70645d9..341268f98c7 100644
--- a/lldb/source/API/SBCompileUnit.cpp
+++ b/lldb/source/API/SBCompileUnit.cpp
@@ -16,6 +16,7 @@
#include "lldb/Symbol/LineTable.h"
#include "lldb/Symbol/SymbolVendor.h"
#include "lldb/Symbol/Type.h"
+#include "lldb/Symbol/TypeList.h"
using namespace lldb;
using namespace lldb_private;
OpenPOWER on IntegriCloud