[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:17:27 PDT 2017


chill created this revision.

Use the `CALLSITE_DELEGATE_SETTER` macro in `CallSiteBase::setCannotDuplicate`.


https://reviews.llvm.org/D34406

Files:
  include/llvm/IR/CallSite.h


Index: include/llvm/IR/CallSite.h
===================================================================
--- include/llvm/IR/CallSite.h
+++ include/llvm/IR/CallSite.h
@@ -488,7 +488,7 @@
     CALLSITE_DELEGATE_GETTER(cannotDuplicate());
   }
   void setCannotDuplicate() {
-    CALLSITE_DELEGATE_GETTER(setCannotDuplicate());
+    CALLSITE_DELEGATE_SETTER(setCannotDuplicate());
   }
 
   /// Determine if the call is convergent.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34406.103215.patch
Type: text/x-patch
Size: 427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170620/fca8936c/attachment.bin>


More information about the llvm-commits mailing list