diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2010-06-09 07:22:30 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2010-06-09 07:22:30 +0000 |
commit | e8b582256be50453b3996ed45002df03941051a1 (patch) | |
tree | 18a6d6779765d16f1a30109cfada148e04f7b80c | |
parent | f6a3aed94ae4c1382f36d568d76e37b589951ad4 (diff) | |
download | bcm5719-llvm-e8b582256be50453b3996ed45002df03941051a1.tar.gz bcm5719-llvm-e8b582256be50453b3996ed45002df03941051a1.zip |
And a few more warning/error fixes.
llvm-svn: 105698
-rw-r--r-- | lldb/include/lldb/API/SBDebugger.h | 1 | ||||
-rw-r--r-- | lldb/include/lldb/API/SBProcess.h | 2 | ||||
-rw-r--r-- | lldb/include/lldb/Core/Language.h | 2 | ||||
-rw-r--r-- | lldb/include/lldb/Core/Scalar.h | 2 | ||||
-rw-r--r-- | lldb/include/lldb/Host/Mutex.h | 2 | ||||
-rw-r--r-- | lldb/include/lldb/Symbol/CompileUnit.h | 2 | ||||
-rw-r--r-- | lldb/include/lldb/Symbol/Function.h | 2 | ||||
-rw-r--r-- | lldb/include/lldb/Target/Process.h | 2 |
8 files changed, 8 insertions, 7 deletions
diff --git a/lldb/include/lldb/API/SBDebugger.h b/lldb/include/lldb/API/SBDebugger.h index c478949371a..ddaa376c03e 100644 --- a/lldb/include/lldb/API/SBDebugger.h +++ b/lldb/include/lldb/API/SBDebugger.h @@ -11,6 +11,7 @@ #define LLDB_SBDebugger_h_ #include "lldb/API/SBDefines.h" +#include <cstdio> namespace lldb { diff --git a/lldb/include/lldb/API/SBProcess.h b/lldb/include/lldb/API/SBProcess.h index fdd60349ec9..9eb0e9ac583 100644 --- a/lldb/include/lldb/API/SBProcess.h +++ b/lldb/include/lldb/API/SBProcess.h @@ -29,7 +29,7 @@ public: eBroadcastBitStateChanged = (1 << 0), eBroadcastBitInterrupt = (1 << 1), eBroadcastBitSTDOUT = (1 << 2), - eBroadcastBitSTDERR = (1 << 3), + eBroadcastBitSTDERR = (1 << 3) }; SBProcess (); diff --git a/lldb/include/lldb/Core/Language.h b/lldb/include/lldb/Core/Language.h index f086cae3726..b5830796a5d 100644 --- a/lldb/include/lldb/Core/Language.h +++ b/lldb/include/lldb/Core/Language.h @@ -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; //------------------------------------------------------------------ diff --git a/lldb/include/lldb/Core/Scalar.h b/lldb/include/lldb/Core/Scalar.h index 4207bb6f59e..b3cc6cc6468 100644 --- a/lldb/include/lldb/Core/Scalar.h +++ b/lldb/include/lldb/Core/Scalar.h @@ -230,7 +230,7 @@ public: } protected: - typedef union ValueData + union ValueData { int sint; unsigned int uint; diff --git a/lldb/include/lldb/Host/Mutex.h b/lldb/include/lldb/Host/Mutex.h index 19f613a86f6..b0943a9be29 100644 --- a/lldb/include/lldb/Host/Mutex.h +++ b/lldb/include/lldb/Host/Mutex.h @@ -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 }; //------------------------------------------------------------------ diff --git a/lldb/include/lldb/Symbol/CompileUnit.h b/lldb/include/lldb/Symbol/CompileUnit.h index 15c3714a731..ab1b58783ce 100644 --- a/lldb/include/lldb/Symbol/CompileUnit.h +++ b/lldb/include/lldb/Symbol/CompileUnit.h @@ -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); diff --git a/lldb/include/lldb/Symbol/Function.h b/lldb/include/lldb/Symbol/Function.h index 74029da1e06..f52bcf07183 100644 --- a/lldb/include/lldb/Symbol/Function.h +++ b/lldb/include/lldb/Symbol/Function.h @@ -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? }; diff --git a/lldb/include/lldb/Target/Process.h b/lldb/include/lldb/Target/Process.h index 30663bd1c52..ed827be8ef3 100644 --- a/lldb/include/lldb/Target/Process.h +++ b/lldb/include/lldb/Target/Process.h @@ -53,7 +53,7 @@ public: eBroadcastBitStateChanged = (1 << 0), eBroadcastBitInterrupt = (1 << 1), eBroadcastBitSTDOUT = (1 << 2), - eBroadcastBitSTDERR = (1 << 3), + eBroadcastBitSTDERR = (1 << 3) }; enum |