Skip to content

Commit 4cce89c

Browse files
author
Sasha Krassovsky
committed
---
yaml --- r: 327669 b: refs/heads/tensorflow c: 63a81fd h: refs/heads/master i: 327667: 5663249
1 parent feca9e8 commit 4cce89c

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-04-25-a: 22f738a831d43aff2b9c9773bcb65
816816
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-05-08-a: 7d98cc16689baba5c8a3b90a9329bdcc1a12b4e9
817817
refs/heads/cherr42: a566ad54b073c2c56ac0a705d0a5bed9743135a5
818818
"refs/heads/codable_test_comment_fix": fc8f6824f7f347e1e8db55bff62db385c5728b5a
819-
refs/heads/tensorflow: 037f16812614a44a2933c3ec53412f246205ad07
819+
refs/heads/tensorflow: 63a81fd86459bb8d3e10e5c5f81d707dd3a5baec
820820
refs/tags/swift-4.1-DEVELOPMENT-SNAPSHOT-2018-05-11-a: 8126fd7a652e2f70ad6d76505239e34fb2ef3e1a
821821
refs/tags/swift-4.1-DEVELOPMENT-SNAPSHOT-2018-05-12-a: b3fd3dd84df6717f2e2e9df58c6d7e99fed57086
822822
refs/tags/swift-4.1-DEVELOPMENT-SNAPSHOT-2018-05-13-a: 71135119579039dc321c5f65d870050fe36efda2

branches/tensorflow/include/swift/SIL/AbstractionPattern.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ class AbstractionPattern {
402402
case Kind::Tuple:
403403
return false;
404404
}
405+
llvm_unreachable("Unhandled AbstractionPatternKind in switch");
405406
}
406407

407408
CanGenericSignature getGenericSignature() const {

branches/tensorflow/lib/SIL/SILPrinter.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2993,6 +2993,12 @@ void SILCoverageMap::dump() const {
29932993
}
29942994

29952995
#ifndef NDEBUG
2996+
// Disable the "for use only in debugger" warning.
2997+
#if SWIFT_COMPILER_IS_MSVC
2998+
#pragma warning(push)
2999+
#pragma warning(disable : 4996)
3000+
#endif
3001+
29963002
void SILDebugScope::dump(SourceManager &SM, llvm::raw_ostream &OS,
29973003
unsigned Indent) const {
29983004
OS << "{\n";
@@ -3026,6 +3032,10 @@ void SILDebugScope::dump(SILModule &Mod) const {
30263032
dump(Mod.getASTContext().SourceMgr);
30273033
}
30283034

3035+
#if SWIFT_COMPILER_IS_MSVC
3036+
#pragma warning(pop)
3037+
#endif
3038+
30293039
#endif
30303040

30313041
void SILSpecializeAttr::print(llvm::raw_ostream &OS) const {

0 commit comments

Comments
 (0)