summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-09-18 02:01:41 +0000
committerCraig Topper <craig.topper@gmail.com>2012-09-18 02:01:41 +0000
commitb1d83e8c72187afec031eec7cc54d4b73b781d16 (patch)
tree8282fff2850bb0fd941f60c56accb967a7d7528b /llvm/lib/DebugInfo
parent90ae8f84421e24be66a1dd90a79ccdf54ee44d1d (diff)
downloadbcm5719-llvm-b1d83e8c72187afec031eec7cc54d4b73b781d16.tar.gz
bcm5719-llvm-b1d83e8c72187afec031eec7cc54d4b73b781d16.zip
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.
llvm-svn: 164090
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/DWARFContext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.h b/llvm/lib/DebugInfo/DWARFContext.h
index 76339979dd1..d10e8508709 100644
--- a/llvm/lib/DebugInfo/DWARFContext.h
+++ b/llvm/lib/DebugInfo/DWARFContext.h
@@ -32,8 +32,8 @@ class DWARFContext : public DIContext {
OwningPtr<DWARFDebugAranges> Aranges;
OwningPtr<DWARFDebugLine> Line;
- DWARFContext(DWARFContext &); // = delete
- DWARFContext &operator=(DWARFContext &); // = delete
+ DWARFContext(DWARFContext &) LLVM_DELETED_FUNCTION;
+ DWARFContext &operator=(DWARFContext &) LLVM_DELETED_FUNCTION;
/// Read compile units from the debug_info section and store them in CUs.
void parseCompileUnits();
OpenPOWER on IntegriCloud