[llvm] r308853 - Fix typo: GETTER to SETTER (NFC)

Momchil Velikov via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 23 15:27:34 PDT 2017


Author: chill
Date: Sun Jul 23 15:27:34 2017
New Revision: 308853

URL: http://llvm.org/viewvc/llvm-project?rev=308853&view=rev
Log:
Fix typo: GETTER to SETTER (NFC)

Use the CALLSITE_DELEGATE_SETTER macro in CallSiteBase::setCannotDuplicate.
Comitted as obvious.

Modified:
    llvm/trunk/include/llvm/IR/CallSite.h

Modified: llvm/trunk/include/llvm/IR/CallSite.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/CallSite.h?rev=308853&r1=308852&r2=308853&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/CallSite.h (original)
+++ llvm/trunk/include/llvm/IR/CallSite.h Sun Jul 23 15:27:34 2017
@@ -488,7 +488,7 @@ public:
     CALLSITE_DELEGATE_GETTER(cannotDuplicate());
   }
   void setCannotDuplicate() {
-    CALLSITE_DELEGATE_GETTER(setCannotDuplicate());
+    CALLSITE_DELEGATE_SETTER(setCannotDuplicate());
   }
 
   /// Determine if the call is convergent.




More information about the llvm-commits mailing list