Fix buildbots by not using "and" and "not".

This commit is contained in:
Greg Clayton 2020-02-13 11:35:43 -08:00
parent efef165f82
commit 22d63b6318
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ void GsymReader::dump(raw_ostream &OS, Optional<FileEntry> FE) {
StringRef Base = getString(FE->Base);
if (!Dir.empty()) {
OS << Dir;
if (Dir.contains('\\') and not Dir.contains('/'))
if (Dir.contains('\\') && !Dir.contains('/'))
OS << '\\';
else
OS << '/';