From 95a9d937728ca9cf2bf44f86ff1184df318b3bd7 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 6 Jun 2012 19:47:08 +0000 Subject: Round 2 of dead private variable removal. LLVM is now -Wunused-private-field clean except for - lib/MC/MCDisassembler/Disassembler.h. Not sure why it keeps all those unaccessible fields. - gtest. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158096 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/ProfileInfoLoader.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/llvm/Analysis') diff --git a/include/llvm/Analysis/ProfileInfoLoader.h b/include/llvm/Analysis/ProfileInfoLoader.h index 9e0c393..4539757 100644 --- a/include/llvm/Analysis/ProfileInfoLoader.h +++ b/include/llvm/Analysis/ProfileInfoLoader.h @@ -28,7 +28,6 @@ class BasicBlock; class ProfileInfoLoader { const std::string &Filename; - Module &M; std::vector CommandLines; std::vector FunctionCounts; std::vector BlockCounts; @@ -39,8 +38,7 @@ class ProfileInfoLoader { public: // ProfileInfoLoader ctor - Read the specified profiling data file, exiting // the program if the file is invalid or broken. - ProfileInfoLoader(const char *ToolName, const std::string &Filename, - Module &M); + ProfileInfoLoader(const char *ToolName, const std::string &Filename); static const unsigned Uncounted; -- cgit v1.1