From: Adrian Prantl Date: Tue, 7 Mar 2017 17:50:51 +0000 (+0000) Subject: Rephrase condition for better readability. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1768aea0915a0031d1282502bf1b362c202d41f;p=llvm Rephrase condition for better readability. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297168 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/IR/Verifier.cpp b/lib/IR/Verifier.cpp index ff98126529d..5a7b8daa5e6 100644 --- a/lib/IR/Verifier.cpp +++ b/lib/IR/Verifier.cpp @@ -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