Skip to content

Commit 61e21f4

Browse files
[Support] Remove a redundant constructor in SubsectionAndTagToTagName (NFC) (#164118)
This patch simplifies the struct by switching to C++ aggregate initialization.
1 parent 84dbe57 commit 61e21f4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/include/llvm/Support/ELFAttributes.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ struct SubsectionAndTagToTagName {
4848
StringRef SubsectionName;
4949
unsigned Tag;
5050
StringRef TagName;
51-
SubsectionAndTagToTagName(StringRef SN, unsigned Tg, StringRef TN)
52-
: SubsectionName(SN), Tag(Tg), TagName(TN) {}
5351
};
5452

5553
namespace ELFAttrs {

0 commit comments

Comments
 (0)