forked from OSchip/llvm-project
Rephrase condition for better readability. NFC
llvm-svn: 297168
This commit is contained in:
parent
3b9fb88476
commit
39c6fa6064
|
@ -2126,7 +2126,7 @@ void Verifier::visitFunction(const Function &F) {
|
|||
|
||||
auto *N = F.getSubprogram();
|
||||
HasDebugInfo = (N != nullptr);
|
||||
if (!N)
|
||||
if (!HasDebugInfo)
|
||||
return;
|
||||
|
||||
// Check that all !dbg attachments lead to back to N (or, at least, another
|
||||
|
|
Loading…
Reference in New Issue