[PATCH] D34406: Fix typo/oversight: GETTER to SETTER (NFC)

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 09:20:23 PDT 2017


chill added a comment.

FWIW, probably a single CALLSITE_DELAGATE macro could be used all over:

  #define CALLSITE_DELEGATE(METHOD) \
   InstrTy *II = getInstruction(); \
   return isCall() \
     ? cast<CallInst>(II)->METHOD \
     : cast<InvokeInst>(II)->METHOD


https://reviews.llvm.org/D34406





More information about the llvm-commits mailing list