mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
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
This commit is contained in:
@@ -83,10 +83,8 @@ const unsigned ProfileInfoLoader::Uncounted = ~0U;
|
||||
// program if the file is invalid or broken.
|
||||
//
|
||||
ProfileInfoLoader::ProfileInfoLoader(const char *ToolName,
|
||||
const std::string &Filename,
|
||||
Module &TheModule) :
|
||||
Filename(Filename),
|
||||
M(TheModule), Warned(false) {
|
||||
const std::string &Filename)
|
||||
: Filename(Filename), Warned(false) {
|
||||
FILE *F = fopen(Filename.c_str(), "rb");
|
||||
if (F == 0) {
|
||||
errs() << ToolName << ": Error opening '" << Filename << "': ";
|
||||
|
||||
Reference in New Issue
Block a user