summaryrefslogtreecommitdiff
path: root/lib/Analysis/InstCount.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
commit7268d97ae6c1680be96e5758c33cdd46efb6ce54 (patch)
tree84f3c90c87b7f97d5502386d73814a1c19025240 /lib/Analysis/InstCount.cpp
parent132929aa9e1b0b00d2643408d88239c20f1e7ed7 (diff)
downloadllvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.tar.gz
llvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.tar.bz2
llvm-7268d97ae6c1680be96e5758c33cdd46efb6ce54.tar.xz
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/Analysis/InstCount.cpp')
-rw-r--r--lib/Analysis/InstCount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/InstCount.cpp b/lib/Analysis/InstCount.cpp
index dcbcac005a..32febd6ef0 100644
--- a/lib/Analysis/InstCount.cpp
+++ b/lib/Analysis/InstCount.cpp
@@ -45,7 +45,7 @@ namespace {
#include "llvm/Instruction.def"
- void visitInstruction(Instruction &I) {
+ void visitInstruction(Instruction &I) ATTRIBUTE_UNUSED {
errs() << "Instruction Count does not know about " << I;
llvm_unreachable(0);
}