From 7268d97ae6c1680be96e5758c33cdd46efb6ce54 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sat, 14 Aug 2010 21:35:10 +0000 Subject: 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 --- lib/Analysis/InstCount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Analysis/InstCount.cpp') 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); } -- cgit v1.2.3