Skip to content

[DebugInfo] Use default member initialization in InlineInfo (NFC) #138410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ class GsymReader;
///
struct InlineInfo {

uint32_t Name; ///< String table offset in the string table.
uint32_t CallFile; ///< 1 based file index in the file table.
uint32_t CallLine; ///< Source line number.
uint32_t Name = 0; ///< String table offset in the string table.
uint32_t CallFile = 0; ///< 1 based file index in the file table.
uint32_t CallLine = 0; ///< Source line number.
AddressRanges Ranges;
std::vector<InlineInfo> Children;
InlineInfo() : Name(0), CallFile(0), CallLine(0) {}
InlineInfo() = default;
void clear() {
Name = 0;
CallFile = 0;
Expand Down
Loading