Skip to content

Commit dcb770b

Browse files
committed
Merge branch 'swift/tensorflow' of github.com:apple/llvm-project into swift/tensorflow-stage
* 'swift/tensorflow' of github.com:apple/llvm-project: Remove ISO646 include
2 parents 83139ee + b2bb309 commit dcb770b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,9 @@ template <> struct less<swift::ClusteredBitVector> {
402402
for (; iL >= 0 && iR >= 0; --iL, --iR) {
403403
bool bL = lhs[iL];
404404
bool bR = rhs[iR];
405-
if (bL and not bR)
405+
if (bL && !bR)
406406
return false;
407-
if (bR and not bL)
407+
if (bR && !bL)
408408
return true;
409409
}
410410
return false;

llvm/include/llvm/Support/Threading.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@
1919
#include "llvm/ADT/SmallVector.h"
2020
#include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX
2121
#include "llvm/Support/Compiler.h"
22+
// SWIFT_ENABLE_TENSORFLOW
23+
#if 0
2224
#include <ciso646> // So we can check the C++ standard lib macros.
25+
#endif
26+
// SWIFT_ENABLE_TENSORFLOW END
2327
#include <functional>
2428

2529
#if defined(_MSC_VER)

0 commit comments

Comments
 (0)