1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

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

This commit is contained in:
Greg Clayton 2020-02-13 11:35:43 -08:00
parent c26064a116
commit e962ea1e6c

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 << '/';