There's a place in swift-lldb where it is useful to create a copy of
an lldb_private::Variable. Adding these two accessors makes this
possible.
Type *operator->() { return GetType(); }
Type *GetType();
+ SymbolFile &GetSymbolFile() const { return m_symbol_file; }
protected:
SymbolFile &m_symbol_file;
lldb::ValueType GetScope() const { return m_scope; }
+ const RangeList &GetScopeRange() const { return m_scope_range; }
+
bool IsExternal() const { return m_external; }
bool IsArtificial() const { return m_artificial; }