commit | 24b6acf9719e4cae19a2b9cdb3fd32e074b19c7a | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Fri Jul 24 20:56:10 2015 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Fri Jul 24 20:56:10 2015 +0000 |
tree | ce8650aa72bd902eba051d8392ab05b294d90b8a | |
parent | 0567cb7e1aed86bdbfdf2f8575984874426e6465 [diff] |
DI: Simplify DebugInfoFinder::processType(), NFC Handle `DISubroutineType` up-front rather than as part of a branch for `DICompositeTypeBase`. The only shared code path was looking through the base type, but `DISubroutineType` can never have a base type. This also removes the last use of `DICompositeTypeBase`, since we can strengthen the cast to `DICompositeType`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243159 91177308-0d34-0410-b5e6-96231b3b80d8