Skip to content

Commit 032529c

Browse files
kazutakahirataDebadri Basak
authored andcommitted
[X86] Remove redundant declarations (NFC) (llvm#166107)
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 30c749f commit 032529c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,6 @@ struct DOTGraphTraits<MachineGadgetGraph *> : DefaultDOTGraphTraits {
227227

228228
} // end namespace llvm
229229

230-
constexpr MachineInstr *MachineGadgetGraph::ArgNodeSentinel;
231-
constexpr int MachineGadgetGraph::GadgetEdgeSentinel;
232-
233230
char X86LoadValueInjectionLoadHardeningPass::ID = 0;
234231

235232
void X86LoadValueInjectionLoadHardeningPass::getAnalysisUsage(

0 commit comments

Comments
 (0)