diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-03-07 17:50:51 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-03-07 17:50:51 +0000 |
commit | 39c6fa6064440b0744ab8ff7726a0e1d8b34129b (patch) | |
tree | d4da9f3579839b0d7fa5f6dcbb43ae4b2897e29e /llvm/lib | |
parent | 3b9fb88476b9d11a31c0dcc2ede9b1156e994096 (diff) | |
download | bcm5719-llvm-39c6fa6064440b0744ab8ff7726a0e1d8b34129b.tar.gz bcm5719-llvm-39c6fa6064440b0744ab8ff7726a0e1d8b34129b.zip |
Rephrase condition for better readability. NFC
llvm-svn: 297168
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/IR/Verifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index ff98126529d..5a7b8daa5e6 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/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 |