From 7c09ddf0aedcd12e962b16525615c85dea907219 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sat, 14 Aug 2010 21:35:10 +0000 Subject: Add ATTRIBUTE_UNUSED to methods that are not supposed to be used. llvm-svn: 111082 --- llvm/lib/Linker/LinkModules.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Linker/LinkModules.cpp') diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index 4891631bc9c..4984d934bb3 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/lib/Linker/LinkModules.cpp @@ -78,8 +78,8 @@ class LinkerTypeMap : public AbstractTypeUser { typedef DenseMap TheMapTy; TheMapTy TheMap; - LinkerTypeMap(const LinkerTypeMap&); // DO NOT IMPLEMENT - void operator=(const LinkerTypeMap&); // DO NOT IMPLEMENT + LinkerTypeMap(const LinkerTypeMap&) ATTRIBUTE_UNUSED; // DO NOT IMPLEMENT + void operator=(const LinkerTypeMap&) ATTRIBUTE_UNUSED; // DO NOT IMPLEMENT public: LinkerTypeMap() {} ~LinkerTypeMap() { -- cgit v1.2.3