Skip to content

Commit 8da123e

Browse files
[ObjectYAML] Remove redundant declarations (NFC)
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 4c2a9c4 commit 8da123e

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)