Skip to content

Conversation

@kazutakahirata
Copy link
Contributor

This patch simplifies the struct by switching to C++ aggregate
initialization.

… (NFC)

This patch simplifies the struct by switching to C++ aggregate
initialization.
@llvmbot
Copy link
Member

llvmbot commented Oct 18, 2025

@llvm/pr-subscribers-llvm-support

Author: Kazu Hirata (kazutakahirata)

Changes

This patch simplifies the struct by switching to C++ aggregate
initialization.


Full diff: https://github.com/llvm/llvm-project/pull/164118.diff

1 Files Affected:

  • (modified) llvm/include/llvm/Support/ELFAttributes.h (-2)
diff --git a/llvm/include/llvm/Support/ELFAttributes.h b/llvm/include/llvm/Support/ELFAttributes.h
index 270246f7e6d87..5771a8445949e 100644
--- a/llvm/include/llvm/Support/ELFAttributes.h
+++ b/llvm/include/llvm/Support/ELFAttributes.h
@@ -48,8 +48,6 @@ struct SubsectionAndTagToTagName {
   StringRef SubsectionName;
   unsigned Tag;
   StringRef TagName;
-  SubsectionAndTagToTagName(StringRef SN, unsigned Tg, StringRef TN)
-      : SubsectionName(SN), Tag(Tg), TagName(TN) {}
 };
 
 namespace ELFAttrs {

@kazutakahirata kazutakahirata merged commit 61e21f4 into llvm:main Oct 18, 2025
12 checks passed
@kazutakahirata kazutakahirata deleted the cleanup_20251018_Support_ELFAttributes branch October 18, 2025 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants