Skip to content

Commit aea75d0

Browse files
[ObjectYAML] Remove redundant declarations (NFC) (#166508)
In C++17, static constexpr members are implicitly inline, so they no longer require an out-of-line definition. Identified with readability-redundant-declaration.
1 parent 0b29c3c commit aea75d0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/ObjectYAML/ELFYAML.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ unsigned Object::getMachine() const {
3737
return *Header.Machine;
3838
return llvm::ELF::EM_NONE;
3939
}
40-
41-
constexpr StringRef SectionHeaderTable::TypeStr;
4240
} // namespace ELFYAML
4341

4442
namespace yaml {

0 commit comments

Comments
 (0)