aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore
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
commit7268d97ae6c1680be96e5758c33cdd46efb6ce54 (patch)
tree84f3c90c87b7f97d5502386d73814a1c19025240 /lib/VMCore
parent132929aa9e1b0b00d2643408d88239c20f1e7ed7 (diff)
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/VMCore')
-rw-r--r--lib/VMCore/Verifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp
index 8ff1551424..3aaf8cbe81 100644
--- a/lib/VMCore/Verifier.cpp
+++ b/lib/VMCore/Verifier.cpp
@@ -151,8 +151,8 @@ namespace {
SmallSetVector<const Type *, 16> Types;
// Disallow copying.
- TypeSet(const TypeSet &);
- TypeSet &operator=(const TypeSet &);
+ TypeSet(const TypeSet &) ATTRIBUTE_UNUSED;
+ TypeSet &operator=(const TypeSet &) ATTRIBUTE_UNUSED;
};
struct Verifier : public FunctionPass, public InstVisitor<Verifier> {