[llvm-commits] [llvm] r160583 - in /llvm/trunk: include/llvm/Analysis/ProfileInfoLoader.h lib/Analysis/ProfileInfoLoader.cpp lib/CodeGen/AsmPrinter/ARMException.cpp lib/CodeGen/AsmPrinter/DwarfException.h lib/CodeGen/StackSlotColoring.cpp lib/Support/YAMLParser.cpp
Jim Grosbach
grosbach at apple.com
Fri Jul 20 15:44:32 PDT 2012
Yay! Thanks, Ben.
On Jul 20, 2012, at 3:05 PM, Benjamin Kramer <benny.kra at googlemail.com> wrote:
> Author: d0k
> Date: Fri Jul 20 17:05:57 2012
> New Revision: 160583
>
> URL: http://llvm.org/viewvc/llvm-project?rev=160583&view=rev
> Log:
> Remove unused private member variables uncovered by the recent changes to clang's -Wunused-private-field.
>
> Modified:
> llvm/trunk/include/llvm/Analysis/ProfileInfoLoader.h
> llvm/trunk/lib/Analysis/ProfileInfoLoader.cpp
> llvm/trunk/lib/CodeGen/AsmPrinter/ARMException.cpp
> llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h
> llvm/trunk/lib/CodeGen/StackSlotColoring.cpp
> llvm/trunk/lib/Support/YAMLParser.cpp
>
> Modified: llvm/trunk/include/llvm/Analysis/ProfileInfoLoader.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ProfileInfoLoader.h?rev=160583&r1=160582&r2=160583&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/Analysis/ProfileInfoLoader.h (original)
> +++ llvm/trunk/include/llvm/Analysis/ProfileInfoLoader.h Fri Jul 20 17:05:57 2012
> @@ -34,7 +34,6 @@
> std::vector<unsigned> EdgeCounts;
> std::vector<unsigned> OptimalEdgeCounts;
> std::vector<unsigned> BBTrace;
> - bool Warned;
> public:
> // ProfileInfoLoader ctor - Read the specified profiling data file, exiting
> // the program if the file is invalid or broken.
>
> Modified: llvm/trunk/lib/Analysis/ProfileInfoLoader.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ProfileInfoLoader.cpp?rev=160583&r1=160582&r2=160583&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Analysis/ProfileInfoLoader.cpp (original)
> +++ llvm/trunk/lib/Analysis/ProfileInfoLoader.cpp Fri Jul 20 17:05:57 2012
> @@ -84,7 +84,7 @@
> //
> ProfileInfoLoader::ProfileInfoLoader(const char *ToolName,
> const std::string &Filename)
> - : Filename(Filename), Warned(false) {
> + : Filename(Filename) {
> FILE *F = fopen(Filename.c_str(), "rb");
> if (F == 0) {
> errs() << ToolName << ": Error opening '" << Filename << "': ";
>
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/ARMException.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/ARMException.cpp?rev=160583&r1=160582&r2=160583&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/ARMException.cpp (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/ARMException.cpp Fri Jul 20 17:05:57 2012
> @@ -44,9 +44,7 @@
>
>
> ARMException::ARMException(AsmPrinter *A)
> - : DwarfException(A),
> - shouldEmitTable(false), shouldEmitMoves(false), shouldEmitTableModule(false)
> - {}
> + : DwarfException(A) {}
>
> ARMException::~ARMException() {}
>
>
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h?rev=160583&r1=160582&r2=160583&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h Fri Jul 20 17:05:57 2012
> @@ -175,17 +175,6 @@
> };
>
> class ARMException : public DwarfException {
> - /// shouldEmitTable - Per-function flag to indicate if EH tables should
> - /// be emitted.
> - bool shouldEmitTable;
> -
> - /// shouldEmitMoves - Per-function flag to indicate if frame moves info
> - /// should be emitted.
> - bool shouldEmitMoves;
> -
> - /// shouldEmitTableModule - Per-module flag to indicate if EH tables
> - /// should be emitted.
> - bool shouldEmitTableModule;
> public:
> //===--------------------------------------------------------------------===//
> // Main entry points.
>
> Modified: llvm/trunk/lib/CodeGen/StackSlotColoring.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StackSlotColoring.cpp?rev=160583&r1=160582&r2=160583&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/StackSlotColoring.cpp (original)
> +++ llvm/trunk/lib/CodeGen/StackSlotColoring.cpp Fri Jul 20 17:05:57 2012
> @@ -46,7 +46,6 @@
>
> namespace {
> class StackSlotColoring : public MachineFunctionPass {
> - bool ColorWithRegs;
> LiveStacks* LS;
> MachineFrameInfo *MFI;
> const TargetInstrInfo *TII;
> @@ -82,7 +81,7 @@
> public:
> static char ID; // Pass identification
> StackSlotColoring() :
> - MachineFunctionPass(ID), ColorWithRegs(false), NextColor(-1) {
> + MachineFunctionPass(ID), NextColor(-1) {
> initializeStackSlotColoringPass(*PassRegistry::getPassRegistry());
> }
>
>
> Modified: llvm/trunk/lib/Support/YAMLParser.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/YAMLParser.cpp?rev=160583&r1=160582&r2=160583&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Support/YAMLParser.cpp (original)
> +++ llvm/trunk/lib/Support/YAMLParser.cpp Fri Jul 20 17:05:57 2012
> @@ -489,9 +489,6 @@
> /// @brief Can the next token be the start of a simple key?
> bool IsSimpleKeyAllowed;
>
> - /// @brief Is the next token required to start a simple key?
> - bool IsSimpleKeyRequired;
> -
> /// @brief True if an error has occurred.
> bool Failed;
>
> @@ -704,7 +701,6 @@
> , FlowLevel(0)
> , IsStartOfStream(true)
> , IsSimpleKeyAllowed(true)
> - , IsSimpleKeyRequired(false)
> , Failed(false) {
> InputBuffer = MemoryBuffer::getMemBuffer(Input, "YAML");
> SM.AddNewSourceBuffer(InputBuffer, SMLoc());
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list