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/Analysis/InstCount.cpp | |
parent | 132929aa9e1b0b00d2643408d88239c20f1e7ed7 (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/Analysis/InstCount.cpp')
-rw-r--r-- | lib/Analysis/InstCount.cpp | 2 |
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); } |