[PATCH] STLExtras: Provide less/equal functors with templated function call operators, plus a deref'ing functor template utility

David Blaikie dblaikie at gmail.com
Sun Feb 1 15:57:41 PST 2015


Hi chandlerc, dexonsmith,

Similar to the C++14 void specializations of these templates, useful as a stop-gap until LLVM switches to '14.

Example use-cases in tblgen because I saw some functors that looked like they could be simplified/refactored.

http://reviews.llvm.org/D7324

Files:
  include/llvm/ADT/STLExtras.h
  utils/TableGen/CodeGenRegisters.cpp
  utils/TableGen/CodeGenRegisters.h
  utils/TableGen/RegisterInfoEmitter.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7324.19119.patch
Type: text/x-patch
Size: 7692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150201/aeeff79a/attachment.bin>


More information about the llvm-commits mailing list