[IR] Remove an unnecessary cast (NFC) (#146464)
The destructor does not return anything.
This commit is contained in:
@@ -699,7 +699,7 @@ MDNode::Header::~Header() {
|
||||
}
|
||||
MDOperand *O = reinterpret_cast<MDOperand *>(this);
|
||||
for (MDOperand *E = O - SmallSize; O != E; --O)
|
||||
(void)(O - 1)->~MDOperand();
|
||||
(O - 1)->~MDOperand();
|
||||
}
|
||||
|
||||
void *MDNode::Header::getSmallPtr() {
|
||||
|
||||
Reference in New Issue
Block a user