aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/IR/Constant.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/IR/Constant.h')
-rw-r--r--include/llvm/IR/Constant.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/IR/Constant.h b/include/llvm/IR/Constant.h
index d26991e..75499e0 100644
--- a/include/llvm/IR/Constant.h
+++ b/include/llvm/IR/Constant.h
@@ -39,8 +39,8 @@ namespace llvm {
/// don't have to worry about the lifetime of the objects.
/// @brief LLVM Constant Representation
class Constant : public User {
- void operator=(const Constant &) LLVM_DELETED_FUNCTION;
- Constant(const Constant &) LLVM_DELETED_FUNCTION;
+ void operator=(const Constant &) = delete;
+ Constant(const Constant &) = delete;
void anchor() override;
protected: