[Lldb-commits] [lldb] r230958 - Fix build breakage on win7-msvc caused by r230955
Pavel Labath
labath at google.com
Mon Mar 2 05:39:40 PST 2015
Author: labath
Date: Mon Mar 2 07:39:39 2015
New Revision: 230958
URL: http://llvm.org/viewvc/llvm-project?rev=230958&view=rev
Log:
Fix build breakage on win7-msvc caused by r230955
Modified:
lldb/trunk/source/Interpreter/Args.cpp
Modified: lldb/trunk/source/Interpreter/Args.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/Args.cpp?rev=230958&r1=230957&r2=230958&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/Args.cpp (original)
+++ lldb/trunk/source/Interpreter/Args.cpp Mon Mar 2 07:39:39 2015
@@ -226,8 +226,7 @@ Args::ParseSingleArgument(llvm::StringRe
// If the character after the backslash is not a whitelisted escapable character, we
// leave the character sequence untouched.
- static const char *k_escapable_characters = " \t\\'\"`";
- if (strchr(k_escapable_characters, command.front()) == nullptr)
+ if (strchr(" \t\\'\"`", command.front()) == nullptr)
arg += '\\';
arg += command.front();
More information about the lldb-commits
mailing list