Fix build breakage on win7-msvc caused by r230955
authorPavel Labath <labath@google.com>
Mon, 2 Mar 2015 13:39:39 +0000 (13:39 +0000)
committerPavel Labath <labath@google.com>
Mon, 2 Mar 2015 13:39:39 +0000 (13:39 +0000)
llvm-svn: 230958

lldb/source/Interpreter/Args.cpp

index e12e990..95f7ea5 100644 (file)
@@ -226,8 +226,7 @@ Args::ParseSingleArgument(llvm::StringRef command)
 
             // 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();