]> granicus.if.org Git - llvm/commitdiff
Fix typo: GETTER to SETTER (NFC)
authorMomchil Velikov <momchil.velikov@arm.com>
Sun, 23 Jul 2017 22:27:34 +0000 (22:27 +0000)
committerMomchil Velikov <momchil.velikov@arm.com>
Sun, 23 Jul 2017 22:27:34 +0000 (22:27 +0000)
Use the CALLSITE_DELEGATE_SETTER macro in CallSiteBase::setCannotDuplicate.
Comitted as obvious.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308853 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/CallSite.h

index 96fbebf42c38b043780443aa579d6b242593615c..01fee548f0de43095248ee3ea66759045b7f1f76 100644 (file)
@@ -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.