summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkModules.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-08-14 21:35:10 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-08-14 21:35:10 +0000
commit7c09ddf0aedcd12e962b16525615c85dea907219 (patch)
treec1cfd46ce5e8b63ccd839c31c421a6fdc26a4ea8 /llvm/lib/Linker/LinkModules.cpp
parent2a2e21c902dac5b156ed1b0b8721c70e1315a2da (diff)
downloadbcm5719-llvm-7c09ddf0aedcd12e962b16525615c85dea907219.tar.gz
bcm5719-llvm-7c09ddf0aedcd12e962b16525615c85dea907219.zip
Add ATTRIBUTE_UNUSED to methods that are not supposed to be used.
llvm-svn: 111082
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp4
1 files changed, 2 insertions, 2 deletions
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<const Type*, PATypeHolder> 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() {
OpenPOWER on IntegriCloud