diff options
-rw-r--r-- | include/llvm/Operator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Operator.h b/include/llvm/Operator.h index 41e6db0..b326c11 100644 --- a/include/llvm/Operator.h +++ b/include/llvm/Operator.h @@ -37,6 +37,7 @@ private: void *operator new(size_t s) LLVM_DELETED_FUNCTION; Operator() LLVM_DELETED_FUNCTION; +protected: // NOTE: Cannot use LLVM_DELETED_FUNCTION because it's not legal to delete // an overridden method that's not deleted in the base class. Cannot leave // this unimplemented because that leads to an ODR-violation. |