Skip to content

Commit 7ca6180

Browse files
committed
fixup! add doxygen comment to element_orders member; revert redundant whitespace change
1 parent 59f8a16 commit 7ca6180

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

lldb/include/lldb/Symbol/SymbolFile.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,14 @@ class SymbolFile : public PluginInterface {
211211
/// The characteristics of an array type.
212212
struct ArrayInfo {
213213
int64_t first_index = 0;
214+
215+
///< Each entry belongs to a distinct DW_TAG_subrange_type.
216+
///< For multi-dimensional DW_TAG_array_types we would have
217+
///< an entry for each dimension. An entry represents the
218+
///< optional element count of the subrange.
219+
///
220+
///< The order of entries follows the order of the DW_TAG_subrange_type
221+
///< children of this DW_TAG_array_type.
214222
llvm::SmallVector<std::optional<uint64_t>, 1> element_orders;
215223
uint32_t byte_stride = 0;
216224
uint32_t bit_stride = 0;

lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ DWARFASTParser::ParseChildArrayInfo(const DWARFDIE &parent_die,
6666
}
6767
} else
6868
num_elements = form_value.Unsigned();
69-
7069
break;
7170

7271
case DW_AT_bit_stride:

0 commit comments

Comments
 (0)