[Lldb-commits] [lldb] r105714 - in /lldb/trunk/include/lldb: Core/Log.h Core/Mangled.h Core/RegularExpression.h Core/Section.h Core/UUID.h Target/ThreadPlan.h

Eli Friedman eli.friedman at gmail.com
Wed Jun 9 01:57:38 PDT 2010


Author: efriedma
Date: Wed Jun  9 03:57:38 2010
New Revision: 105714

URL: http://llvm.org/viewvc/llvm-project?rev=105714&view=rev
Log:
More warning/error fixes.


Modified:
    lldb/trunk/include/lldb/Core/Log.h
    lldb/trunk/include/lldb/Core/Mangled.h
    lldb/trunk/include/lldb/Core/RegularExpression.h
    lldb/trunk/include/lldb/Core/Section.h
    lldb/trunk/include/lldb/Core/UUID.h
    lldb/trunk/include/lldb/Target/ThreadPlan.h

Modified: lldb/trunk/include/lldb/Core/Log.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/Log.h?rev=105714&r1=105713&r2=105714&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/Log.h (original)
+++ lldb/trunk/include/lldb/Core/Log.h Wed Jun  9 03:57:38 2010
@@ -15,7 +15,6 @@
 #include <stdint.h>
 #include <signal.h>
 #include <stdio.h>
-#include <sys/syslimits.h>
 #include <unistd.h>
 
 // C++ Includes
@@ -67,7 +66,7 @@
                                     Stream *feedback_strm);
     typedef void (*ListCategoriesCallback) (Stream *strm);
 
-    typedef struct Callbacks
+    struct Callbacks
     {
         DisableCallback disable;
         EnableCallback enable;

Modified: lldb/trunk/include/lldb/Core/Mangled.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/Mangled.h?rev=105714&r1=105713&r2=105714&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/Mangled.h (original)
+++ lldb/trunk/include/lldb/Core/Mangled.h Wed Jun  9 03:57:38 2010
@@ -49,7 +49,7 @@
         eParamsBeg,     ///< The start of a method's parameters (the open parenthesis)
         eParamsEnd,     ///< The end of a method's parameters (the open parenthesis)
         eQualifier,     ///< A language qualifier
-        eError,         ///< The token failed to parse
+        eError          ///< The token failed to parse
     };
 
     //------------------------------------------------------------------

Modified: lldb/trunk/include/lldb/Core/RegularExpression.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/RegularExpression.h?rev=105714&r1=105713&r2=105714&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/RegularExpression.h (original)
+++ lldb/trunk/include/lldb/Core/RegularExpression.h Wed Jun  9 03:57:38 2010
@@ -12,6 +12,7 @@
 #if defined(__cplusplus)
 
 #include <regex.h>
+#include <stdint.h>
 
 #include <string>
 #include <vector>

Modified: lldb/trunk/include/lldb/Core/Section.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/Section.h?rev=105714&r1=105713&r2=105714&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/Section.h (original)
+++ lldb/trunk/include/lldb/Core/Section.h Wed Jun  9 03:57:38 2010
@@ -17,6 +17,7 @@
 #include "lldb/Core/ConstString.h"
 #include "lldb/Core/UserID.h"
 #include "lldb/Core/VMRange.h"
+#include <limits.h>
 
 namespace lldb_private {
 

Modified: lldb/trunk/include/lldb/Core/UUID.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/UUID.h?rev=105714&r1=105713&r2=105714&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/UUID.h (original)
+++ lldb/trunk/include/lldb/Core/UUID.h Wed Jun  9 03:57:38 2010
@@ -17,6 +17,8 @@
 
 #include "lldb/lldb-private.h"
 
+struct uuid_t;
+
 namespace lldb_private {
 
 class UUID

Modified: lldb/trunk/include/lldb/Target/ThreadPlan.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/ThreadPlan.h?rev=105714&r1=105713&r2=105714&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/ThreadPlan.h (original)
+++ lldb/trunk/include/lldb/Target/ThreadPlan.h Wed Jun  9 03:57:38 2010
@@ -163,7 +163,7 @@
 //  by hand as part of expression evaluation.  To suppress the running event return eVoteNo from ShouldReportStop,
 //  to force a running event to be reported return eVoteYes, in general though you should return eVoteNoOpinion
 //  which will allow the ThreadList to figure out the right thing to do.
-//  The run_vote argument to the constructor works like stop_vote, and is a way for a plan to instruct a sub-plan\
+//  The run_vote argument to the constructor works like stop_vote, and is a way for a plan to instruct a sub-plan
 //  on how to respond to ShouldReportStop.
 //
 //------------------------------------------------------------------





More information about the lldb-commits mailing list