9618eb3 | Jordan Rose | 13 January 2016, 21:13:44 UTC | [Driver] Pass around 'const char *' instead of 'const std::string &'. No functionality change -- lifetime extension is handled by the ArgumentList already owned by the Compilation. | 20 January 2016, 01:36:12 UTC |
8e6f58d | Dmitri Gribenko | 20 January 2016, 01:21:42 UTC | Merge pull request #1018 from shahmishal/swift-2.2-branch Remove llbuild, swiftpm, xctest and foundation from preset | 20 January 2016, 01:21:42 UTC |
b05e392 | Mishal Shah | 20 January 2016, 01:16:33 UTC | Remove llbuild, swiftpm, and foundation from preset | 20 January 2016, 01:16:33 UTC |
f012518 | Slava Pestov | 19 January 2016, 22:10:47 UTC | Revert "SILGen: Correctly emit accessors synthesized to witness protocol requirements" This reverts commit 10c8ce824fe6732152b514b03b1c2cc2f37a88e3. | 19 January 2016, 22:22:15 UTC |
8280bb3 | Slava Pestov | 16 January 2016, 10:02:23 UTC | SILGen: Fix materializeForSet emission for static stored properties Lower the metatype instead of brazenly declaring it @thick. This was triggering the SIL verifier with the newly-added test case. | 19 January 2016, 22:22:14 UTC |
4d903f9 | Slava Pestov | 16 January 2016, 02:37:57 UTC | IRGen: Fix emission of conformances for concrete subclasses of generic classes In master, this was fixed by Luke Howard as part of some other changes in the following patch: <https://github.com/apple/swift/commit/b5880f386b814f8b5cb220d1c4e65e74c04eccf4> This patch back-ports the relevant part of the above (checking for a true return value from hasMetadataPattern() vs checking for a BoundGenericType). Fixes <rdar://problem/24183374>. | 19 January 2016, 22:22:14 UTC |
b971595 | Michael Ilseman | 14 January 2016, 02:38:26 UTC | [Diagnostics] -suppress-warnings and -warnings-as-errors flags Exposes the global warning suppression and treatment as errors functionality to the Swift driver. Introduces the flags "-suppress-warnings" and "-warnings-as-errors". Test case include. | 19 January 2016, 21:53:28 UTC |
a139ad4 | Michael Ilseman | 14 January 2016, 01:30:20 UTC | [Diagnostics] Add in treating warnings as errors | 19 January 2016, 21:53:27 UTC |
36d706e | Michael Ilseman | 13 January 2016, 00:40:52 UTC | [Diagnostics] Remove all categories Diagnostic categories are entirely unused and arguably useless as implemented, as they merely denote the sub-component of the compiler. As far as categorizing warnings are concerned, I'm abandoning the effort for now, as the utility is marginal and Swift and the Swift compiler are probalby not ready for these to be nailed down. For the sake of cleanliness, the CATEGORY field is also stripped from WARNINGS. If there's a need for automatic identifying of compiler sub-components for diagnstics in the future, there are better ways to do this. NFC Swift-2.2: resovled merge conflicts, and updated some new diagnostics. | 19 January 2016, 21:25:25 UTC |
14bd364 | Michael Ilseman | 13 January 2016, 00:09:16 UTC | [Diagnostics] Refactor and clarify diagnostic behavior rules. Restores StoredDiagnosticInfo, which is useful to help distinguish when the user explicitly modifies the behavior of a diagnostic vs we're just picking up the default kind. Adds some clarifying comments, and lays out the suppression workflow, whereby different types of suppression (per-diagnostic, per-category, etc) have different precedence levels. | 19 January 2016, 21:25:25 UTC |
6824879 | Max Moiseev | 15 January 2016, 00:50:52 UTC | applying swift3_migration attribute to things being renamed in Swift3 | 19 January 2016, 20:21:12 UTC |
07b2c88 | Doug Gregor | 19 January 2016, 05:26:52 UTC | [Clang importer] Always record module prefixes for stripping. The Swift 3 migration mode requires us to be able to compute the Swift 3 names for entities even when we aren't in omit-needless-words mode; recording module prefixes unconditionally ensures that we can do prefix stripping under these circumstances. | 19 January 2016, 05:28:59 UTC |
b5cb825 | Doug Gregor | 18 January 2016, 07:14:46 UTC | [Clang importer] Strip the "NS" prefix from entities in Foundation As part of the improved import of Objective-C APIs into Swift, strip the "NS" prefix from entities defined in the Foundation framework. Addresses rdar://problem/24050011, which is part of SE-0005. Naturally, this is hidden behind -enable-omit-needless-words. | 19 January 2016, 05:28:59 UTC |
651f025 | Doug Gregor | 18 January 2016, 05:58:45 UTC | Also map -enable-omit-needless-words to a language option. Although omit-needless-words is almost entirely a Clang importer task, there are a handful of other places in the compiler that will need to query this flag as well. NFC for now; those changes will come soon. | 19 January 2016, 05:28:59 UTC |
31eaa2b | Doug Gregor | 18 January 2016, 05:56:18 UTC | Abstract the set of known Foundation entities into a .def-driven enum. NFC Specifically, we don't want to hard-code the Swift names of these Objective-C entities, because the importer renaming will affect them. | 19 January 2016, 05:28:59 UTC |
ec881e3 | Ted Kremenek | 18 January 2016, 20:12:08 UTC | Merge pull request #1007 from tkremenek/fix-swift2.1-regressions Fix two regressions from Swift 2.1 related to parameter parsing. | 18 January 2016, 20:12:08 UTC |
cb2ffe3 | Chris Lattner | 18 January 2016, 17:02:56 UTC | fix SR-573 - Crash with invalid parameter declaration This makes sure to diagnose the error of not having a type on a parameter in the parser, which is what sema expects. # Conflicts: # include/swift/AST/DiagnosticsParse.def | 18 January 2016, 20:02:27 UTC |
59b9df0 | Chris Lattner | 18 January 2016, 16:49:09 UTC | Simplify mapParsedParameters/createParam by passing the ParsedParameter into it, instead of passing a bunch of pieces into it. NFC. | 18 January 2016, 19:55:40 UTC |
60f624e | Andrew Trick | 17 January 2016, 22:55:42 UTC | [SILOpt] Fix speculative devirtualization miscompile. Properly handle limiting the number of speculative checks. This bug dates back to 2015-09-15, Swift 2.1. Fixes rdar:23228386. (cherry picked from commit e8fc64cdaec6e3f0312ada52d653ceb7fa1246a9) | 18 January 2016, 02:59:16 UTC |
9c08d14 | Doug Gregor | 17 January 2016, 05:10:34 UTC | [Swift 3 migration] Infer @swift3_migration for witnesses from requirements. | 17 January 2016, 05:10:34 UTC |
0cabae5 | Doug Gregor | 16 January 2016, 06:47:51 UTC | [Swift 3 migration] Handle renaming for dynamic member references. This deals with uses of members of "AnyObject" that have changed names. | 16 January 2016, 06:48:36 UTC |
4a5fe8c | Doug Gregor | 16 January 2016, 05:56:06 UTC | [Swift 3 migration] Handle OtherConstructorDeclRefExpr ... for "super.init" and "self.init"'s to renamed initializers. | 16 January 2016, 06:48:36 UTC |
03b78d7 | Doug Gregor | 16 January 2016, 05:50:41 UTC | [Clang importer] Don't infer @swift3_migration to typedefs. ... because Swift 3 does *not* rename AnyObject to id :) | 16 January 2016, 06:48:36 UTC |
2ed463a | gregomni | 13 January 2016, 17:24:49 UTC | [SR-533] Improve C-style for fixits by also removing 'var' keyword from loop var decl. | 16 January 2016, 05:51:56 UTC |
258f05c | Chris Hanson | 16 January 2016, 01:07:57 UTC | XCTest Overlay: Treat ObjC exceptions as unexpected failures When an assertion fails due to an Objective-C exception, that should be treated as an unexpected failure, not an expected failure. Addresses rdar://problem/24114025. | 16 January 2016, 01:07:57 UTC |
c0e85ce | Doug Gregor | 16 January 2016, 00:16:43 UTC | [Swift 3 Migration] Add initial Swift 3 migration pass. When -swift3-migration is passed to the front end, perform the transformations specified by the @swift3_migration attribute. For now, we support renaming in a number of places in the AST. More transformations and better coverage to come. | 16 January 2016, 00:20:43 UTC |
b3bfe58 | Doug Gregor | 16 January 2016, 00:09:52 UTC | Remove redundant, bogus Fix-It | 16 January 2016, 00:20:43 UTC |
b0d95b7 | Doug Gregor | 15 January 2016, 19:02:42 UTC | Parse attributes on generic type parameter declarations and check availability. | 15 January 2016, 23:24:52 UTC |
05fc8c9 | Doug Gregor | 15 January 2016, 00:36:50 UTC | Deserialize swift3_migration attribute with an empty "renamed" string. | 15 January 2016, 00:38:00 UTC |
9e83511 | Erik Eckstein | 14 January 2016, 22:59:05 UTC | EscapeAnalysis: don't crash in case a function_ref is passed to a C-function pointer argument. Fixes rdar://problem/24183323 | 14 January 2016, 23:24:16 UTC |
202409e | Doug Gregor | 14 January 2016, 21:13:32 UTC | [Clang importer] Infer swift3_migration attribute for imported declarations. When the name of an imported declaration will change when going from Swift 2 to Swift 3, add the appropriate swift3_migration attribute. | 14 January 2016, 21:39:30 UTC |
df0c5fc | Chris Hanson | 14 January 2016, 20:57:06 UTC | XCTest Overlay: Allow assertion expressions to throw When an assertion expression throws an error, treat that as an unexpected failure of the assertion. Also generate the failure message for the error directly in the overlay, rather than routing through _XCTFailureDescription, to avoid revlock between the overlay and XCTest.framework's implementation. Addresses rdar://problem/23789893. | 14 January 2016, 21:15:57 UTC |
8a68f84 | Chris Hanson | 14 January 2016, 02:07:31 UTC | XCTest Overlay: Add XCTAssertThrowsError assertion Add an assertion that can be used to check that an expression throws an error, and if it does to run a block against that error which may contain further checks. Addresses rdar://problem/23789904. | 14 January 2016, 21:15:52 UTC |
2b7f36f | Todd Fiala | 14 January 2016, 18:00:13 UTC | lldb build: allow optional xcodebuild flags to be passed to build-script-impl | 14 January 2016, 20:02:18 UTC |
c9c8def | Doug Gregor | 14 January 2016, 19:44:02 UTC | [Clang importer] Teach importFullName to provide argument labels for functions. importFullName was inconsistent in the kinds of names it produced for imported C functions. swift_name'd functions would get argument labels, but non-swift_name'd functions would not, and other parts of the important were working around the oddity. Make importFullName() always provide the argument labels. | 14 January 2016, 19:51:02 UTC |
b52abd5 | Doug Gregor | 14 January 2016, 16:49:18 UTC | Fix link ordering. | 14 January 2016, 19:51:02 UTC |
8bd5987 | Doug Gregor | 14 January 2016, 06:46:10 UTC | Add a "-swift3-migration" frontend option and corresponding language option. This is intended to enable various Fix-Its to perform the one-way migration from Swift 2.x to Swift 3, with a focus on the issues involving naming. | 14 January 2016, 16:21:22 UTC |
2274db4 | Doug Gregor | 14 January 2016, 06:22:21 UTC | Remove the "-disable-self-type-mangling" flag and corresponding language option NFC | 14 January 2016, 16:21:21 UTC |
ffd6054 | Doug Gregor | 14 January 2016, 05:42:05 UTC | Attempt to fix linking on Linux | 14 January 2016, 16:21:06 UTC |
1a8427b | Doug Gregor | 14 January 2016, 00:18:47 UTC | Add a swift3_migration attribute to describe how an API gets migrated. Introduce a new attribute, swift3_migration, that lets us describe the transformation required to map a Swift 2.x API into its Swift 3 equivalent. The only transformation understood now is "renamed" (to some other declaration name), but there's a message field where we can record information about other changes. The attribute can grow somewhat (e.g., to represent parameter reordering) as we need it. Right now, we do nothing but store and validate this attribute. | 14 January 2016, 00:58:27 UTC |
ce45559 | Doug Gregor | 13 January 2016, 22:10:11 UTC | Revert "[AST] Introduce internal attribute '_migration_id'." This reverts commit 042efbfb267febc4bf598cc65ce87996b8222a37. We're going to take a different approach to the migration attribute. | 14 January 2016, 00:58:26 UTC |
ae250af | Dmitri Gribenko | 13 January 2016, 16:32:10 UTC | Merge remote-tracking branch 'origin/master' into swift-2.2-branch | 13 January 2016, 16:32:10 UTC |
e711d5e | Slava Pestov | 13 January 2016, 00:07:18 UTC | Preliminary evolution tests Checking these in to get some discussion over FileCheck style and test file structure going before I write too many more tests. | 13 January 2016, 09:32:27 UTC |
199468f | Dmitri Gribenko | 13 January 2016, 09:08:06 UTC | Merge pull request #954 from apple/revert-950-gyb-without-encoding Revert "[gyb] Force UTF-8 encoding when parsing templates on Linux" | 13 January 2016, 09:08:06 UTC |
1b44809 | Dmitri Gribenko | 13 January 2016, 09:07:53 UTC | Revert "[gyb] Force UTF-8 encoding when parsing templates on Linux" | 13 January 2016, 09:07:53 UTC |
81dfb77 | rjmccall | 13 January 2016, 08:52:41 UTC | Merge pull request #953 from practicalswift/typo-fixes-20160113 [gardening] Remove recently introduced typo | 13 January 2016, 08:52:41 UTC |
4a49c2d | practicalswift | 13 January 2016, 08:33:23 UTC | [gardening] Remove recently introduced typo :-) | 13 January 2016, 08:33:23 UTC |
92175c4 | rjmccall | 13 January 2016, 08:24:25 UTC | Merge pull request #952 from practicalswift/remove-binary [gardening] Remove binary "nix" - should not be in repo | 13 January 2016, 08:24:25 UTC |
6f0ac35 | practicalswift | 13 January 2016, 08:09:48 UTC | Remove binary "nix" introduced in commit 94ebcb847b3aae799da1cdb9374ad090f75d86dc $ file nix nix: Mach-O 64-bit x86_64 executable $ git log nix commit 94ebcb847b3aae799da1cdb9374ad090f75d86dc Author: John McCall <rjmccall@apple.com> Date: Tue Jan 12 23:34:54 2016 -0800 Handle inherited concrete conformances correctly on witness_method instructions. rdar://24141848 | 13 January 2016, 08:09:48 UTC |
94ebcb8 | John McCall | 13 January 2016, 07:34:54 UTC | Handle inherited concrete conformances correctly on witness_method instructions. rdar://24141848 | 13 January 2016, 07:36:21 UTC |
094098a | Slava Pestov | 13 January 2016, 07:06:55 UTC | IRGen: Don't walk into resilient types when emitting static value witness tables references This was the first real bug caught by the library evolution tests that I'm working on! | 13 January 2016, 07:29:22 UTC |
1c14b49 | Ted Kremenek | 13 January 2016, 05:51:54 UTC | Merge pull request #950 from RLovelett/gyb-without-encoding [gyb] Force UTF-8 encoding when parsing templates on Linux | 13 January 2016, 05:51:54 UTC |
c8b1aa2 | Dmitri Gribenko | 13 January 2016, 04:39:02 UTC | Merge remote-tracking branch 'origin/master' into swift-2.2-branch | 13 January 2016, 04:39:02 UTC |
03f5f01 | Dmitri Gribenko | 13 January 2016, 04:38:31 UTC | test/Frontend/filelist.swift: don't fail if a temporary file does not exist | 13 January 2016, 04:38:31 UTC |
ad94542 | Jordan Rose | 13 January 2016, 02:05:43 UTC | Teach the frontend about -filelist for input files. With this, we're out of the business of passing large numbers of input files on the command line to the frontend, which means we no longer overflow argv with a mere 1100 input files under whole-module optimization. In order to make sure this doesn't happen again, I'd like to also get this working for - swiftmodule inputs to the merge-module build phase - /output/ files for multithreading single-frontend builds (WMO) - object file inputs to the linker on OS X (response files for binutils ld have different quoting rules) Part 3 of https://bugs.swift.org/browse/SR-280. | 13 January 2016, 03:20:50 UTC |
fe00083 | Jordan Rose | 13 January 2016, 01:04:25 UTC | [Driver] Actually write out the source file list file. This is simply a newline-separated list of files, matching the format from Darwin ld's -filelist option. Part 2 of https://bugs.swift.org/browse/SR-280. | 13 January 2016, 03:20:50 UTC |
b45a69e | Jordan Rose | 13 January 2016, 00:43:21 UTC | [Driver] Allow passing all source files in a filelist. Generate frontend commands with -filelist in them. This isn't actually implemented yet, but we can start testing at this point. Part 1 of https://bugs.swift.org/browse/SR-280. | 13 January 2016, 03:20:50 UTC |
67eaab6 | John McCall | 13 January 2016, 03:11:25 UTC | Give _swift_dead_method_stub internal linkage; the Mach-O linker doesn't support aliases to weak symbols. rdar://24121475 | 13 January 2016, 03:12:20 UTC |
9f2105b | Luke Larson | 13 January 2016, 02:29:14 UTC | [CMake] Globally track produced libraries per platform rdar://problem/23955856 | 13 January 2016, 02:36:36 UTC |
35ed595 | Dmitri Gribenko | 13 January 2016, 01:58:05 UTC | Merge pull request #949 from apple/revert-673-sr215-fix Revert "[Parser] Fix-it for declaration attributes being applied to parameter types (SR-215)" | 13 January 2016, 01:58:05 UTC |
f40c2a5 | Dmitri Gribenko | 13 January 2016, 01:57:56 UTC | Revert "[Parser] Fix-it for declaration attributes being applied to parameter types (SR-215)" | 13 January 2016, 01:57:56 UTC |
c9e32b8 | Ryan Lovelett | 12 January 2016, 22:07:27 UTC | [gyb] Force UTF-8 encoding when parsing templates on Linux Python 3 on Linux reads the system locale information to determine what it should use as the default encoding for strings read from files (this is different from OS X which is always UTF-8 by default [1]). Since all the Swift gyb templates are UTF-8 encoded there is effectively no reason to parse them as anything else. This patch forces the gyb template parser to read the template using UTF-8 encoding. It accounts for both reading and writing to a file as well as reading from stdin and writing to stdout. Two changes of note are that it now includes a __future__ import that should make Python 2 behave a little closer to Python 3 in terms of unicode support. Additionally Python 2 can no longer use cStringIO because it does not support unicode [2]. To test this patch I ran these commands before and after the patch. Note: that before the patch if the locale was set to something other than UTF-8, ASCII for instance, the Python 3 runs would fail. See [3] for example failure message. Without stdin/stdout: $ python2 utils/gyb -o Arrays.2.7.swift stdlib/public/core/Arrays.swift.gyb $ python3 utils/gyb -o Arrays.3.5.swift stdlib/public/core/Arrays.swift.gyb $ diff -u Arrays.2.7.swift Arrays.3.5.swift With stdin/stdout: $ cat stdlib/public/core/Arrays.swift.gyb | python2 utils/gyb > Arrays.2.7.stdin.stdout.swift $ cat stdlib/public/core/Arrays.swift.gyb | python3 utils/gyb > Arrays.3.5.stdin.stdout.swift $ diff -u Arrays.2.7.stdin.stdout.swift Arrays.3.5.stdin.stdout.swift [1] https://docs.python.org/3/howto/unicode.html#unicode-filenames [2] https://docs.python.org/2/library/stringio.html#cStringIO.StringIO [3] https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160111/000780.html | 13 January 2016, 01:56:33 UTC |
72fdaff | Dmitri Gribenko | 13 January 2016, 01:49:10 UTC | Merge pull request #673 from SquaredTiki/sr215-fix [Parser] Fix-it for declaration attributes being applied to parameter types (SR-215) | 13 January 2016, 01:49:10 UTC |
7026909 | Michael Gottesman | 12 January 2016, 23:53:00 UTC | Refactor SILArgument to use TermKind and refactor a bunch of the code there to use one helper function to find incoming values. This improves the quality of code but more importantly makes it easier to ensure that new terminators are handled in this code since all of the switches are now covered switches. | 13 January 2016, 01:24:34 UTC |
9e1d3ab | Michael Gottesman | 13 January 2016, 01:03:19 UTC | [test] Change basic-aa.sil to no longer be dependent on the Swift standard library. | 13 January 2016, 01:24:34 UTC |
c77f7b6 | Michael Gottesman | 13 January 2016, 01:01:30 UTC | [test] Convert allocbox_to_stack to no longer depend on the standard library. | 13 January 2016, 01:24:34 UTC |
21d273e | Greg Parker | 13 January 2016, 00:57:04 UTC | Merge pull request #947 from modocache/build-script [build-script] Remove unused function | 13 January 2016, 00:57:04 UTC |
e1312f4 | Brian Gesiak | 12 January 2016, 22:29:03 UTC | [build-script] Remove unused function `is_native_tools_deployment_target` is never used. Remove it. | 13 January 2016, 00:54:07 UTC |
851f3ab | Michael Gottesman | 13 January 2016, 00:44:34 UTC | [test] Make earlycodemotion.sil not dependent on the swift standard library. | 13 January 2016, 00:53:13 UTC |
d1b72c7 | Jordan Rose | 13 January 2016, 00:17:14 UTC | [test] Fix test case to account for temporary file names. | 13 January 2016, 00:17:27 UTC |
7be3eff | Jordan Rose | 12 January 2016, 21:54:34 UTC | [Driver] Remove an unused accessor. No one should be accessing the raw input argument list; it's there merely to keep the info about the derived argument list alive. | 13 January 2016, 00:17:27 UTC |
7552d49 | Jordan Rose | 12 January 2016, 21:36:06 UTC | [Driver] Eliminate unused fields from Compilation. No functionality change. | 13 January 2016, 00:17:27 UTC |
8bac086 | Chris Lattner | 13 January 2016, 00:04:12 UTC | My changes fixed this test, and swift-ide-test is returning a successful exit code, I should have removed the "not" as well as the --crash. | 13 January 2016, 00:04:40 UTC |
f93b855 | Michael Gottesman | 12 January 2016, 22:43:19 UTC | [gardening] Add some textual flags and organize the code a little bit. NFC. | 12 January 2016, 22:43:19 UTC |
1b83009 | Michael Gottesman | 12 January 2016, 22:31:10 UTC | [gardening][rc-id] Move the main RCIdentityRoot analysis entry point into the RCIdentityRoot analysis section. | 12 January 2016, 22:31:10 UTC |
9a5970d | Michael Gottesman | 11 January 2016, 23:56:41 UTC | Remove standard library dependency from side-effect.sil. A gift for Dmitri. = ). | 12 January 2016, 22:26:46 UTC |
9ced244 | Joshua Garnham | 12 January 2016, 21:54:35 UTC | Corrected check for declaration attribute | 12 January 2016, 21:54:35 UTC |
5f78d24 | Jordan Rose | 12 January 2016, 19:49:07 UTC | [Driver] Make the list of input files available when creating Jobs. Previously jobs had to grovel this information out of the raw argument list, which dropped the types we had inferred on input files. This makes things more consistent across the compiler, though arguably we should be able to designate "primary" and "non-primary" inputs on a per-action basis rather than resorting to "global" state. Use this new information to stop passing object file inputs to the Swift frontend, fixing rdar://problem/23213785. The list wouldn't have to live on the Compilation, but I'm going to use it to fix SR-280 / rdar://problem/23878192 as well. | 12 January 2016, 19:52:31 UTC |
af8eb37 | Jordan Rose | 12 January 2016, 19:07:58 UTC | [Driver] Constify a parameter. No functionality change. | 12 January 2016, 19:52:31 UTC |
dbd0d47 | Jordan Rose | 12 January 2016, 02:00:13 UTC | [Driver] Only JobActions have inputs, not InputActions. Also, cluster the flags on Action into a single word. This probably doesn't make any real difference, but it's the convention. No functionality change. | 12 January 2016, 19:52:31 UTC |
1890de0 | Jordan Rose | 12 January 2016, 01:04:00 UTC | [Driver] Collapse duplicated code. No functionality change. | 12 January 2016, 19:52:31 UTC |
2d094d0 | Dmitri Gribenko | 12 January 2016, 19:34:49 UTC | Merge pull request #944 from practicalswift/swiftc-28200-swift-typebase-getdesugaredtype [swiftc] Add test case for crash triggered in swift::TypeBase::getDesugaredType() | 12 January 2016, 19:34:49 UTC |
9b81ff9 | Dmitri Gribenko | 12 January 2016, 19:34:39 UTC | Merge pull request #945 from EZ-NET/correct_oldstyle_array [docs] Replace old-style array type annotations. | 12 January 2016, 19:34:39 UTC |
c554308 | Ben Langmuir | 12 January 2016, 18:45:20 UTC | [sourcekit] Remove unused variable to silence warning | 12 January 2016, 19:28:12 UTC |
93e3c72 | Ben Langmuir | 17 December 2015, 16:52:51 UTC | [swift-ide-test] Don't go past the end of input in removeCodeCompletionTokens When matching an incomplete code-completion token #^... | 12 January 2016, 19:28:11 UTC |
473b156 | Tomohiro Kumagai | 12 January 2016, 19:09:39 UTC | [docs] Replace old-style array type annotations. | 12 January 2016, 19:09:39 UTC |
ab78cad | practicalswift | 12 January 2016, 18:04:56 UTC | [swiftc] Add test case for crash triggered in swift::TypeBase::getDesugaredType() Stack trace: ``` 4 swift 0x0000000001019a40 swift::TypeBase::getDesugaredType() + 32 5 swift 0x0000000000e89d9c swift::constraints::Solution::computeSubstitutions(swift::Type, swift::DeclContext*, swift::Type, swift::constraints::ConstraintLocator*, llvm::SmallVectorImpl<swift::Substitution>&) const + 828 9 swift 0x0000000000f6eb55 swift::Expr::walk(swift::ASTWalker&) + 69 10 swift 0x0000000000e8db66 swift::constraints::ConstraintSystem::applySolution(swift::constraints::Solution&, swift::Expr*, swift::Type, bool, bool, bool) + 502 11 swift 0x0000000000e006ab swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::Type, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*) + 683 16 swift 0x0000000000ea8d28 swift::constraints::ConstraintSystem::diagnoseFailureForExpr(swift::Expr*) + 104 17 swift 0x0000000000ead62e swift::constraints::ConstraintSystem::salvage(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::Expr*) + 4046 18 swift 0x0000000000dfa2a5 swift::TypeChecker::solveForExpression(swift::Expr*&, swift::DeclContext*, swift::Type, swift::FreeTypeVariableBinding, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem&, llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>) + 661 19 swift 0x0000000000e00639 swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::Type, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*) + 569 20 swift 0x0000000000e017b0 swift::TypeChecker::typeCheckBinding(swift::Pattern*&, swift::Expr*&, swift::DeclContext*) + 112 21 swift 0x0000000000e01959 swift::TypeChecker::typeCheckPatternBinding(swift::PatternBindingDecl*, unsigned int) + 265 26 swift 0x0000000000e1b266 swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) + 150 27 swift 0x0000000000de77a2 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int) + 1474 28 swift 0x0000000000c9f042 swift::CompilerInstance::performSema() + 2946 30 swift 0x00000000007645a2 frontend_main(llvm::ArrayRef<char const*>, char const*, void*) + 2482 31 swift 0x000000000075f181 main + 2705 Stack dump: 0. Program arguments: /path/to/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift -frontend -c -primary-file validation-test/compiler_crashers/28200-swift-typebase-getdesugaredtype.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -module-name main -o /tmp/28200-swift-typebase-getdesugaredtype-20fee1.o 1. While type-checking 'S' at validation-test/compiler_crashers/28200-swift-typebase-getdesugaredtype.swift:7:1 2. While type-checking expression at [validation-test/compiler_crashers/28200-swift-typebase-getdesugaredtype.swift:8:7 - line:8:9] RangeText="c<T" 3. While type-checking expression at [validation-test/compiler_crashers/28200-swift-typebase-getdesugaredtype.swift:8:7 - line:8:7] RangeText="c" <unknown>:0: error: unable to execute command: Segmentation fault <unknown>:0: error: compile command failed due to signal (use -v to see invocation) ``` | 12 January 2016, 18:04:56 UTC |
f82389a | Maxim Moiseev | 12 January 2016, 17:29:50 UTC | Merge pull request #923 from johnlui/master [stdlib] Change C-style for loop to Swift-style for-in loop | 12 January 2016, 17:29:50 UTC |
e8886a4 | Maxim Moiseev | 12 January 2016, 17:27:48 UTC | Merge pull request #920 from practicalswift/gyb-fixes [gardening] Clean up .gyb-files: Remove unused imports. Non-controversial PEP8 fixes. | 12 January 2016, 17:27:48 UTC |
755156a | Dmitri Gribenko | 12 January 2016, 16:50:06 UTC | Merge pull request #942 from practicalswift/swiftc-28199-swift-constraints-constraintsystem-performmemberlookup [swiftc] Add test case for crash triggered in swift::constraints::ConstraintSystem::performMemberLookup(…) | 12 January 2016, 16:50:06 UTC |
fab6738 | Dmitri Gribenko | 12 January 2016, 16:45:41 UTC | Merge pull request #937 from smikes/bootstrap-ninja-set-make-program [build-script-impl][SR-58] When bootstrapping ninja, set CMAKE_MAKE_COMMAND | 12 January 2016, 16:45:41 UTC |
206d410 | Erik Eckstein | 12 January 2016, 16:13:46 UTC | disable an IDE test to unblock the bots | 12 January 2016, 16:13:46 UTC |
3e4d6c7 | Sam Mikes | 12 January 2016, 14:39:34 UTC | Reduce visibility of variables NINJA_BIN doesn't have to be exported, so don't export it PATH doesn't have to be changed, so don't change it | 12 January 2016, 14:39:34 UTC |
6b7eb00 | Joshua Garnham | 20 December 2015, 00:11:07 UTC | Removed reference to bug ID | 12 January 2016, 11:52:26 UTC |
429524a | Joshua Garnham | 20 December 2015, 00:10:06 UTC | Added a test to check the fix-it works correctly | 12 January 2016, 11:49:45 UTC |
d231cb0 | Joshua Garnham | 19 December 2015, 21:19:51 UTC | Add check for decl attributes being applied to types in function declaration (fixes SR-215) | 12 January 2016, 11:49:45 UTC |
85231a2 | Chris Lattner | 12 January 2016, 07:17:15 UTC | Merge pull request #943 from practicalswift/typo-fixes-20160112 [gardening] Fix recently introduced typos | 12 January 2016, 07:17:15 UTC |
ec113a3 | practicalswift | 12 January 2016, 06:45:50 UTC | Fix recently introduced typos. | 12 January 2016, 06:45:50 UTC |
2f78b70 | Chris Lattner | 12 January 2016, 06:43:27 UTC | recent diagnostics changes fixed 5 crashers and broke 1. | 12 January 2016, 06:43:27 UTC |
e30cd93 | Chris Lattner | 12 January 2016, 06:18:55 UTC | Fix rdar://20395243 QoI: type variable reconstruction failing for tuple types ASTPrinter of type variables was trying to dig an original type out of the locator and archetype that opened the type variable in the first place. This was prone to failure and never helped, so just always print type vars as _. The affected diagnostics always come out better and this saves a word of storage for each type variable. | 12 January 2016, 06:20:19 UTC |