[PATCH] D29161: [APFloat] Reduce some dispatch boilerplates. NFC.

Tim Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 17:03:33 PST 2017


timshen created this revision.
Herald added a subscriber: mehdi_amini.

This is an attempt to reduce the verbose manual dispatching code in APFloat. This doesn't handle multiple dispatch on single discriminator (e.g. APFloat::add(const APFloat&)), nor handles multiple dispatch on multiple discriminators (e.g. APFloat::convert()).


https://reviews.llvm.org/D29161

Files:
  llvm/include/llvm/ADT/APFloat.h
  llvm/lib/Support/APFloat.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29161.85843.patch
Type: text/x-patch
Size: 13484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170126/84fa976f/attachment.bin>


More information about the llvm-commits mailing list