And a few more warning/error fixes.

llvm-svn: 105698
This commit is contained in:
Eli Friedman 2010-06-09 07:22:30 +00:00
parent f6a3aed94a
commit e8b582256b
8 changed files with 8 additions and 7 deletions

View File

@ -11,6 +11,7 @@
#define LLDB_SBDebugger_h_
#include "lldb/API/SBDefines.h"
#include <cstdio>
namespace lldb {

View File

@ -29,7 +29,7 @@ public:
eBroadcastBitStateChanged = (1 << 0),
eBroadcastBitInterrupt = (1 << 1),
eBroadcastBitSTDOUT = (1 << 2),
eBroadcastBitSTDERR = (1 << 3),
eBroadcastBitSTDERR = (1 << 3)
};
SBProcess ();

View File

@ -55,7 +55,7 @@ public:
ObjC_plus_plus = 0x0011, ///< Objective-C++.
UPC = 0x0012, ///< Unified Parallel C.
D = 0x0013, ///< D.
Python = 0x0014, ///< Python.
Python = 0x0014 ///< Python.
} Type;
//------------------------------------------------------------------

View File

@ -230,7 +230,7 @@ public:
}
protected:
typedef union ValueData
union ValueData
{
int sint;
unsigned int uint;

View File

@ -26,7 +26,7 @@ public:
enum Type
{
eMutexTypeNormal, ///< Mutex that can't recursively entered by the same thread
eMutexTypeRecursive, ///< Mutex can be recursively entered by the same thread
eMutexTypeRecursive ///< Mutex can be recursively entered by the same thread
};
//------------------------------------------------------------------

View File

@ -384,7 +384,7 @@ private:
flagsParsedAllFunctions = (1 << 0), ///< Have we already parsed all our functions
flagsParsedVariables = (1 << 1), ///< Have we already parsed globals and statics?
flagsParsedSupportFiles = (1 << 2), ///< Have we already parsed the support files for this compile unit?
flagsParsedLineTable = (1 << 3), ///< Have we parsed the line table already?
flagsParsedLineTable = (1 << 3) ///< Have we parsed the line table already?
};
DISALLOW_COPY_AND_ASSIGN (CompileUnit);

View File

@ -562,7 +562,7 @@ protected:
enum
{
flagsCalculatedPrologueSize = (1 << 0), ///< Have we already tried to calculate the prologue size?
flagsCalculatedPrologueSize = (1 << 0) ///< Have we already tried to calculate the prologue size?
};

View File

@ -53,7 +53,7 @@ public:
eBroadcastBitStateChanged = (1 << 0),
eBroadcastBitInterrupt = (1 << 1),
eBroadcastBitSTDOUT = (1 << 2),
eBroadcastBitSTDERR = (1 << 3),
eBroadcastBitSTDERR = (1 << 3)
};
enum