Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Ted Kremenek via swift-dev
Daniel, When you changed llbuild to require C++14, what platforms did you take into account with that change? If you have already done the assessment here it could speed a resolution of a decision. Thanks, Ted > On Dec 13, 2017, at 3:19 PM, Daniel Dunbar via swift-lldb-dev > wrote: > > FWI

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Daniel Dunbar via swift-dev
It wasn’t changed, it has *always* been C++14 since the day we open sourced it. I only investigated the platforms we officially support (Ubuntu 14.04/15.10 at the time, and macOS 10.10+ IIRC). - Daniel > On Dec 19, 2017, at 2:21 PM, Ted Kremenek wrote: > > Daniel, > > When you changed llbui

Re: [swift-dev] Conditional conformance: Removing the opt-in flag

2017-12-19 Thread Ted Kremenek via swift-dev
On Dec 18, 2017, 4:53 PM -0800, Douglas Gregor via swift-dev , wrote: > Hi all, > > A little while back, I added an error to the Swift 4.1 compiler that > complains if one tries to use conditional conformances, along with a flag > “-enable-experimental-conditional-conformances” to enable the fe

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Ted Kremenek via swift-dev
Fair enough. We care about swiftc and llbuild building a variety of platforms today — FreeBSD, Rasberry Pi, etc.  My impression is that C++14 is generally supported by both (a) the mininum versions of the distributions we support today and (b) the current versions of the platforms we’d like to

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Daniel Dunbar via swift-dev
> On Dec 19, 2017, at 2:27 PM, Ted Kremenek wrote: > > Fair enough. > > We care about swiftc and llbuild building a variety of platforms today — > FreeBSD, Rasberry Pi, etc. My impression is that C++14 is generally > supported by both (a) the mininum versions of the distributions we support

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Adrian Prantl via swift-dev
> On Dec 19, 2017, at 2:31 PM, Daniel Dunbar via swift-lldb-dev > wrote: > > > >> On Dec 19, 2017, at 2:27 PM, Ted Kremenek wrote: >> >> Fair enough. >> >> We care about swiftc and llbuild building a variety of platforms today — >> FreeBSD, Rasberry Pi, etc. My impression is that C++14

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - OS X (swift 4.1) #221

