Skip to content

Commit b44da56

Browse files
kazutakahiratagithub-actions[bot]
authored andcommitted
Automerge: [Support] Remove a redundant constructor in SubsectionAndTagToTagName (NFC) (#164118)
This patch simplifies the struct by switching to C++ aggregate initialization.
2 parents f1842bc + 61e21f4 commit b44da56

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)