diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2015-02-15 22:54:22 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2015-02-15 22:54:22 +0000 |
commit | f9a1897c72e172044af4889cd50a7dcd5047947b (patch) | |
tree | 3f899ea1559e5113a0ff75938f17af5b29741a85 /llvm/include/llvm/Support/CommandLine.h | |
parent | abc18920577c85c45458ee9de7dfec2d3ee54cef (diff) | |
download | bcm5719-llvm-f9a1897c72e172044af4889cd50a7dcd5047947b.tar.gz bcm5719-llvm-f9a1897c72e172044af4889cd50a7dcd5047947b.zip |
Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition.
llvm-svn: 229340
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
-rw-r--r-- | llvm/include/llvm/Support/CommandLine.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 6f4cd9a9856..64c5d963d2c 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -1201,8 +1201,8 @@ class opt : public Option, } // Command line options should not be copyable - opt(const opt &) LLVM_DELETED_FUNCTION; - opt &operator=(const opt &) LLVM_DELETED_FUNCTION; + opt(const opt &) = delete; + opt &operator=(const opt &) = delete; public: // setInitialValue - Used by the cl::init modifier... @@ -1315,8 +1315,8 @@ class list : public Option, public list_storage<DataType, Storage> { } // Command line options should not be copyable - list(const list &) LLVM_DELETED_FUNCTION; - list &operator=(const list &) LLVM_DELETED_FUNCTION; + list(const list &) = delete; + list &operator=(const list &) = delete; public: ParserClass &getParser() { return Parser; } @@ -1455,8 +1455,8 @@ class bits : public Option, public bits_storage<DataType, Storage> { } // Command line options should not be copyable - bits(const bits &) LLVM_DELETED_FUNCTION; - bits &operator=(const bits &) LLVM_DELETED_FUNCTION; + bits(const bits &) = delete; + bits &operator=(const bits &) = delete; public: ParserClass &getParser() { return Parser; } @@ -1509,8 +1509,8 @@ class alias : public Option { } // Command line options should not be copyable - alias(const alias &) LLVM_DELETED_FUNCTION; - alias &operator=(const alias &) LLVM_DELETED_FUNCTION; + alias(const alias &) = delete; + alias &operator=(const alias &) = delete; public: void setAliasFor(Option &O) { |