Verifier: Sink filename check into visitMDCompositeType(), NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Jul 2015 19:57:19 +0000 (19:57 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Jul 2015 19:57:19 +0000 (19:57 +0000)
commitb2c91c5ecd02728adb3057fe3bce0c65da347eb8
tree9487be2071709b468c945a3e6da0578c3296ca39
parentcb21505064b3377e56a0b7cc21fa3435fbca885d
Verifier: Sink filename check into visitMDCompositeType(), NFC

We really only want to check this for unions and classes (all the other
tags have been ruled out), so simplify the check and move it to the
right place.

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