diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-09-17 07:16:40 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-09-17 07:16:40 +0000 |
commit | 9f9ce61972871efcf794bdc6125835c2c32cd863 (patch) | |
tree | 3a571d10c8a99938078411e7834b2f700f2e424c /include/llvm/GlobalValue.h | |
parent | 001d3dc976d7cda8a3dd8c7fd4020b0b96033f4e (diff) | |
download | external_llvm-9f9ce61972871efcf794bdc6125835c2c32cd863.zip external_llvm-9f9ce61972871efcf794bdc6125835c2c32cd863.tar.gz external_llvm-9f9ce61972871efcf794bdc6125835c2c32cd863.tar.bz2 |
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/GlobalValue.h')
-rw-r--r-- | include/llvm/GlobalValue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h index 391b830..58d0257 100644 --- a/include/llvm/GlobalValue.h +++ b/include/llvm/GlobalValue.h @@ -26,7 +26,7 @@ class PointerType; class Module; class GlobalValue : public Constant { - GlobalValue(const GlobalValue &); // do not implement + GlobalValue(const GlobalValue &) LLVM_DELETED_FUNCTION; public: /// @brief An enumeration for the kinds of linkage for global values. enum LinkageTypes { |