Xi Ge
b78c9eb328
swift-api-digester: ensure the sdk-dump includes extensions from types of other modules. rdar://42266041
2018-07-20 17:26:22 -07:00
Jordan Rose
3ef027153b
Merge pull request #18064 from jrose-apple/LLVM_DEBUG
...
Replace old DEBUG macro with new LLVM_DEBUG
2018-07-20 17:19:23 -07:00
swift-ci
5a83d16acf
Merge remote-tracking branch 'origin/master' into master-next
2018-07-20 15:09:48 -07:00
swift-ci
0ee0c5602f
Merge pull request #18112 from dcci/deadcodemepatatinomiobello
2018-07-20 15:01:57 -07:00
Jordan Rose
cefb0b62ba
Replace old DEBUG macro with new LLVM_DEBUG
...
...using a sed command provided by Vedant:
$ find . -name \*.cpp -print -exec sed -i "" -E "s/ DEBUG\(/ LLVM_DEBUG(/g" {} \;
2018-07-20 14:37:26 -07:00
swift-ci
7b5e5028b7
Merge remote-tracking branch 'origin/master' into master-next
2018-07-20 13:49:10 -07:00
Alex Hoppen
858155c648
Merge pull request #18088 from ahoppen/01#3-refactor-test-utility
...
[incrParse] Refactor the test utility to be more modular
2018-07-20 13:46:30 -07:00
Davide Italiano
862711616d
[swift-reflection-dump] Garbage collect dead code.
...
Now that the API is fully transparent and works both with
ELF and MachO, clients don't need to worry about object format
details anymore.
2018-07-20 11:32:46 -07:00
swift-ci
10749e49ce
Merge remote-tracking branch 'origin/master' into master-next
2018-07-20 11:09:46 -07:00
Xi Ge
bb458cba40
Merge pull request #18099 from nkcsgexi/swift-syntax-test-setup
...
SwiftSyntax: set up a test executable that can access SwiftSyntax APIs.
2018-07-20 11:01:02 -07:00
Xi Ge
8f687714a2
SwiftSyntax: set up a test executable that can access SwiftSyntax APIs.
...
This will serve as the same functionality as swift-ide-test, but for
Swift syntax clients.
2018-07-19 18:18:30 -07:00
swift-ci
fe8d63d234
Merge remote-tracking branch 'origin/master' into master-next
2018-07-19 17:59:30 -07:00
Davide Italiano
a907398872
[RemoteMirrors] Add support for reading ELF.
...
<rdar://problem/41901725>
2018-07-19 15:21:42 -07:00
swift-ci
770b29634b
Merge remote-tracking branch 'origin/master' into master-next
2018-07-19 14:50:16 -07:00
Alex Hoppen
d9d5afd15a
[incrParse] Refactor the test utility to be more modular
...
This way we can use the same core of the test utility to verify
round-tripness of incrementally transferring the syntax tree to
swiftSyntax.
2018-07-19 14:47:58 -07:00
Alex Hoppen
dc958d670b
Merge pull request #18078 from ahoppen/01#2-record-reused-node-ids
...
[libSyntax] Record reused node IDs
2018-07-19 14:37:18 -07:00
swift-ci
6dc2e15182
Merge remote-tracking branch 'origin/master' into master-next
2018-07-19 14:09:20 -07:00
Alex Hoppen
c8226d1507
[libSyntax] Make a typealias to unsigned to represent SyntaxNodeIds
2018-07-19 13:57:08 -07:00
Alex Hoppen
419ba044f1
[libSyntax] Record reused node IDs
...
This is cheaper than recording reused region offsets and the reused node
IDs will later be used to incrementally transfer the syntax to
SwiftSyntax.
2018-07-19 13:55:57 -07:00
swift-ci
146f2c71f6
Merge pull request #18021 from dcci/machorewriteremotemirrors
2018-07-19 13:53:13 -07:00
swift-ci
3e0444534b
Merge remote-tracking branch 'origin/master' into master-next
2018-07-19 10:49:42 -07:00
Alex Hoppen
7f105e4e3a
Merge pull request #18059 from ahoppen/01a-rename-absolute-position
...
[libSyntax] Rename getAbsolutePosition-related methods for more clarity
2018-07-19 10:40:09 -07:00
Alex Hoppen
705f5b79a2
[libSyntax] Rename getAbsolutePosition-related methods for more clarity
2018-07-19 09:15:53 -07:00
swift-ci
c4feb3611d
Merge remote-tracking branch 'origin/master' into master-next
2018-07-18 17:09:20 -07:00
Alex Hoppen
1df1dc71b7
Merge pull request #18016 from ahoppen/003-incremental-syntax-coloring
...
[libSyntax] Incremental syntax colouring
2018-07-18 17:08:02 -07:00
Alex Hoppen
1b8840fcff
[incrParse] Perform a full reparse of the file if needed for formatting
2018-07-18 13:35:11 -07:00
Alex Hoppen
57ccdd89b6
[incrParse] Add validation of incremental parsing
...
If enabled using the environment variable
SOURCEKIT_INCREMENTAL_PARSE_VALIDATION, the incrementally parsed syntax
tree will be compared to the from-scratch parsing syntax tree. If they
differ a warning is emitted and log files showing the difference written
to a temporary directory.
2018-07-18 13:35:11 -07:00
Alex Hoppen
6635be10ea
[libSyntax] Add UserInfo to json::Output
...
This will allow us to customize the serialization of a syntax tree like
not serializing the node's IDs.
2018-07-18 13:35:10 -07:00
Alex Hoppen
7a750bf024
[libSyntax] Allow syntax cache reuse info to be passed back via SourceKit
2018-07-18 13:35:10 -07:00
Davide Italiano
2f0577a967
[swift-reflection-dump] Use the new API for MachO.
...
<rdar://problem/42306551>
2018-07-17 15:45:32 -07:00
Alex Hoppen
fcc5a6b424
[libSyntax] Enable incremental parsing for syntax tree based syntax coloring
2018-07-17 14:17:58 -07:00
swift-ci
9b12d01fc2
Merge remote-tracking branch 'origin/master' into master-next
2018-07-17 09:09:17 -07:00
Alex Hoppen
3bf94abbfc
Merge pull request #17621 from ahoppen/002-sytnax-tree-based-coloring
...
[libSyntax] Syntax colouring based on the syntax tree
2018-07-17 08:54:51 -07:00
Alex Hoppen
6bc1b5a389
[libSyntax] Add test variants for building the syntax map via libSyntax
2018-07-13 17:57:00 -07:00
Alex Hoppen
c8a3957ba2
[SourceKit] Add option to force the SyntaxMap to be generated via the syntax tree
2018-07-13 17:57:00 -07:00
Alex Hoppen
8430eff670
[libSyntax] Add syntax coloring based on the syntax tree
2018-07-13 17:48:47 -07:00
swift-ci
8866307bce
Merge remote-tracking branch 'origin/master' into master-next
2018-07-12 19:49:24 -07:00
Mark Lacey
6115e6e027
Fix some unused function warnings in reflection test.
2018-07-12 12:11:39 -07:00
swift-ci
7e6c2198d1
Merge remote-tracking branch 'origin/master' into master-next
2018-07-10 22:49:20 -07:00
Rintaro Ishizaki
18ec4adb2e
Merge pull request #17753 from rintaro/sourcekit-rdar40646921-2
...
[SourceKit] Use "-" as fallback complier argument
2018-07-11 14:30:02 +09:00
swift-ci
468e401436
Merge remote-tracking branch 'origin/master' into master-next
2018-07-09 12:29:36 -07:00
Xi Ge
c9746452ac
swift-api-digester: avoid diagnosing reference ownership changes from unowned to weak. rdar://41260522
2018-07-09 11:21:45 -07:00
swift-ci
decf2b1130
Merge remote-tracking branch 'origin/master' into master-next
2018-07-05 11:49:26 -07:00
John McCall
34b0cbc11d
Merge pull request #16237 from davezarzycki/metaprogram_ref_storage_types
...
[AST] NFC: Enable reference storage type meta-programming
2018-07-05 14:45:38 -04:00
Rintaro Ishizaki
7b12cfbfa6
[SourceKit] Respect -name option in sourcekitd-test
2018-07-05 16:11:51 +09:00
Rintaro Ishizaki
2b0728bc95
[SourceKit] Use "-" as fallback complier argument
...
Since compiler arguments are processed by Driver, arbitrary filename
passed as 'request.name' (e.g. "", "-1", etc.) may cause problems.
Using '-' guarantees successful initialization of 'CompilerInvocation'.
rdar://problem/40646921
rdar://problem/40955808
2018-07-05 16:11:51 +09:00
Bob Wilson
ca10ed04a6
[master-next] Remove unnecessary argument array copy from PR 17494
2018-07-03 17:26:14 -07:00
swift-ci
e891109466
Merge remote-tracking branch 'origin/master' into master-next
2018-07-02 09:28:58 -07:00
Xi Ge
46a1142b7f
Merge pull request #17644 from nkcsgexi/global-name
...
migrator: handle member variables change to global ones. rdar://41658300
2018-07-02 09:25:44 -07:00
David Zarzycki
b91bde4d14
[swift-api-digester] NFC: Adopt reference storage type meta-programming macros
2018-06-30 06:44:34 -04:00