Change 141480 introduced a constant template parameter to RangeArray which
doesn't allow typedef'ing with the same name.
Patch attached.
Thanks,
Dragos
Rename RangeArray typedef to RangeList to fix Block.h compile.
Change 141480 introduced a constant template parameter to RangeArray which doesn't allow
typedef'ing with the same name.
Index: include/lldb/Symbol/Block.h
===================================================================
--- include/lldb/Symbol/Block.h (revision 141527)
+++ include/lldb/Symbol/Block.h (working copy)
@@ -43,8 +43,8 @@
public SymbolContextScope
{
public:
- typedef RangeArray<uint32_t, uint32_t, 1> RangeArray;
- typedef RangeArray::Entry Range;
+ typedef RangeArray<uint32_t, uint32_t, 1> RangeList;
+ typedef RangeList::Entry Range;
//------------------------------------------------------------------
/// Construct with a User ID \a uid, \a depth.
@@ -459,7 +459,7 @@
//------------------------------------------------------------------
SymbolContextScope *m_parent_scope;
collection m_children;
- RangeArray m_ranges;
+ RangeList m_ranges;
lldb::InlineFunctionInfoSP m_inlineInfoSP; ///< Inlined function information.
lldb::VariableListSP m_variable_list_sp; ///< The variable list for all local, static and paramter variables scoped to this block.
bool m_parsed_block_info:1, ///< Set to true if this block and it's children have all been parsed
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev