[llvm] 22d63b6 - Fix buildbots by not using "and" and "not".
Greg Clayton via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 13 11:36:09 PST 2020
Author: Greg Clayton
Date: 2020-02-13T11:35:43-08:00
New Revision: 22d63b631892fe5c2e0c8062ccf954c71c77b0dd
URL: https://github.com/llvm/llvm-project/commit/22d63b631892fe5c2e0c8062ccf954c71c77b0dd
DIFF: https://github.com/llvm/llvm-project/commit/22d63b631892fe5c2e0c8062ccf954c71c77b0dd.diff
LOG: Fix buildbots by not using "and" and "not".
Added:
Modified:
llvm/lib/DebugInfo/GSYM/GsymReader.cpp
Removed:
################################################################################
diff --git a/llvm/lib/DebugInfo/GSYM/GsymReader.cpp b/llvm/lib/DebugInfo/GSYM/GsymReader.cpp
index 827dbf33e911..bc5f14f80d8a 100644
--- a/llvm/lib/DebugInfo/GSYM/GsymReader.cpp
+++ b/llvm/lib/DebugInfo/GSYM/GsymReader.cpp
@@ -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 << '/';
More information about the llvm-commits
mailing list