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 6c59dfb commit 851bacbCopy full SHA for 851bacb
llvm/lib/IR/DebugProgramInstruction.cpp
@@ -477,8 +477,8 @@ Value *DbgVariableRecord::getAddress() const {
477
return V->getValue();
478
479
// When the value goes to null, it gets replaced by an empty MDNode.
480
- assert(!MD ||
481
- !cast<MDNode>(MD)->getNumOperands() && "Expected an empty MDNode");
+ assert((!MD || !cast<MDNode>(MD)->getNumOperands()) &&
+ "Expected an empty MDNode");
482
return nullptr;
483
}
484
0 commit comments