Files
codeql/swift
Mathias Vorreiter Pedersen 9b0d84c1a3 Merge pull request #9268 from MathiasVP/swift-add-cfg-library
Swift: Extend AST classes and add control-flow library
2022-05-23 16:37:51 +01:00
..
2022-05-23 15:18:36 +01:00
2022-05-17 13:18:28 +00:00
2022-04-12 12:40:59 +02:00
2022-04-28 12:01:59 +02:00
2022-05-03 12:33:24 +02:00
2022-05-23 12:49:08 +02:00
2022-04-29 14:18:36 +02:00

Warning

The Swift codeql package is an experimental and unsupported work in progress.

Usage

Run

bazel run //swift:create-extractor-pack

which will install swift/extractor-pack.

Using --search-path=swift/extractor-pack will then pick up the Swift extractor. You can also use --search-path=., as the extractor pack is mentioned in the root .codeqlmanifest.json.

Notice you can run bazel run :create-extractor-pack if you already are in the swift directory.

Code generation

Run

bazel run //swift/codegen

to update generated files. This can be shortened to bazel run codegen if you are in the swift directory.