summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit7c09ddf0aedcd12e962b16525615c85dea907219 (patch)
treec1cfd46ce5e8b63ccd839c31c421a6fdc26a4ea8 /llvm/lib/Analysis/InstCount.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/Analysis/InstCount.cpp')
-rw-r--r--llvm/lib/Analysis/InstCount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/InstCount.cpp b/llvm/lib/Analysis/InstCount.cpp
index dcbcac005a2..32febd6ef05 100644
--- a/llvm/lib/Analysis/InstCount.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud