Skip to content

Commit b2bb309

Browse files
authored
Merge pull request #2005 from texasmichelle/remove-iso646
Remove ISO646 include
2 parents f20be2d + b0e6be4 commit b2bb309

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
@@ -400,9 +400,9 @@ template <> struct less<swift::ClusteredBitVector> {
400400
for (; iL >= 0 && iR >= 0; --iL, --iR) {
401401
bool bL = lhs[iL];
402402
bool bR = rhs[iR];
403-
if (bL and not bR)
403+
if (bL && !bR)
404404
return false;
405-
if (bR and not bL)
405+
if (bR && !bL)
406406
return true;
407407
}
408408
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)