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
diff --git a/lib/Analysis/InstCount.cpp b/lib/Analysis/InstCount.cpp
index dcbcac0..32febd6 100644
--- a/lib/Analysis/InstCount.cpp
+++ b/lib/Analysis/InstCount.cpp
@@ -45,7 +45,7 @@
 
 #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);
     }