mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
More minor build fixes.
llvm-svn: 105706
This commit is contained in:
@@ -173,7 +173,7 @@ CommandObjectArgs::Execute(Args &command,
|
||||
void *type;
|
||||
|
||||
char *int_pos;
|
||||
if ((int_pos = strstr (arg_type_cstr, "int")))
|
||||
if ((int_pos = strstr (const_cast<char*>(arg_type_cstr), "int")))
|
||||
{
|
||||
Encoding encoding = eEncodingSint;
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
eSetTypeFileAndLine,
|
||||
eSetTypeAddress,
|
||||
eSetTypeFunctionName,
|
||||
eSetTypeFunctionRegexp,
|
||||
eSetTypeFunctionRegexp
|
||||
} BreakpointSetType;
|
||||
|
||||
CommandObjectBreakpointSet ();
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
// C++ Includes
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "CommandInterpreter.h"
|
||||
#include "CommandReturnObject.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
#include "lldb/Interpreter/CommandReturnObject.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
@@ -59,7 +59,7 @@ CommandObjectTranslate::Execute
|
||||
}
|
||||
else
|
||||
{
|
||||
result.AppendErrroWithFormat
|
||||
result.AppendErrorWithFormat
|
||||
("'%s' is not a known command.\nTry 'help' to see a current list of commands.\n",
|
||||
command.GetArgumentAtIndex(0));
|
||||
result.SetStatus (eReturnStatusFailed);
|
||||
|
||||
Reference in New Issue
Block a user