mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-10 04:44:53 +00:00
[llvm-symbolizer] Simplify
llvm-svn: 333334
This commit is contained in:
parent
a75c71d13d
commit
ffebfe10c1
@ -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