[llvm] r297168 - Rephrase condition for better readability. NFC
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 09:50:52 PST 2017
Author: adrian
Date: Tue Mar 7 11:50:51 2017
New Revision: 297168
URL: http://llvm.org/viewvc/llvm-project?rev=297168&view=rev
Log:
Rephrase condition for better readability. NFC
Modified:
llvm/trunk/lib/IR/Verifier.cpp
Modified: llvm/trunk/lib/IR/Verifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=297168&r1=297167&r2=297168&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Verifier.cpp (original)
+++ llvm/trunk/lib/IR/Verifier.cpp Tue Mar 7 11:50:51 2017
@@ -2126,7 +2126,7 @@ void Verifier::visitFunction(const Funct
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
More information about the llvm-commits
mailing list