1
0
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:
Fangrui Song 2018-05-26 02:29:14 +00:00
parent 7a9543189b
commit 21e65384c4

View File

@ -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;