From b0e6be49fda54173d66903a5770eae53a14b8fd3 Mon Sep 17 00:00:00 2001 From: Michelle Casbon Date: Tue, 20 Oct 2020 23:04:21 +0000 Subject: [PATCH] Remove ISO646 include --- lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp | 4 ++-- llvm/include/llvm/Support/Threading.h | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp index 51c3a5608c2b1..b53b014ac25a1 100644 --- a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp +++ b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp @@ -400,9 +400,9 @@ template <> struct less { for (; iL >= 0 && iR >= 0; --iL, --iR) { bool bL = lhs[iL]; bool bR = rhs[iR]; - if (bL and not bR) + if (bL && !bR) return false; - if (bR and not bL) + if (bR && !bL) return true; } return false; diff --git a/llvm/include/llvm/Support/Threading.h b/llvm/include/llvm/Support/Threading.h index 13000575f270e..6bba751fea151 100644 --- a/llvm/include/llvm/Support/Threading.h +++ b/llvm/include/llvm/Support/Threading.h @@ -19,7 +19,11 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX #include "llvm/Support/Compiler.h" +// SWIFT_ENABLE_TENSORFLOW +#if 0 #include // So we can check the C++ standard lib macros. +#endif +// SWIFT_ENABLE_TENSORFLOW END #include #if defined(_MSC_VER)