mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
[llvm-symbolizer] Simplify
llvm-svn: 333334
This commit is contained in:
parent
7a9543189b
commit
21e65384c4
@ -113,7 +113,7 @@ static bool parseCommand(StringRef InputString, bool &IsData,
|
||||
}
|
||||
const char *pos = InputString.data();
|
||||
// Skip delimiters and parse input filename (if needed).
|
||||
if (ClBinaryName == "") {
|
||||
if (ClBinaryName.empty()) {
|
||||
pos += strspn(pos, kDelimiters);
|
||||
if (*pos == '"' || *pos == '\'') {
|
||||
char quote = *pos;
|
||||
|
Loading…
Reference in New Issue
Block a user