DebugInfo: Simplify logic in DIType::Verify(), NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 16 Mar 2015 20:46:27 +0000 (20:46 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 16 Mar 2015 20:46:27 +0000 (20:46 +0000)
commit83c42e65fb6e7cd9c3a949f265628a986a37811d
tree86f4f26cce295c7b89dad02c9ca6193b825809b1
parentc77560e2190c991f0e8b0c73e8931f19c03307e6
DebugInfo: Simplify logic in DIType::Verify(), NFC

Clarify the logic in `DIType::Verify()` by checking `isBasicType()`
earlier, by skipping `else` after `return`s, and by documenting an
otherwise opaque check.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232410 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp