We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa84078 commit f57d97eCopy full SHA for f57d97e
bolt/lib/Passes/NonPacProtectedRetAnalysis.cpp
@@ -87,7 +87,7 @@ static void traceRegMask(const BinaryContext &BC, StringRef Label,
87
// This class represents mapping from a set of arbitrary physical registers to
88
// consecutive array indexes.
89
class TrackedRegisters {
90
- static const uint16_t NoIndex = -1;
+ static constexpr uint16_t NoIndex = -1;
91
const std::vector<MCPhysReg> Registers;
92
std::vector<uint16_t> RegToIndexMapping;
93
0 commit comments