diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-02-18 23:11:17 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-02-18 23:11:17 +0000 |
commit | a39058aaed4540fc37681cad728b99546595b2e8 (patch) | |
tree | 6b1e8bd252437c9a1fa0c7b659c94878e9503138 /include/llvm/IR/Operator.h | |
parent | 82f7815e6f7819223b5f311195bfc1d9645d4754 (diff) | |
download | llvm-a39058aaed4540fc37681cad728b99546595b2e8.tar.gz llvm-a39058aaed4540fc37681cad728b99546595b2e8.tar.bz2 llvm-a39058aaed4540fc37681cad728b99546595b2e8.tar.xz |
Use LLVM_DELETED_FUNCTION rather than '// do not implement' comments.
Also removes some redundant DNI comments on function declarations already
using the macro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR/Operator.h')
-rw-r--r-- | include/llvm/IR/Operator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/IR/Operator.h b/include/llvm/IR/Operator.h index 879707cd24..13ab72cfef 100644 --- a/include/llvm/IR/Operator.h +++ b/include/llvm/IR/Operator.h @@ -33,8 +33,8 @@ class ConstantExpr; /// class Operator : public User { private: - // Do not implement any of these. The Operator class is intended to be used - // as a utility, and is never itself instantiated. + // The Operator class is intended to be used as a utility, and is never itself + // instantiated. void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION; void *operator new(size_t s) LLVM_DELETED_FUNCTION; Operator() LLVM_DELETED_FUNCTION; |