forked from OSchip/llvm-project
Fix buildbots by not using "and" and "not".
This commit is contained in:
parent
efef165f82
commit
22d63b6318
|
@ -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 << '/';
|
||||
|
|
Loading…
Reference in New Issue