OSDN Git Service

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 96fbebf..01fee54 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.