diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-20 00:57:33 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-20 00:57:33 +0000 |
commit | 0f529998a5355fde5662719c56e74492802cb816 (patch) | |
tree | 457b8814fda7c62a99ff439f0c673efb624130e5 /llvm/lib/Bitcode | |
parent | ee3626ec165dd02a3aef95cdfb297bba1e43d97a (diff) | |
download | bcm5719-llvm-0f529998a5355fde5662719c56e74492802cb816.tar.gz bcm5719-llvm-0f529998a5355fde5662719c56e74492802cb816.zip |
IR: Detect whether to call recalculateHash() via SFINAE, NFC
Rather than relying on updating switch statements correctly, detect
whether `setHash()` exists in the subclass. If so, call
`recalculateHash()` and `setHash(0)` appropriately.
llvm-svn: 226531
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions