Skip to content

Commit

Permalink
Fix buildbots by not using "and" and "not".
Browse files Browse the repository at this point in the history
  • Loading branch information
clayborg committed Feb 13, 2020
1 parent efef165 commit 22d63b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/DebugInfo/GSYM/GsymReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 << '/';
Expand Down

0 comments on commit 22d63b6

Please sign in to comment.