mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 03:56:16 +08:00
[BOLT] Remove redundant declarations (NFC) (#166893)
In C++17, static constexpr members are implicitly inline, so they no longer require an out-of-line definition. Identified with readability-redundant-declaration.
This commit is contained in:
@@ -22,8 +22,6 @@
|
||||
namespace llvm {
|
||||
namespace bolt {
|
||||
|
||||
constexpr uint32_t BinaryBasicBlock::INVALID_OFFSET;
|
||||
|
||||
bool operator<(const BinaryBasicBlock &LHS, const BinaryBasicBlock &RHS) {
|
||||
return LHS.Index < RHS.Index;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user