diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-14 21:35:10 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-14 21:35:10 +0000 |
commit | 7268d97ae6c1680be96e5758c33cdd46efb6ce54 (patch) | |
tree | 84f3c90c87b7f97d5502386d73814a1c19025240 /lib/Linker | |
parent | 132929aa9e1b0b00d2643408d88239c20f1e7ed7 (diff) | |
download | external_llvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.zip external_llvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.tar.gz external_llvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.tar.bz2 |
Add ATTRIBUTE_UNUSED to methods that are not supposed to be used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker')
-rw-r--r-- | lib/Linker/LinkModules.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index 4891631..4984d93 100644 --- a/lib/Linker/LinkModules.cpp +++ b/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() { |