Files
codeql/swift/.gitignore
Paolo Tranquilli e2d7a6910c Swift: generate raw helpers in synthesized stubs
This will add helpers to get the underlying raw entities or constructor
arguments on stubs for synthesized classes.

For example a schema like:

```
@synth.from_class(A)
class B:
    pass

@synth.on_arguments(base=A, index=int)
class C:
    pass
```

will generate

```
cached
private Raw::A getUnderlyingEntity() { this = Synth::TB(result) }
```
in the `B.qll` stub and
```
cached
private Raw::A getUnderlyingBase() { this = Synth::TC(result, _) }

cached
private int getUnderlyingIndex() { this = Synth::TC(_, result) }
```
in the `C.qll` stub.

As stubs these can be freely changed later on.
2023-02-16 10:49:21 +01:00

17 lines
301 B
Plaintext

# directory created by bazel run //swift:create-extractor-pack
/extractor-pack
# output files created by running tests
*.o
# compilation database
compile_commands.json
# CLion project data and build directories
/.idea
/cmake*
# VSCode default build directory and project directory
/build
/.vscode