diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-06 19:47:08 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-06 19:47:08 +0000 |
commit | 95a9d937728ca9cf2bf44f86ff1184df318b3bd7 (patch) | |
tree | 77b5cf196dfbbd2ec36581c239d67d5632540710 /include/llvm/Analysis | |
parent | a7542d5f870c5d98960d1676e23ac1d1d975d7e5 (diff) | |
download | external_llvm-95a9d937728ca9cf2bf44f86ff1184df318b3bd7.zip external_llvm-95a9d937728ca9cf2bf44f86ff1184df318b3bd7.tar.gz external_llvm-95a9d937728ca9cf2bf44f86ff1184df318b3bd7.tar.bz2 |
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
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/ProfileInfoLoader.h | 4 |
1 files changed, 1 insertions, 3 deletions
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<std::string> CommandLines; std::vector<unsigned> FunctionCounts; std::vector<unsigned> 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; |