summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-20 00:57:33 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-20 00:57:33 +0000
commit0f529998a5355fde5662719c56e74492802cb816 (patch)
tree457b8814fda7c62a99ff439f0c673efb624130e5 /llvm/lib/Bitcode
parentee3626ec165dd02a3aef95cdfb297bba1e43d97a (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud