Skip to content

Commit 0cadb76

Browse files
kazutakahirataLukacma
authored andcommitted
[Support] Remove a redundant constructor in SubsectionAndTagToTagName (NFC) (llvm#164118)
This patch simplifies the struct by switching to C++ aggregate initialization.
1 parent 8e285d9 commit 0cadb76

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)