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 | 7c09ddf0aedcd12e962b16525615c85dea907219 (patch) | |
tree | c1cfd46ce5e8b63ccd839c31c421a6fdc26a4ea8 /llvm/lib/Analysis/InstCount.cpp | |
parent | 2a2e21c902dac5b156ed1b0b8721c70e1315a2da (diff) | |
download | bcm5719-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.cpp | 2 |
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); } |