-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[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
[DebugInfo] Use default member initialization in InlineInfo (NFC) #138410
Conversation
@llvm/pr-subscribers-debuginfo Author: Kazu Hirata (kazutakahirata) ChangesFull diff: https://github.com/llvm/llvm-project/pull/138410.diff 1 Files Affected:
diff --git a/llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h b/llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h
index 616f35d82e1c7..8957d4176ce11 100644
--- a/llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h
+++ b/llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h
@@ -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;
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/116/builds/12363 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/11096 Here is the relevant piece of the build log for the reference
|
No description provided.