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)