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/InlineAsm.h | |
parent | 001d3dc976d7cda8a3dd8c7fd4020b0b96033f4e (diff) | |
download | llvm-9f9ce61972871efcf794bdc6125835c2c32cd863.tar.gz llvm-9f9ce61972871efcf794bdc6125835c2c32cd863.tar.bz2 llvm-9f9ce61972871efcf794bdc6125835c2c32cd863.tar.xz |
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/InlineAsm.h')
-rw-r--r-- | include/llvm/InlineAsm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/InlineAsm.h b/include/llvm/InlineAsm.h index a0aecfd8e4..58c1e84e53 100644 --- a/include/llvm/InlineAsm.h +++ b/include/llvm/InlineAsm.h @@ -44,8 +44,8 @@ private: friend class ConstantUniqueMap<InlineAsmKeyType, const InlineAsmKeyType&, PointerType, InlineAsm, false>; - InlineAsm(const InlineAsm &); // do not implement - void operator=(const InlineAsm&); // do not implement + InlineAsm(const InlineAsm &) LLVM_DELETED_FUNCTION; + void operator=(const InlineAsm&) LLVM_DELETED_FUNCTION; std::string AsmString, Constraints; bool HasSideEffects; |