[llvm-symbolizer] Simplify

llvm-svn: 333334
This commit is contained in:
Fangrui Song 2018-05-26 02:29:14 +00:00
parent a75c71d13d
commit ffebfe10c1

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;