diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-07-24 19:42:12 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-07-24 19:42:12 +0000 |
commit | 89c5e6ff490f57016b4f1950d3482b31a9ae099c (patch) | |
tree | acd93058ca9ee010c56ee674c7328e45078d7b2f /llvm/lib/IR/Verifier.cpp | |
parent | 57cb9919c5ee3d7d4edd3d49d52b49e10589887b (diff) | |
download | bcm5719-llvm-89c5e6ff490f57016b4f1950d3482b31a9ae099c.tar.gz bcm5719-llvm-89c5e6ff490f57016b4f1950d3482b31a9ae099c.zip |
DI: Clarify isUnsignedDIType(), NFC
Refactor `isUnsignedDIType()` to deal with `DICompositeType` explicitly.
Since `DW_TAG_subroutine_type` isn't handled here (the assertions about
tags rule it out), this allows strengthening the `dyn_cast` to
`DIDerivedType`.
Besides making the code clearer, this it removes a use of
`DIDerivedTypeBase`.
llvm-svn: 243148
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
0 files changed, 0 insertions, 0 deletions