File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -816,7 +816,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-04-25-a: 22f738a831d43aff2b9c9773bcb65
816
816
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-05-08-a: 7d98cc16689baba5c8a3b90a9329bdcc1a12b4e9
817
817
refs/heads/cherr42: a566ad54b073c2c56ac0a705d0a5bed9743135a5
818
818
"refs/heads/codable_test_comment_fix": fc8f6824f7f347e1e8db55bff62db385c5728b5a
819
- refs/heads/tensorflow: 037f16812614a44a2933c3ec53412f246205ad07
819
+ refs/heads/tensorflow: 63a81fd86459bb8d3e10e5c5f81d707dd3a5baec
820
820
refs/tags/swift-4.1-DEVELOPMENT-SNAPSHOT-2018-05-11-a: 8126fd7a652e2f70ad6d76505239e34fb2ef3e1a
821
821
refs/tags/swift-4.1-DEVELOPMENT-SNAPSHOT-2018-05-12-a: b3fd3dd84df6717f2e2e9df58c6d7e99fed57086
822
822
refs/tags/swift-4.1-DEVELOPMENT-SNAPSHOT-2018-05-13-a: 71135119579039dc321c5f65d870050fe36efda2
Original file line number Diff line number Diff line change @@ -402,6 +402,7 @@ class AbstractionPattern {
402
402
case Kind::Tuple:
403
403
return false ;
404
404
}
405
+ llvm_unreachable (" Unhandled AbstractionPatternKind in switch" );
405
406
}
406
407
407
408
CanGenericSignature getGenericSignature () const {
Original file line number Diff line number Diff line change @@ -2993,6 +2993,12 @@ void SILCoverageMap::dump() const {
2993
2993
}
2994
2994
2995
2995
#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
+
2996
3002
void SILDebugScope::dump (SourceManager &SM, llvm::raw_ostream &OS,
2997
3003
unsigned Indent) const {
2998
3004
OS << " {\n " ;
@@ -3026,6 +3032,10 @@ void SILDebugScope::dump(SILModule &Mod) const {
3026
3032
dump (Mod.getASTContext ().SourceMgr );
3027
3033
}
3028
3034
3035
+ #if SWIFT_COMPILER_IS_MSVC
3036
+ #pragma warning(pop)
3037
+ #endif
3038
+
3029
3039
#endif
3030
3040
3031
3041
void SILSpecializeAttr::print (llvm::raw_ostream &OS) const {
You can’t perform that action at this time.
0 commit comments