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.