2017-12-19 Thread Alex Lorenz via swift-dev
I removed this new warning from swift-4.1-branch in a follow-up commit. Cheers, Alex > On Dec 19, 2017, at 3:23 PM, swift...@swift.org wrote: > > [FAILURE] oss-swift-4.1-incremental-RA-osx [#221] > > Build URL:https://ci.swift.org/job/oss-swift-4.1-incremental-RA-osx/221/ >

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Ted Kremenek via swift-dev
> On Dec 19, 2017, at 2:31 PM, Daniel Dunbar wrote: > > > >> On Dec 19, 2017, at 2:27 PM, Ted Kremenek > > wrote: >> >> Fair enough. >> >> We care about swiftc and llbuild building a variety of platforms today — >> FreeBSD, Rasberry Pi, etc. My impression is tha

Re: [swift-dev] Conditional conformance: Removing the opt-in flag

2017-12-19 Thread Douglas Gregor via swift-dev
> On Dec 19, 2017, at 2:26 PM, Ted Kremenek via swift-dev > wrote: > > > On Dec 18, 2017, 4:53 PM -0800, Douglas Gregor via swift-dev > , wrote: >> Hi all, >> >> A little while back, I added an error to the Swift 4.1 compiler that >> complains if one tries to use conditional conformances,

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 (swift 4.1) #546

2017-12-19 Thread Michael Ilseman via swift-dev
Doug, is this you? Looks like a lot of conditional conformance tests and you were touching that. > On Dec 19, 2017, at 3:30 PM, swift...@swift.org wrote: > > [FAILURE] oss-swift-4.1-incremental-RA-linux-ubuntu-16_04 [#546] > > Build URL: > https://ci.swift.org/job/oss-swift-4.1-incremental

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 (swift 4.1) #546

2017-12-19 Thread Douglas Gregor via swift-dev
> On Dec 19, 2017, at 4:00 PM, Michael Ilseman wrote: > > Doug, is this you? Looks like a lot of conditional conformance tests and you > were touching that. Those are “conditional compilation” tests. Alex, this looks like your -target changes. - Doug > > >> On Dec 19, 2017, at 3:

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 (swift 4.1) #546

2017-12-19 Thread Alex Lorenz via swift-dev
This looks like the other failure caused by Clang. I removed the warning from clang-4.1 branch already. Thanks, Alex > On Dec 19, 2017, at 4:00 PM, Michael Ilseman wrote: > > Doug, is this you? Looks like a lot of conditional conformance tests and you > were touching that. > > >> On Dec 19,

[swift-dev] [Swift CI] Build Failure: OSS - Swift Package - OS X (swift 4.1) #386

2017-12-19 Thread swift-ci--- via swift-dev
Title: Report [FAILURE] oss-swift-4.1-package-osx [#386] Build URL:https://ci.swift.org/job/oss-swift-4.1-package-osx/386/ Project:oss-swift-4.1-package-osx Date of build:Tue, 19 Dec 2017 17:15:42 -0600 Build duration:46 min Identified problems:Compile Error: This build f

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 (swift 4.1) #477

2017-12-19 Thread Alex Lorenz via swift-dev
This doesn’t look my fault this time :) Cheers, Alex > On Dec 19, 2017, at 4:02 PM, swift...@swift.org wrote: > > [FAILURE] oss-swift-4.1-incremental-RA-linux-ubuntu-16_10 [#477] > > Build URL: > https://ci.swift.org/job/oss-swift-4.1-incremental-RA-linux-ubuntu-16_10/477/ >

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Daniel Dunbar via swift-dev
> On Dec 19, 2017, at 3:59 PM, Ted Kremenek wrote: > > > >> On Dec 19, 2017, at 2:31 PM, Daniel Dunbar > > wrote: >> >> >> >>> On Dec 19, 2017, at 2:27 PM, Ted Kremenek >> > wrote: >>> >>> Fair enough. >>> >>> We care about swift

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 (swift 4.1) #477

2017-12-19 Thread Michael Ilseman via swift-dev
swift-corelibs-dev, any clue why this suddenly started failing? TestFoundation/TestURLSession.swift:776: error: TestURLSession.test_simpleUploadWithDelegate : XCTAssertEqual failed: ("0") is not equal to ("16384") - > On Dec 19, 2017, at 4:02 PM, swift...@swift.org wrote: > > [FAILURE] oss-

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Saleem Abdulrasool via swift-dev
> On Dec 19, 2017, at 3:59 PM, Ted Kremenek wrote: > > > >> On Dec 19, 2017, at 2:31 PM, Daniel Dunbar > > wrote: >> >> >> >>> On Dec 19, 2017, at 2:27 PM, Ted Kremenek >> > wrote: >>> >>> Fair enough. >>> >>> We care about swift

[swift-dev] [proposal] SIL implementation of ownership and borrowing

2017-12-19 Thread Andrew Trick via swift-dev
I'm sending out an updated version of my notes on SIL redesign in support of reasoning about lifetimes, including ownership and borrowing. I sent a very preliminary version of these notes a year ago. Since then, a lot has changed. Work on the SIL representation has been going on "in the background"

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 (swift 4.1) #477

2017-12-19 Thread Tony Parker via swift-dev
Last change in this area was 5 days ago: 820e3a88 : (5 days ago) Naoki Ishikawa : use optional binding Foundation/URLSession/http/HTTPURLProtocol.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) but that does not look promising as a source of a regression. When did this start fail

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 (swift 4.1) #477

2017-12-19 Thread Michael Ilseman via swift-dev
That’s the thing, there doesn’t look to be a relevant change. Subsequent builds passed. Is there any non-determinism or external causes of failure for these tests? > On Dec 19, 2017, at 5:15 PM, Tony Parker wrote: > > Last change in this area was 5 days ago: > > 820e3a88 : (5 days ago) Naoki

Re: [swift-dev] [Swift CI] Build Failure: OSS - Swift Package - Ubuntu 16.10 (master) #893

2017-12-19 Thread Alex Lorenz via swift-dev
The commit that caused this failure is already reverted from swift-4.1-branch in swift-clang. Thanks, Alex > On Dec 19, 2017, at 6:07 PM, swift...@swift.org wrote: > > [FAILURE] oss-swift-package-linux-ubuntu-16_10 [#893] > > Build URL: > https://ci.swift.org/job/oss-swift-package-linux-ub

[swift-dev] [Swift CI] Build Failure: OSS - Swift Package - OS X (master) #891

2017-12-19 Thread swift-ci--- via swift-dev
Title: Report [FAILURE] oss-swift-package-osx [#891] Build URL:https://ci.swift.org/job/oss-swift-package-osx/891/ Project:oss-swift-package-osx Date of build:Tue, 19 Dec 2017 19:38:12 -0600 Build duration:45 min Identified problems:Compile Error: This build failed becaus

Re: [swift-dev] Conditional conformance: Removing the opt-in flag

2017-12-19 Thread Ted Kremenek via swift-dev
> On Dec 19, 2017, at 3:59 PM, Douglas Gregor wrote: > > > >> On Dec 19, 2017, at 2:26 PM, Ted Kremenek via swift-dev >> wrote: >> >> >>> On Dec 18, 2017, 4:53 PM -0800, Douglas Gregor via swift-dev >>> , wrote: >>> Hi all, >>> >>> A little while back, I added an error to the Swift 4.1

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Ted Kremenek via swift-dev
> On Dec 19, 2017, at 5:08 PM, Saleem Abdulrasool wrote: > > > >>> On Dec 19, 2017, at 3:59 PM, Ted Kremenek wrote: >>> >>> >>> On Dec 19, 2017, at 2:31 PM, Daniel Dunbar wrote: On Dec 19, 2017, at 2:27 PM, Ted Kremenek wrote: Fair enough. >>

Re: [swift-dev] Conditional conformance: Removing the opt-in flag

2017-12-19 Thread Douglas Gregor via swift-dev
Sent from my iPhone > On Dec 19, 2017, at 8:31 PM, Ted Kremenek wrote: > > > >> On Dec 19, 2017, at 3:59 PM, Douglas Gregor wrote: >> >> >> >>> On Dec 19, 2017, at 2:26 PM, Ted Kremenek via swift-dev >>> wrote: >>> >>> On Dec 18, 2017, 4:53 PM -0800, Douglas Gregor via swift-dev

Re: [swift-dev] Conditional conformance: Removing the opt-in flag

2017-12-19 Thread Ted Kremenek via swift-dev
> On Dec 19, 2017, at 8:57 PM, Douglas Gregor wrote: > > > > Sent from my iPhone > >> On Dec 19, 2017, at 8:31 PM, Ted Kremenek wrote: >> >> >> >>> On Dec 19, 2017, at 3:59 PM, Douglas Gregor wrote: >>> >>> >>> On Dec 19, 2017, at 2:26 PM, Ted Kremenek via swift-dev wrote

Re: [swift-dev] Adding a CHECK to test case.

2017-12-19 Thread Atul Sowani via swift-dev
Excellent help Greg! Thank you so much for this! Really appreciate it. Atul. On Tue, Dec 19, 2017 at 6:30 AM, Greg Parker wrote: > > > On Dec 13, 2017, at 10:47 PM, Atul Sowani via swift-dev < > swift-dev@swift.org> wrote: > > > > Hi, > > > > clang_inline_opt.swift test case is failing on ppc64