Граф коммитов

807 Коммитов

Автор SHA1 Сообщение Дата
erik-krogh 1fe76ecc0a
update expected output 2022-09-23 12:27:06 +02:00
erik-krogh 6c3ed6cd0e
update alert-messages to follow the style-guide 2022-09-23 12:23:40 +02:00
Tom Hvitved ad6b870f94 Data flow: Sync files 2022-09-22 15:01:33 +02:00
Tom Hvitved f0f4fe7286
Merge pull request #10444 from hvitved/ruby/stmt-sequence-post-update
Ruby: Add post-update nodes for compound arguments
2022-09-22 13:18:51 +02:00
Alex Denisov b3ea537553 Swift: switch to python db schema 2022-09-22 11:17:14 +02:00
Alex Denisov e4731fd41f Swift: redirect more artfacts 2022-09-22 11:17:07 +02:00
Alex Denisov d9cfd06a88 Swift: do not skip newly supported CLI args 2022-09-22 11:17:07 +02:00
Alex Denisov 44f4ff18dd Swift: accept regression 2022-09-22 11:17:07 +02:00
Alex Denisov ecb5708b66 Swift: fix static assert? 2022-09-22 11:17:07 +02:00
Alex Denisov 6a08b8dcfb Swift: getSequence was renamed 2022-09-22 11:17:07 +02:00
Alex Denisov b364647d76 Swift: add stubs for new exprs 2022-09-22 11:17:07 +02:00
Alex Denisov d937234f83 Swift: add stubs for new types 2022-09-22 11:17:07 +02:00
Alex Denisov 13fe02edfa Swift: NestedArchetypeType was removed 2022-09-22 11:17:04 +02:00
Alex Denisov 61d5cdc421 Swift: update Swift package to 5.7 2022-09-22 11:16:56 +02:00
Paolo Tranquilli 3983c36cb2 Swift: avoid inheriting annotations 2022-09-21 18:02:09 +02:00
Paolo Tranquilli a67341c53b Revert "Swift: make unknown entity type check more solid"
This reverts commit b52a4e19c1.
2022-09-21 18:01:59 +02:00
Paolo Tranquilli b52a4e19c1 Swift: make unknown entity type check more solid 2022-09-21 16:44:34 +02:00
Paolo Tranquilli fd63bab054 Swift: autopep8 test_schema.py 2022-09-21 16:15:52 +02:00
Paolo Tranquilli 163d1717d7 Swift: autopep8 2022-09-21 16:11:40 +02:00
Paolo Tranquilli 28a2aade21 Swift: undo double newlines in `schema.py` 2022-09-21 16:03:37 +02:00
Paolo Tranquilli 96897a0cdc Swift: implement python schema
The information that was contained in `schema.yml` is now in
`swift/schema.py`, which allows a more integrated IDE experience
for writing and navigating it.

Another minor change is that `schema.Class` now has a `str` `group`
field instead of a `pathlib.Path` `dir` one.
2022-09-21 15:53:09 +02:00
Paolo Tranquilli caaf9e7ff3 Swift: reorganize schema lib files 2022-09-21 15:50:26 +02:00
Paolo Tranquilli b0e7dfcbdf Swift: python schema mock-up 2022-09-21 15:39:18 +02:00
Paolo Tranquilli 935d5d9619 Merge branch 'main' into redsun82/swift-ifconfigdecl-ql 2022-09-21 13:21:08 +02:00
Paolo Tranquilli 86895393e0
Merge pull request #10488 from github/alexdenisov/skip-another-cli-arg
Swift: skip one more unsupported CLI arg
2022-09-21 13:20:03 +02:00
Paolo Tranquilli 239ec74c3a Revert accidental file change 2022-09-21 12:16:57 +02:00
Paolo Tranquilli 69dfdf5a34 Swift: fix `IfConfigDecl` in QL libraries
This fixes `IfConfigDecl` for both the AST printer and control flow
libraries.

It turns out that the active lements of an `IfConfigDecl` are already
listed in the enclosing scope (like a `BraceStmt`), so they should not
be listed as children, and `IfConfigDecl` can be jsut a leaf in the
control flow.
2022-09-21 12:12:55 +02:00
Tom Hvitved db8b6ac69a Data flow: Sync files 2022-09-21 11:02:24 +02:00
Paolo Tranquilli a50f3f752b Swift: move toposort in `schema.py`
This makes the result of code generation independent of the order
in which classes are defined in the schema, and makes additional
topological sorting not required.

Being independent from schema order will be important for reviewing the
move to a pure python schema, as generated code will be left untouched.
2022-09-21 10:49:12 +02:00
Paolo Tranquilli b4df557c5a Merge branch 'main' into redsun82/swift-do-not-extract-inactive-ifconfig-clauses 2022-09-20 15:41:34 +02:00
Paolo Tranquilli 3fd8136dc7 Swift: accept test results 2022-09-20 15:37:09 +02:00
AlexDenisov 4614074d01
Merge pull request #10452 from github/alexdenisov/remove-swift-vfs
Swift: remove (dead) VFS related code
2022-09-20 15:36:58 +02:00
Paolo Tranquilli 250965b140 Swift: update extractor for `TypeRepr` changes 2022-09-20 15:24:51 +02:00
Mathias Vorreiter Pedersen 90f24d3e82
Merge pull request #10430 from geoffw0/cleartextmissing
Swift: Fix missing results in swift/cleartext-storage-database
2022-09-20 14:23:29 +01:00
Paolo Tranquilli dfc91bb0f0 Swift: make `type` non optional in `TypeRepr` 2022-09-20 15:23:27 +02:00
Paolo Tranquilli 72a4bd3f1e Swift: group unresolved elements and remove their tests 2022-09-20 15:22:20 +02:00
Paolo Tranquilli 0e62d6f123 Swift: update extractor to new `IfConfigDecl` 2022-09-20 15:12:37 +02:00
Paolo Tranquilli 7ae68fcc03 Swift: rework `IfConfigDecl` schema 2022-09-20 15:11:58 +02:00
Alex Denisov c020bee529 Swift: remove VFS related code 2022-09-20 15:06:25 +02:00
Alex Denisov dafa9d24f1 Swift: skip one more unsupported CLI arg 2022-09-20 15:04:54 +02:00
Geoffrey White 3573dd6728 Swift: Address review comments. 2022-09-20 12:17:21 +01:00
AlexDenisov addab0964f
Merge pull request #10447 from github/alexdenisov/open-interception
Swift: open(2) interception
2022-09-20 10:47:58 +02:00
Erik Krogh Kristensen a4cd913aea
Merge pull request #10312 from erik-krogh/fix-caseDiff
ensure consistent casing of names
2022-09-19 10:43:12 +02:00
Alex Denisov 3c12644ab1 Swift: add a guard around hashing to aboid use-after-destructor 2022-09-19 10:37:26 +02:00
Geoffrey White 213cd94047 Swift: Update the test. 2022-09-16 13:24:37 +01:00
Alex Denisov d6d8480b2a Swift: fix internal builds 2022-09-16 12:59:43 +02:00
Alex Denisov c638789f3e Swift: open(2) interception 2022-09-16 12:02:16 +02:00
Alex Denisov 2b12aece63 Swift: skip more unsupported CLI args (new in Xcode 14) 2022-09-16 09:24:20 +02:00
Geoffrey White c3c86a79ee Swift: Update comment. 2022-09-14 21:08:52 +01:00
Geoffrey White dc47771937 Swift: Fix locationless results. 2022-09-14 20:43:24 +01:00