projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e86b0f1
)
Fix build breakage on win7-msvc caused by r230955
author
Pavel Labath
<labath@google.com>
Mon, 2 Mar 2015 13:39:39 +0000
(13:39 +0000)
committer
Pavel Labath
<labath@google.com>
Mon, 2 Mar 2015 13:39:39 +0000
(13:39 +0000)
llvm-svn: 230958
lldb/source/Interpreter/Args.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Interpreter/Args.cpp
b/lldb/source/Interpreter/Args.cpp
index
e12e990
..
95f7ea5
100644
(file)
--- a/
lldb/source/Interpreter/Args.cpp
+++ b/
lldb/source/Interpreter/Args.cpp
@@
-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();