diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cf38289452db..2b677468025b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: clang-format - repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v1.6.0 + rev: v2.0.4 hooks: - id: autopep8 files: ^misc/codegen/.*\.py diff --git a/misc/codegen/generators/qlgen.py b/misc/codegen/generators/qlgen.py index 36a490f897a3..eafa8a2c286a 100755 --- a/misc/codegen/generators/qlgen.py +++ b/misc/codegen/generators/qlgen.py @@ -2,18 +2,19 @@ QL code generation `generate(opts, renderer)` will generate in the library directory: - * generated/Raw.qll with thin class wrappers around DB types - * generated/Synth.qll with the base algebraic datatypes for AST entities - * generated//.qll with generated properties for each class - * if not already modified, a elements//.qll stub to customize the above classes - * elements.qll importing all the above stubs - * if not already modified, a elements//Constructor.qll stub to customize the algebraic datatype + * `generated/Raw.qll` with thin class wrappers around DB types + * `generated/Synth.qll` with the base algebraic datatypes for AST entities + * `generated//.qll` with generated properties for each class + * if not already modified, an `elements//Impl.qll` stub to customize the above classes + * `elements//.qll` that wraps the internal `Impl.qll` file in a public `final` class. + * `elements.qll` importing all the above public classes + * if not already modified, an `elements//Constructor.qll` stub to customize the algebraic datatype characteristic predicate - * generated/SynthConstructors.qll importing all the above constructor stubs - * generated/PureSynthConstructors.qll importing constructor stubs for pure synthesized types (that is, not + * `generated/SynthConstructors.qll` importing all the above constructor stubs + * `generated/PureSynthConstructors.qll` importing constructor stubs for pure synthesized types (that is, not corresponding to raw types) Moreover in the test directory for each in it will generate beneath the -extractor-tests/generated// directory either +`extractor-tests/generated//` directory either * a `MISSING_SOURCE.txt` explanation file if no source is present, or * one `.ql` test query for all single properties and on `_.ql` test query for each optional or repeated property @@ -164,6 +165,7 @@ def get_ql_class(cls: schema.Class, lookup: typing.Dict[str, schema.Class]) -> q return ql.Class( name=cls.name, bases=cls.bases, + bases_impl=[base + "Impl::" + base for base in cls.bases], final=not cls.derived, properties=properties, dir=pathlib.Path(cls.group or ""), @@ -210,15 +212,17 @@ def get_import(file: pathlib.Path, root_dir: pathlib.Path): return str(stem).replace("/", ".") -def get_types_used_by(cls: ql.Class) -> typing.Iterable[str]: +def get_types_used_by(cls: ql.Class, is_impl: bool) -> typing.Iterable[str]: for b in cls.bases: - yield b.base + yield b.base + "Impl" if is_impl else b.base for p in cls.properties: yield p.type + if cls.root: + yield cls.name # used in `getResolveStep` and `resolve` -def get_classes_used_by(cls: ql.Class) -> typing.List[str]: - return sorted(set(t for t in get_types_used_by(cls) if t[0].isupper() and t != cls.name)) +def get_classes_used_by(cls: ql.Class, is_impl: bool) -> typing.List[str]: + return sorted(set(t for t in get_types_used_by(cls, is_impl) if t[0].isupper() and (is_impl or t != cls.name))) def format(codeql, files): @@ -239,6 +243,10 @@ def _get_path(cls: schema.Class) -> pathlib.Path: return pathlib.Path(cls.group or "", cls.name).with_suffix(".qll") +def _get_path_impl(cls: schema.Class) -> pathlib.Path: + return pathlib.Path(cls.group or "", cls.name+"Impl").with_suffix(".qll") + + def _get_all_properties(cls: schema.Class, lookup: typing.Dict[str, schema.Class], already_seen: typing.Optional[typing.Set[int]] = None) -> \ typing.Iterable[typing.Tuple[schema.Class, schema.Property]]: @@ -315,11 +323,14 @@ def _get_stub(cls: schema.Class, base_import: str, generated_import_prefix: str) else: accessors = [] return ql.Stub(name=cls.name, base_import=base_import, import_prefix=generated_import_prefix, - doc=cls.doc, synth_accessors=accessors, - internal="ql_internal" in cls.pragmas) + doc=cls.doc, synth_accessors=accessors) + +def _get_class_public(cls: schema.Class) -> ql.ClassPublic: + return ql.ClassPublic(name=cls.name, doc=cls.doc, internal="ql_internal" in cls.pragmas) -_stub_qldoc_header = "// the following QLdoc is generated: if you need to edit it, do it in the schema file\n" + +_stub_qldoc_header = "// the following QLdoc is generated: if you need to edit it, do it in the schema file\n " _class_qldoc_re = re.compile( rf"(?P(?:{re.escape(_stub_qldoc_header)})?/\*\*.*?\*/\s*|^\s*)(?:class\s+(?P\w+))?", @@ -330,13 +341,13 @@ def _patch_class_qldoc(cls: str, qldoc: str, stub_file: pathlib.Path): """ Replace or insert `qldoc` as the QLdoc of class `cls` in `stub_file` """ if not qldoc or not stub_file.exists(): return - qldoc = "\n".join(l.rstrip() for l in qldoc.splitlines()) + qldoc = "\n ".join(l.rstrip() for l in qldoc.splitlines()) with open(stub_file) as input: contents = input.read() for match in _class_qldoc_re.finditer(contents): if match["class"] == cls: qldoc_start, qldoc_end = match.span("qldoc") - contents = f"{contents[:qldoc_start]}{_stub_qldoc_header}{qldoc}\n{contents[qldoc_end:]}" + contents = f"{contents[:qldoc_start]}{_stub_qldoc_header}{qldoc}\n {contents[qldoc_end:]}" tmp = stub_file.with_suffix(f"{stub_file.suffix}.bkp") with open(tmp, "w") as out: out.write(contents) @@ -370,6 +381,8 @@ def generate(opts, renderer): raise RootElementHasChildren(root) imports = {} + imports_impl = {} + classes_used_by = {} generated_import_prefix = get_import(out, opts.root_dir) registry = opts.generated_registry or pathlib.Path( os.path.commonpath((out, stub_out, test_out)), ".generated.list") @@ -382,24 +395,34 @@ def generate(opts, renderer): classes_by_dir_and_name = sorted(classes.values(), key=lambda cls: (cls.dir, cls.name)) for c in classes_by_dir_and_name: - imports[c.name] = get_import(stub_out / c.path, opts.root_dir) + path = get_import(stub_out / c.path, opts.root_dir) + imports[c.name] = path + imports_impl[c.name + "Impl"] = path + "Impl" for c in classes.values(): qll = out / c.path.with_suffix(".qll") - c.imports = [imports[t] for t in get_classes_used_by(c)] + c.imports = [imports[t] if t in imports else imports_impl[t] + + "::Impl as " + t for t in get_classes_used_by(c, is_impl=True)] + classes_used_by[c.name] = get_classes_used_by(c, is_impl=False) c.import_prefix = generated_import_prefix renderer.render(c, qll) for c in data.classes.values(): path = _get_path(c) - stub_file = stub_out / path + path_impl = _get_path_impl(c) + stub_file = stub_out / path_impl base_import = get_import(out / path, opts.root_dir) stub = _get_stub(c, base_import, generated_import_prefix) + if not renderer.is_customized_stub(stub_file): renderer.render(stub, stub_file) else: qldoc = renderer.render_str(stub, template='ql_stub_class_qldoc') _patch_class_qldoc(c.name, qldoc, stub_file) + class_public = _get_class_public(c) + class_public_file = stub_out / path + class_public.imports = [imports[t] for t in classes_used_by[c.name]] + renderer.render(class_public, class_public_file) # for example path/to/elements -> path/to/elements.qll renderer.render(ql.ImportList([i for name, i in imports.items() if not classes[name].internal]), diff --git a/misc/codegen/lib/ql.py b/misc/codegen/lib/ql.py index a2762d6f4989..9c7e3d846374 100644 --- a/misc/codegen/lib/ql.py +++ b/misc/codegen/lib/ql.py @@ -101,6 +101,7 @@ class Class: name: str bases: List[Base] = field(default_factory=list) + bases_impl: List[Base] = field(default_factory=list) final: bool = False properties: List[Property] = field(default_factory=list) dir: pathlib.Path = pathlib.Path() @@ -114,7 +115,9 @@ class Class: hideable: bool = False def __post_init__(self): - self.bases = [Base(str(b), str(prev)) for b, prev in zip(self.bases, itertools.chain([""], self.bases))] + def get_bases(bases): return [Base(str(b), str(prev)) for b, prev in zip(bases, itertools.chain([""], bases))] + self.bases = get_bases(self.bases) + self.bases_impl = get_bases(self.bases_impl) if self.properties: self.properties[0].first = True @@ -159,13 +162,26 @@ class Stub: base_import: str import_prefix: str synth_accessors: List[SynthUnderlyingAccessor] = field(default_factory=list) - internal: bool = False doc: List[str] = field(default_factory=list) @property def has_synth_accessors(self) -> bool: return bool(self.synth_accessors) + @property + def has_qldoc(self) -> bool: + return bool(self.doc) + + +@dataclass +class ClassPublic: + template: ClassVar = 'ql_class_public' + + name: str + imports: List[str] = field(default_factory=list) + internal: bool = False + doc: List[str] = field(default_factory=list) + @property def has_qldoc(self) -> bool: return bool(self.doc) or self.internal diff --git a/misc/codegen/templates/dbscheme.mustache b/misc/codegen/templates/dbscheme.mustache index de16e837b51c..22f9e562f407 100644 --- a/misc/codegen/templates/dbscheme.mustache +++ b/misc/codegen/templates/dbscheme.mustache @@ -1,4 +1,4 @@ -// generated by {{generator}} +// generated by {{generator}}, do not edit {{#includes}} // from {{src}} diff --git a/misc/codegen/templates/ql_class.mustache b/misc/codegen/templates/ql_class.mustache index 100d5ebe939c..da6524d6d375 100644 --- a/misc/codegen/templates/ql_class.mustache +++ b/misc/codegen/templates/ql_class.mustache @@ -1,4 +1,4 @@ -// generated by {{generator}} +// generated by {{generator}}, do not edit /** * This module provides the generated definition of `{{name}}`. * INTERNAL: Do not import directly. @@ -9,7 +9,9 @@ private import {{import_prefix}}.Raw {{#imports}} import {{.}} {{/imports}} - +{{#root}} +private class {{name}}Alias = {{name}}; +{{/root}} /** * INTERNAL: This module contains the fully generated definition of `{{name}}` and should not * be referenced directly. @@ -22,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::{{name}}` class directly. * Use the subclass `{{name}}`, where the following predicates are available. */ - class {{name}} extends Synth::T{{name}}{{#bases}}, {{.}}{{/bases}} { + class {{name}} extends Synth::T{{name}}{{#bases_impl}}, {{.}}{{/bases_impl}} { {{#root}} /** * Gets the string representation of this element. @@ -49,13 +51,13 @@ module Generated { * Classes can override this to indicate this node should be in the "hidden" AST, mostly reserved * for conversions and syntactic sugar nodes like parentheses. */ - {{name}} getResolveStep() { none() } // overridden by subclasses + {{name}}Alias getResolveStep() { none() } // overridden by subclasses /** * Gets the element that should substitute this element in the explicit AST, applying `getResolveStep` * transitively. */ - final {{name}} resolve() { + final {{name}}Alias resolve() { not exists(this.getResolveStep()) and result = this or result = this.getResolveStep().resolve() diff --git a/misc/codegen/templates/ql_class_public.mustache b/misc/codegen/templates/ql_class_public.mustache new file mode 100644 index 000000000000..e3bcd4a28506 --- /dev/null +++ b/misc/codegen/templates/ql_class_public.mustache @@ -0,0 +1,12 @@ +// generated by {{generator}}, do not edit +/** + * This module provides the public class `{{name}}`. + */ + +private import {{name}}Impl +{{#imports}} +import {{.}} +{{/imports}} + +{{>ql_stub_class_qldoc}} +final class {{name}} = Impl::{{name}}; \ No newline at end of file diff --git a/misc/codegen/templates/ql_imports.mustache b/misc/codegen/templates/ql_imports.mustache index 18799347ba37..a3aee3277e18 100644 --- a/misc/codegen/templates/ql_imports.mustache +++ b/misc/codegen/templates/ql_imports.mustache @@ -1,4 +1,4 @@ -// generated by {{generator}} +// generated by {{generator}}, do not edit /** * This module exports all modules providing `Element` subclasses. */ diff --git a/misc/codegen/templates/ql_parent.mustache b/misc/codegen/templates/ql_parent.mustache index 0741562b99c6..b4e73e3699e8 100644 --- a/misc/codegen/templates/ql_parent.mustache +++ b/misc/codegen/templates/ql_parent.mustache @@ -1,4 +1,4 @@ -// generated by {{generator}} +// generated by {{generator}}, do not edit /** * This module provides the generated parent/child relationship. */ diff --git a/misc/codegen/templates/ql_stub.mustache b/misc/codegen/templates/ql_stub.mustache index 0ff754a60a7b..b7a3ca3107d0 100644 --- a/misc/codegen/templates/ql_stub.mustache +++ b/misc/codegen/templates/ql_stub.mustache @@ -6,10 +6,16 @@ private import {{import_prefix}}.Raw private import {{import_prefix}}.Synth {{/has_synth_accessors}} -{{>ql_stub_class_qldoc}} -class {{name}} extends Generated::{{name}} { +/** + * INTERNAL: This module contains the customizable definition of `{{name}}` and should not + * be referenced directly. + */ +module Impl { + {{>ql_stub_class_qldoc}} + class {{name}} extends Generated::{{name}} { {{#synth_accessors}} private cached {{type}} getUnderlying{{argument}}() { this = Synth::T{{name}}({{#constructorparams}}{{^first}},{{/first}}{{param}}{{/constructorparams}})} {{/synth_accessors}} -} + } +} \ No newline at end of file diff --git a/misc/codegen/templates/ql_stub_module_qldoc.mustache b/misc/codegen/templates/ql_stub_module_qldoc.mustache index 2dc821c17f08..c330dc300adb 100644 --- a/misc/codegen/templates/ql_stub_module_qldoc.mustache +++ b/misc/codegen/templates/ql_stub_module_qldoc.mustache @@ -1,6 +1,5 @@ /** * This module provides a hand-modifiable wrapper around the generated class `{{name}}`. -{{#internal}} + * * INTERNAL: Do not use. -{{/internal}} */ diff --git a/misc/codegen/templates/ql_test_class.mustache b/misc/codegen/templates/ql_test_class.mustache index d689753cfd31..63c5e24050c4 100644 --- a/misc/codegen/templates/ql_test_class.mustache +++ b/misc/codegen/templates/ql_test_class.mustache @@ -1,4 +1,4 @@ -// generated by {{generator}} +// generated by {{generator}}, do not edit import {{elements_module}} import TestUtils diff --git a/misc/codegen/templates/ql_test_missing.mustache b/misc/codegen/templates/ql_test_missing.mustache index 5a714744ef23..583d2e46b2cd 100644 --- a/misc/codegen/templates/ql_test_missing.mustache +++ b/misc/codegen/templates/ql_test_missing.mustache @@ -1,4 +1,4 @@ -// generated by {{generator}} +// generated by {{generator}}, do not edit After a source file is added in this directory and {{generator}} is run again, test queries will appear and this file will be deleted diff --git a/misc/codegen/templates/ql_test_property.mustache b/misc/codegen/templates/ql_test_property.mustache index a0ba0a52d694..2c293d7bcaba 100644 --- a/misc/codegen/templates/ql_test_property.mustache +++ b/misc/codegen/templates/ql_test_property.mustache @@ -1,4 +1,4 @@ -// generated by {{generator}} +// generated by {{generator}}, do not edit import {{elements_module}} import TestUtils diff --git a/misc/codegen/templates/rust_classes.mustache b/misc/codegen/templates/rust_classes.mustache index 3b415683d5f3..8c2bd4d38e16 100644 --- a/misc/codegen/templates/rust_classes.mustache +++ b/misc/codegen/templates/rust_classes.mustache @@ -1,4 +1,4 @@ -// generated by {{generator}} +// generated by {{generator}}, do not edit #![cfg_attr(any(), rustfmt::skip)] diff --git a/misc/codegen/templates/rust_module.mustache b/misc/codegen/templates/rust_module.mustache index bc7fb3158c6d..f9e066e15b35 100644 --- a/misc/codegen/templates/rust_module.mustache +++ b/misc/codegen/templates/rust_module.mustache @@ -1,4 +1,4 @@ -// generated by {{generator}} +// generated by {{generator}}, do not edit {{#modules}} mod {{.}}; diff --git a/misc/codegen/templates/rust_test_code.mustache b/misc/codegen/templates/rust_test_code.mustache index d38da6a353bb..2f70362e31ed 100644 --- a/misc/codegen/templates/rust_test_code.mustache +++ b/misc/codegen/templates/rust_test_code.mustache @@ -1,4 +1,4 @@ -// generated by {{generator}} +// generated by {{generator}}, do not edit {{#function}} fn {{name}}{{signature}} { diff --git a/misc/codegen/test/test_ql.py b/misc/codegen/test/test_ql.py index 8faa3b0cc995..eef840ddad6d 100644 --- a/misc/codegen/test/test_ql.py +++ b/misc/codegen/test/test_ql.py @@ -147,15 +147,14 @@ def test_class_with_children(): assert cls.has_children is True -@pytest.mark.parametrize("doc,internal,expected", +@pytest.mark.parametrize("doc,expected", [ - (["foo", "bar"], False, True), - (["foo", "bar"], True, True), - ([], False, False), - ([], True, True), + (["foo", "bar"], True), + (["foo", "bar"], True), + ([], False) ]) -def test_has_doc(doc, internal, expected): - stub = ql.Stub("Class", base_import="foo", import_prefix="bar", doc=doc, internal=internal) +def test_has_doc(doc, expected): + stub = ql.Stub("Class", base_import="foo", import_prefix="bar", doc=doc) assert stub.has_qldoc is expected diff --git a/misc/codegen/test/test_qlgen.py b/misc/codegen/test/test_qlgen.py index 0d797d07198f..3e8d6bd4d0d4 100644 --- a/misc/codegen/test/test_qlgen.py +++ b/misc/codegen/test/test_qlgen.py @@ -114,7 +114,9 @@ def _filter_generated_classes(ret, output_test_files=False): ("Raw", "Synth", "SynthConstructors", "PureSynthConstructors")} assert base_files <= stub_files return { - str(f): (ret[stub_path() / f], ret[ql_output_path() / f]) + str(f): (ret[stub_path() / f], + ret[stub_path() / pathlib.Path(f.parent, f.stem + "Impl.qll")], + ret[ql_output_path() / f]) for f in base_files } @@ -144,12 +146,17 @@ def a_ql_stub(*, name, import_prefix="", **kwargs): base_import=f"{gen_import_prefix}{import_prefix}{name}") +def a_ql_class_public(*, name, **kwargs): + return ql.ClassPublic(name=name, **kwargs) + + def test_one_empty_class(generate_classes): assert generate_classes([ schema.Class("A") ]) == { - "A.qll": (a_ql_stub(name="A"), - a_ql_class(name="A", final=True)), + "A.qll": (a_ql_class_public(name="A"), + a_ql_stub(name="A"), + a_ql_class(name="A", final=True, imports=[stub_import_prefix + "A"])) } @@ -157,8 +164,9 @@ def test_one_empty_internal_class(generate_classes): assert generate_classes([ schema.Class("A", pragmas=["ql_internal"]) ]) == { - "A.qll": (a_ql_stub(name="A", internal=True), - a_ql_class(name="A", final=True, internal=True)), + "A.qll": (a_ql_class_public(name="A", internal=True), + a_ql_stub(name="A"), + a_ql_class(name="A", final=True, internal=True, imports=[stub_import_prefix + "A"])), } @@ -169,11 +177,11 @@ def test_hierarchy(generate_classes): schema.Class("B", bases=["A"], derived={"D"}), schema.Class("A", derived={"B", "C"}), ]) == { - "A.qll": (a_ql_stub(name="A"), a_ql_class(name="A")), - "B.qll": (a_ql_stub(name="B"), a_ql_class(name="B", bases=["A"], imports=[stub_import_prefix + "A"])), - "C.qll": (a_ql_stub(name="C"), a_ql_class(name="C", bases=["A"], imports=[stub_import_prefix + "A"])), - "D.qll": (a_ql_stub(name="D"), a_ql_class(name="D", final=True, bases=["B", "C"], - imports=[stub_import_prefix + cls for cls in "BC"])), + "A.qll": (a_ql_class_public(name="A"), a_ql_stub(name="A"), a_ql_class(name="A", imports=[stub_import_prefix + "A"])), + "B.qll": (a_ql_class_public(name="B", imports=[stub_import_prefix + "A"]), a_ql_stub(name="B"), a_ql_class(name="B", bases=["A"], bases_impl=["AImpl::A"], imports=[stub_import_prefix + "AImpl::Impl as AImpl"])), + "C.qll": (a_ql_class_public(name="C", imports=[stub_import_prefix + "A"]), a_ql_stub(name="C"), a_ql_class(name="C", bases=["A"], bases_impl=["AImpl::A"], imports=[stub_import_prefix + "AImpl::Impl as AImpl"])), + "D.qll": (a_ql_class_public(name="D", imports=[stub_import_prefix + "B", stub_import_prefix + "C"]), a_ql_stub(name="D"), a_ql_class(name="D", final=True, bases=["B", "C"], bases_impl=["BImpl::B", "CImpl::C"], + imports=[stub_import_prefix + cls + "Impl::Impl as " + cls + "Impl" for cls in "BC"])), } @@ -202,13 +210,13 @@ def test_hierarchy_children(generate_children_implementations): schema.Class("C", bases=["A"], derived={"D"}, pragmas=["ql_internal"]), schema.Class("D", bases=["B", "C"]), ]) == ql.GetParentImplementation( - classes=[a_ql_class(name="A", internal=True), - a_ql_class(name="B", bases=["A"], imports=[ - stub_import_prefix + "A"]), - a_ql_class(name="C", bases=["A"], imports=[ - stub_import_prefix + "A"], internal=True), - a_ql_class(name="D", final=True, bases=["B", "C"], - imports=[stub_import_prefix + cls for cls in "BC"]), + classes=[a_ql_class(name="A", internal=True, imports=[stub_import_prefix + "A"]), + a_ql_class(name="B", bases=["A"], bases_impl=["AImpl::A"], imports=[ + stub_import_prefix + "AImpl::Impl as AImpl"]), + a_ql_class(name="C", bases=["A"], bases_impl=["AImpl::A"], imports=[ + stub_import_prefix + "AImpl::Impl as AImpl"], internal=True), + a_ql_class(name="D", final=True, bases=["B", "C"], bases_impl=["BImpl::B", "CImpl::C"], + imports=[stub_import_prefix + cls + "Impl::Impl as " + cls + "Impl" for cls in "BC"]), ], imports=[stub_import] + [stub_import_prefix + cls for cls in "AC"], ) @@ -219,12 +227,14 @@ def test_single_property(generate_classes): schema.Class("MyObject", properties=[ schema.SingleProperty("foo", "bar")]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", type="bar", tablename="my_objects", tableparams=["this", "result"], doc="foo of this my object"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -233,13 +243,15 @@ def test_internal_property(generate_classes): schema.Class("MyObject", properties=[ schema.SingleProperty("foo", "bar", pragmas=["ql_internal"])]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", type="bar", tablename="my_objects", tableparams=["this", "result"], doc="foo of this my object", internal=True), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -257,8 +269,9 @@ def test_children(generate_classes): schema.RepeatedOptionalProperty("child_4", "int", is_child=True), ]), ]) == { - "FakeRoot.qll": (a_ql_stub(name="FakeRoot"), a_ql_class(name="FakeRoot", final=True)), - "MyObject.qll": (a_ql_stub(name="MyObject"), + "FakeRoot.qll": (a_ql_class_public(name="FakeRoot"), a_ql_stub(name="FakeRoot"), a_ql_class(name="FakeRoot", final=True, imports=[stub_import_prefix + "FakeRoot"])), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="A", type="int", tablename="my_objects", @@ -294,7 +307,8 @@ def test_children(generate_classes): tableparams=["this", "index", "result"], is_optional=True, prev_child="Child3", doc="child 4 of this my object", doc_plural="child 4s of this my object"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -306,7 +320,8 @@ def test_single_properties(generate_classes): schema.SingleProperty("three", "z"), ]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="One", type="x", tablename="my_objects", @@ -318,7 +333,8 @@ def test_single_properties(generate_classes): ql.Property(singular="Three", type="z", tablename="my_objects", tableparams=["this", "_", "_", "result"], doc="three of this my object"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -329,13 +345,15 @@ def test_optional_property(generate_classes, is_child, prev_child): schema.Class("MyObject", properties=[ schema.OptionalProperty("foo", "bar", is_child=is_child)]), ]) == { - "FakeRoot.qll": (a_ql_stub(name="FakeRoot"), a_ql_class(name="FakeRoot", final=True)), - "MyObject.qll": (a_ql_stub(name="MyObject"), + "FakeRoot.qll": (a_ql_class_public(name="FakeRoot"), a_ql_stub(name="FakeRoot"), a_ql_class(name="FakeRoot", final=True, imports=[stub_import_prefix + "FakeRoot"])), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", type="bar", tablename="my_object_foos", tableparams=["this", "result"], is_optional=True, prev_child=prev_child, doc="foo of this my object"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -346,13 +364,15 @@ def test_repeated_property(generate_classes, is_child, prev_child): schema.Class("MyObject", properties=[ schema.RepeatedProperty("foo", "bar", is_child=is_child)]), ]) == { - "FakeRoot.qll": (a_ql_stub(name="FakeRoot"), a_ql_class(name="FakeRoot", final=True)), - "MyObject.qll": (a_ql_stub(name="MyObject"), + "FakeRoot.qll": (a_ql_class_public(name="FakeRoot"), a_ql_stub(name="FakeRoot"), a_ql_class(name="FakeRoot", final=True, imports=[stub_import_prefix + "FakeRoot"])), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", plural="Foos", type="bar", tablename="my_object_foos", tableparams=["this", "index", "result"], prev_child=prev_child, doc="foo of this my object", doc_plural="foos of this my object"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -362,13 +382,15 @@ def test_repeated_unordered_property(generate_classes): schema.Class("MyObject", properties=[ schema.RepeatedUnorderedProperty("foo", "bar")]), ]) == { - "FakeRoot.qll": (a_ql_stub(name="FakeRoot"), a_ql_class(name="FakeRoot", final=True)), - "MyObject.qll": (a_ql_stub(name="MyObject"), + "FakeRoot.qll": (a_ql_class_public(name="FakeRoot"), a_ql_stub(name="FakeRoot"), a_ql_class(name="FakeRoot", final=True, imports=[stub_import_prefix + "FakeRoot"])), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", plural="Foos", type="bar", tablename="my_object_foos", tableparams=["this", "result"], is_unordered=True, doc="foo of this my object", doc_plural="foos of this my object"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -380,14 +402,16 @@ def test_repeated_optional_property(generate_classes, is_child, prev_child): schema.RepeatedOptionalProperty("foo", "bar", is_child=is_child)]), ]) == { - "FakeRoot.qll": (a_ql_stub(name="FakeRoot"), a_ql_class(name="FakeRoot", final=True)), - "MyObject.qll": (a_ql_stub(name="MyObject"), + "FakeRoot.qll": (a_ql_class_public(name="FakeRoot"), a_ql_stub(name="FakeRoot"), a_ql_class(name="FakeRoot", final=True, imports=[stub_import_prefix + "FakeRoot"])), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", plural="Foos", type="bar", tablename="my_object_foos", tableparams=["this", "index", "result"], is_optional=True, prev_child=prev_child, doc="foo of this my object", doc_plural="foos of this my object"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -396,11 +420,13 @@ def test_predicate_property(generate_classes): schema.Class("MyObject", properties=[ schema.PredicateProperty("is_foo")]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="isFoo", type="predicate", tablename="my_object_is_foo", tableparams=["this"], is_predicate=True, doc="this my object is foo"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -411,16 +437,17 @@ def test_single_class_property(generate_classes, is_child, prev_child): schema.Class("MyObject", properties=[ schema.SingleProperty("foo", "Bar", is_child=is_child)]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject", imports=[stub_import_prefix + "Bar"]), + a_ql_stub(name="MyObject"), a_ql_class( - name="MyObject", final=True, imports=[stub_import_prefix + "Bar"], properties=[ + name="MyObject", final=True, imports=[stub_import_prefix + "Bar", stub_import_prefix + "MyObject"], properties=[ ql.Property(singular="Foo", type="Bar", tablename="my_objects", tableparams=[ "this", "result"], prev_child=prev_child, doc="foo of this my object"), ], )), - "Bar.qll": (a_ql_stub(name="Bar"), a_ql_class(name="Bar", final=True)), + "Bar.qll": (a_ql_class_public(name="Bar"), a_ql_stub(name="Bar"), a_ql_class(name="Bar", final=True, imports=[stub_import_prefix + "Bar"])), } @@ -429,7 +456,7 @@ def test_class_with_doc(generate_classes): assert generate_classes([ schema.Class("A", doc=doc), ]) == { - "A.qll": (a_ql_stub(name="A", doc=doc), a_ql_class(name="A", final=True, doc=doc)), + "A.qll": (a_ql_class_public(name="A", doc=doc), a_ql_stub(name="A", doc=doc), a_ql_class(name="A", final=True, doc=doc, imports=[stub_import_prefix + "A"])), } @@ -440,10 +467,11 @@ def test_class_dir(generate_classes): schema.Class("B", bases=["A"]), ]) == { f"{dir}/A.qll": ( - a_ql_stub(name="A", import_prefix="another.rel.path."), a_ql_class(name="A", dir=pathlib.Path(dir))), - "B.qll": (a_ql_stub(name="B"), - a_ql_class(name="B", final=True, bases=["A"], - imports=[stub_import_prefix + "another.rel.path.A"])), + a_ql_class_public(name="A"), a_ql_stub(name="A", import_prefix="another.rel.path."), a_ql_class(name="A", dir=pathlib.Path(dir), imports=[stub_import_prefix + "another.rel.path.A"])), + "B.qll": (a_ql_class_public(name="B", imports=[stub_import_prefix + "another.rel.path.A"]), + a_ql_stub(name="B"), + a_ql_class(name="B", final=True, bases=["A"], bases_impl=["AImpl::A"], + imports=[stub_import_prefix + "another.rel.path.AImpl::Impl as AImpl"])), } @@ -518,7 +546,7 @@ def test_manage_parameters(opts, generate, renderer, force): def test_modified_stub_skipped(qlgen_opts, generate, render_manager): - stub = qlgen_opts.ql_stub_output / "A.qll" + stub = qlgen_opts.ql_stub_output / "AImpl.qll" render_manager.is_customized_stub.side_effect = lambda f: f == stub assert stub not in generate([schema.Class('A')]) @@ -732,14 +760,16 @@ def test_property_description(generate_classes): schema.SingleProperty("foo", "bar", description=description), ]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", type="bar", tablename="my_objects", tableparams=["this", "result"], doc="foo of this my object", description=description), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -748,12 +778,14 @@ def test_property_doc_override(generate_classes): schema.Class("MyObject", properties=[ schema.SingleProperty("foo", "bar", doc="baz")]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", type="bar", tablename="my_objects", tableparams=["this", "result"], doc="baz"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -763,7 +795,8 @@ def test_repeated_property_doc_override(generate_classes): schema.RepeatedProperty("x", "int", doc="children of this"), schema.RepeatedOptionalProperty("y", "int", doc="child of this")]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="X", plural="Xes", type="int", @@ -774,7 +807,8 @@ def test_repeated_property_doc_override(generate_classes): tablename="my_object_ies", is_optional=True, tableparams=["this", "index", "result"], doc="child of this", doc_plural="children of this"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -785,13 +819,15 @@ def test_property_doc_abbreviations(generate_classes, abbr, expected): schema.Class("Object", properties=[ schema.SingleProperty(f"foo_{abbr}_bar", "baz")]), ]) == { - "Object.qll": (a_ql_stub(name="Object"), + "Object.qll": (a_ql_class_public(name="Object"), + a_ql_stub(name="Object"), a_ql_class(name="Object", final=True, properties=[ ql.Property(singular=f"Foo{abbr.capitalize()}Bar", type="baz", tablename="objects", tableparams=["this", "result"], doc=expected_doc), - ])), + ], + imports=[stub_import_prefix + "Object"])), } @@ -802,13 +838,15 @@ def test_property_doc_abbreviations_ignored_if_within_word(generate_classes, abb schema.Class("Object", properties=[ schema.SingleProperty(f"foo_{abbr}acadabra_bar", "baz")]), ]) == { - "Object.qll": (a_ql_stub(name="Object"), + "Object.qll": (a_ql_class_public(name="Object"), + a_ql_stub(name="Object"), a_ql_class(name="Object", final=True, properties=[ ql.Property(singular=f"Foo{abbr.capitalize()}acadabraBar", type="baz", tablename="objects", tableparams=["this", "result"], doc=expected_doc), - ])), + ], + imports=[stub_import_prefix + "Object"])), } @@ -818,7 +856,8 @@ def test_repeated_property_doc_override_with_format(generate_classes): schema.RepeatedProperty("x", "int", doc="special {children} of this"), schema.RepeatedOptionalProperty("y", "int", doc="special {child} of this")]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="X", plural="Xes", type="int", @@ -831,7 +870,8 @@ def test_repeated_property_doc_override_with_format(generate_classes): tableparams=["this", "index", "result"], doc="special child of this", doc_plural="special children of this"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -841,7 +881,8 @@ def test_repeated_property_doc_override_with_multiple_formats(generate_classes): schema.RepeatedProperty("x", "int", doc="{cat} or {dog}"), schema.RepeatedOptionalProperty("y", "int", doc="{cats} or {dogs}")]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="X", plural="Xes", type="int", @@ -852,7 +893,8 @@ def test_repeated_property_doc_override_with_multiple_formats(generate_classes): tablename="my_object_ies", is_optional=True, tableparams=["this", "index", "result"], doc="cat or dog", doc_plural="cats or dogs"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -861,12 +903,14 @@ def test_property_doc_override_with_format(generate_classes): schema.Class("MyObject", properties=[ schema.SingleProperty("foo", "bar", doc="special {baz} of this")]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", type="bar", tablename="my_objects", tableparams=["this", "result"], doc="special baz of this"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -876,12 +920,14 @@ def test_property_on_class_with_default_doc_name(generate_classes): schema.SingleProperty("foo", "bar")], default_doc_name="baz"), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", type="bar", tablename="my_objects", tableparams=["this", "result"], doc="foo of this baz"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -890,13 +936,13 @@ def test_stub_on_class_with_synth_from_class(generate_classes): schema.Class("MyObject", synth=schema.SynthInfo(from_class="A"), properties=[schema.SingleProperty("foo", "bar")]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject", synth_accessors=[ + "MyObject.qll": (a_ql_class_public(name="MyObject"), a_ql_stub(name="MyObject", synth_accessors=[ ql.SynthUnderlyingAccessor(argument="Entity", type="Raw::A", constructorparams=["result"]), ]), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", type="bar", tablename="my_objects", synth=True, tableparams=["this", "result"], doc="foo of this my object"), - ])), + ], imports=[stub_import_prefix + "MyObject"])), } @@ -905,7 +951,7 @@ def test_stub_on_class_with_synth_on_arguments(generate_classes): schema.Class("MyObject", synth=schema.SynthInfo(on_arguments={"base": "A", "index": "int", "label": "string"}), properties=[schema.SingleProperty("foo", "bar")]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject", synth_accessors=[ + "MyObject.qll": (a_ql_class_public(name="MyObject"), a_ql_stub(name="MyObject", synth_accessors=[ ql.SynthUnderlyingAccessor(argument="Base", type="Raw::A", constructorparams=["result", "_", "_"]), ql.SynthUnderlyingAccessor(argument="Index", type="int", constructorparams=["_", "result", "_"]), ql.SynthUnderlyingAccessor(argument="Label", type="string", constructorparams=["_", "_", "result"]), @@ -913,7 +959,7 @@ def test_stub_on_class_with_synth_on_arguments(generate_classes): a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", type="bar", tablename="my_objects", synth=True, tableparams=["this", "result"], doc="foo of this my object"), - ])), + ], imports=[stub_import_prefix + "MyObject"])), } @@ -922,13 +968,15 @@ def test_synth_property(generate_classes): schema.Class("MyObject", properties=[ schema.SingleProperty("foo", "bar", synth=True)]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), + "MyObject.qll": (a_ql_class_public(name="MyObject"), + a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, properties=[ ql.Property(singular="Foo", type="bar", tablename="my_objects", synth=True, tableparams=["this", "result"], doc="foo of this my object"), - ])), + ], + imports=[stub_import_prefix + "MyObject"])), } @@ -936,7 +984,7 @@ def test_hideable_class(generate_classes): assert generate_classes([ schema.Class("MyObject", hideable=True), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, hideable=True)), + "MyObject.qll": (a_ql_class_public(name="MyObject"), a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, hideable=True, imports=[stub_import_prefix + "MyObject"])), } @@ -947,9 +995,10 @@ def test_hideable_property(generate_classes): schema.SingleProperty("x", "MyObject"), ]), ]) == { - "MyObject.qll": (a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, hideable=True)), - "Other.qll": (a_ql_stub(name="Other"), - a_ql_class(name="Other", imports=[stub_import_prefix + "MyObject"], + "MyObject.qll": (a_ql_class_public(name="MyObject"), a_ql_stub(name="MyObject"), a_ql_class(name="MyObject", final=True, hideable=True, imports=[stub_import_prefix + "MyObject"])), + "Other.qll": (a_ql_class_public(name="Other", imports=[stub_import_prefix + "MyObject"]), + a_ql_stub(name="Other"), + a_ql_class(name="Other", imports=[stub_import_prefix + "MyObject", stub_import_prefix + "Other"], final=True, properties=[ ql.Property(singular="X", type="MyObject", tablename="others", type_is_hideable=True, diff --git a/rust/codegen.conf b/rust/codegen.conf index cce7a27fe916..d971038662ba 100644 --- a/rust/codegen.conf +++ b/rust/codegen.conf @@ -1,4 +1,4 @@ -# configuration file for Swift code generation default options +# configuration file for Rust code generation default options --generate=dbscheme,rusttest,ql,rust --dbscheme=ql/lib/rust.dbscheme --ql-output=ql/lib/codeql/rust/generated diff --git a/rust/extractor/src/generated/.generated.list b/rust/extractor/src/generated/.generated.list index 91107f6e045f..bf8179b477e8 100644 --- a/rust/extractor/src/generated/.generated.list +++ b/rust/extractor/src/generated/.generated.list @@ -1,2 +1,2 @@ -mod.rs 7cdfedcd68cf8e41134daf810c1af78624082b0c3e8be6570339b1a69a5d457e 7cdfedcd68cf8e41134daf810c1af78624082b0c3e8be6570339b1a69a5d457e -top.rs d15c72bcdaa924633a725a2324446686e0f4caaa6a4ae759a101ef31174131a5 d15c72bcdaa924633a725a2324446686e0f4caaa6a4ae759a101ef31174131a5 +mod.rs 4bcb9def847469aae9d8649461546b7c21ec97cf6e63d3cf394e339915ce65d7 4bcb9def847469aae9d8649461546b7c21ec97cf6e63d3cf394e339915ce65d7 +top.rs d80ccb71adc47be7dfa395b630da63cb85647886ebc05ca8d53303ebc0c83f76 d80ccb71adc47be7dfa395b630da63cb85647886ebc05ca8d53303ebc0c83f76 diff --git a/rust/extractor/src/generated/mod.rs b/rust/extractor/src/generated/mod.rs index 1d605f8a0b0b..0f95afeeff20 100644 --- a/rust/extractor/src/generated/mod.rs +++ b/rust/extractor/src/generated/mod.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit mod top; pub use top::*; diff --git a/rust/extractor/src/generated/top.rs b/rust/extractor/src/generated/top.rs index 7304c89bab2a..278ae9e724ae 100644 --- a/rust/extractor/src/generated/top.rs +++ b/rust/extractor/src/generated/top.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit #![cfg_attr(any(), rustfmt::skip)] diff --git a/rust/ql/.generated.list b/rust/ql/.generated.list index 3c6334648d55..7892e2aa323e 100644 --- a/rust/ql/.generated.list +++ b/rust/ql/.generated.list @@ -1,323 +1,396 @@ -lib/codeql/rust/elements/ArrayExpr.qll 822b7dea414d3948f15ee89a014d9ab5ab857db59d8eba7ade8ceed3b453bba4 fb0fc738da8142e8226d99db5ccc1006458bf50f1a95699cbd3012d0917db196 -lib/codeql/rust/elements/AsmExpr.qll 825f9aad83cb4f40cf25ff2da0bb6bf4c7e2b469443f7a8902a994c89d134e38 24212a120cb55658a621085d4e1a3fa611ca9ba742784c772e2e1d353e73783d +lib/codeql/rust/elements/ArrayExpr.qll 941b2ccb0795901307c42fea21dc7662ffcb27d35b5227dad4b7e64f85e31367 db4d42afdfec187411c14689981d7d472000f2afeb89b4c776a86122300bb7f6 +lib/codeql/rust/elements/ArrayExprImpl.qll d3b4e4091e00caa19acc321a15a972cb88466b52c9e015e9f3fc929549b2b20a 57b388bb3d0ccf8f805200ebf3a2ff5efb8465fa896cfc1e6a63593ae7afb866 +lib/codeql/rust/elements/AsmExpr.qll 7afdb11458a6d3be7d18b50c6bc57d76a5b7559dc96fdcc5efb819eaa13863bc e7a0f15e3d8cecbbb4adbc907cf32938d4f139fbd593c41b81432fe1f8c6ec6a lib/codeql/rust/elements/AsmExprConstructor.qll 2b81ea1b0df1171f990e30f074cf8bbccfe7cfd775a746d48e09c60d5d5c8e04 e427132d2731a703ebe047a5e81559813ed4cd055aaf3a0f1221eeb76247ad6a -lib/codeql/rust/elements/AstNode.qll 2069047c779514867c12d845dcdf889db6f27fa6a9e484966a3c28a77973b7d4 e214616c81418b0018c0d36896ac2ec7273634e3213bc8257d8b172f396c00ee -lib/codeql/rust/elements/AsyncBlockExpr.qll 7cc9709af8c5f844fd6bf6d4cf49e245d19a0ab6d73ef69e84888a4a9b8e47ce 2f9ede385321df47d2e4ac1297d07be987ff53a576a8dded9a615ad83fba6de3 +lib/codeql/rust/elements/AsmExprImpl.qll f6258c438f246e69997f008e0bb738f4facfe380b67be14fa0bcc4ff7d09ac95 84966f8500e802c183cc61fcda567279a28f568a3b2f19902621faa883482ed2 +lib/codeql/rust/elements/AstNode.qll 60e6ad6c9413757f3a58b0e417664644bc4a04d4b342ede8ded54971b08a1a32 7e7263528e29abaf85c8326f1396a58266535b4918bb22a3c4d2071c7f21cff6 +lib/codeql/rust/elements/AstNodeImpl.qll 0c97db3a0f683d048c0f23d40e67223b268fbecce8872126d2526ba081b4baa8 4380efd20502e9c960d37a124b11d7e7d1c9bb7e5208847c1de2698db2a53791 +lib/codeql/rust/elements/AsyncBlockExpr.qll b3cbffc1a1a07eff7681b8330f923898b4b84949777723b30ac3b6c4d39bcd4b eefc3eaf1a75840ef8dceea0b10f3310799998344099e3593c3ddd02f9f58e83 lib/codeql/rust/elements/AsyncBlockExprConstructor.qll 2d7d22caca1984e850d723f9ddd581530734bf4c31c545ea598bc27144a32f1b bf2ff9edff95db8400017b7583d6881581c431755c70e0068a495787993010f9 -lib/codeql/rust/elements/AwaitExpr.qll da0f5928cfee39223c48b74b1921d18c39cc4f8ce7c2189342fb6e8e79c76985 e72e2cf142058fa93143acf9dc4c420572a234b4d4f11155567a7184e9152257 +lib/codeql/rust/elements/AsyncBlockExprImpl.qll 686b41d1813d0b12e0eb6f2cf9728257fd146b5a7e324c4a108641684f500859 2f7346cac1aad88eff43a3332247353493b02cc7ae49e7cfff7d78b49010604e +lib/codeql/rust/elements/AwaitExpr.qll 0049735abe4eb93a3b71b78cb80cfb9047198668c03d127727bc1ad2a31fdab3 c0f1144be32f14abba7870e0520b1f40f1ae4f2e1a17a155da832a5ac4d07be0 lib/codeql/rust/elements/AwaitExprConstructor.qll af0dfdf36b300d412a7b8668f68e6594fe3338216cdf1aa420c9a58608aa86f5 cfa115902ccf070e34ee451bc2f89295c97e8418501359a8cdc646d16c4cc7cd -lib/codeql/rust/elements/BecomeExpr.qll cf7d219b639e8e93f6a44bb14be14740b17bdb789f7299863560b2b5d4bfc7f7 26511c65fbdbb9352b6628a813e3f00be8495f2a34abdfae5a5ece8dd59cb04f +lib/codeql/rust/elements/AwaitExprImpl.qll 87cb11c177adfef9d33ef1ced6aef2a2a090eb8d971f48d68ad75c2331978125 c8b47b27bbaffc2421f531a70d968acf7c2a2c436622b75569e9ec353f76c206 +lib/codeql/rust/elements/BecomeExpr.qll 5c868d7b08248798d686cc56f1ff3ad7742a9110800cdeca3a4aebd907bda1b4 a1496cf8abb89a01989ec6c9c2be966c6c63a6f53af55a0aee988e8b6802535b lib/codeql/rust/elements/BecomeExprConstructor.qll 0c206e657417066415850672a804a69e5fccc605c309bb8755737ae01e332f18 e70bd0c411ffc23c37b22a459455c95ff75a72fa2d179f751bff99866eeef2bc -lib/codeql/rust/elements/BinaryExpr.qll 2c59bac9aecb4a0a3495b9e2a3294ff9d6aef3204acfcb05d278c10427269e81 e0b99b8be24214d0eed80ce81d38e7770afd1a9d515622d5f1d51a0df1e553ac +lib/codeql/rust/elements/BecomeExprImpl.qll 9fe31bbc2d9d0bf5e4b49d6eb98a31936c7f63ab0800399589415771d462ab70 198446b367046d5d6b0c0015d1dd3907dbbb29ae551eee41694c7766deabfbb4 +lib/codeql/rust/elements/BinaryExpr.qll b19d6976454927c78b9f754666d514bf794045bd657c743900a3ccd31e2ce474 083a1b4c8ac5f6dbe8b81c39b718e283fabdea3ea84b4118fa5d9c17ba8a4072 lib/codeql/rust/elements/BinaryExprConstructor.qll 1cae8104dc9860a7e445594465fbffeb7cb73534887d9766eaabe2bda8e62957 3d347cff129b9bbe8b66cee0e55596c02b8c11fe7c78b5a47e11e5c7ac57bbf4 -lib/codeql/rust/elements/BlockExpr.qll b699906fba2dee34699e110b8759419079a5ce3dc1fab207001c9c9b612dac5e 429016df600e3905bd235d0e707c50ecdbf12b3ceddedcbf48944ea76e60f915 -lib/codeql/rust/elements/BlockExprBase.qll 1b24ea5fd43dce0e240e1d7740a062228c19e8c704f6ce26503ddbd65c6f5282 d2e05a51d3840caf4de4cca6cdab9551f396df317c8ad1da661205aa822646cc +lib/codeql/rust/elements/BinaryExprImpl.qll 8ae34ba22599993d20d6fb33f70a6cef32b47a8a21bda3315e4859ab5358066e c5fd0f2a6630be26358c8eb4b6a9d71b8b46246a0fb03b5c89c8fa3f4090d878 +lib/codeql/rust/elements/BlockExpr.qll 9f9b4975d1046f83a2393ebd3b6504ef2145fcea5e2bcc5ad7afaabaf246eb55 15c29f7a83210674d85ebf920d9dffa973eaf801df0bc772be4ff6bad60e8a77 +lib/codeql/rust/elements/BlockExprBase.qll eb6deceb243d89edde4f673ece36dcb244fa696ec61667189e720f05f3dda517 29315775b58f10bb10e3d92b80aa3901b77ad9655c7ebc3be81a87f07b604200 +lib/codeql/rust/elements/BlockExprBaseImpl.qll 1c0022121e92dd93c36ff2ac23ab428417543f93a7c0075d9e65014944187915 c41853e6f6abca6fb83a4158403e3347446f225c90a44974960f7575c177e5fc lib/codeql/rust/elements/BlockExprConstructor.qll 7fc9214582f0e6e8b4db06f7c6ac3712dc260abc12ff65f3e93bec5f210b0098 13bc676b67ed14b326e4bdaaa43b497ce486dc2c3145a76a25fe960c82a6ba54 -lib/codeql/rust/elements/BoxExpr.qll f4727005f1b07d0d2f2230379778929351ad9fda986754b48980e8b166cd68a9 adae835238f824a48ad700310c3fce70bc9a890538cf361b4ed5b3d213fcc67a +lib/codeql/rust/elements/BlockExprImpl.qll b06fb8daf7c476ba7bc59bc039b6f623a518ab8ebee05efaa6146e03b87d75c6 e2aa7e0b34468cdf201b4817195d492db150a0a1ecdd6e734a8bbfaa0adeebfc +lib/codeql/rust/elements/BoxExpr.qll a233f95f865c5d8f51c5be724e9c8b9e77af87c5e761be39c7cf383103a377fb 8d36bcdddd4846e2a6a7e260869e32bea07dff802ad4216a3b6cae5349e17a3a lib/codeql/rust/elements/BoxExprConstructor.qll e30e71b88978b5d0f156152acaf7eaebe26232b7a5a562cf22f1bb9659ae5deb 3ca41494c5101ef73877737420fbc468483ac7ef215d11b431dac2dd6a08ecc5 -lib/codeql/rust/elements/BoxPat.qll 15d63d499678417c6dd5118944fae3abc416f550acd18810651b85999bdc0d55 5360a2bef9e42e7274bfa68349a3b19020e000919358865c272338721956e384 +lib/codeql/rust/elements/BoxExprImpl.qll f976ccda1d6d4c333b53603469aed1d6b44f8d9495d28874abe1e77a785579f7 88a2357c2d0ac2646335e7d3f2adacae22a8211775a917d1a30bb2b836db010c +lib/codeql/rust/elements/BoxPat.qll 123596e513788a0b553c613bdeac902e7763a8334a7156c30560ac258939fbd8 3b3bc22fb8729052130e1810ccb59b1efb2fef46f4d8f92e310e95b4105dffbf lib/codeql/rust/elements/BoxPatConstructor.qll 20f79f18beb8b7eeec63b1e30302d9f2e514354a7b1ae077f240db3cda4ecc4c f41ca3fdafc70c6b972598a3af3434bf60687bc2f0252dd11ddd09ec874fe63c -lib/codeql/rust/elements/BreakExpr.qll 526da383194cfc0600ba623182ef8e984b44da76609d335b209067b9381e2e18 6d7b6e970b69f093be5015e847512830937e79a2460a6c49d286cd5c8ebd350d +lib/codeql/rust/elements/BoxPatImpl.qll 58075419fb3f27f98d155bd11bfc7b4f1cbaa1c369e5f26a04d85e83fbfdf16a ec989094a678c5233ddb9e1197118c3e1110aa6a24f5995c173a3bb717638e4a +lib/codeql/rust/elements/BreakExpr.qll 1d2334ab89afe8622c16f6e3913bcd67a16cb1fd15495d1e6f0375a3c84fed2c b05e34a3d4886bef346f721b9943aece4477905c2989abd0f70e6758864234db lib/codeql/rust/elements/BreakExprConstructor.qll 48b71a034b7b6b0ecda47c72379696c6d4ebb9eadcd6403f9c001945855c5365 fbbccb6d1718393ad6ff3a2bd473dd51691c871db9181cb1e041b318f91d27a7 -lib/codeql/rust/elements/CallExpr.qll 68f43b25fc38d3df4909e9b1a44ace18a143db480d1d4c30c98a724ecddd8d94 199356b943f73828efa9b116ceb3549daa7743678122451bb306c4e26abaf184 +lib/codeql/rust/elements/BreakExprImpl.qll 5e0a6c865e0eaecdbf05965475d831a02b85797944fa60d80d52529e937c5028 d25843ec674674c16685db811b6e949025b219f18249ae8721e64ea4479aba4e +lib/codeql/rust/elements/CallExpr.qll b393bc2fb088828ae870555f0b8983e13bab9f713b04fbb2dc9bcfeb88064ac8 a65eaccc697fb34c58b27478ef5d0fc1e43de99403100c74f13f2f916b448ab8 lib/codeql/rust/elements/CallExprConstructor.qll 9a7e9e780ff6604ddf0b9e5f27bfa43b720bb341673c7740148561c666ccd066 945804ba7c1dbfb9f221810be9d2fc3dbee3ce89dd9d08b3f3e719d31701ed98 -lib/codeql/rust/elements/CastExpr.qll cafc39afc4103781b475906a0e178175b32374a04915b59d84b753d3c1e71544 1cd95a62b3e3983827a7622326110071a839595d1e6a76723f8072ac6cf32f02 +lib/codeql/rust/elements/CallExprImpl.qll 157c7b1609aeb9e01cb37e025a50c4712d6524f7704e3a08685f8b0fb91a5f1d 6472b13257cea80cabff32a16250f53d9fd18089b2189e728202bc44010e9f1e +lib/codeql/rust/elements/CastExpr.qll ff96a64714df385b7e25b011b741ad7583c5ae97cde1f9f9bd8487102a396121 9c45e14ffc0879b2c97900d6831f5abd7492d26e23a52748305b48ddae6ebbb3 lib/codeql/rust/elements/CastExprConstructor.qll cab6e9a9872006cc811620bda522fafde23fc4edb5151af06a5a0938747dbdfb 6d972faff70166c4b07392a0bc90c6d72c9466b58b55e7651ef6c3d06cf72873 -lib/codeql/rust/elements/ClosureExpr.qll cde112e1e1fcd5677cffa3469e376ff2b69ff6f55d907152b4afba4d92d06c55 f9180e4e0905ba233f64717719ee653ee5dfd2dad9f87a81b63b513ce5e73bc3 +lib/codeql/rust/elements/CastExprImpl.qll be722890138168e178ac63f2d1f546bfafeb83840903a9154b5ec800f239d7d1 3ac4059fd514272fc10b5683a31dc84def82f5b251d25e11109792e9f95d0d99 +lib/codeql/rust/elements/ClosureExpr.qll 2e401758c448be5fe581bebb0fc633b23409503a919ea7fe806b2d94d83edc1d 16962179ad8b3950437fd70af6ac8807020c15411cff9cfacf48175f56277fd9 lib/codeql/rust/elements/ClosureExprConstructor.qll 238dceb78082a5566276640d4aa31484041700852c0751130d139a69ac8bde46 7aae22930def4d438d742255731cc59b78a95b73a0b1d6334ae9965e083e03bc -lib/codeql/rust/elements/ConstBlockPat.qll 397ad2bd112a34f39c486acf6c82c73881ce3f70d91634649ea040b92f96c8c1 96bf33b3732b8aa60e83c10f48eae538e695b1b8a6a5942e8e79a924e09e60f9 +lib/codeql/rust/elements/ClosureExprImpl.qll 2ea8bf1a5bf95a98e88c3baab43dd02ad13872efec8c4ea2ba5c56ce52456ffe f89d9ee9deab92b9662780b5e98f1abca5275db05690d92af0a75070b1909846 +lib/codeql/rust/elements/ConstBlockPat.qll ee15ae0446f1db5309efb189e18efab14635d7f6449d69ca5863d6d838968bda f9acd988e2e5e7b867a994b9a57f688746d38f5dd472e5a7d8bac134731d8c2b lib/codeql/rust/elements/ConstBlockPatConstructor.qll 04aa8b4f218ce87157f0d6b10c9c04660c34c90af1f121b1432402de2e5114cd 34e2fecbe91ea9ac1626bc27121a7d5abe99855e3f49bdca12a1969b42ac0ba5 -lib/codeql/rust/elements/ConstExpr.qll 70a7c9db14efaf290a77401eb04c439b24ed77c21496cee53b89d92d350daeaf e3f98ac4dde94a4dc8d6df51ba4ecd4acc492d9de569ac3eee9dd3bc258bd03d +lib/codeql/rust/elements/ConstBlockPatImpl.qll 104d928c856b80b762e67998c2454aa5d51229975713c15f1c7466e9e51c03dc 0deb208c10fb89b5499b674596a6d592a4144dabf0d83aa899c65dcadbab98cd +lib/codeql/rust/elements/ConstExpr.qll 88539fb2c35518afd40a6b30a1bf788bf9ce029e6bbed63820ec6188668cd3a1 3153d35f02973dc83db10d4b94a0f84a12cac0ef334082778e548df765b49811 lib/codeql/rust/elements/ConstExprConstructor.qll b4c96adc2878047c36d7ceaba2346ef66a2269b5260a56c3d7ff6e3a332bad75 ce15bbfd1448e47d3039e912363efa607cc2c29d44b8248ac91c307af7b57016 -lib/codeql/rust/elements/ContinueExpr.qll 6d123e17b40c8512e8abb63657ea6ab4cf3fa2485f503b6d750ec00dd5bb170e 5778fd7bd6ad44b6276b36a85f438c303b11bc6e995ed1cc92b9d51536725710 +lib/codeql/rust/elements/ConstExprImpl.qll 0152ebada485fd00bb256a050b8b0ed537dd6085dba0f9559226d6d00598710a 50d0d226332a5ec0090e21c81ba17ad24a8cb9365500f3e685c3593416252742 +lib/codeql/rust/elements/ContinueExpr.qll e69edaba33adc2a454ebd95ceac46a9380a9f287d95b5ce83ed047ea2aaaf216 0340f05964ee9aa989903403970244f862187bd4ec5989fd21070b389955a31b lib/codeql/rust/elements/ContinueExprConstructor.qll adc5c5b4fda5dc5102cdace41c32a6c94fe07a2e2555ced6ee62a2d2551b90a2 9dc5045b0d91a3a28cc1c0d59c6fd40620257a6c18ea8480792183c4d802fd8a -lib/codeql/rust/elements/Declaration.qll a902e494e43c13dafb0527a259c7244fca32cf38464d6892143d3a6856683df2 764d0db5928d4243f6c98bbc2cb9268dfad3f489a3e5382d533ddfee153b8685 -lib/codeql/rust/elements/ElementListExpr.qll 64356a9bf66f0f316da659fe8046828445804dcf5ae6b19e52232aaea8744885 0822b1430e5c811e74e092cd19001dca783e8d26df140c5366cce61692eaeb2c +lib/codeql/rust/elements/ContinueExprImpl.qll 7d6fa2d50521b2fda6f83e95cd0942cffb40be84db5fd903bd626629121f8828 86710efc8cd42dbac2efce01371dfd51ac1e30bdc16e582aff6b19f9958a83a8 +lib/codeql/rust/elements/Declaration.qll 1b757fcc08e0e985aefbe0b30c902365d6a88e1d5f7f42aa6702b3e3fb6b4132 1b97a2b4c382e95a439ac3030c85618f80d8e93ddf6220f38b539a0d9183f971 +lib/codeql/rust/elements/DeclarationImpl.qll e6df6737222dd34e4e5f34b747885591f599406b0a3908c2728bfc0486c52dbd 0667b034471b29d842a05dd09ac83ab50319d01e1832f036aa534fdd4dc202b9 +lib/codeql/rust/elements/Element.qll 6ed9e11ce0019c62da70f67d1b59d93ebe8b0d1bed72c140f49adc5beea30434 92b05c6fcf9f9bd4891f54863691752562d5a124ebbe4d77edecc76ea414ded5 +lib/codeql/rust/elements/ElementListExpr.qll 784dea26eaf13d7bf4c53592537ebe5de973596264d550ee36504661cd1379b6 119e5cb596867660cd3e377e861642edf03569a30042f9c66c765c942b371c87 lib/codeql/rust/elements/ElementListExprConstructor.qll 12b06597e0700cd0eac70e42cbdc1a2d410e0ffcd05c21a213812a488b5b236b 7adb2e442f1bc362c44824aaba0ab4a7fb4a4bc550a3c96f963dc03bed582d39 -lib/codeql/rust/elements/Expr.qll e1932febe46ca4f1b2d0caa1f1e8b14e84904fc1b1b663a54511d8ab34d40a59 d820fbd85b938121f33da27827979dd6fd83a8331315581af5922ace13807a47 -lib/codeql/rust/elements/ExprStmt.qll b88016cb0b3b53fd8c6feb98e4a17b72a65824efb9aac798c67a6e1be0cbec77 e5bdef5ba3c94495900494b1f3c61c167748945372e3de061b8a4e3f7edce430 +lib/codeql/rust/elements/ElementListExprImpl.qll 138be703a78d73cc5708ca5377dd4753d046f26ef87f443112442a30cf72ef0d 8b51ca097e7961b2e42b6538ea86547acb3d557393870849e6ff217b9dafd191 +lib/codeql/rust/elements/Expr.qll 00136a233911dfd2c1fa65f95edb3ff8c042e19c5cf363d763d9bfb773a5b7dd e151943562058390532dcd7b6f96fa37ca5bb9f73d60ca21e66e078251934a68 +lib/codeql/rust/elements/ExprImpl.qll 0a3611f24c2c4d237cf02d414fb41664c264ec71a5d47c9b3e4933e3cd192d7f ffdc977ec7902445f99a25273aa4613628821613b637bce841088f7801d8b7a7 +lib/codeql/rust/elements/ExprStmt.qll b0f3e20c6d0788f8ee300e8da3d9a151ca80dec4977cce75610e8181adb988a6 0852035a80f5e6d1b652d8501fe3c1863efbf25bf8d0c192a5f1b3609f88ab9f lib/codeql/rust/elements/ExprStmtConstructor.qll 28e37020abdfce5a8666b0c9a3147c339c7a90d9de527f97fc7d36df2bb921ba 5333db932a2edb791ec3c8f2c215f4c74e825a362f45ee901949d81e328bc7fd -lib/codeql/rust/elements/FieldExpr.qll 54b2dac331f4de45c4520e318373805d41f63d45ca695ae618c8f42d30f38d5d 2f87397d3cfb07763e287b0bca83d625368ee2c6f29f8fff2de509d5696ed27b +lib/codeql/rust/elements/ExprStmtImpl.qll 1935ea1aa31c8baee430189e04f4464466ab671e152e9dcf889b0ca62d0f9311 8fdfcd7fc162eb36bfcd9f5ec46ed0a47a206ef721e22cf4eb013705a6edf7e7 +lib/codeql/rust/elements/FieldExpr.qll acf3d39afefad11a2048c1291655e1e2cfbc88d3491ffaeecf05b0e76f128365 88e4629fba5be8f5b6f43c21ad3444ed8f69a5ef4ece5fb1ce5921cf0d271862 lib/codeql/rust/elements/FieldExprConstructor.qll 75bd0526fae157460750f3ea1e087c857cc703fca03d34f1f478b57ee8051590 1e5555910c643235e34b73f9844e894e51f357c3f7aba8165c47caa147336c53 +lib/codeql/rust/elements/FieldExprImpl.qll 185fcd3366311818d82720139691e0e61ae2f7d9b7504063a6f27b92c73090ce 0188255b062f78b734517e4238681c43f21f15da4245a53be10328d5b7213723 +lib/codeql/rust/elements/Function.qll 975e978c7708a951b76d893c2227d8fde88bcf28cf96a787ee9c84ced5a5c56d c60f21f639e603f5c0c27e7a4c57ae5c0c752db102ffbbbabfbced33d43b1dd4 lib/codeql/rust/elements/FunctionConstructor.qll a9269b37182c0bf432f9b2b015691da5dbd64819b9bd25445af229d873014a91 69107a7503af14a51e091e6918094a4e9fc316a72de2e1514f001872ce0f2c0c -lib/codeql/rust/elements/GenericArgList.qll 3db540d2cc2ee748aae2d4ed7917644e78e0016649e8a8e0d96aab78f2893564 b6b826e9a5ab14448e1ae35d5a22029050c08a18f9ef68d4731c6641c7e0f6cb +lib/codeql/rust/elements/GenericArgList.qll 3acadef71e73321ab6db2b53ff7e968ed3fde596f56bac43aabb4c8bdf9c434d ad84f0cd4f7ed76456d464c7f875b2e1215c3bcd21b2b85aae0354728673e964 lib/codeql/rust/elements/GenericArgListConstructor.qll 68e8739557bb470c04ae12f6b39d34c6fa4966bfdad1768b9e4f1a596447cd72 e0fc7e51fea925b7f21e771eca7e1bb2d506d6992c80ecd7902c9656610e545c -lib/codeql/rust/elements/IdentPat.qll 239fde12e3dcc46ca94be91c039f26e0a74b5c2e550118a03d451b30a0bfc03f 926ba7ef1dbfa8423a85771872131b1d2e7a55730e281ddb2b360cbac9781e59 +lib/codeql/rust/elements/GenericArgListImpl.qll 3fe3826a6e23bb683b4fca86d0da4155e7ba51f22966ca9b3c48a8e5f8176a6f bd38a13edd91f152aefebdc953876874eaf52824cb8d4434431d783128ad2bad +lib/codeql/rust/elements/IdentPat.qll c4637bb40a09c1f305e88ab664c6fe6439de06d47b6d1701c6d2ad664d9c076c cb09d9fb0de5e9911db01988d6b218d2616a79fc957eebfccca75944c36bdb90 lib/codeql/rust/elements/IdentPatConstructor.qll 3144353f70712a224b5e7af6c5a2cd3452d4c2e164c38092ecb5f6c668401a92 26732573959eec1690afbc1d99ddc76d1fe4936244e0108e7d7c84f69136539f -lib/codeql/rust/elements/IfExpr.qll 87d29f7f6eec05e03d3e929e32b526787f41d5320141bfe96028973e15ef225d 42789266b2c54b222c1d980f85e3150c80397668e61c9952df6905f1bf0fc4b0 +lib/codeql/rust/elements/IdentPatImpl.qll 942bbb193f443e437da844578431f8e1f79cb6ad8b7841f8de25f21c9052cdb8 e178a8c223cf629ed20e31f1c6265bec459044904e701ad991cc8c1fb3b62562 +lib/codeql/rust/elements/IfExpr.qll 5a2a389e8b896fc82ce434f1cb6afd30bfab8489a6eafd5b32a1ec4f997d147f 5da3a1e4ab3d6066f96a862ee605296ce7624f9c491e7c5718a6fda11bbc0733 lib/codeql/rust/elements/IfExprConstructor.qll 961ac42fe811db7c56c9d85e98724a87571e8543265c0424a7b61f26ef41b369 43d9412a22908a7e5c38f1f5e8f88162367407b71037f469dfb7d8dfdc3a063f -lib/codeql/rust/elements/IndexExpr.qll 924fe6732ffefca376d099255e2eb6682cabd6cb4267dc997fcf85aa5478a3a6 09e65b09cfdb928d134d3aad17acc07602a0bcbca098d775028bcb7624f16b11 +lib/codeql/rust/elements/IfExprImpl.qll 4aefdb0c57b76a847c3df0478b44f0ebabd5a4b7885d29b9f0aa0e77af669bf1 5b573c76108c96ba2729b0074700917974056cf0a95679dee42c95cc1cef3df4 +lib/codeql/rust/elements/IndexExpr.qll b28944c342022fa0702bc72b1ebdb834a82f3d5739e5e3f57fd86985eba9bdd1 9c4af35879c291587abb708eeb302fbea02173db17271159d32d5cd0e7e99346 lib/codeql/rust/elements/IndexExprConstructor.qll 37e70c773123d775b6281514a2727e133e02fa87e774076f857a676697a1f2ba da2ed2819a13ab7c526b74c1c375ab2fce63ed17f61d5b29e4212343d6b77d06 -lib/codeql/rust/elements/ItemStmt.qll 7482437f4acc6a213a65cd1615be2f909cc4bfa354894df665c8f5e17622d325 aab0311fe7a189bf8221f51c3f46fccd785887d53e664b230abd94f5a89dfd44 +lib/codeql/rust/elements/IndexExprImpl.qll f83e962a7dc65c23e142f3408a9f402787dbf19fd0ac2fb2753e25aadfc12c80 732668a89effdc96e744ff43a1e965cb4be090102b602b4d00927f2d6e0deec9 +lib/codeql/rust/elements/ItemStmt.qll 0c8d778dc56e792391775b3cea69d4ebb8a9a8488df9117ccf9b6fabdf43945a 2a613bba6a47ab2b5edb4bd3fb8635e3d01022fda8ed53a70438a430298533fc lib/codeql/rust/elements/ItemStmtConstructor.qll cd27051f73ab2897b1f7a725313f97d36507fc9f5e0dd7b2ad8bd1caaf8c42ad 67596c97386fbe6cb9e5e6abc45b674158f411d927297345cb25359587380bcd -lib/codeql/rust/elements/Label.qll bcd453a21ecba694ea3e42316f0c2b6a213d885bf2cb5ad80fb14d64a1d4952f dbde62a6567c79b137c78210bf04609b2c259ada9a8bf8c1e35e44438c61b983 +lib/codeql/rust/elements/ItemStmtImpl.qll 59281b5b19746ac79ac4388dc3e39d4f3c04951773492fc99cd32712bb30032a 81a65a199f7b4190881a2235073783c6df94096a81689cdb6efed4391c6912e7 +lib/codeql/rust/elements/Label.qll 68f3aff883ec12afba68d5fd502f9d861e194b1ebf58187a8508a49fbb653580 a907c36f5ea6734871ead97161c959a58b3e9653516534fad4dc400ea2aea7d9 lib/codeql/rust/elements/LabelConstructor.qll 0625a149cb34b9f603b76efd76e679bb63808d47f9fa529959784347d8e7d447 2115bc7de878af444777f96247bc0a775161f3766e38c3c4d363c2f59b2144da -lib/codeql/rust/elements/LetExpr.qll 49a9ba97471d04d52bee73f9b5651bec09fae40c5779db59d84b69a3e04c0a4f 682c504fb507855c96833677225c4ddafc20dee75f8203e0dc110aeac89fa2f7 +lib/codeql/rust/elements/LabelImpl.qll 872a2fbafd9be30fbd1081f5cce1435c46551ef336074ae4085fdddfe5348c09 2e3450d0e58279382f44a1a9325d6a6522e5d87b8b594a48f4a3b0bdec64a881 +lib/codeql/rust/elements/LetExpr.qll bfd721e913a0c9679156fb62a9e80dd5ee6de74e118bf1c90385d6ba1ce8c333 bc3e248205173f8b917075ac40020d6773a902e7d083779d804cb2229d367fd5 lib/codeql/rust/elements/LetExprConstructor.qll 8904b25d70fd0e6f3db74d2e09bb3e3fee407282ee45030fdaeac31b6111db70 36dcc877f6c1810228d593d914cffa7b04ecf0afe13c4c122aca72f33d03f566 -lib/codeql/rust/elements/LetStmt.qll 542dacce4a4991f0250b45a6c3b28829117e6e5692320494819244a155d05e8d b3e50baeb3534a4352d6bf898ace88e250d84aa05ba0c0debdae5c18c446f3c7 +lib/codeql/rust/elements/LetExprImpl.qll a0e3cc748f3d4af6297e064724a42667a9401f23b1b13752768eb36490c04085 cf09024f77238b58ec9433709ca8a8d010e6b78ae6960fddaa8f7bbd97dfc384 +lib/codeql/rust/elements/LetStmt.qll d965d55bf49c2e0de34f4de099eb188ca0492db34369b83d6efed121944e6403 01aa230fde42162a53d0c013e76b23c558b7cba0bdf9b8c8707d507b842e40b4 lib/codeql/rust/elements/LetStmtConstructor.qll 5882f0e4379d07e8281a955c9eed7dd907b610750887de3dd6451cd1c8d104d4 68b0890d8a493dcca74190904b00f05b0e58aacfe5a2aa63e5ead1ba366d3c38 -lib/codeql/rust/elements/LiteralExpr.qll 031edbbd52d2107a3a7149a4dde306f5fcce9a32b7f4c5f7398b013c06ef37fe 7c18930dc7514f5fbe0a4248242430ee06f403b4e301c4e594355fc5b2fc8941 +lib/codeql/rust/elements/LetStmtImpl.qll 05e0981aca2088134735ad0290afb066eefcd885e73ae1375a57721ef9ca02b8 3f7625bfbf36d2116fdfdfadd820223f085357a2738023b972d306b3588f512b +lib/codeql/rust/elements/LiteralExpr.qll 9659a3d706943d7df62ebeaeca6d5ff573ec2f3ee2e0fe167c98346a1efe40be 57af31405e340f14391a814670fb8e8a10306fe363a80e4c1039dc329638407f lib/codeql/rust/elements/LiteralExprConstructor.qll 1a6aa25d6700ab9c85bd7b721e4818064a3a092386589ecdc2018b8b8c2464dc 6d6b50e2dabfa671110454d64f0903336563ee4be1dc6751071a801ac2fcb8e8 -lib/codeql/rust/elements/LiteralPat.qll 1971f70ba0b872de28e1a168ac63d35afc123c5a710efe83b78e88cf949ff20a 1d00573dcffe4d4cfd444baafed38ec693035057d6b825e76e47d436fd08d02a +lib/codeql/rust/elements/LiteralExprImpl.qll b32262fbea31be6d1847addf23ea95a6555ddf477faab03c1f729b850b1db23d 9dfd1b0558bd5e781c7514cdafc0b7ae1b4c3778f166d88ed649424f069cc925 +lib/codeql/rust/elements/LiteralPat.qll 6751fcd478ff89b2ba506cbae1c4a1fcd244e6931209697571e15ccac9050e29 0af6232993aae684439626c15522f3a841dc58908dbba77c44c62211196769d6 lib/codeql/rust/elements/LiteralPatConstructor.qll abe137b2b8ec9dd9450fc77d2d826fe891bbb0af23b0c26ff5e2d1751988f747 e1642805588737ed98eebec1d16cb0fb9fd081db203ec725db85b02c4837bdcb -lib/codeql/rust/elements/LoopExpr.qll a32330e9f6c5420e7fbd4a61f53dde892c1acadabef074b7e9aa3beae39617eb 97061b3dd86af3ef271587aa337d10f2a7094cb69d7e339baf13e5a7817e1389 +lib/codeql/rust/elements/LiteralPatImpl.qll 33032e844010ecda469e737d244517e2d810ca16cd225224f202639fae5f4c59 9ea23cd24f670dce019413d356540f52f6aac0c63f3abdd63dadf0d3216a3cf2 +lib/codeql/rust/elements/Locatable.qll 109c1e7e029a167383d90fc1869631aed5e29b7a94c6b323dec2c1d0287ff6f8 97045c10db141863b976afbb58a8e38419e3e8da659cc6357c0f5436c8caba76 +lib/codeql/rust/elements/LoopExpr.qll 564741998ebb1b5a040d2374707de9b1d65171233c063c8d291ed42a49b11a64 7eb9300656fc9b2fbdf3a2cc4d8c54b00906d1097cbdb58f74a6429f0b87f1db lib/codeql/rust/elements/LoopExprConstructor.qll 635348fe22fb47c7e59bed02a8ed6420be5a9ce92a7d9bf4475465ee170c917b 2bcfe70247c55659b3a3e09562da52fc645cc3166748f268c5a38b35fca24233 -lib/codeql/rust/elements/MatchArm.qll cde6e94b3e65fe0fe35c2e5e801d9a8297a6770d4e7a26f75f433321a6e2c781 c17031a4570f712a092d629f5c347e4b9e246145e2fcc09e56baf041158aad62 +lib/codeql/rust/elements/LoopExprImpl.qll f8bd97cc8bda1b224ed0ce8f7210c4ba212a6c4bfb3153b749fc8646db2b1dda f90481b2ca20e5a501463670b1d3bbb5e97106237e2df3ab987e137ea19485df +lib/codeql/rust/elements/MatchArm.qll 269b342315781c5392608c0b7fd293dd4484d7654ede7ef1b98aa4b598fab748 170f34ff7eccd0816505ecee97b3d94c9d3dcb9db46d173d326b580a72e2dbcc lib/codeql/rust/elements/MatchArmConstructor.qll 49d134823a445a1ee995ebf5637fd0d736b9ab7f2b141026712f231ec4ed3389 f16e8adc8375e6a7334589d5732dcbe10f5ada9de7a12c549c55be3f028ec628 -lib/codeql/rust/elements/MatchExpr.qll 6938b5b9aca51f15cc0c0c6374a5845c9c298cb49d17c8111abb03001fdf5508 1e43ba73fae5fbe01645cbc762ab229f2148a53da3de1c8d083c1292d9019fff +lib/codeql/rust/elements/MatchArmImpl.qll 21fa9a918e583397343637599cbbaa76e90454771a99df1f3e37ad28be1f2240 2925ea59dbeddd6e141236053662d57cac4adf5a0dcaeeb860fa75965864bc6e +lib/codeql/rust/elements/MatchExpr.qll f68418cafa9ca73c1bc26504c1095671016ff24b09bbf0fd2143a9bbfe5d2c6a aa6c97face30850602b34bb06e037fe00c26dd936e14a0945a4a92a8317a7136 lib/codeql/rust/elements/MatchExprConstructor.qll 74df937d7d8bfbfb02bdbf095595eb3f2129ed4c0854bae6d73b5b38d4fc902d 5c388c02f02462d843945111b72de12bce33c7c332d55993d903aeb250213407 -lib/codeql/rust/elements/MethodCallExpr.qll e92c5214160d6b5bebba76c78f5ec0380a629230991513326585c99dab7be1f3 ed05c7f40fb6d1c97fa0a3a631db1913b8e6abb5c2b3513d0e81a82a2e5f7f95 +lib/codeql/rust/elements/MatchExprImpl.qll f10fe0e8e8d981eef1123716f7f68cd8b8006e18d9632eaccbc48872c9615e07 76d877db7bd7e85f5d9ebb33a360cb7770c86b956dae770bbe359b32ece7f389 +lib/codeql/rust/elements/MethodCallExpr.qll 7aa2cc2d81ffdf420995faf348530af333ea828156acc006ed6d94100ae1d7e3 b7522d9f058b80598931c62a27c5be01a231f9c5c84274a2ea07194cfdd4bf0d lib/codeql/rust/elements/MethodCallExprConstructor.qll c9e1137ba6b76eabd941ecaa27a5b43b6fc3ff445ad46d3f625ad086de0e0af6 47bc4c30182b891c7009ba536edad7393dc068b72d9dfc16b26174b15d49748e -lib/codeql/rust/elements/MissingExpr.qll 618f80b813afda19783c689c67c79b2106483b559f49dc21ed713281d6b1ac87 9de89e36754a98b8caf9010690ceb8a9d32999d192e325a1a24892311f874268 +lib/codeql/rust/elements/MethodCallExprImpl.qll 02f477caf8476a2bd886dde4697ede9b736da346e2c7ccf63fe24f26c79f851c 22fc3e06c69f8e75ea6460e5bf423b4b88a87c5466ad4bbae405190ab7575819 +lib/codeql/rust/elements/MissingExpr.qll 4434da948ac3ad85b5b77b6ea00f01da3e9230ffeb39105e370c12b5e2d822b0 6da21f27bf82c6cf8b45a08f97c6ce5d35c41d5e5fd127233092204ec1bc1da7 lib/codeql/rust/elements/MissingExprConstructor.qll c51f4f6e897ef2107a27bd91ecf31ce875611b29a5a12238d5312b9489a35b8d b9ea3fdae459aba6c7ed9eb48edbc5bdbdb4cb41220fff81ed4cd256648612e0 -lib/codeql/rust/elements/MissingPat.qll a2d6ee4f7bbb69b9c05026b71c0283a6b229a7eaf492894296294fbe533e40d9 c9823a3a06ff2ff25ad3f7ca573f122637571f7d351bfd1f7f339c7629404852 +lib/codeql/rust/elements/MissingExprImpl.qll 99c8204ea5fe5219bcd4c4df619edda4088f54020b17fddcb88bd147c553bcad 51b10dadf51772f5dfc11f1b11424dfed70430efe410197dc949945ffb6c4aba +lib/codeql/rust/elements/MissingPat.qll cb4c04b5a739bff39d6067aba39355acb78b88a4c2d252fab3eda4ffcc6d2f90 880a0cbdfada798642ce5c07973006bc64b5cc47d585c889ed777a5c54a1985b lib/codeql/rust/elements/MissingPatConstructor.qll 7bff2fb7fe96388dd703cca5f0bb1d04cea5d1f0729bb54c6604b58e338c7d6b eec9fea46593b3850da111658848cb54cfa9992286eeee313a55def184cf7ec5 -lib/codeql/rust/elements/Module.qll a104ed007091e5361db9e6be640fba6a22b02913c16fe50cb5d348399504f7b0 7633ef24e7c9e1daca9a82d89870462482536cded234e0e1bb7da9eabc43c00d +lib/codeql/rust/elements/MissingPatImpl.qll 60458ff834389a268a3549a92ae814acea4b187aeb311b1a2720c5d53bd9c2b2 031c634dc571164d99b04e93fffae1bb7ce84ffb74cb92f07cbc2f03ea1b4bae +lib/codeql/rust/elements/Module.qll d0d3f8dd87c2ba55dd4727fa1f4d7521aed4f40c0b7f54aef4f65f9a6f962357 4433369a8693266c6b599798df89b5c3025c02daa2c799071d3ff4588571c904 lib/codeql/rust/elements/ModuleConstructor.qll 109ed8c1b5c61cc1d3e8613aa8bb8c168dc1943c93b5b622fa79665751b78318 601526c7f56578883d261d14653fdad08329f80fea71de14a5ac5ce671a8d436 -lib/codeql/rust/elements/OffsetOfExpr.qll e7490d4db7cb4dd1c711ce57934970da8c9cc61af913a62b6963667313dcb0c5 c9043c5e68483b3d4da03ab191dc56e0150ff23af361a227fe91062e10ad66b2 +lib/codeql/rust/elements/ModuleImpl.qll 53f332a1a3ebaa28d0ac45657cba165f227dbbea935b31e328c14ff249b9a556 3a52846e99c618334cff40166fe42227f22f1cd965b2f75a3ed005d30fdf9650 +lib/codeql/rust/elements/OffsetOfExpr.qll c520d84b0c9836f91445d521b5982b92f907e0d1a69c48223abb71d08a68b21a 3fbedb30d0450e34e9c0b144652165aa2664b48cbc0072804eae7a9d8f6196c5 lib/codeql/rust/elements/OffsetOfExprConstructor.qll 8034eb1d3510dffe9e38cdfcb57a0235ee01bb50e1fbaa6e5601e0e232c1977d 6e3b7c20a17fe4c45d503ba32264aea8f6dfdc69ccd95905a5bfb1e8b0cc91d0 -lib/codeql/rust/elements/OrPat.qll d5fab9f9d837d0d330ccf447cca4b079a6f48bf6b4886f0e68937444152bec97 ba6a9ddec6c49a4941e30b0a1bf68873aaf5a726368cc3ace9e7c2812b3ead48 +lib/codeql/rust/elements/OffsetOfExprImpl.qll f33733a773ad9320b5bb608d4aa59f3918845472061ad30ee5fd9274e5d9a594 bc2df75cc5c241bdf0a3feb3cc833578cfd6551ec804ef396870e56841da6e81 +lib/codeql/rust/elements/OrPat.qll 65ab97ff3ceedd01eb6aed18fb4f4837033891e8704f6814df1f00fe90a55ac3 0d0c2d261de0bf409b2c59e21156453f5a86332581debe8595234919af86dc22 lib/codeql/rust/elements/OrPatConstructor.qll 9a24cc095adc55ae8ea66f68c695f42de0181a43e23d70e210c63351b47e2586 1f773ae88276289672d93708f4ae9f8c95199e7370a0c610a52c92b5e018e632 -lib/codeql/rust/elements/Pat.qll 79ac8430cc9047cf89fcf80cdb527166bd72e979d03e051fa2d60fa2f64f2294 914362a06ad0cac1e1777874bf4425fcc805021197f635ddd87b96d9e5c221d9 -lib/codeql/rust/elements/Path.qll 3863a424a10b840f05584e17cb642859b18093b205eb9125f9aa0a0c2de6bab3 0db28b1b40218961ff8db478842b54ed7eee7660229113aca93c180aa45bb243 +lib/codeql/rust/elements/OrPatImpl.qll c6246e121732f9f9bf4859ca68207496815573504a40ccf27ba5ff23f6a43dc1 555ef257d6f751f2d3452067681dc7356a8a5c77145e2bc38282e4d63dc318d6 +lib/codeql/rust/elements/Pat.qll a33c32a342b95bc84314fb96c2b8937b65d7dccf5c94542c1fcad5e5e74cf9e9 25b2672c07d72d2658538f52f039885e822087414d95e65e4e7c8016ecc4345c +lib/codeql/rust/elements/PatImpl.qll 21ff7db35973845e9443a6a3739a3f4718527fee7583dddb5717da76e4d54a7a cb7cfe9aeb0ab4c84944ca59dc387c5088ad891335b5b8f2ef2cb99f5a639a8c +lib/codeql/rust/elements/Path.qll 41ee226304a0bc27c15f6eb696846d33afa91eff1af2d55d47b249f164964ccb 4b046255a4229ad82abd795a4f6a2cf8f7810013e0ce4d33923a6b116736a8fe lib/codeql/rust/elements/PathConstructor.qll 97243db75d6337cf68a22ea68569fdddf4c3bc1b8875bb4bb66faeeba8846a53 03c8c665e2f3b103148fd38eb7a4d0459c8189b2f6160dc08ee1d6d2807e01b6 -lib/codeql/rust/elements/PathExpr.qll 088ca8090fc5fde84a3b39549099d1e1150a547ce9294d5d83984c9449fe964d 4e1e692bb6ab8cb887fc3fa0bb251e82f0b68e90e4e2ea68f5704b8b85db33fe +lib/codeql/rust/elements/PathExpr.qll c2d69106379d61d59a6ba22b808989a90cdc933f306c0261a3654f12de190aea ec6da289ae98730c473e543cbf51edadca1d90482b89ef31c1e9e7cb240740df lib/codeql/rust/elements/PathExprConstructor.qll 9db3d3ad160d897b65b8b8a62f3243f7ff80d8e2d27875b3cd2c2b046fb0f9b6 26c2ba19a04fba61af8aa0cd72602f7b02bf0e1b693ac9cd14c7ff6066412f75 -lib/codeql/rust/elements/PathPat.qll 748a43d1c25c4fd20eaf78f381e4680207557bb696a28d74a9eaa1887bc966c1 186c947b0bbed3111c9bdc564c3ce39432c1a3bbdbb15ebb503629625ffe1dea +lib/codeql/rust/elements/PathExprImpl.qll 5e1540ec8fd360e3dde1e8eb6a5983287b9dcf9782847db0677fff6c9b672878 fe6d601c9b1f0e6b8e6eb0e873ba961ea9e7d78db60872fb29e83e2f0ff74301 +lib/codeql/rust/elements/PathImpl.qll 7d1fb828ad40c154e1cbbdb1604738ee176a6c37ca900f38fe3e95e35cc003a2 80f8694290817051c8108bcdf40f49a9018cf8cbff8111e184c4f0f2a451c9a9 +lib/codeql/rust/elements/PathPat.qll aaeb3b5797ecc3c862e7d80888b69a849aee83c6931673af5012d960a94fb05f 6c645feb68f383ca9ad8816eca0d3d32d69a75eeea554483515fb4019c178a97 lib/codeql/rust/elements/PathPatConstructor.qll 476a38723c63bbfa2565946725c90f1224ac2c5283fde79bf14dcefce6f500ca e9e9b000cac44851772bd9ca519edc89e8518e89a0930df21af14a69f5b0e864 -lib/codeql/rust/elements/PrefixExpr.qll b00c0033177df5668f951689e3b12b039fd53c8618492b0e79a759712f3d3c81 1757e788a5a33b6ac4622752c1e8d7c2a48e9893116355b350b04836fc7d1e8d +lib/codeql/rust/elements/PathPatImpl.qll 3965b23f053d4571686244886b9e53640f574f1aebb40629c04296733054b174 5bb291d32fedd87746c6fd1980748f0dff9fd1e9d55557d4f1f2b0290b590982 +lib/codeql/rust/elements/PrefixExpr.qll 4337c7c9b8d000a3daba1432e89bffe4d72fae3c7bb638715cdccaa21ba702ce 758d3e78543218b69055f433eb98550531e3bd38beffc4bddb834783438059af lib/codeql/rust/elements/PrefixExprConstructor.qll 511dbd31bbbd6b31cfba4a8f76e05a9fe3d1c996d9c6ac77991059f26214775f f6d1b1a96e148debb6cf03908c07cf2f42e2891ef0c54f1705a477a4ffeaf34c -lib/codeql/rust/elements/RangeExpr.qll 42bf1320c3060b6d225e7ece9bef54f3d823704a6aedea6d8af594a0fa676134 03a84ac76225e2a6172f6240af21478ad3f978b03a1b9e3fceba39fd0bcacba1 +lib/codeql/rust/elements/PrefixExprImpl.qll 54516eccc5d63db4a68dcdc6b22258143bdfac088f6ad0dfa91113826dc69e41 17718fa00522977eeeab3c0aeb0a2cd1a9b4b2288ed64765a1ae03933373532f +lib/codeql/rust/elements/RangeExpr.qll b70c616f7797d6b03f9282861e84f74330cdd0dd16f12cbe9055c19a03bec4aa fd264a167fe3969ff7cfa8473ca8964835492d923030abba77b828b284a64296 lib/codeql/rust/elements/RangeExprConstructor.qll a04153bf88dd71c3f516418bdb7377ded9db21c07f7ee6dd245ed8b44719d8f3 2d578f8dbc49da98694676d6a59bb9d58c6d2a200ffc893ffa90dca77878e38a -lib/codeql/rust/elements/RangePat.qll 7df30b22d972c48151c9a0428245b9d33cbe3ed61a8767ef3cf1a82dcb949a85 33fe10d12a8d9abd4128fb6af4a61badf3204c538a1bb583f20a30df4ee42b42 +lib/codeql/rust/elements/RangeExprImpl.qll 1693531b93e4612d44737da9d19831073da8f6bee983678f02ecfdfc29c690df b985daaf5cc514fc19098151235a5ab7192797fb54f97a5c8abc2ccb3085310e +lib/codeql/rust/elements/RangePat.qll 63737cd587695fe3fff29f7d135601a015fa4a8629e481befb186fc2a801ce3f 1c9655b3e13145029e18825b6aa3975e1349e941f73611b5945a4676ad79dc4a lib/codeql/rust/elements/RangePatConstructor.qll c391431118ed6ce16f7b7126c5d43e61f07b98fab7b8bc48e9dfe22f7e21ed19 bbafe1c9595b0b004f7b27999a14df27d0710d5b058e7ab14dddd2fae058fc31 -lib/codeql/rust/elements/RecordExpr.qll 20d6b98d1d16bf20cfdccb75b77f012b1450349a756eefe16da56916188dbdf6 61a724e9cc82bd1617f2824d4b778b464284172ac5bc21c8f7d9730c5aeb82cf +lib/codeql/rust/elements/RangePatImpl.qll 68e589bc8758cde26d612d9c850c053be721285a337db228c7d34a49f5c9a32a fb5838ec8502af861eeb552e280ac8924b6b5439acd918e86b947debaf2e9f5a +lib/codeql/rust/elements/RecordExpr.qll 016f1380b1a77530ff6bb04f77d072931dfbf822b1224acdf80df96b8eddc53c 0381124bc3fd88684cac11afb6d34bffe048d29403ff9e4601221a8197eb556d lib/codeql/rust/elements/RecordExprConstructor.qll e27ab2bcb3af858fa8112a28603da8ba2357347339ca31b6bfc3ae35694a7db9 b947ab8999924cf578d2fa26902285008d4994d3b740ca956fb3e32b4bdede52 -lib/codeql/rust/elements/RecordExprField.qll 4eed8b07e512ee858c6407d6602dab6e45a4bedd62a526a1be979e3bf57aec45 af181dd655abead2dfc4c9123ab2bd3755a73394ec1312a4c145bef8c22aba14 +lib/codeql/rust/elements/RecordExprField.qll 238b01768a0712987fca1df0586e5388a26e1f0431a5400a525c15641a2a1ae5 f08c3242a68f34e0fd0f9c43f879feabd76dfd6407623d23b547d7b891b65c5d lib/codeql/rust/elements/RecordExprFieldConstructor.qll 17bf9cf80046b2c49678e221177e2f6b520ebb124d39308ddb1f2f0b93a3d818 67c91c4e7b8923888901c785b40cb90561e81a870d74e0760a2eeabc5e5a7d4e -lib/codeql/rust/elements/RecordPat.qll fb02784f6f7b1e1cfa5e2f493dd3e9b084fba5755d237f80296bfab734b4744a 619b6fb3b14d154b3bb17d2937b01d0c4b2c56544bccb8400dfc3c2b848cee18 +lib/codeql/rust/elements/RecordExprFieldImpl.qll a131ab873d3da51531efbda9b67b75e20c22e55a8f14dad6f46d90e558783d01 9742cafa24be4382f7c38d3941226c029f29bfde0c9937a1a339cf72e6a1c93f +lib/codeql/rust/elements/RecordExprImpl.qll bf60116c2927111f3aebbf8e0793d90dffb0fee17c9cc9dfc0b308865800bea4 a8f08bc1a4df29195779183fa19c5622b757346c1c43fdd681c781e5986755ea +lib/codeql/rust/elements/RecordPat.qll 7023585ba88334ade27e56c39e32c77fe2f37d2c77a2ca31a881c2dcbca56749 61a1859ba2fa428aaf926632c4946b7cdc31ffd12f97f10395038b178302395c lib/codeql/rust/elements/RecordPatConstructor.qll 93c794efa5050b86c458470224de7f3206c1a004b46ef374780f080a8e9a4ce0 157800f342de96095e118dbcfa20f8e65cc79ccae712e8e37bff1ba92a227fda -lib/codeql/rust/elements/RecordPatField.qll 0ef9ff7a71d938a39d2cc220ba395426198c0de790f8f9da23090e95b65bd0a8 69e58fad68784ed49909b32948aec754828841067c7ec08338df1ec6ec0b5d68 +lib/codeql/rust/elements/RecordPatField.qll e03fdc7ff37a8f8aa9a0ed8f792e605d2e5f9bb3d96109c8218485c7494d4172 6ed21e3140293eb1c09c01cd02b57097827223ca2df57b584a072689584a0868 lib/codeql/rust/elements/RecordPatFieldConstructor.qll c105362a0d1acdd69bbb3b0c1f0ae2e20f677020d15d02aa9e7416803ddb3a21 5cdd18cb9c26197eca67e162ac080b7f17dbb46061419bad07c6f6d12508f642 -lib/codeql/rust/elements/RefExpr.qll 4c3176d24c52d61dc220d0ebf0c277126975a7e4189094c5f36e0d386bbd95e3 dd143ae809b9c3cd1ca20e8ccf2ed2fa79f0b75d3ce3d92de5e88dad68bf7fed +lib/codeql/rust/elements/RecordPatFieldImpl.qll 8f085d66cc791c9d58cbb316ee8b23d217002334f04f84c4b64380976414cdbc 09b68dd63f97ab0079e7817069a0f855885a8251b0525da9f49ef940b31e2ca4 +lib/codeql/rust/elements/RecordPatImpl.qll 40bd84a2e429f64dbe5dfcacf119c54d0773f383812ce6f7b6fdecb58d2c2cc1 0497590f801151a9ac04543d09df60dbde7906138862e5dc4fecdfe43f96e836 +lib/codeql/rust/elements/RefExpr.qll cb4b991f16aee8b5e26a17f2adfd7459c11302cd4324f607d866363b9727e7df bff3d8f703d8393365844557624614c049ea9395ef851013a01f36645e4a8069 lib/codeql/rust/elements/RefExprConstructor.qll 4a2b9dd4ec2638a5ccfca268ba377980aab3179b27177e34e44e0e9dc6653b36 752f6f298369b8c0f59d49ca9e729c20aceb3559df68be416c7bbf65f578489d -lib/codeql/rust/elements/RefPat.qll 44db6d9cb0b4c796027116f00f43bb3a542df2535622a7ae884c0529044d2996 1778f2bb7f6df9b99ea5f3a20633b75738fa4034afaf12d39f33b85ecfb79ab6 +lib/codeql/rust/elements/RefExprImpl.qll 5e88f147b145d039af6812cb239c7f3f47a1cf41100b31cd54dd62452e18c575 76c7728ee3c655ca7ce5298e2ee1de9a4bf0f3d54c228e63bb221ebc67a17bb0 +lib/codeql/rust/elements/RefPat.qll 9ce0e195cb6fdad2cc56ccfdfe63ec399029e24f5b47f8ad184eccfb441f7ade 8e5b9dee0f351a6f771a2e6945f59ad90bdb6ad834c52064c4e3e6143ba56618 lib/codeql/rust/elements/RefPatConstructor.qll 98497e0ef76bec0390a23aede2fc6f80050ad2d00bb60f1d473362111a53d4dd e4fde4e3e88c33daee90ab6d90ef2e38b36faedcfe1b6d6304f4eed92980b5b1 -lib/codeql/rust/elements/RepeatExpr.qll 376199e9efc3b20efd8c26a020c5e7b7f19bf9490ab9698673ae842cb4ff6721 7dcbfbf8029811657e07850a1fadfe70025881e70f474fc49378b215e65d6d43 +lib/codeql/rust/elements/RefPatImpl.qll df50ff9c91a794416d58ea3cc74afe785c93a9c550fbe6c0d6b78cb5856924e8 c93bb2764601a56f9f70a5fbeb39f738ccc27fdce1c5b8498817b54b1a756b0a +lib/codeql/rust/elements/RepeatExpr.qll 0e9c7925d20ea1e2def898fe3dda3f313ba8d665cd0b45218e1196691f2d7c75 060fb9c3230fbc424fa92dfb367e8588b0a063603dc31d6599868aad2f25620a lib/codeql/rust/elements/RepeatExprConstructor.qll 7e141ed538f1dd5debd83de045eadc74ef032acc8a64ee2e8ac760da60ede525 d20206b72b14d03f8a41571948210619ad7d7dc438ba04ae45d929776a11915d -lib/codeql/rust/elements/ReturnExpr.qll eaec617f85ae874a9e49a55b819bd47e672ba030f3f785ead54829a8479db195 1bb27640c8b29e099e39eb70fb095bf1dfdb7ff278f884dd71e3488a11e63dd6 +lib/codeql/rust/elements/RepeatExprImpl.qll 026c739ddf7139cd8c0efc2d6d64b3b5a1ff44df86068e8227c14293f477ae7a d9333affd4bbd6c5bb309a6c1cc838fbbca78d0b4acf8a232c34ead7ad700e60 +lib/codeql/rust/elements/ReturnExpr.qll 887a98366889632b8e87eb66fe1f14c145247e405471223ccc8d25fa8ba7284f 98783087dd8c8f9a059bc896fef10793657f77fd1af70a946ab59123bd86c575 lib/codeql/rust/elements/ReturnExprConstructor.qll 825501a55f7b5556ded49fc3c43d45b7d8325e3a1790a2af738a46df33b569a7 ef06e95f1919952e537027861660a4d7c79b832fdbe802bfa5bdc29ba0192f31 -lib/codeql/rust/elements/SlicePat.qll 06b0fce357a5a03c4b0ae3f420f816ff9fe08e4db5ef49151f8c46702d50509e 25b00eb84a39e93b27c14c04b552fae2784674aa28927788cd57c6d52763a054 +lib/codeql/rust/elements/ReturnExprImpl.qll 0a628a4e412451ceb30c4902af5111b3e2b811ee4704e352200a342c6b880283 bba4168e9ab543bef902ecb282c0316c3ddfb3bb5666c69fa3681e334bcec5bc +lib/codeql/rust/elements/SlicePat.qll 9b3216843c412d4679f8160562f045fea910a2fec7d823971baf446988223595 7a0d9ce72071225facd4ca422ad76102b40b072cf7a6321977f86bc85274948e lib/codeql/rust/elements/SlicePatConstructor.qll b2885e663932f68ffecf87b4532f533e9177beddd715765474f454a9804afc8b ade153522a4773eb769f4f4d96fa07add34089f131b41a74534b28fbfd2bbb60 -lib/codeql/rust/elements/Stmt.qll 89857f73ebd72919f2781f0ccd08c6c12fd545e6290366d739d189f41de75fbb 8d3616e460028b8ce51e4688eedfd1f8cea6ab4a1b0312a110eada4f224d12ec -lib/codeql/rust/elements/TupleExpr.qll 6536c9c062c971d943629dd38d5e7e284526eb31e6cd0306fd290232e8d1d86c 6dac287bb0f85d0c5463ba6038b91d22a980626492085350025bff9774a87673 +lib/codeql/rust/elements/SlicePatImpl.qll 87c9c2a00bf5c433b3f7793af1c52e64a9be58f7230b820ebb4108e943d0a542 d613d60647e4120936e1c2b6fca2904d1f24aa59bcfd9c2fff05a4ac9208ab03 +lib/codeql/rust/elements/Stmt.qll 9bd6186eef72da22f07335ac75ede3dd06a64191cb14fce892b08644724a3c68 d32319b2aa02c88b5cd8850f58bd2dac64940a5d0975673c827db24e77385c06 +lib/codeql/rust/elements/StmtImpl.qll 30dc8365d0c3090e4b911c2563ead931d63e3a2488dcbe010308f6a678487064 eaae0d9a97a4873fe07a1902da36d13f4e5b0274721b483c255e7952809a904e +lib/codeql/rust/elements/TupleExpr.qll 067af55957278c81c25f51836305c8bc25f4fa579cc978a5ae58db76a01a3c76 fad575fbec82c39707a2c85c340abb4afe93a100fe522bc00134544d83afc142 lib/codeql/rust/elements/TupleExprConstructor.qll e7cfe2da7457339e99263030e74715e5ca44828d74ea3f462b90a7e72c1e9302 b45006d9cc7664a5a659e7c74f415142e2397dc33fb1875ac3a6cf5ca39e709e -lib/codeql/rust/elements/TuplePat.qll d9161426edabc199d206a3a1c2994bbda9430d7418968b8fd0a8aabc9b29c4fb a25ccb4c1b77fcf9d00c02c0673f9ccce03d4d3512f8a2b8307ac21c8c41ffc7 +lib/codeql/rust/elements/TupleExprImpl.qll 9badd6029fd870e95685e2dc2f7755c3ec6ca2d5c7bf0ec5570b659fb5d39168 75155bf22687c7e79ef130571a70486977bfb5592371a14eb5cc3d44b82b524c +lib/codeql/rust/elements/TuplePat.qll 9f68d3f5bf9380c5dfb96d7a9efb686f111c6bdeb07b53c137e282fe3d245baa 49a6b31e97c09d8f5dedac9637b947bef16673a8eab1f182fba519befb8e5fec lib/codeql/rust/elements/TuplePatConstructor.qll 505c4f440b47da576acd7e3fc69d6b49e8287f981a21e79919ded374200f2578 b295526303bcae982ddd8c6b544288c0b8b8d62984d6986319e7f17baeb7a19b -lib/codeql/rust/elements/TupleStructPat.qll ed443440791cf0868183c5e5304a855058ce78c1b3735507b5c35f269604022b f02c9481ea471b198eec0909d01bd3db03830bd98f10bcc3a2ca4f37b1466b79 +lib/codeql/rust/elements/TuplePatImpl.qll 4cbc58d8081b81c3e1a20c7885ad718a28525f8987d6b1081f30dd2687c24951 9ddf62d367fe3c02927a0e086c52a2e0e0144d779a8e3ffafa0efbe61669c64a +lib/codeql/rust/elements/TupleStructPat.qll fca03559da34f136beddf59fe287fa73c6caae6ca565dd48311ff860f96b0209 1815c4ab0cb4a4939e87e8ef3d0774f05e66836566689656f7b672b2973f3e81 lib/codeql/rust/elements/TupleStructPatConstructor.qll 15a15362572ac2dc98ed3257f195f20bb8dfe34a1fe203cf2a1a193ce16c406f 9e590b50cf865f6bc573b6fc17acea073f0d9389be241b01e820d9f3f8f14acb -lib/codeql/rust/elements/TypeRef.qll 13824c88938542cc554bc9ead335136a4eb115ec07ced03e140c9a88f49afdb6 4d265a4fa37a9df406d4bbbad03a69bcb3b5edd3152482fdb90676466283194e +lib/codeql/rust/elements/TupleStructPatImpl.qll 7f468bffb521039320892805e582a015a2cc708a78f08245494221765d773cdc cb073d1a5cd4c6a4450ddeeb3668b53d847ba406294bddec6553082f6930a0e0 +lib/codeql/rust/elements/TypeRef.qll cf3020a3e02c37860995eda0e2752edb2d5f8bcb9b9081ec68441338d1eb05b6 f45aa2ffc0b278dd93f6b89b005f2872d02eeef6b93d0735818dd0cf060c84cf lib/codeql/rust/elements/TypeRefConstructor.qll f8b2e5ef15517890a8b2d56643f471ae64cc74c420187049e33b182417e72e4f 683611e732b842756e301a77625b385bca0c4969971020c9e11220a1aa665a29 -lib/codeql/rust/elements/UnderscoreExpr.qll bf4c0bf76fa15b041f7ecbd492a499088bef2024b49dbdfa57232e84e72c3067 462380bac5f772c1986146d32b70deabc9f03581675f6e79f7b7f747acfb0bd5 +lib/codeql/rust/elements/TypeRefImpl.qll 25493d464525e9378596f10648844771f10120e44b65fecd0a550f1e2da8d492 6899d351d86d8f0a14f7540bda9842e0152b1ef73cb33bfb999b9f3afe406993 +lib/codeql/rust/elements/UnderscoreExpr.qll e57641a3c7b8e0496cd04877834f3ab40f278f6e8e447bf1c11557c4ed1565f7 390ea08093a5862a95e626ea010519d54f7bb55497cae652e9800fd4ab31dfef lib/codeql/rust/elements/UnderscoreExprConstructor.qll ea9f93fa6529ec4e5bf5c4a98959b2e013e83fce4a74ebfc476b10bce2b331b2 bc36b62fd4fec6fb388d82e2af2aafe0099138d54b7672be81e84fc511fdcc8f -lib/codeql/rust/elements/Unimplemented.qll 8736c0b7ab0a5b558b47cffe579c0e56016de10017235502bbe18a6d81510a8e cdb6135c0065938892fb32020a7041eed103d97c3335cdc1bf837046f80bd8d3 -lib/codeql/rust/elements/UnimplementedDeclaration.qll ec261842f0257b4f512a92911408110e9e48f975a2bf0a56524a57a5c8e694b8 6682484339cb3b9b08f15949b37ee380ab6a15e96517be21cface664a9c1d9d5 +lib/codeql/rust/elements/UnderscoreExprImpl.qll 0d09ef4d7cca2cbea6b6f43cca2c501c262f34b30567511279efa01c0b33a8aa 0c0da01c9ce89b386a6e671bfc758f6af09e13abd55875de4d1cc7d84e93efd6 +lib/codeql/rust/elements/Unimplemented.qll 6d07963ef992b98694ad82f7794f95d0b895ad8361ec2fec58b8c1736fe6975f c01b19f8712aacffac43859ba101f6630c993dc46de734df9bd28c58ad6360b3 +lib/codeql/rust/elements/UnimplementedDeclaration.qll cdbc8675b5062a9fa243c3c4fd132438a494e79422d59cf2e243435253f971a9 043599c5b9e58e0dbb63ae7eb4e692d973e2774abcde505c54ecff1a5df7c88c lib/codeql/rust/elements/UnimplementedDeclarationConstructor.qll 44f4590db81e7504de0ede43eb2a33a54baa0738732e03a90721187a1cd303f3 11f27d8a9836b78d9ffac79efa3441fbfcb1dfdc1eb028d2016a1769b8a82ad5 -lib/codeql/rust/elements/UnsafeBlockExpr.qll ea7fc05c8f25b99205c098590329465ff9db9293b7d72cc41054b6c4e28ecb00 d617e6873b62ca2871ed87ca2435904da51cbdba42d46a2d160440b11f14dbbb +lib/codeql/rust/elements/UnimplementedDeclarationImpl.qll 082f552c6ba1cfe38457716e1a062c728eb511e21108f668973ad10666f71788 e7d6bc4ad3f96ff7b7b0c6650ee763e6e24a94ce59a4998da8867140b1e69852 +lib/codeql/rust/elements/UnimplementedImpl.qll 3b78a263b3f8991dc7aea7c224630d98b6d5018cb6bd179185ae7933c1ea0978 057371b7bf31ea482d0fce66513bf2f177e3d296dfabeb0ab778faf1d2021ebe +lib/codeql/rust/elements/UnsafeBlockExpr.qll 3c2ff36daa16d80726517934b78dbb882abeeb53546d5c3fd9f1e487dc972d9d 88367ddb8d33b76a238b8f6112892457b8970c6afdb31eee31470125a028a06e lib/codeql/rust/elements/UnsafeBlockExprConstructor.qll a089d89cb8f9542b3ee94c8eb7ca9ce0ced08c954802b26826f6aff12f8705dd d3919a40e13d97c48b19df647851f120b667300864d3a2178b1b01236c2dcbd4 -lib/codeql/rust/elements/WildcardPat.qll 1c67ed3bf441d04a57f5d82a78856008fff694e534eacb8a96c41fa7b43b12a4 e98d72b2d9aa50cfb805dfc917d8ac454af60fde11e8139f001ebf67e6987e9a +lib/codeql/rust/elements/UnsafeBlockExprImpl.qll 93bd7030ffc04fc8b5cf9d51f537f18c33269b9d0d3e2cf23a2b87befdea1c80 fbfffa9ca2f575265aa6a09a8c2b27dd98c5e945eb8608425564fa841f4052bf +lib/codeql/rust/elements/WildcardPat.qll 9be7b2bf5f272f939c8befc0d56e9f6e6031520783f9de763d12f76c4f83efb8 604e760b3e615967229adcd45eeff12306b586cd945c855a546addd77ab7e871 lib/codeql/rust/elements/WildcardPatConstructor.qll f974e89eedde9d8a2a59562d0f5c87f6b00c61a428b7df734804fc87a6cf5090 36f5e961c88b0be4db1a907607dbcc8e0ff2f8e49c9eda0ead88a4da8af5b177 -lib/codeql/rust/elements/YeetExpr.qll 95a15d0ae79b9cad126700c07d5cb7e4e9699e2e5d11a926ce452588501731bb 848736c361d420945fbf670d6c126d258d095f7f8509ac1cbc949f5ba280f851 +lib/codeql/rust/elements/WildcardPatImpl.qll 104d332cc73c5b1b9069842019d90987e14145131275ea1af92f63ad6e456e28 4a772cb74a03bc42eda2367b00dd59dd7d1f62b9912735c5b4c02d7750da6d20 +lib/codeql/rust/elements/YeetExpr.qll 70ade1f8f16de0f2d30de9a4b9727b40bcc1a8512ca71da3bc005d3cefd37e9d a108d78c2c10ad7a8597c48ee27ee1e2d5592531cd459a3410ba6aa903ef2c4f lib/codeql/rust/elements/YeetExprConstructor.qll f1871c6e0c966c52806e370dbe2956585bbfa1dcf0bd7ebfdb2bd39b7cfd0d7b a2333e80a325a921a66c34151401da12c250951952ccb0c81e5102dc62299503 -lib/codeql/rust/elements/YieldExpr.qll 72682ae19d37abd6ec26569ae8f575979ebba1e0d373898211a9af4fad4979a1 ef0193011ee5f94cebbac5c007d652568f560685a213bf8be96cd0c0983a3880 +lib/codeql/rust/elements/YeetExprImpl.qll cdae9759ab0c9be86ff8677831401c8836aa3147c6ae88b99ce7f12914c60690 b2b880d89513683dce125b3d1bc47aefd04eb3343eb1256155a0f3e14c8951ac +lib/codeql/rust/elements/YieldExpr.qll 14cb29e19d67c055c645eb2b0e2ecb68a2e2a8a01c20171b847a23db658e4e45 86f3b63083c45c3a5cdc171080cfc2e5bb9506ef441ea3c5b837898dc8a2335c lib/codeql/rust/elements/YieldExprConstructor.qll ff46ba17cc24abfcb0e310c7458d0539b704e7a771ad00853bd3a1844e4e6f82 1c13662ef01c88f1cf057d099eb46524036133e51a0e36ddf947f727ac6046bb -lib/codeql/rust/elements.qll 1d92fc19e7660d9874f0dc26a85a7021aaffa05a4c84dd847a82606e7235b944 1d92fc19e7660d9874f0dc26a85a7021aaffa05a4c84dd847a82606e7235b944 -lib/codeql/rust/generated/ArrayExpr.qll 3fd7465da22e1eb810ae28ffab7b14e9ccceaab0082aa665f14b73d4221128b8 6e9edb5846656aad90283406a496aaae485d38854075a4443817b5098b72b427 -lib/codeql/rust/generated/AsmExpr.qll 66f1a4bfb4d32d99b4dab1918a1aac75e0903c499d65a18105e3c837c1aa314d cd5c8ed300b5f5d19e404cd2e5f9dcbcee1081c5538f1840359eb491eb6ecaa2 -lib/codeql/rust/generated/AstNode.qll 0598fac7859906f4103124270dfb2fbdb838387b1c45000bf50a4b62c797ec41 f47c84878c7c9676109e358073bddab92a1dbeb4d977d236ecc1eae44d81c894 -lib/codeql/rust/generated/AsyncBlockExpr.qll 4038dd9d888f98e8848de4ab858804bbb6dd835a32e925a9530f350820edaf04 4038dd9d888f98e8848de4ab858804bbb6dd835a32e925a9530f350820edaf04 -lib/codeql/rust/generated/AwaitExpr.qll 5a6d94ba4083e00dd971f41be7f32693812cdd7f8efb9dc7ef0fc18296ed560c 7af5433b8e945932a453eededcdc931a62d85d1505c0b4e417291c694ac6cc5b -lib/codeql/rust/generated/BecomeExpr.qll 62daf23501554f0b786adbee8e1d430323c6dac79afb8fdbc28d19dc10bdb3bc b17eac6c775fc38bca90a65caffe1294678aeab92d456fb9b9f555e1ac59a0b7 -lib/codeql/rust/generated/BinaryExpr.qll 688465914b9601decb2181c0f09e93f6763eff35477444c68e38d80d8208ed36 3c0a276e59c55c6d7837c442ea9101c9c4b1a8e0e6695b3966309b5f9019ce0a -lib/codeql/rust/generated/BlockExpr.qll a04d98a1b846a78d5df7c9340348bdc0d4e27f1aebf81ecc389f90010aeb9f39 caa43e2ab10a401af6813218318a970efd60eba23bfaca3210954be277cddaa1 -lib/codeql/rust/generated/BlockExprBase.qll f651ce968170b6e05e555924f8004d55b85ff0ae59bce4fea0804691cef0cf66 6ece8056e83d047fc27cdf1110fac166c0d1ba0e26a8d4a7a7cffc05bd6b3b42 -lib/codeql/rust/generated/BoxExpr.qll 939fc9a934c5787e3f3bf9aef8694abe65caeeaeca57079047f6177301e39841 a9563f56abe4fc816f9768735624038e60ff5a075e67c17970a054ffd4d23a12 -lib/codeql/rust/generated/BoxPat.qll 8d9fc5a784473c7bd8c76c5f4a3a5eb6912bfe8691205f311cd1008b27ff5b74 e06a16614897df217948840e084474499b05edc6249ba0115d7cde516f98e165 -lib/codeql/rust/generated/BreakExpr.qll d1cc6452044b4f0351380adc9e46dc52279746d0cfa37baefce8e89494b385f1 c129e16ad176f40bbda2fb1e6af800a5bd240f3e0dca6e2fbc23b75e105ca8b9 -lib/codeql/rust/generated/CallExpr.qll 44cc428b1950e0d560a4e2c18136a956dbc3f85c575317cbf10a0cb5b2dded97 1a5d8dfd704b289774d7190ee331858b39563dcbb2c52940b02df4c5c2208637 -lib/codeql/rust/generated/CastExpr.qll c1e44783781539fa064717d360c5340668281eedf325543aaeebc3db67ba1243 db94f17538b220e60ee30bd2313f0dc5642fb6143e6c8609bfcce075efef0520 -lib/codeql/rust/generated/ClosureExpr.qll 43d9ff09c156f1ce000c77bcf5ecc02c8fb569c0ca7f042a1aae9d311e18b13e 07e1461269e1f07144468ef7b64b927f29053fa6de71afef334732c33a797f33 -lib/codeql/rust/generated/ConstBlockPat.qll 05141706ad963e1d9c41b004c73c9569fd0ba2f353da8c19629a153bfb17b769 786fa7db63ea7a8106162fd05e01b52c8338d22b9502d3638880bc6f6d678344 -lib/codeql/rust/generated/ConstExpr.qll 7bd3d75822259d2ac61bf3bab6a233948617fa09a7a3d48991b643f0c842925d 06785e5b723006a8c51cafda5b8ce3901e0ddd3aeafc0d3c80e61b9389830e85 -lib/codeql/rust/generated/ContinueExpr.qll 452fc59b28ae46d00c6b42dc4b51bd5e65bc92859e769626a6f5b29ff2ec795d 4d7042814fb8f214bf982ad9771ca1a19bbb2a966ec20771478d50927cf1993f -lib/codeql/rust/generated/Declaration.qll fd2401b9683a587cf1361039468c9e74666dce6c98443da63b1defea8e4e14de f1e72b51d4a411c5a74e0a78a34727dff8d20035e7d87bb1ef8657a18c9b262f -lib/codeql/rust/generated/Element.qll 21567fa7348dccdf69dd34e73cb6de7cc9c7e0f3f7bb419a1abd787f7dc851a1 21567fa7348dccdf69dd34e73cb6de7cc9c7e0f3f7bb419a1abd787f7dc851a1 -lib/codeql/rust/generated/ElementListExpr.qll fd3a6fb638a38382a356b807acbbcb0bffb70fe75b827e7b46195b060a4b53d0 24da1239e70a7d95531784260af6867c62dca271246ae2c740d03231c329371d -lib/codeql/rust/generated/Expr.qll 91b1744d6b07e8549b94d19832dac9e18b70f54990b328b1872b8c73be202417 ed71e6d24ab3f0dc687bfb8a665552c05f848ce52d8e338899c1cb48783a778a -lib/codeql/rust/generated/ExprStmt.qll 40fd3659761005fe0de2a09e58d35b3b28203f8f354ef5f687e6064862eb73d2 c4bcefa928d8a82f6b9d26a6e4f42912114bd24a90ee5dcc24e7ec1a4c11dbcb -lib/codeql/rust/generated/FieldExpr.qll 5050cabcc1109f0c404a64a80cf8e595088b1dfd9c24364281176400436922ef c7562bc91fd7c3f7305100d146ebc84378e73aa76fd1b36c06e69070105c0401 -lib/codeql/rust/generated/Function.qll 133693679cd69f0c011d6aa779b067924e8d58ea15bc3f6b749cc3aa5d5e962d 5a18e3be5c7c681cebec762b2c2d3b1cb08c5fcc11ef422bf65c9b15fc82c893 -lib/codeql/rust/generated/GenericArgList.qll abc549b0a763d2f5a162794676ab8f9a2fef8a02c77dbd14467dbafccf261c29 abc549b0a763d2f5a162794676ab8f9a2fef8a02c77dbd14467dbafccf261c29 -lib/codeql/rust/generated/IdentPat.qll 1acf5c9a4f20930f33339904be534c3b64dc16b06ad6c6189c3561f3f0acd244 c5f03e20dd26a21a492766dbeda8896ceb00369cff91df566b99238c3d627a26 -lib/codeql/rust/generated/IfExpr.qll 3b68ac5d7741f566081dd8ad028f762c849d02e4f1532267a7660e24335bf08f bcc6b52c950afbe4654ccdbc10d578ca9e134597cc2653daa1832fcb2bef2ab6 -lib/codeql/rust/generated/IndexExpr.qll a8263fb60cb625712b3ca875076994d9a28796482a9fc8fd524610d3107f20d2 a837f66ef6d70dd9ca04ef39d4fff5077e03ffaaf6efaf93e9f6b38eae37b454 -lib/codeql/rust/generated/ItemStmt.qll 7ac07a294031523ae83b1600a2327bab26c7ebda5c41f040485f9b978a50e159 7ac07a294031523ae83b1600a2327bab26c7ebda5c41f040485f9b978a50e159 -lib/codeql/rust/generated/Label.qll 25121c47ad829d209bbd6b4388a8878b9ded1f25e5b9c0f992e88427b3eaecae 216e68ad49218a21466597afe2a6aec20982715642aca726235cb4075cbc1cb5 -lib/codeql/rust/generated/LetExpr.qll 377099647451717af698677ca7119436982354d4e038a2097bffe8f34ac5686e 6bd51c497bcf2a684c1e6a2515e67228b0146b47a65e8d922cab54faf48b0d73 -lib/codeql/rust/generated/LetStmt.qll fe3513e2ea6191deaee4a237adb97bf968ebf30503f95595da097efa18e871ea 67f80fb6c44d775d1bc97a0305a0bfaec57f652015d1e15a11785f57cb16bb24 -lib/codeql/rust/generated/LiteralExpr.qll 70684629cd017f32c220993f57ee4ebea0b9f6267fb61200e97a14a026a8b0e1 70684629cd017f32c220993f57ee4ebea0b9f6267fb61200e97a14a026a8b0e1 -lib/codeql/rust/generated/LiteralPat.qll 6cb250e374f6c3d2c86aaea6ad7baeaa40ee438b42ac6987d823edb91b757d4c f8cf9ef6bb6cd39d65c6eb905f11f79c65daf3d493e1240c0781be29c3fe9202 -lib/codeql/rust/generated/Locatable.qll 2d2b9a7cf26d6134b1e4a2047dfe99f09deb9231a05047d37b697c11ea91d0d2 dae7e0c66024d7f03a58d71ffef93cf23aeb629d7a21d36901c443fb29ff4d3d -lib/codeql/rust/generated/LoopExpr.qll ddc646e715dced161b60638ac36a7671b45ddd6245a6876d647916d41495faf1 864be7033c093a8513be05691f772f19f99b606abe510f810af5f004596c0c7c -lib/codeql/rust/generated/MatchArm.qll e4e129ac42537138a3f5d288113ee805b49a5c914cf44564e59be389e07d6eda 5e5ae462925501265237f06a68549d5a26e01864386d16d0e28a12305127cb71 -lib/codeql/rust/generated/MatchExpr.qll 74966bd8286aa8cd4238c5f6964b5668d3f95fd47a56fcece47fbd0abe3a8376 9afcc11f0af8e5daee2746226b2c39bec0f9cbc74d0cb1bf567a8ea122409331 -lib/codeql/rust/generated/MethodCallExpr.qll 187d28d3869f5b44cca8420948266e8370ca1e3e389dc3317dc24364c8d53088 7a4744cce29b53ca04b6b2eaf4fd146b9a64e3f53151e5c6cd1085fc35d50823 -lib/codeql/rust/generated/MissingExpr.qll 34cb27c927a62cc06b0fe26a085e2658abd5019e549c3e01b8273d99e9a9616f 34bf4cfbf3659b600b4aac121f7c2d6da0b00b61c3002f8fb1d554c11968c748 -lib/codeql/rust/generated/MissingPat.qll 40fa87d446056c7263ef5843fb13fe60b644e169a65697be4ca0b5361a8267ee 40fa87d446056c7263ef5843fb13fe60b644e169a65697be4ca0b5361a8267ee -lib/codeql/rust/generated/Module.qll c6007444c796654fb48fbe4a4596580f08feec2aac13932043062a170dd73f0b 0560c738dbee3937baf0f2ab661c8e4dacd69eb886635241b1ff90f2c0f4bd67 -lib/codeql/rust/generated/OffsetOfExpr.qll 03afe5637df806f4649fb2c67fdc4f048a2faab47f00e8320f85025d4a2fa933 4e5c0c98b0397f1388ac0c27ea415f594ebd591e980dd70590ed043856beb156 -lib/codeql/rust/generated/OrPat.qll 52e637c652f8caf64d2388a1829159d187d3799384cc3318e07785f518ff0c4b 598a11d067519bb7bb279d8f8a3ea85a48ae99c2974182636c157ba111b9605e -lib/codeql/rust/generated/ParentChild.qll 98033de64e7d2db6f3574e0220aad773d04170aed7bf2b97ed4d97278f5837c5 5d9cd7f051f89df726af0fad1ccf8e2a456def82418397155a33858c58962364 -lib/codeql/rust/generated/Pat.qll b035e7866ea500232421ef9f79e7e60b90b9c27dbe47d25758548e94750d2965 adf701ad35559ea7d0284d6718ad507518778dc78100f48063e6a6bf3705c91f -lib/codeql/rust/generated/Path.qll ffd26e9e5e3878f374bc1163d6ccb47072cc1d3abd937d0206bf1a7c62c843ff ffd26e9e5e3878f374bc1163d6ccb47072cc1d3abd937d0206bf1a7c62c843ff -lib/codeql/rust/generated/PathExpr.qll c27d872e3351d92f8f105c6a4ae2f8f447209a4a139e00576986e641340d9e7d bb5bd1fed0d5caeac3c14d57ca8ee5d3ece8938aab753d488ff475bda8393229 -lib/codeql/rust/generated/PathPat.qll 8aaa7fd5f3439ce567f4d6f729e3ba1e98ab24255070b7d4ba7bbde6506d97f5 10bd82ea0e846c96afa34cc6e467101a490a1191b4edc29a7154a6d93a467f1c -lib/codeql/rust/generated/PrefixExpr.qll a3f6cc62e5a12acd253ea59cb6957fb7157aa709b888eed3cd974eb88e1346f3 830a5c729ed770df6247dff8adacce5dcf7f3a06649177ec9542e032cd4993ce -lib/codeql/rust/generated/PureSynthConstructors.qll 5eb1fc4f6a04172c34ae31e4931e4bf1f8b72fbe414c5f644731a45372d13573 5eb1fc4f6a04172c34ae31e4931e4bf1f8b72fbe414c5f644731a45372d13573 -lib/codeql/rust/generated/RangeExpr.qll 1678fa524166552a36d73cad9d34213309b1989c1e427bc990b5c11a12588ce5 beb90978cea26a2ec9d3e8cc7b0b6a728ae952212ada5d6ad19319120f3218a8 -lib/codeql/rust/generated/RangePat.qll 2e96aece5ff2300659c2729c7037f7334790456d86160dc1e16ae99545c6ed0d eae4f95f9eaacbc2319ee67556dcc164527d82a6eaa5af59f6efce9caf3cba3b +lib/codeql/rust/elements/YieldExprImpl.qll c5843bfef6a8a736a44d5eba28184656e206b408256e37e6ba49cf47f12cbc02 d48f6d3617f96af45158e9cd3ea8e628e47e32e2af5872655d8ae504eaf1d351 +lib/codeql/rust/elements.qll 5bf8672db5e314d397be3dd79bb18ad3cf23e2dbf978777994b09c7db6c2cca0 5bf8672db5e314d397be3dd79bb18ad3cf23e2dbf978777994b09c7db6c2cca0 +lib/codeql/rust/generated/ArrayExpr.qll 317af6184126f50f4668d668a448cd4a5fdf217e43f76b4520caf7e1b6ca94c5 7506b60b022812cc60c398f4eb83a621ecbc287d8566c19f17bf55d2d1cf3d5f +lib/codeql/rust/generated/AsmExpr.qll d89faf9f8365c5385369ad59310de2c2885e4f525fed2a3d67403bfc09c247f7 1a86c21eb70e313745e4bdad4be8957f609a430ba242b13911f0fb3528489793 +lib/codeql/rust/generated/AstNode.qll cbbb4499b45dafe865e0016b4b663ca2ce064a2d9280907a6e66a61493cba47c c976ed4b382d722947109c521ed68927b71b34cecb8f7595b375e835ecd8b81d +lib/codeql/rust/generated/AsyncBlockExpr.qll af00387547414549d6eeba390637ba467f09e9e86bc98742e431abf14ae6649a 22dc881c7777359af797ea8cc395b8abf6e21880cf9b9d827f03511680b3f743 +lib/codeql/rust/generated/AwaitExpr.qll fec09b5691a85f4717cd01fc442aaa3cd85cdc4be2cb5c5a55f56933380f6bed d64e67a8085e3a615e924e7666b37d38600fee429ee71ec3f27009b7b23616e7 +lib/codeql/rust/generated/BecomeExpr.qll dfcc28eb656e0e8b6caca93e450664f3f71eab620c1ada920df859dab1d114a4 16cbf074db855b59612422fa42a52c040772bf6c2d309ab096f1acfced635dbb +lib/codeql/rust/generated/BinaryExpr.qll d5003c1461863eb0df8b3fb3120d3bc6fcc2ff323b2b2233616cf4a4034d2554 b233eea9212b726c7c1da1a56990abbd4c8b229433848e65dc503758503c4c75 +lib/codeql/rust/generated/BlockExpr.qll d220ab832f35c483585436f80a8451752af356830644e80554d5df461beafcab 089e5e6bac6505a18b4b7ef6a50bff132757f7e27474fbc982e3befcfe2269a2 +lib/codeql/rust/generated/BlockExprBase.qll 686f664276725b7105f753494936bebee2955cb8170ed4d0ff07d93a7432f8ea 9a563a8e29544327ce1f50cd8aa8feac456623681cdc5f22b5efc58a03757f5e +lib/codeql/rust/generated/BoxExpr.qll a4b9452caef9081a42c7f7ff301c673badafe1ea63fa6f3f170a3c311c56a5c9 83b49fba62dfb346ce98cbb706c28d494742bac354c7050e4db94d979f6fb8ae +lib/codeql/rust/generated/BoxPat.qll f4243e677e604e7879c0ba48be72008d7640d2d1afbe26750dbe4f7ec34f1f2a b7c12a41c6fc6be80e48fda6f670bf3a991288741ae36a8720f3548e8336a4be +lib/codeql/rust/generated/BreakExpr.qll 28d51c5b4ef0e0b3025db592aaec2ea4649f6c438f0e8e84cc33aa6bef6dc78d 39371c2a7b329c0c77f246387aef15ffcb5215390e5f8b1e2f2f1eda92c8232b +lib/codeql/rust/generated/CallExpr.qll 17167c62b33bedee9b5254d9abf6e6cdeef2193145928aa298a566532acb2e74 a5bf7d348527345630f3376b17445fbf5f0d245ba224c359e57a40abdff4cd40 +lib/codeql/rust/generated/CastExpr.qll c20ad00e64ff66672111aba7470ce32dc9d0b415119378acf8f3ec1be4108bd6 372e8b66202230c59d2efb5109a320f9636748f6f43eea44e03854047d55f218 +lib/codeql/rust/generated/ClosureExpr.qll abb4cab3b3ffd2cf0a4c774fdbeaf57736ed68979da3828aef7c8cfa0a1d5fc3 3f29dc117b2a142b678455b5a0b5f832e2bacf82e7c61c34e46f996db8b7c696 +lib/codeql/rust/generated/ConstBlockPat.qll 725277267301abdf8c235cf0fc2726c44b8e49c3d2c83c7bd4099eb00602791e 653f70f3a12f00fddd4e8d3a80eca237a7aec5911c4b31cc38738951f7690358 +lib/codeql/rust/generated/ConstExpr.qll b292d41acb88bf413eb4d9cc80477a928bcc7367c9cbf353067e88e7df23fe0c b1a0feb91831ef15acd33d676f838a46a162854aad0e1f9c86319131e955c588 +lib/codeql/rust/generated/ContinueExpr.qll 6c1587f3934a3e6dbb0243fce4a436a8ad26ad023a34e6c354a18c02992994c2 3d3213a0e1af3fde1cdae8894fedf5789b5aab60b9163f9402aa690c930a3620 +lib/codeql/rust/generated/Declaration.qll a2f37db5b62ca14a4c7e943434919281040c0152a3701d31078135dc1fd110ea 51d9f4e17194b8118b644a7b938f10ae9d97ddf163bc36b2f3178eadb4b886fe +lib/codeql/rust/generated/Element.qll ce00a294bf400f0db1f972d38b5520ba8b91f20e76fe8dd11832d6278733e2c1 d6731dc053869be943b24a8c66a0999f7677c6b9f5b592baf39432cc8113def6 +lib/codeql/rust/generated/ElementListExpr.qll 890c6f8e968ff56811d1e8ec3366440562fd9f8da936f1216e81ed766db136d4 1ba5a5e037454a2c5785ef3b29c753735cc1c3e4329b49c96479ae3c148ef998 +lib/codeql/rust/generated/Expr.qll df14147120ce62a416ebc1cffd5a3b97abbcb1b1c149a7f6848eed2432ae063d 275079cfb5f8fa3839cf1f24a38903aa147e5b181d4e0193d83d01a92ce7cc72 +lib/codeql/rust/generated/ExprStmt.qll e4bf3831dec6f12b32ed609c775ed75d21180562a7b6a1e47d4c80494dfee4ad c0e676034335c16c2dda024e1ddc9df569d1e388962a63be2b14ac4665d8f0b7 +lib/codeql/rust/generated/FieldExpr.qll 32167f33a18f6fc793e4be3a51966ac8be73bb5048aba986f14105d78e21028c 9067a636744419b4987ed0856ac359311e604ee37dedb7b763ce996c97d5890e +lib/codeql/rust/generated/Function.qll 771880b054803a9c8335e081d9963714a759f2c295225ee465ffa31ebb738aa8 79770dc5ee3d3c8cc88d5b45f634bea74c449c659dd73eb77ae400e856545a41 +lib/codeql/rust/generated/GenericArgList.qll 1ca225c0893881f96446ad2830f44da785edaa96fb71a7f41e84a6825053cbbb 100baaeca4df38f0aed54c2120253b569f9a822a57e5f78de798e776e9f48ae9 +lib/codeql/rust/generated/IdentPat.qll 91bf695440de3c4ded6e5441a87c7b1ff49fe1adb34861c7effeb21438675114 50d22e158c036a3d4c24c26c54fda1adb1782ac4916e16bf4080dd53c61a19ac +lib/codeql/rust/generated/IfExpr.qll 2b22d5924aedf234baae54c590d48a72370513c237a034a6d2612d8f8be7d481 a0477f53c3c634e4e4cc683c0b0722846f26594eb7875350fcb89a0518ab2ade +lib/codeql/rust/generated/IndexExpr.qll 0d8d5136061a568cd6f44cc0a8a496772d8a862a8c05e23c5193d87bdea803be 9d9b3a4fd964d65fe14232108e4f2cac8c401edb64ca64b7465b0fe8f60f2254 +lib/codeql/rust/generated/ItemStmt.qll b437fbe126d65f88743ab35e9616cf068a3e0a755b23351e2f6aa6caa0ab9298 c77fa5b79350f0d3a634f22ece4e3ffc5f233314cac550fdcb02d34d2d898251 +lib/codeql/rust/generated/Label.qll 658dab2ab8e2b28dae4edae0771652cbf7f248cacd2f04539d33b620c6d25384 a99677a9a04d5983e56cd632d099ea259b9645053f8597212079bf6438c39b31 +lib/codeql/rust/generated/LetExpr.qll 349b58fc2097e9f19895f87e1bd7fc99ccea5cb0d50377c91ca8ad14f4f8903a 42e66862935fe93eab638499033cfb75696daaae405b324bf970a412dddeb0c5 +lib/codeql/rust/generated/LetStmt.qll d8114df67b697d4834fe0a98e8e1fd3e8a9204a014c5dd9ba396708f283a3d4a 6f226c766c338ceb84211815beeb29a496bb4b25bd7bfb4a22d8c5a8925fa227 +lib/codeql/rust/generated/LiteralExpr.qll 96667d50b2f50e314eb8022c72902ccf3f2938a9651d7a6a9d8edcf8fc174595 9238250c8f5474850da053181c48eab7fab5dd12837b12ed79650c636d26f2f8 +lib/codeql/rust/generated/LiteralPat.qll b1968ea6b50e6ada183ca2187400ab72ac5d919fed15a4bb5176ac10d7588d07 ce9a0eb8ea4ba89a48b33abe3a47f1d1b0e6827ad4e9e7e67e20787b4f5b4e71 +lib/codeql/rust/generated/Locatable.qll 989ee9254d136218ba77b96ac3b65c308b4632b46e1f1c8422e11e4d15004393 8c3333a9ffb12792cd9ceb53de82c984e6bc9a99980ed730509bec3fe1faef6c +lib/codeql/rust/generated/LoopExpr.qll d9949923fab46e7cbbef37da0ccaf6236b79dff06839db1a86659c36ed719814 8b61d902d1486d080d7d96d49de2f0b04b4d204d4e638e5da697d2b85fcaaf98 +lib/codeql/rust/generated/MatchArm.qll c6139a5c48506b527ce4e852433f2a1360e977c4c7c1bcb5f97e90549cc796a6 d86039b0d07dfea30c26c660b4e021cdac6ef81d5ebddc31b22e01cc562faa94 +lib/codeql/rust/generated/MatchExpr.qll 0690bf08e06b4e5131b928f76a5a5b41c3a37de6b51815f6cf44973195430c35 26d30d07d4edd2f9a14ec34df8e6afbd5427da6647897a3df72e8ca49661c1b0 +lib/codeql/rust/generated/MethodCallExpr.qll b3ec21c6f08074539db32082852718c8593d305bf7e8cd69644855e02573dd4d b7147ec99730c7840c45a84c7de09bd633ceb601295c8c9015ac4b273680f972 +lib/codeql/rust/generated/MissingExpr.qll 2eb28f0f39732973aac23f270931989611c3effe7bc4ff760980b636dd7775dc e31170fed5ae35a286559cb7d4ed51c0b962c0733069d9b72fe9ee8878b3a776 +lib/codeql/rust/generated/MissingPat.qll 2c5f913ea7b7af3d21102e132337d3b6591e028d5a5ccf6fc8332afe6116af57 e49170cd0e9a27212d6144e65404cfa8d9ce0a4f1f9f1a3490ac87ab16b86796 +lib/codeql/rust/generated/Module.qll 83f940c78be74e7c754d1947061375d2c47726d71f20da89bf81656550c13357 72f79e374f05c5f39cc925f19e2b7fb951b13be26aac483e6abb0c57e7a7bbdb +lib/codeql/rust/generated/OffsetOfExpr.qll ea0d17b250e31e8510279bc8a10348a9a06e168af85232f163b367f99241a3d0 ce8238f8b31708b4e1664cdcff5f9d7e90fc7f6cde809d0d9f979add512b54f1 +lib/codeql/rust/generated/OrPat.qll 41d9098a946c836cfe142d06b92193ba63aa4b2a97a9854034827f2017657fba 4deb8e35116aae4c1268e8a34c6871b90206cc4cd889e8bd2552e43d3d0ef997 +lib/codeql/rust/generated/ParentChild.qll 820abe0506ec7199cab9638d09e2a5bdf3bf5b586094cfe7367ef91a5f837059 0e22f96ff9169403d51fc420e7b3b4cd45e257577625dcf63200f1e32f8c8cdf +lib/codeql/rust/generated/Pat.qll 4916b1ceec8946e4eedfc3245e6f88eea71b60b3820624d47e2985933c58ffaa a489a10d6fd57350d4116a0b2a47a5191bd7f25d74d7c8072eed5eccb20a2f29 +lib/codeql/rust/generated/Path.qll 01a601bd639cbbdd8f8d7498741d203e2645a6e318c1b6e7ce9be7b68e941579 d593d21e6311620d95cd5c78a14d83f6f68235d9a79f29b786552bb83c44f457 +lib/codeql/rust/generated/PathExpr.qll 19d838f4f3c383260824f93ddeaa33952474c6e3f6b78bdcb0e7d716aab8e9a8 f3560a67df0cb0201f54e07af53db7288bb29e847b44fa509c900355a95462be +lib/codeql/rust/generated/PathPat.qll c6588a1dd7a9eae8a47d25d12d9e7cfeb0c0f53959f524ce8b4e0343fbc96c7f ad1e312590c7b13657c8527bd30e1dcedf5da81124ee27dbe778bd067e252039 +lib/codeql/rust/generated/PrefixExpr.qll 536e297b1e20724912858808f1a7beed5d91de8fbe49e753bab005403ef9e877 249d1ed6b82927ab3d9faf627ca11680b14b17413c056cb082a2139d963a278f +lib/codeql/rust/generated/PureSynthConstructors.qll dc03515d678ba052c2ff2dd9f0883e0bce54cac740ba9a15e5173f292c1b6971 dc03515d678ba052c2ff2dd9f0883e0bce54cac740ba9a15e5173f292c1b6971 +lib/codeql/rust/generated/RangeExpr.qll da855688801fb3ae8a2d14534d3995128d9271ea6f802c6ae88290780755a138 9a34019548931e840af4d4912deaa2ff32a1466bd416bf8152207991842ad08d +lib/codeql/rust/generated/RangePat.qll 8e610b20f098bd1f8cc199e435dbb351cc93f96e1ca24d07305b27db8dee1d3b 558408935e3dc8f79fbc9ea8a0984d4d60daa18de9d604602ea588d0c5e73761 lib/codeql/rust/generated/Raw.qll 358a5b315ed73e67446de7d4c32a6430832fa7cbf62f2be3ee0100c494ff3764 6b9628a5e9a8d6d953f87d332520652654292932225abc4d60c6a1dba1cd369c -lib/codeql/rust/generated/RecordExpr.qll bdafc10cde139617b67cb46bb205f99bc3fc0b9fd8634d304b81b524b9592aa8 2826c453c72416237467b08cf9ad9421b03203a8593420146dad8e1e71711b8a -lib/codeql/rust/generated/RecordExprField.qll eb06236fbdb856169dfe50ae1ebf59384222de6670ca91c34eed647823dda4ce 750bc7ab1e156db3927d6dd206e9d2c9388519425c0e8665afd322a6594aa5e2 -lib/codeql/rust/generated/RecordPat.qll 20b62cfd4ee4e911ad4a2b8e5762da2abb7ff0c1d7f21cc6f72b1ebcbebbcd42 c0502e6bfc637058524cf7369c63396ca5440c58e5e91600fecd35ca5299d86c -lib/codeql/rust/generated/RecordPatField.qll d862245163667ede676e407f109ad44e4ce732de59ea9025b696dd8b9803fbef 60166a21d7deee112325bc301b5893cf3072c4d8d095dbf9080cb00269b71d40 -lib/codeql/rust/generated/RefExpr.qll 917d810bda28f3f4319770ae5c8eb4ae40887f3c97669fde072078d3f5536114 7793027298da1fb787f8823146507f1ccfab046977cc71743045b3c2f3b5da02 -lib/codeql/rust/generated/RefPat.qll 1a0322f152758edb6650c530073cc6aead3d81ee51310e2d99936e10b56dac6d 5201f6455665c655daf6b9f686c66e14f9994b4d83624f0a478837a9a420cb0f -lib/codeql/rust/generated/RepeatExpr.qll 5a33101a5e2ba973beafe0d933ad5ca238050eb6f88638826dc37a712c05afaa c2cea180b7c068a3483cbda73168effe762ab2aa56bb8c590c8a15b6e54961ce -lib/codeql/rust/generated/ReturnExpr.qll 3d8fffeb6420a35d78f4f2e2e3e4ccf1c8454022c50395be2e8446f29740ddfa cc9dd916dc18114469d2eed9b82f83518af0de78797ad98777b29a5055bc77df -lib/codeql/rust/generated/SlicePat.qll 73dce5e310068357eb41e8c51923ff5c4054548db27987cde85735ddf071fc44 67fa0c285c110f18446689d1eaad9e82896df79d62999ad3f788fc295fa1d2c3 -lib/codeql/rust/generated/Stmt.qll 58b010f32956f2736a7b9ebb43467ecd03308a1f27c99e2b09bb925c349ac859 9859da4a4aa29b4f7ab47313b2dfe8baf9717a162fcd8bd62a7cbab4afd1886e +lib/codeql/rust/generated/RecordExpr.qll b0f497f4f39ff1e5a5f8e2b62407c54348f531b1fd8dd87966cf01e1677bd5c7 74790b0b345194a4835a59a970d849b1b2b12cd280e572121d7c1a200eb07466 +lib/codeql/rust/generated/RecordExprField.qll 009312ffe68ed00aad56366a41cf0c956c3f261e49f64ae811d7e05bc2ba050a cdb14fe842e9d7cdef1c450b652294089096e60951cca31c906ed9de8708ce6b +lib/codeql/rust/generated/RecordPat.qll 72ce89d623b89e353f5f0f18fb838d0b562e09c0bf0ed5666b5c44a5cb4d3473 6a34dedabf834dc29e60b71f1030c360d1c80c094e4410a0a22f262b0f0a72a4 +lib/codeql/rust/generated/RecordPatField.qll ee39619339c86cebcefffd6a352fd758dd2c60e4ad9beaa99ed040070d13f6cd 45bdac39b3d2df4e1bb22ed08df4c52b72467e3a29464e20fdfaa7531adc920f +lib/codeql/rust/generated/RefExpr.qll 80151fe4617a9ea9675493c52a07eb5c502471e8707f9df577edad6ee3673834 65140cec0c4b094a6c7daa327548a51c2b9504b35e51bf8205c8633b61d67109 +lib/codeql/rust/generated/RefPat.qll 0b93799bdd88ce310728b2255dcbdc677cb6db36be1297a2e9ef0628e7a1131b e22021242e7277f7379d3072a05138978ddbee13d829c00ca0c5a164cf698798 +lib/codeql/rust/generated/RepeatExpr.qll e5d6531a220d2b9fc4b2bcc2c1de37451c04b779a3ae6c981d14f8d9179cc1a9 8081e99f537b9b6e402ef7d913e9fedf686503c39e4ad2f80afbb257a312044c +lib/codeql/rust/generated/ReturnExpr.qll 1ddb28ebc78571ccdd7a5041d420ef13104f3d1234fe8cdc69ea78988ea2b23e d2aae6ad277d15b8b72306e5b7306d704b6802e8af14b962d718764adc7c99d5 +lib/codeql/rust/generated/SlicePat.qll becd164fa33a4011492f9c916064332580c48fe05553028ef212830b78462663 d41ed9fea69f6be42d16e65ffea007c8f7a868ba78df68a8963ff521b4c49217 +lib/codeql/rust/generated/Stmt.qll 21d2d6ef43b33c284e5a79dccddd06b120b18ca9fc338e1dc1c41e93d2d6aed7 6878407bf22eeb5fe8cefa391abc5eddab14f6f228150a6c18e48e2d1ef35498 lib/codeql/rust/generated/Synth.qll 69415291e37195836bcc6810cccfdbacad4e1528bb125e26d2cc6b53daf1666b 6c79ab425ea2e132a2bc0eeea4f9f62cf3e259e911deb0c02c9fbdd56957e291 -lib/codeql/rust/generated/SynthConstructors.qll ff41f7bac5ae52e0eb4db378ddd389d65209d927046743852071650b86b4066a ff41f7bac5ae52e0eb4db378ddd389d65209d927046743852071650b86b4066a -lib/codeql/rust/generated/TupleExpr.qll 0828181e2f1f1f233598eab367688615356f6b91451a40f8d812d247d93467fc 2473c52d3dfbec6c8cd66bd439c85959e854f617edf5afe545252a24304f2f2e -lib/codeql/rust/generated/TuplePat.qll a1b22c20ca02497e9be8c6edaeaff214a669ecb0d2493890e79c28c485f512a1 5cc082ea99de61662b2d4c8b59f7a833236e7e448943e8ee894ab6066cc761c4 -lib/codeql/rust/generated/TupleStructPat.qll 089563349c9866f5703e9d306ba2a475d7d4002e7236dbbf2feeb89290b4d24c a77842d7262a7d19b175f239d1ee6550b3b66a4efe903c5112bb82c0abd7b05d -lib/codeql/rust/generated/TypeRef.qll 62cda2a3bd01a8c8356f11e5deb38ead4a8af630df27d88b8f60b5458d263527 62cda2a3bd01a8c8356f11e5deb38ead4a8af630df27d88b8f60b5458d263527 -lib/codeql/rust/generated/UnderscoreExpr.qll 964b77ddae265ad51fd03fcb7ef008fcb34eb5ea1a7ac0cd06ed84c1922fc07f 964b77ddae265ad51fd03fcb7ef008fcb34eb5ea1a7ac0cd06ed84c1922fc07f -lib/codeql/rust/generated/Unimplemented.qll bcf63c2be3e0f7b88704a76ed182616101cd4b317f539ef5a65e5a4b87fb6b39 0e3e0ba85e03f327334b752c1dd1aa82b71bf1601725fcc071d93a29e40e1188 -lib/codeql/rust/generated/UnimplementedDeclaration.qll a6eb4e61be018288304be010e063b68039a97f2cfe19e7049d3d54c65c88e9ab 662da5c38f5907d1f0f9990caca2114bf5e3b179591104dde777ae67262815df -lib/codeql/rust/generated/UnsafeBlockExpr.qll 52edde0daa57fea065f06537db05b5d442c63b3fa8777bf55ef2b2106c228ee9 52edde0daa57fea065f06537db05b5d442c63b3fa8777bf55ef2b2106c228ee9 -lib/codeql/rust/generated/WildcardPat.qll 84da49dc571151b0c5e0661426546a53d499ce37fe927ca07f67c4977dd70e16 84da49dc571151b0c5e0661426546a53d499ce37fe927ca07f67c4977dd70e16 -lib/codeql/rust/generated/YeetExpr.qll 0e673204c592b6025570098b14e0378a0e0c68d13be9217ce1543f2781667d42 6546ce98d42717d4e6932e1add628591e488d063ef2a79bf093b831645342e21 -lib/codeql/rust/generated/YieldExpr.qll 8f28a069a4a97d17a10b92200766f57ef0d372b88dd650f909167c7b3d643cc7 a0d8578c4f69e042788b7e1a8c066663541f1782589ea7521741d0b801ca0661 -test/extractor-tests/generated/AsmExpr/AsmExpr.ql 009b9c7470dc71fbd8bb75e17b180df196407550f0e4ddb9b760b58033c80245 03c2a6c81038d1f81058cf9d59a239c72db7f08e32faf694dbd976e93aa6fac1 -test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr.ql fae7f09b653698aa78626a268711bbd8336c9d6572ab9fe85967a8bec69e33f5 91dd5893cefeb9fd45dea49962dfee5a373be790f5ab3569f79d9ffa05613033 -test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getStatement.ql de0941b5e2fad01300b77ac6db85ec37bd85b7d508b01e2b8a332c1ab9f6e787 7f9bdd81447cbc5a63b09c41a7d0edc15f826f7e672c518dc6fca08ae0107639 -test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getTail.ql 75f59d680d0f559dfc586306af2748c59c15789514a4ebca9f908ccc1fd63674 1a9f952485846fb93fc0afeabeb07845fa5c026520a0542302f971cb6b4d8e3e -test/extractor-tests/generated/AwaitExpr/AwaitExpr.ql bd2a401989b0f452b448fadd8d456dac9c46ca5ffe3775e5ac46e755782a4f20 c1922cdd6995a9c63eb841abf09f575bc78ec0be222062034b89ff63649a875e -test/extractor-tests/generated/BecomeExpr/BecomeExpr.ql 5661cb0d7b2285af31207232de2b685e851e4d70224cb16045bc0221c107de43 1fd41642343791d9b69e0c633ea3318c0a855f51f50062cb58225820a7540d50 -test/extractor-tests/generated/BinaryExpr/BinaryExpr.ql 3db360cb56d154f060175aceb5d14b14f51855b6b28ef3d67fb76b20ad239c01 4f4ff1915cc7f705d1ab5d6e507b28989f7ea19a7f76fc5ae6fb9dc11b31fcda -test/extractor-tests/generated/BinaryExpr/BinaryExpr_getOp.ql 44e0664654d91130933e9c17909dc780866dc6e63b241079751f0356b8951ab9 97032408c8efea44a635b487365ada5d0564ec34c9d79901b6bc64c43a4962a6 -test/extractor-tests/generated/BlockExpr/BlockExpr.ql fd1bc52af4bad96423cb86b1eed02595e139e533f48533299e32b7b45360b47f 021b58c6e6cad40cc0707d0a78fd8c4ddbc529422d3bb9ac62c490b2abc1bb00 -test/extractor-tests/generated/BlockExpr/BlockExpr_getLabel.ql b02c87bba8bdbeffab05632133a17d36b355624d7521083cc6c0b02f88b2ba46 91141e01393ec04f4bb1f86373f5f25c837b13865ab540419050e6c547cc2690 -test/extractor-tests/generated/BlockExpr/BlockExpr_getStatement.ql 4de30a1e3c9de174688b8f9af57f72dfa6d9a2e3b3ab1b972ee69342ebd7ecad a6948240014d27fa9af7f56859cff2f8f7b44097f0bc47fbbb91b5be35e11d91 -test/extractor-tests/generated/BlockExpr/BlockExpr_getTail.ql 6df26e837dc4f8ecf6dda674dfc89b2dce25da5dc3301beba461c5c1e1776201 b4e205949d06fa355997f5a399ce1f7c381023e38be4db4ecbcec676d8ebec69 -test/extractor-tests/generated/BoxExpr/BoxExpr.ql d74e58c16466ae5c08716eb027cb562ed50a96965fcaee3d0ebb64f1c9086c7b 9b01b9343cfa07e76de9ed781a5c03532fc740c8f794147d71815c98dfbcc076 -test/extractor-tests/generated/BoxPat/BoxPat.ql 1a5fd42309c669b3790a903d15b53d83ed5ccfa82409a1abba648b6fec39343a a4086b69da34827b14b63eee15eec3b951de14e941004024324fc00ec8680bc4 -test/extractor-tests/generated/BreakExpr/BreakExpr.ql 2897243d4fe6e0975f7621cff7a44609f6f0d015e77bff9c73a0dca32e3e7b44 6a072aa7f6ab27d6f6e887e7fe86213668c1bacce6cddfa2b1e65afcc13abce7 -test/extractor-tests/generated/BreakExpr/BreakExpr_getExpr.ql dd9b5ac06b3677eea02bc3204e3b23f212f29c418343a052befd903e622ffc32 f66a646c7efcb326ff70961df623761d342af4134677245e413cb9fc603334ab -test/extractor-tests/generated/BreakExpr/BreakExpr_getLabel.ql e338d2582b191d4ae1640504262d5a0d5ed23ddf850b5adfffb679a057f55e5e f57e618dac8c79d70e520d1508e70032662db8e4fc43b319365e195efcbdc847 -test/extractor-tests/generated/CallExpr/CallExpr.ql 2b91a02ad6f2ba6e200b2797dabda4dbcea08c7c2836d0a1be4bf47a7e7d786c 6830905e8993836f258c84b557f0f044dd5ebb32dad8d74089a903ca0d820eb5 -test/extractor-tests/generated/CallExpr/CallExpr_getArg.ql 0c7e6eb1bab788050c51ae36b954925c48618c5d6fb3129522eada6d911288be 251ae5a7119a2cfe427650c38e7df5d3c0a1711aa7a2ced21f5022798a5088d0 -test/extractor-tests/generated/CastExpr/CastExpr.ql 6028e49e8788d424ac83f7e70aca394c72834789d61517a26b9d6901f40ef734 a3fe7712c8d97fee8aa7505c3a2be03f296f8032207a24dd44f6dd91a463a068 -test/extractor-tests/generated/ClosureExpr/ClosureExpr.ql 75fd05fb47e90426745d6c8ffff35cbcba3fb0792317155d0a139b7a4b87dd14 865a776a3312ef5e93a9a857a6ad7d66233e58547c4fa3ce924dbb320a324e2c -test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArg.ql 48fb8656a350ba16cc3cd291692b542dca137587ee971999c439700c74e6dcba 5ff21525959142237ee1a32c9feacf331083fb40502df6ddf78dfb8d93caed66 -test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArgType.ql 34f8b8fc82e0c798f3cddc7ad1bb80a361c95da9d8a768fb787d6ffc3be1c755 9c14ee19cf74f516d201b8be72fe3496e425cfd42db223fb537cc92515e2b021 -test/extractor-tests/generated/ClosureExpr/ClosureExpr_getRetType.ql 43fb702201d21b8f716df8e128f1b7995604f5829b832a163672ab465c2fbde8 fc28c03768a514260ce0feae6d7c347508c4800054b184cb3f9004bbaca33fd6 -test/extractor-tests/generated/ConstBlockPat/ConstBlockPat.ql 9ca3cf0695df6e71ad7c308ded9b1085474c105d85ea730d98921543a14029fc 45d17bb933d54f2dc56c95ef0a74b6cc00493eba6db3aec2b9319972675ff331 -test/extractor-tests/generated/ConstExpr/ConstExpr.ql 644c34489fd7deb3790f9de131d958cd96102d5c09eb3b07bbf5462b3e90d253 025192a0bd742c16baf8b627f3b8216442a74c6497b752dd1207f572743a0f5a -test/extractor-tests/generated/ContinueExpr/ContinueExpr.ql 259d98acb2d237ac630a7f92a26256f1af92372a3ef5b5feaf022b9b42a6a726 bed3e1332d65736194fa758e4a91433785e9da2ddc31d56c29ad27a7df392802 -test/extractor-tests/generated/ContinueExpr/ContinueExpr_getLabel.ql 0fa15905b4c06382ab6bde50d28804d7b0af4f53229e69fc8038a77f190f7b24 2fb577cb92456371f5f056fed5a07998914a27f560d41da43fc3b94827436cac -test/extractor-tests/generated/ElementListExpr/ElementListExpr.ql 22ba315472cfc2ea9cbe6759a0e2a3250b696cca823a992539545690bb4db2bd e968c8fe3592f17a2b84ea6ae2607d860c93fdfc49537940cbbe71f52e59f09d -test/extractor-tests/generated/ElementListExpr/ElementListExpr_getElement.ql 0a327e668c653a31d98f64290db768f68383d103cce4354076a226df708fe982 50231f088f3d81abd66be0ab1bf7159f47f8705cec977677b15738897dba5342 -test/extractor-tests/generated/ExprStmt/ExprStmt.ql 037695af057183ef9e35569c9255625cb17b10590632aad4f9a917ab036a9b9e 8ded0651563b0447b3040303ad9e0b1bc9e2873ad5485ae4c6447f5893c77402 -test/extractor-tests/generated/FieldExpr/FieldExpr.ql 6d85c8b85905baf66ae1f6ed716e42530d814f86261d98eddceab861939227e5 5765fb0376978a9006e2dc175bb224c5c944f19ddf628a2b933b1bebf81015a2 -test/extractor-tests/generated/Function/Function.ql c49434420dbb6fc3d9e6294161dcd3d3b306fae5ba5c85b610e534b8b15ef74c fe02208b673b74eebed92b5cbb3a8a06c31c0681eb28f3e596515663f14fa9e2 -test/extractor-tests/generated/GenericArgList/GenericArgList.ql f03097d3a9840ba08efa367d9da32011da8474e078eb13e14dd8a17955689887 57b9934868d324e7e99e9e79b8c3e2a5f760ba9ed6bed98b537dc3f5580253bd -test/extractor-tests/generated/IdentPat/IdentPat.ql dee6892ebf23f374f8e0403e7f6c4006f958159ecffc96dde8e4244e689ed7b4 0b48b337bc9ddc184ca240e3aafd9f5fdcfb1348f0a4e80106d4ce6541567f84 -test/extractor-tests/generated/IdentPat/IdentPat_getSubpat.ql 725da30485e43fb0c42e6f888a14eba4e2f9d75cc5144d2c9831ccac5eb10496 e680e324500a34d3c70958f9976f5e3643e3403475ef57ccaf6d7a402b40f30f -test/extractor-tests/generated/IfExpr/IfExpr.ql 4463607934fd504a6b2d65829d8e336308af6908cf12387fe8bbaa3c8c5360bd 28b5580a4e628286023b5d0de549d087f0a4224ecbb02bc7b3197d8f404b5066 -test/extractor-tests/generated/IfExpr/IfExpr_getElse.ql 4b4f3edfd0ed419fc580f3def6005760711874cc442c42ea817d70053ec07fca f97f65f91aa3f4967a2d3de836235d9c9a15f424cfced79d84f2580abf2c6077 -test/extractor-tests/generated/IndexExpr/IndexExpr.ql 6cfc282e84f9844630ebdb4dfc60f645d18a737d9b0e9f014c08476c935a92f7 86a336ac0193f0d6cc6fc7427b0423867a10323de0f95cda88f76a178c213430 -test/extractor-tests/generated/Label/Label.ql ba8cbde90392eef8f9faf6177776272dfb000abac260c6231fb00bff46ac1a39 4718da4da854e89513758c964f11117e329ed00e548e14890ec916c93500c529 -test/extractor-tests/generated/LetExpr/LetExpr.ql b311fb10d3a65cf682ced02aa4c9b589a84cb92adc653fbe630d471d88ca5f8a 3d93cc0cda8a6f34090d3000fee4a14e31fcf0fdc4d201a8d414e27cb8b9e4f4 -test/extractor-tests/generated/LetStmt/LetStmt.ql 842f58d8d744a567c44bf3742e4a9146339184903e0e119506b17f2958596bee 4900bc11ddedca66c8992b6384cd7bc1ae084bab93452bbf54e76b2e4342e46b -test/extractor-tests/generated/LetStmt/LetStmt_getElse.ql 88bd37786d0a738d2cb0c861a2411236d9dce09b98ff050b5f03b0888ed2f521 622d96d1e99fd174c284b7a3f05eddf30faf667cddff2eb942e01128488b398d -test/extractor-tests/generated/LetStmt/LetStmt_getInitializer.ql 6e9a36a2a226ea0df1f01886bbd4e14997eb91f5b9422e37ce4985fd15a80622 ffbc3d9278e10aa78304cbc8876d96fe678a1d2f52ad170f651f842d1787156b -test/extractor-tests/generated/LetStmt/LetStmt_getType.ql 3326644b606a846afbd2eaf8ed4223eadb0061e23e953d085d2a3df0935ef534 c414e5a1f927779249a26c370ba07c82c99d489cb65f984003674b288a690109 -test/extractor-tests/generated/LiteralExpr/LiteralExpr.ql 9fb9c6336d1e3a657d988ffb53a43ce66b8403e46bea05d73d546ae774a647bc 708e2878eca3e9661e8b0d54180b4a6f512d9233178e9ad5683a1f72fa9656aa -test/extractor-tests/generated/LiteralPat/LiteralPat.ql b7636712d6a5e0b76c0195444514284b9d81ea948d42f19e683e134fe61f8a9a 9836c86f457b967ee9f5dd06f3c3206131d41bc838df60b5bd0ee8369a9a88fc -test/extractor-tests/generated/LoopExpr/LoopExpr.ql 58dabe29df959b265fa568cdde1b589d65ca8649c8aae0f30079565c1106ad72 929fd3c5c4f01f47f926c49f1a519d415063ff23d5e1fb2f2e8f72bb5aa7fdd6 -test/extractor-tests/generated/LoopExpr/LoopExpr_getLabel.ql 1febfb8cff9b4f7ba1a658a2832238d2355f0f609778af33a3877e977aaf1805 6b9c008b041beb1c0a7e249b7f4a1bd5cea0885f82543a8909a23a7068f1f837 -test/extractor-tests/generated/MatchArm/MatchArm.ql bf1ff34940f8682e69450bc3429b0e071ae2e31b94699cd7579dddf6126f821b 83329681067983788ac712fd72299719e4cd1ce85cea613e373751e6bed05f42 -test/extractor-tests/generated/MatchArm/MatchArm_getGuard.ql 2e99e932536c510e846a51bab4f4e153b1731131f144c813cfadb122d619864e 312c619de2aec0753e4fa66e0500fa67a9982989420a48dd16e75b5a04f01b9f -test/extractor-tests/generated/MatchExpr/MatchExpr.ql c2bf8277536a02691229a1866fb565b2bd2b3ee651cb1d38e1581db19239e0b9 901d909dc00b9f86815f5794d2639dc7367dfd04030d2404fc1e49e9c5948b81 -test/extractor-tests/generated/MatchExpr/MatchExpr_getBranch.ql a66b46c591bf9ce084e74a8b9cd7a0af5ab5e12e166b59cff0a1cc73a97278c3 58f20c67202abed5a9d659008333f3807663f85367db898dffe01bd2ba9c9b03 -test/extractor-tests/generated/MethodCallExpr/MethodCallExpr.ql d09a8c2c0d277bfe4770822e79fdf94a2bc80e7b8bcd47361396a5a467aaa193 b6e9710ab5f6f2865c40cc155952e8833955f2c4c2cc5694f1008ffaa4d67bd5 -test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getArg.ql 4d975396405739dbb05a4019add804b92d97b12c8ead6107603540ed2b3fefdb c66bcda4342519fe2179e2cdd67ff6ddc7b3e8a475432b611f6de20578eb2f6d -test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getGenericArgs.ql 2226b4759bee9091d88a7d72be5d8f8ad43f17b07fdd1a1f64ae3da5aa6aa333 ee9e06838b879ce90b00d9289eea32fbda9c02e0074d306a2f1f5991956c7deb -test/extractor-tests/generated/MissingExpr/MissingExpr.ql bb85675a4b8a8118913fd91389f8282863613edda3fb804b917cce0675a8bb76 f2e600f8fb723f8f1bde4b0b0ef41f59b4e652882b5c788e8f6767822d5574e4 -test/extractor-tests/generated/MissingPat/MissingPat.ql 7a9ee46a40f6bfd31336beb6d9f6256fb8099cb6c052ba3131a95a45716224a4 619375e7dc6d95b8f1d1c958217350fc1553882f0f41ebd9f7a071d6947232d8 -test/extractor-tests/generated/Module/Module.ql 0afd07f619ee68a7f7270ebf9a4a6b7d6849448924083369c4101650854e1e77 b3239a1ebdde858179f4eba19e6c0cb3ea28b823f423fdff90f7b870b7fbf003 -test/extractor-tests/generated/Module/Module_getDeclaration.ql 8343f2b4be470a502c4bfdba9ef74173a440f45b7300aa9d517c2bd68ccac36a fc7666228fd1d3fe4fc63466aa04ee8adf62e9fe0008fd92ea337c8585a7fef5 -test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr.ql 579e667797cb071784fa4c8e4e79bffd8b7a797bc70a68054ab51950dbebf4f0 dd92801d8909d83be1f824a2dfc599551c11b63ad1e96593e22d3b43464d7cf1 -test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr_getField.ql f18b39caeb2d9410cd1c4b472c31477da8dcff27ad43837e57c679a8eda0ca76 bb30037b5001d78585df9d23d9c4c73d1f864bb8b3778f402838f18acacfadc6 -test/extractor-tests/generated/OrPat/OrPat.ql 51d9a0f5993510542a2cca353c1ca48ba1e5fb97a65bee7f02398cd90debaa41 06e0936b80a07a16e22fad3a3a541000f170fd5ad301a3170b98a91f51d09144 -test/extractor-tests/generated/OrPat/OrPat_getArg.ql 693d62aa9817ce7661b4698c2948bca6567c1376b2ae832f3020462e8ab8d2ee 1fd9809826c6f2dece3014299f1d70210c9f23e5eefbd04b1d6024e1ecd46209 -test/extractor-tests/generated/Path/Path.ql 331bcbea004111727f36fb9325b53bf1ac87cc62ffcd68659636fa68786529fd 94ca6f7c3df16779cf6b340099330e5e1122d2e58708a8ab2aaf0f4c78a92200 -test/extractor-tests/generated/PathExpr/PathExpr.ql 3013e12d5dab5c38c5b8fcaec59e78a3c6477f4edc8b01b078ecbfe7b8f82ffb 40427c9d420456174e1524ed046a5f445b9b72ca8b87abefb6c9498d4c809fc5 -test/extractor-tests/generated/PathPat/PathPat.ql 57dd735fe179cc1b91ee66b7849bcdd1aabe661762e88e1678cdaaa53526a10c 1734a45d47ee484fbf2cadb5620b28874a904fe944030a9e39166a6a25aa0de7 -test/extractor-tests/generated/PrefixExpr/PrefixExpr.ql e69ba11e6509519bf8cc527d21aacc330eba756a49b2b6c88422837aa0cbfe28 77424ea4db666f93de683562096d435dc88f141bfc0b1122187067299a775183 -test/extractor-tests/generated/RangeExpr/RangeExpr.ql c6e56a997c3543818ce6ffadabbab3bb233a099caa9e06e36519ac02f666dc93 0dcabe2df4c8ab3ba7b171cefb009a09c442ff71373f828c6c667bbb9eee2e45 -test/extractor-tests/generated/RangeExpr/RangeExpr_getLhs.ql 063ee8f6146110b97f4ee8944a5f37f0dd7cd5be049f13546d42a888a973d826 1184cc1fe937a01e9d12577478750be1497d4f99231486ae6d75104e7304eeb2 -test/extractor-tests/generated/RangeExpr/RangeExpr_getRhs.ql 6a7eb53c6b2a4587212f65c522387f726b2b9b3f204708a2a764e238aec8d89f 8b3095fdd9c6900eef656d4e9e18f5f4866b285634cc725e73246976af20450c -test/extractor-tests/generated/RangePat/RangePat.ql 4cb48cd2a96ecaa3998f70e2ef5b117749448d9166af743d3b8cfe6f90938665 d5a894f6e56b28c1438e37191ddd623d89e4eb07d5c979ae3795119de9d01e49 -test/extractor-tests/generated/RangePat/RangePat_getEnd.ql 823307f0e43fe6c02843417d254c6584e2ead04b961158f04494eb8197b9905e 016805e6063be3846cef24a5680f4f17e68ee9714430120aa91fface3461d97c -test/extractor-tests/generated/RangePat/RangePat_getStart.ql 1457a38514bf9fa7de44a4e5e3dd5218410149133074252bdf64d5eef5197d43 e9a6393aed20c710b2f19bc6482262664d8bc0245b5dfc35f636aa7966e0dba4 -test/extractor-tests/generated/RecordExpr/RecordExpr.ql 20dcdc18d2c8edeb06945915b87c77578000a67690e234c9f96d9f5520c53159 2e8d975f70a7d6ee8e9dd1c896eb95a4de079f4f4fa1031f6276e3212386c895 -test/extractor-tests/generated/RecordExpr/RecordExpr_getFld.ql ef36c6fb3dd9d77c58b573661834d20d8176544137cbcd8f6c2a9c9aaa335574 d9d652ae1067dda138af2211a8b5fbc67129c571cb9c1faf5048e1e372cf1dd0 -test/extractor-tests/generated/RecordExpr/RecordExpr_getPath.ql 6989f2b785813685e2233476abb13c0041a417d6a7e33179336739160f2569b7 fa1e08ee46ac863fdf69fc71b1823f18db6195aa66ea4a228c7c8eee3b448130 -test/extractor-tests/generated/RecordExpr/RecordExpr_getSpread.ql d221a3847a077d3574de6ea15ccf433f1bea24baa1080eb90f9e3d104f1ba22a 97b325e5fa8bc8af4968dc96bf5930d05bb4083d7a945ab6a34a55a7016da09d -test/extractor-tests/generated/RecordExprField/RecordExprField.ql c533740aecaae604d5c7d3261aa8df511d837b19fd74b4f88897373da6d932bd 037e33faf0195cb67314f7eef9571088391586366bf71a6fef3ef83845fb573c -test/extractor-tests/generated/RecordPat/RecordPat.ql 54bae18e24900a8a6ada5f72334e3507c17156227afd908c1b7354c11c6bafe1 8613ce169564ce0ab912bd9b3340ff3a8040f8f3ccd56d6dfd3a56eb59a00bd8 -test/extractor-tests/generated/RecordPat/RecordPat_getFld.ql 4bd86be1173bf404bc6901399be7da2b6f12d989f2ad2b158002de18b534e0e0 cbca368f9196d886affce4e1ee01bb5918c1a22a17dedd367f8cd943aefe06c2 -test/extractor-tests/generated/RecordPat/RecordPat_getPath.ql d2730342a2203ad7d6385a64d53874050bd084fe74c05168df223499f7e86100 0d223ccb9c127100557b70da89f0c6ec7c559babc885bff46b97f5cb7b877e63 -test/extractor-tests/generated/RecordPatField/RecordPatField.ql 70babedca815ef3a5759a398993cd20645a43d45ada0e71ba68318811274606e 24635139cc3b95bfa36921008ff1db0455257ed0a0384b10ac267dbd4a125fb9 -test/extractor-tests/generated/RefExpr/RefExpr.ql e859cd59dbaa5aa5555aa13d4a75b7bfe2dbdb2d5c50675f3753adaaaabdedc2 d330ee941e9932054c32d0be5a52f38f285e4dc529821759ea38633f8ddbd517 -test/extractor-tests/generated/RefPat/RefPat.ql a5fa2a4435c11a935c0ed2dfb925874d44484dd0e0a6e31d50db7c1f63b1efaf e85077fdeb58983542b8a78f65bfc8498121fa699f5798c48dc59f1b74fa0b04 -test/extractor-tests/generated/RepeatExpr/RepeatExpr.ql a883874b6db9c084123b795ddc4b972f41da554a07d41b7d42242a4b4156ccc8 4aef5ebe3124ea3e13851df3e65d430b64740a3fda2fa4be4c6a3634e9f00fc1 -test/extractor-tests/generated/ReturnExpr/ReturnExpr.ql 65397add1001e1593a303e3cec51e74aa4830a63e899b458a4247d017a84942d 34f138d22c9fa9195acd0c91a230dcf74dc5373db2315db0414aba710217720b -test/extractor-tests/generated/ReturnExpr/ReturnExpr_getExpr.ql bea07d8461c84e87bd642ca3af79aeff53f3ca3b79a6cd73ff8c514bcf213655 3cb63fb46da4d1c305694fd7a004016ab7c5ec96372279ce58cdb5c2e7a1dcc1 -test/extractor-tests/generated/SlicePat/SlicePat.ql 7170bbb932c27e90aaeb4bcc2fe35e8e919427fa420d8e2ea7097ad41b850fef 9fcbfce069e43e61832dba9d92c80b015a68e437683f5a3531b016dcd9de7824 -test/extractor-tests/generated/SlicePat/SlicePat_getPrefix.ql e2f42681f3fc56b1e4dc1dafa8be1d20f164017eabc6144eae0a30fa4b8e7a38 235e67231d2650f9085fcc0ff28e116d8a1e499fbddf0db1352eb3517d9ba722 -test/extractor-tests/generated/SlicePat/SlicePat_getSlice.ql 9f57b88b0bbe4726577994c7980c284edb72139b7036aaa9c7dabc235cbafb48 38416e3490ab10ed512dac698aac9cf9b74cd2ab68ef1f9b5721ace18cb2d03f -test/extractor-tests/generated/SlicePat/SlicePat_getSuffix.ql ba921a0d73d6d76a7c83c12c0cb3bdfe2c40c6a206777614c4898d51a7349cf7 c5c36d8e9e5a5177be29b84ade0653121ba0e7888a9eda59498bd61d2be38e26 -test/extractor-tests/generated/TupleExpr/TupleExpr.ql a14037288887ffd865289c4082e8438384344e3eeee9eed3bd4e36297670d94f b96191f6b65049e48899e72ac8e5b120ab3c6028bfa26df0e9c8aadd943c1023 -test/extractor-tests/generated/TupleExpr/TupleExpr_getExpr.ql bce5ec6f86043699d913abe258754c198cb1a562d0f1baa79c5d41e11377f622 8880feac2a89ded4e729b023fd8ef59350f44c30889e248c2e4db476544ec544 -test/extractor-tests/generated/TuplePat/TuplePat.ql 1f87a26474a0c39a9c238ec0218409e5e21a3253a94e0de9a87c526174c1d32d 579e3482ca83a9a6c35c3db8d202e52c67cdbb99ac00c19c5a1babe76b6e8acd -test/extractor-tests/generated/TuplePat/TuplePat_getArg.ql 97090448b81f1b347a4dfa4c954dadfeed09291ce03efe9fbb2f0cf95e16a815 549ccc1b8812f103fba5793cda3bb22544cea33dc5465166c506317d7156c4c8 -test/extractor-tests/generated/TuplePat/TuplePat_getEllipsisIndex.ql 8f8bafa2ff18f3141bb2f2e33b19d1caf94c8814787b61f2e0147bf5e7f588e7 5333d06176129b818cf7f6caff772a4097cf62911378f99e88c2ea6036277f1f -test/extractor-tests/generated/TupleStructPat/TupleStructPat.ql 2d14109d39c7519a113340f4223067a12ae715bdf4ad51b7c2c321ed90094731 36a7b3e17238a1eee8233364fa201aaec83347c9ce8de00b0e99d23bc0fc9cc3 -test/extractor-tests/generated/TupleStructPat/TupleStructPat_getArg.ql f308a61384af5feebc58028a95d26499b6a666c7599b30aed33efbaca86c06b2 f298af5a861410281dee6cf22d3ceaa286a5be4d27968750321f2d016c34a0dd -test/extractor-tests/generated/TupleStructPat/TupleStructPat_getEllipsisIndex.ql 47e84e7db2d1cc23aca4c28b5bba2826eeeaba07377eb8c8de5141bcb9c36ab8 a5c1d23e2521c38b12c0942c88403bea5a0d77a4763f273ffdf48eaa000a00ff -test/extractor-tests/generated/TupleStructPat/TupleStructPat_getPath.ql 5f19a261ade6e3249029d7268cc0385092234a896e72ccdf8376a592be1d545e bb4fefecefaa2d9634f31026e5ec8bff561bacf55a4105727032bab08fdbdea3 -test/extractor-tests/generated/TypeRef/TypeRef.ql 73283955206c7e1ef71009969826e34c7f37624547c2ef39c80a23583cb37216 fedf7995b69805ce7ccc4e29aa592043cff2f7ac6730a70d27ed883d922b4684 -test/extractor-tests/generated/UnderscoreExpr/UnderscoreExpr.ql 54cc3f7e6e9b9ac58922842dcd1960250e8bbb7ede5a63134ae622abc447be1e 1d5558d4ec9e4a1a510f37206772af3bf41015a99f1e9b83cc530db496dc2a5f -test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr.ql ec74c75dedb4e669b3e6eba8f7568c415f5172c1ebd4f73e4710d401928448cc 8923aaaf5c5c70005aabc9696879ea73c5d9d83507c8db5a237cbab037953509 -test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getStatement.ql a743dbb15736b809e30769e1ea136afc9f0226885139150d6d1a5d353b6cb6fb 09849f178208406742007009da7f9b359b814477190d9d95370b94378e60be17 -test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getTail.ql 4409e1c39b7729dc393a0d60f9d6aa0dfeed294a090285442de85ce746095eb5 572d88a9c879905519d9a63d5937949771f9c163ee2ea8ba4eabe0f16c28ca67 -test/extractor-tests/generated/WildcardPat/WildcardPat.ql 375da3e10385e17ff4005528e08629ce4aa6a796b2fb3aa20178f75615af0ede 16823ab6240a113c005136cb3747bd3e69de4b4e341eafb2d1f39956c7de749d -test/extractor-tests/generated/YeetExpr/YeetExpr.ql c5919f7f2f42b7dc08b0fefc553bb602a772925c226c943e2c96158adaea7797 a5bfdf225d9f9653f5aae00f30744d03f7d1045ddb4469f23e57194b3b1a2f8e -test/extractor-tests/generated/YeetExpr/YeetExpr_getExpr.ql 4ab79339d3f0a2a0334f66a7513ae5d27bcd608fdaf557da71757896e20f81b7 6d7b9da72a325b83539da4f353df2a0d4fcd11493773547ac89031525e7cd1fa -test/extractor-tests/generated/YieldExpr/YieldExpr.ql 3bf0ed6b4ec11dbe8b6af6cb0c51813c193e17bd9df0a23cdb1bf39cecddd915 0ff0219d5356bd9cb62df995577909898b4b28e0ecd860339361731e4f64e703 -test/extractor-tests/generated/YieldExpr/YieldExpr_getExpr.ql 944d36a39b4955638c5ae4972110ea84304691d34f39dccfe3ee3964033f383b 62c9be460d299afd0e994f412148ac37585d011efaceb9221be22ebc97943bc0 +lib/codeql/rust/generated/SynthConstructors.qll a3f96d7ed12ff96ae404d55b89988be47a3b573d2ad2ac327ec0b27a110b9748 a3f96d7ed12ff96ae404d55b89988be47a3b573d2ad2ac327ec0b27a110b9748 +lib/codeql/rust/generated/TupleExpr.qll 3f48e7c1807ef8a6e9fce4207ee59b9c637f9675fc5cb63618d56e4e62dd9585 e85714d2a91a909aa1b274a739223fd68195a2068560205929f8e24eb4d72fe2 +lib/codeql/rust/generated/TuplePat.qll a2ce6769858e04784add9f59dca657835a49b1a35a6d9a7e0185fc782ef967d5 fdae4367ce22286eda74b360a3678d8e1aa890a49c06041911ecab2990a16d85 +lib/codeql/rust/generated/TupleStructPat.qll 8526f37635c24d3b14b832d292b9031e76a2f6fd380692f823bbdcac3720921d cbbd37c451ba84662ea3599715ca1f462f775ff991173b0bc902e283076e9a70 +lib/codeql/rust/generated/TypeRef.qll da58fcdd6f37047e043eda92fc3599f68369dea0e263c071d8130eae1e1b4ded ba9a26dbe28893943753a0a09cd120742f5c413fdee8918ce55cc12c47086d0f +lib/codeql/rust/generated/UnderscoreExpr.qll 24841397e30624137c664e714937d9a09c1b56f568659e12c1f93e49a97eba83 d14b10ba9c0df6b51ab99d8bc574fadf3a5ad49385920bff8b7ba4cf88827749 +lib/codeql/rust/generated/Unimplemented.qll 58fb8b9cf32f915797e58bb70a44db1a300d23861640f1e9e7bb8d223f87ac45 41c8a145b817232ee94afe5b93d399d64b7437c378acd22b5fa6197549d78e55 +lib/codeql/rust/generated/UnimplementedDeclaration.qll 1bacaae450715f75ca0616565b7f6a53c1f4228a5a209135dead0c9d5e1a83eb b757581f2a7bac46d41bfac9fc254f9733b9b267ec7ac76a4a2bcf9779ee0f73 +lib/codeql/rust/generated/UnsafeBlockExpr.qll ff3f08617aefc833cc115024470c252578a41ca6a91e009be8045635699a6fe2 9dd7ab2afe70fa6da6bd58a1eadf00e30cc99f8f583b7c281bd90563f243d676 +lib/codeql/rust/generated/WildcardPat.qll 29f0b04b4425e597d34f7187f182efd1636196ed88dddf0e5b678c399af1fd2e cf55059e165f5b9b91413c0efab5db9aa9ff11762537782c2caf5974c32c2461 +lib/codeql/rust/generated/YeetExpr.qll 0cbf64f8a0b0bfd8443d161ee5e2ca83ad7e14741b1e507f6da6dd948ea34852 ba24be62fa97aba865c71d321668731c17965d5b4c93a83798180a221b8ad9fa +lib/codeql/rust/generated/YieldExpr.qll e4864f5579c4af4a4be9592536cc8fb2be12d0a9b9b47684343ec0f91fac1bc6 f660fccc1d059977b4579eeb8aca471472b6f09271876eb151a82b8e4abbcb95 +test/extractor-tests/generated/AsmExpr/AsmExpr.ql d0b9ab7eef8934807033f00a7a4752d5d1051d362840c248efda55d79b2b2092 8d6e7756b60f5dfa500c26ac232e0c44d2d7408aaadcb8d8db9af30a19546eae +test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr.ql 85d756e682ad4f0e2be46776e914f80f4d97356cd27681f6a6c95b59af96d784 071bac3717eb18d89d9e489c3339c339a405d22ad9c2214323649e383cd9b259 +test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getStatement.ql 905343965d7ea869acc5a651aa98c04bf13124feb02d7df27dcfde7444d89645 ea93464d067b393856a0d9c2a1b3a5562e9a330bb74f490e6a0a11b3563b3f6b +test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getTail.ql c7e97edbaab7fb5a1d94ba8054bfe25ad1cc03d3145c6e79e640a0435948841a 2c4ce3a66a3704a3ea976710ffe2f5d66cae374a00d251e7d1b020ff6eb75ec6 +test/extractor-tests/generated/AwaitExpr/AwaitExpr.ql 6baa86e600b1e644c31b07a0339cb0121f0f408b378f4724913d9e915a60ef15 1a6a1e861fdd06f684ff59da4e18e22e4e031eb7d74ef926e73fdbbae4b0c534 +test/extractor-tests/generated/BecomeExpr/BecomeExpr.ql a36a06c08b04daa6f6ff22867c175004794aebcfcbcb10c1fe074b2c5a2dee72 2c0beda0cdfa346d33768f9cdc690831c102919d96dc44c3c68b9cc254a9c0c4 +test/extractor-tests/generated/BinaryExpr/BinaryExpr.ql f51bee6fe6c127b93f3389a55907dcc3612cf55699409fe2f6ca0c170c276a90 a19675ed98a883e2aa6607af308cab050826e7a1c35c2a4b1d321040200265ff +test/extractor-tests/generated/BinaryExpr/BinaryExpr_getOp.ql b1fd7293118b77c2d54cd0a235425cbfdc79ddabb522b062b3f888f2a14379a0 fe8ef99121912788d65dd57a6eef0a6a159afe90bfdf159b096478dfd0d5db5e +test/extractor-tests/generated/BlockExpr/BlockExpr.ql 515422cb924e8f10f43c13850970a8cec5c9b1a5bd320825a8af0b6cf0fa213b 2665637c5ff2bbf601a2d156583bbd44b58bf295546ccf0fb67f069ff3ff74da +test/extractor-tests/generated/BlockExpr/BlockExpr_getLabel.ql de3c28a2677ed71ebd95207aa43ce270765f7f556283f095f1f6296622b80cbc 414ebbb2bfbe4350f933fc3d3636b49a6bb8242e200180780caf95ab8523adb0 +test/extractor-tests/generated/BlockExpr/BlockExpr_getStatement.ql 69f4b01ce9d5556d7feb6253b5338381fb87bbdac9689259782d4137974f1157 0d881570e704c1e0b9c9c5b4ed651d7cddcd68b3e0924e33245dc058cb67f870 +test/extractor-tests/generated/BlockExpr/BlockExpr_getTail.ql 741818e134e2bebcb85cda6ef51602630df107818ed9556542ac3cc24055e72d 62ffc7338d85dd08b35266c6c6f065f0b8738f48567905ebc7006702b81b4dae +test/extractor-tests/generated/BoxExpr/BoxExpr.ql b978301a8c9efe3e6377c7e41c5b4750f172a61ebe2fd4c2bf1220de5a84a4d4 84903da0392078a0212c4eb18f8da29e1fbd33dc437cacd6545007f07649c66b +test/extractor-tests/generated/BoxPat/BoxPat.ql 850ddde8ad94d0b96f042adea48be544dc87af810098aa3a18649f03349e1718 aa775f649d818a48b89c15c7c0de5346017d9e432c6b8089adac51d3144c3e17 +test/extractor-tests/generated/BreakExpr/BreakExpr.ql 498d6a8d397563b305e023868996e838600f6a8ef134aebf2a4bb16ff1b2a882 7bbd39b4122935ef24b891b3490f87745747d89fc92d96e24149e251dc40ef2b +test/extractor-tests/generated/BreakExpr/BreakExpr_getExpr.ql 0358f4fe6a66da56177703cf0e991042729c5e34ae8b6dccbb827f95fe936c72 1cb2dd778c50e19fe04c5fdf3a08a502635ea8303e71ff38d03aa7dc53213986 +test/extractor-tests/generated/BreakExpr/BreakExpr_getLabel.ql d1ca3cdaf5345818310d2db0f2171ff5c3b51f72049d8e1593ba11e52273fdba a52927e447cadee30712adb139e248b0c303eaa111ec96a165c1e484129af8dd +test/extractor-tests/generated/CallExpr/CallExpr.ql 9f4344f3e5c8d0fa4f4ae2852bd138bacd03aa3000915626c245d98a2bdf4d04 fc1a0e71feee06dd65fb7e587ece5720e79ade1e9f452fa752290aaa7c2f3ceb +test/extractor-tests/generated/CallExpr/CallExpr_getArg.ql 7d8d53ee4a0642f85d6bbfee6912fead699b5d117534d2b1803a670550894484 1782b33724b72afc9b7d99e3a52cacd4431ce1e12a7e43a7ac9872aad769b4ee +test/extractor-tests/generated/CastExpr/CastExpr.ql 15a1031c620660c59bcb97f194f6a2f51b980aefdb39b421bfd488d6083f301a db35e9fc243a10dfff2e689547bd72baff8d0a59c0c9a505027caa577d33fe58 +test/extractor-tests/generated/ClosureExpr/ClosureExpr.ql 34280a37a6854c3663baf9612e49de4267a06cd70d4c6252b97405627fc1829d 5e9f565f4fcf48eb4317fb9a6e532361f58db93344e50bdd0ad51cb88b92379c +test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArg.ql 828d3cb2e0c85a22691a7189f722eb9dc16e4a8e4df8aeebbfd47612ef60d774 74a7db9d3346fb364485e5b45f64b11eca58f080bedb9562a47c29587e0b9e00 +test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArgType.ql 53f0ca394a11b9ba30cf3773f939c3d97071d22e417451a6cf4e4a81660e3f36 a6fd1043585b96c92875747186c0c211aca4228f82df6382804b2cad64458817 +test/extractor-tests/generated/ClosureExpr/ClosureExpr_getRetType.ql c95bc7306b2d77aa05a6501b6321e6f1e7a48b7ad422ba082635ab20014288ae fe72d44c9819b42fff49b9092a9fb2bfafde6d3b9e4967547fb5298822f30bc3 +test/extractor-tests/generated/ConstBlockPat/ConstBlockPat.ql dfa92e1da623088e71f14e2298e07c30d2ec678236ec54d9654534ae195fc48a 72700785ab795ff6ccf702effbbd86a21c02d48ce2e206a90bca42c633167bc2 +test/extractor-tests/generated/ConstExpr/ConstExpr.ql e6699b72b1e61a0a4adb55e8fee7ee77f99d8ee4a4e0afc81072a71ce2160bd6 d30cbda271b51501b6c1764bc4e9e703e8bbfeac58bc9a4920d28b188da9aefd +test/extractor-tests/generated/ContinueExpr/ContinueExpr.ql 79dac2a78474eb555579768726f5847f1c4dd8ddb62adbff577bd38fa2ec5a88 d8b3e9b6c1e5760f3d4d0a9768d96c73e6a10f415106212c6de4c2dd09e2fc0d +test/extractor-tests/generated/ContinueExpr/ContinueExpr_getLabel.ql 8800ed6eb6639c8e2775d0ab73f489c5f050fba75768497bb3b811696de0fc33 26fabcec52eb83494ab7b49d4cb8da75d62240e2c90e60e2a339e09db5a17293 +test/extractor-tests/generated/ElementListExpr/ElementListExpr.ql 934e9f23cb987459baea1f9c2fb244ce6152891c5df91cd0bf55ac7aa1397993 05d0583509bed8122b47dd867e66df8c6bd8c3784b1d88c8efe2931f1605733a +test/extractor-tests/generated/ElementListExpr/ElementListExpr_getElement.ql 6570425a1722361d965d3dee82ac520efa6b136405f895232156c51872a2020f 5f9c7b26ab2fd2a95a4a7e86797112a054ea0fa12d6c9daeb7ee570b680c65d1 +test/extractor-tests/generated/ExprStmt/ExprStmt.ql bfa740ca27f40dfa03d3d6e1d04b6a33eefb11b51f1be8e8eeb97e2175ab48d1 5dc2f48475155433eed95ee40b055095096d972c410ca633807dcc7bd012b8ee +test/extractor-tests/generated/FieldExpr/FieldExpr.ql 3645fdca1ed9f90c2074b4797763b99cf9159dc61305068b6316cd3278904b37 5956b62c22ae38f8434a2a6bce2dc07f1a4ad2801d5a6b6c54dc30a4c1003b8c +test/extractor-tests/generated/Function/Function.ql 347912a8d8e541993f56753400867e04e96f3b20d4a7aa75ba8c967982f23f8c c81f0cea4bb896c5ef56e43c0b98c9f1082af6ae6ef5a3aeaa7f3bdd8cc47e74 +test/extractor-tests/generated/GenericArgList/GenericArgList.ql 5dbc447435af8fc2d57838af87360976a0a9c262cf98e79999798f1cb44c709d 16dad42ef8445d3c29d8bece7b68b4c04e123a1e4054ac0673a99c85267638bc +test/extractor-tests/generated/IdentPat/IdentPat.ql 8337872488c291ea441ad33103c5834c31f1db018a1f466d5075bc7e2ade01e7 72e2598880e389f1fad9cad937b0c6d1305ebee8a7b1613e1b1f913b9cd88d9b +test/extractor-tests/generated/IdentPat/IdentPat_getSubpat.ql 7be7acda6ac92efa166e49788f5bce771e3962348c144664f0d3ad2142134d55 9ffb007e064f5aef13e436948b9683d0c424019d3fb36b812760f421b2670493 +test/extractor-tests/generated/IfExpr/IfExpr.ql 32c487d00371a9ba10d824677b3020f00a1f0e9377e1741b3d418f561552014e 6dc872bac32a54722d939c265da57fe405b78076f8022eebf36773858e0a6893 +test/extractor-tests/generated/IfExpr/IfExpr_getElse.ql 8674cedf42fb7be513fdf6b9c3988308453ae3baf8051649832e7767b366c12f e064e5f0b8e394b080a05a7bccd57277a229c1f985aa4df37daea26aeade4603 +test/extractor-tests/generated/IndexExpr/IndexExpr.ql 13af7f85807917befce33d64274668593071a1669e1870ea16d22e05eddfdcff e7afa32f38ed6333cf943baa2298ae7e6d2550cb6e6c55372c575bf82703c46f +test/extractor-tests/generated/Label/Label.ql 4fe2d7bf9114539791559e22ca3a245f89eac09672cfefad68ff0cb35b0778bd f7e6c99cbed35bb4282666fc5ca4b898319da61b9b30fab54561404d90bcf1a7 +test/extractor-tests/generated/LetExpr/LetExpr.ql 36ac1c0729726716d91272cf57c21991bf5916531d7ccc0a281420a52fb3e896 298164f9b79831fb4e0b4d75a592c680756ecf9f96893d66fd62ae52ca8dbfd5 +test/extractor-tests/generated/LetStmt/LetStmt.ql 471d18f20b46f62648456b5e0441955cd98bdc53390edcbb11a112ee775c412d 601e791bf918f28d3a69afab24573ac3b5c4267856a8895a9a14a1b206b1f0b4 +test/extractor-tests/generated/LetStmt/LetStmt_getElse.ql 30c4a33322c60222c0ca1c9df464cb2c9c6658abfb2628e285559a5a615d64b8 da9155a3343363223b9c45419ce389afcc9940f4fa77e50372ae4e382807948d +test/extractor-tests/generated/LetStmt/LetStmt_getInitializer.ql 6a5f0eed3ce3e8cbc57be6ec2b4eed732f00e084108d21a61d9ab28b65e494ca a48b426b97a6c347ad04fe2e592cd25b5c66b2a6a299cbf8c0da03e14304fd70 +test/extractor-tests/generated/LetStmt/LetStmt_getType.ql 9a85b5d1f3baa012ace9a80e6daed660413248ee63da6dc3c84b0c668b25c7f9 c0efd0d112c4dc02c85cf1b1114fe9d0f89916e551f2d2a7c9a3315b5db4d46d +test/extractor-tests/generated/LiteralExpr/LiteralExpr.ql 99450960211802b9616c11b264bb4fb9be8f1873b3b9278252f752a9de745aad abaca7c1690aeedd7a2a8452dc26108612a5cc0fee956ed6c54b780e02ff808a +test/extractor-tests/generated/LiteralPat/LiteralPat.ql ec72777ee67c59a0136c0219c83341940d3f525609c85f42cf6779f2d16b1b67 1f0d6c3e93cf4c799839000fa1c35d07dad9b175503af38615c172a6fb0dec63 +test/extractor-tests/generated/LoopExpr/LoopExpr.ql db30c458ce8fef33044e9d1832464da05b86c3116c8601f698e7a0e1095b1450 a1032375dbbd1dabf5a41b23e8439db8e471933c3bda87d1671d5889aba252dc +test/extractor-tests/generated/LoopExpr/LoopExpr_getLabel.ql 0b77b9d9fb5903d37bce5a2c0d6b276e6269da56fcb37b83cd931872fb88490f c7f09c526e59dcadec13ec9719980d68b8619d630caab2c26b8368b06c1f2cc0 +test/extractor-tests/generated/MatchArm/MatchArm.ql a8371ede979aff0aa5d26ecf188695381ac82602c04a7267e11bea7cdc35406b d5f8026e8305be5b6b617bed63f3389564ef15cc1e0f9595ee739b3874299464 +test/extractor-tests/generated/MatchArm/MatchArm_getGuard.ql 54e2c2805d54b353c9e36258ed750189846cd422dfb476c6eb52301860d7ff13 8fd408a3e9c6e5c138860144ba0f69dc2099a7a062e3bdf7d324c09df7d132f3 +test/extractor-tests/generated/MatchExpr/MatchExpr.ql 7d52f44e4951420c21a3bb4a6d6903cbe9d81295510bb2b9b7de43a2a0a1d700 3cc0996d4fd19b37bf97cbd9d062b442409a56e18c6c8ef06b933faaaaa899a8 +test/extractor-tests/generated/MatchExpr/MatchExpr_getBranch.ql 331b9e606d66d399aeff9a83915411fdbe0d28e4dd4e86ac39021859454ee9ca d0ad3b17bf8a30cfbea6cde96180a503e74762ffa8dd1918557d5ab3971e59f2 +test/extractor-tests/generated/MethodCallExpr/MethodCallExpr.ql 563ee88de245a890c32a83ee317bf56c6d66d5c2ed7e7aada726101926fb0090 7277be66ae233700e4e94c4467ee688692a883e3d42a0207be5edf9dda4ecb5d +test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getArg.ql 10a88c3bf63dfb26f43b9cd1ed7fceef0f436ce2eff4b5a816da369bf5b775d2 ee3b5043719591b4048ec32e21bb5fb3a9f83f0420ef18c338fc0ac28d0e3240 +test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getGenericArgs.ql f2ac26ad6c5cffb8e3c1916e35c97b6247264a9d61960a808330ad21c7294335 4405ec19db4d155e0f1741a9c23292c4d31dc700a86a3bfe346340e9d01cd047 +test/extractor-tests/generated/MissingExpr/MissingExpr.ql 31fb99d3986397ec78f75deb6e712e3385e3ce60a6b413cb69523ad520512053 01f469a3669b3a50121108fe24de005fcad567ea71c9d5fb12e5168714fa5dae +test/extractor-tests/generated/MissingPat/MissingPat.ql 9ef95f4498e399c28241f1b187ea358bff6c0778c92812188164311c6b238530 d953cf729ebce6c627568db4b8193cd175b98a8b599d8790ba027eb3239a3348 +test/extractor-tests/generated/Module/Module.ql c9a97238ccb97b391b62bced326236e27bf003e1c341a653e441b5901fa8460b 7b69b35a462ac7cb210203d3f5e888effd09c63313d172fc31f9754f2cb3534f +test/extractor-tests/generated/Module/Module_getDeclaration.ql b63127ac4c3dbdcf2596ff6e419275464a0581039f0a9438d766bfa8f6b9eaa5 d329498e942961ff29453f2194f48c720f19ed566ad0a817f5e14bf894fe4dd2 +test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr.ql fc3bcd5387d30c623750199ed836fa8132ec83d45e3ae1771ba7c2cb974683ca ff71a97721bb71f6c23f4db8c65311f0d3c9fab18911c28424ba1ca686c9cf24 +test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr_getField.ql 6d729fb91deacb1f620df5cbc86473183664e81849958624195da883c410a707 f3374c3d7306699d1f9d1c6c5788ee7c5a17103345bf53847be9d94e5fb9f14d +test/extractor-tests/generated/OrPat/OrPat.ql 444363895150e7a4be27a08224b0619fb38ba48719e234cbc93a70f1185e6770 1f34008389f968c1e4bdc847abd6cb0c3ee0196a5b965d9119c70b82e0f140cd +test/extractor-tests/generated/OrPat/OrPat_getArg.ql e9daaa6198d427bd00dab3f103766f734c29d15c4bde639018329c65ef85d1f2 983659d27722e3f4f8c03cefe6b0927fb42c0a72f626b42bbdada7ca27669a62 +test/extractor-tests/generated/Path/Path.ql 1a7bb385742036dbd7e7e85ac30d78f4c29ef8cf73c8d6d816b974ae3e57661d 90073e4f293c518eabc6638f86ccb5af7982633501a9b7f2746ba85d043fb962 +test/extractor-tests/generated/PathExpr/PathExpr.ql 3f575a6fc59b571e3d89a87777e5e76baca6d89435068929e0c163f2edd51d55 bf8d00401dd24b1a7d332f326a4d8c00bd770e97332741fbabb7e74cf3f76e5d +test/extractor-tests/generated/PathPat/PathPat.ql 8cd3e49a8a9a58d28ce4247ccb4b29ff864c8e1539f725f7faa3ff0cd3db8893 59479b7f0c8eeadf6e3f29849e2b5acff20af920db80fe35def16b21126bd6d2 +test/extractor-tests/generated/PrefixExpr/PrefixExpr.ql f4ceaca7f6e562b2572406538c946017696720ad6f848ef60207891cc990f6b7 8520b6fae2489f58d535e96f87a273388eac1e043f88e4a1dcdfde05b9aa4873 +test/extractor-tests/generated/RangeExpr/RangeExpr.ql d18b86af326b360d6b30e8ce60eab8c4acb6c65c9cd2e8b227c56200cce07c88 34a9bd2a93413ca8d6cd8501bd1134aeafed25d7a037165e7c471a28a61b47d6 +test/extractor-tests/generated/RangeExpr/RangeExpr_getLhs.ql 3ee67dbb7b5d727cc527853c011da2b750fff59300adcc21780decdf80ec1b90 f1b404ba59e43b911d0e55203861d067fa21e0ff80584e44c2a510b1c5d8e197 +test/extractor-tests/generated/RangeExpr/RangeExpr_getRhs.ql f9d5b081efcc2373e0b28854f863b1b9ce25eb8d02805c7ea82f0f98820d41e6 4ae93e7970f1396230fb063e05576bb26c4b5b7b10a96f53f95720df74d93ac2 +test/extractor-tests/generated/RangePat/RangePat.ql 6cea2c1cd4393d777a42c31ee54f4e78e62d63de6a18c343c44df45090fb75b9 33e424105bb67f73952a325d973095e53b4c1bdad6f785a861d0ea117f57ab24 +test/extractor-tests/generated/RangePat/RangePat_getEnd.ql 723eb5030ec52d3aa3650a3e2de6cc0195a0030630239b972235963320e0d808 2df3b1a6197c3abd43dc743fd09cbf55165e3191f2b49336777594541e5da96a +test/extractor-tests/generated/RangePat/RangePat_getStart.ql ad2066efa32fced2dd107031f2a9b9635c3c892e874870a4320522bae9309aa4 b4a8c57a838074e186b823938d1a9372153c193da6c839b5f242ca25c679e83f +test/extractor-tests/generated/RecordExpr/RecordExpr.ql 7216a4118bd2b1dcf279e7f0127baed162902a9cae1bdc8ec7f11a04f2a4d924 87812e6936a9b9f0217a6ac2add7063e5ce9b31da2c843f9931418a54235d615 +test/extractor-tests/generated/RecordExpr/RecordExpr_getFld.ql 1c9eb98bb37b7d454a5ffea8cb7e5b73a6e3b30f8a99aa52dcca957111187b68 4b8f92d215653cb7186fc00a51156affd2a25959b1b5e8111d47772d83a6a222 +test/extractor-tests/generated/RecordExpr/RecordExpr_getPath.ql 2eb8f7591f08199d124732d7f2d7dd3e81792a52f8e6c90003aa0609923f8cb0 27e245224d6c9aa20023b418ce8dffff1293b50a0e10938932631fca7c559e78 +test/extractor-tests/generated/RecordExpr/RecordExpr_getSpread.ql b2953ee3b508fdb5e5eade3e9b1ee9e55cfa966177d3710aad97b75f18ca97be 24842e2b44bbe48f721a2816783ce98640b128809dc9dba0d7e75cee493bbc38 +test/extractor-tests/generated/RecordExprField/RecordExprField.ql 50985b2ed4d1812c75e496fed7a72687d33b3256f2be20251bff932077d5fd45 787658ebe9536a6ab5b68b21386ddec26aa90c11d60cb89628f28efa3984f460 +test/extractor-tests/generated/RecordPat/RecordPat.ql 6112996f6cbbbde14690d74e838e26a95ae5e8869e41fcdfcb2becae0aba9ef4 51208594df12c47ae766429394ddf0fd6c3463176fbfe6a8c783a563c9737156 +test/extractor-tests/generated/RecordPat/RecordPat_getFld.ql 42a4aef52fde77fc5ffad105609d40478eabf62bdc35f35db38a3fb43e56aa9d 3e911c01c5b62a07ed36b41b66fa7bf409cfccddea5e051ab34c6c8d316226df +test/extractor-tests/generated/RecordPat/RecordPat_getPath.ql 187b8d44de158fc809257e28b2e8fdd246c8eb3c60115d54cd53396a320e372d 74813fd13c6f34927420ed44620743f7c80c537984e0db72c1c5f4b754b40b83 +test/extractor-tests/generated/RecordPatField/RecordPatField.ql 54cd63c1a5fb16d19d62bd805074f09b8eba9df15cce9e9d9c1637afbb7884a5 7b904d7ab1662233eb5587b62b197d90324d7dbd9fa63b28679ef19858af68f1 +test/extractor-tests/generated/RefExpr/RefExpr.ql f3a85ab3e534f795fb7f08c5e535cb72132b532d5ce0b448803b8daa94e59679 c4b4cfa003727f34c772164f3c8a9258b19337d0645d497d6fcec4eda9fc6a28 +test/extractor-tests/generated/RefPat/RefPat.ql 22353b55c0559f9b25f5b9610b22d7df3ba5a76ab3f5e46eefffa3f5c0f52fa6 82759e0f701109ecbb8e17288a5b636171e956bd3efee6ebb4553b74e73cdc03 +test/extractor-tests/generated/RepeatExpr/RepeatExpr.ql 4cc25fdbe5650e54ea886594b57c4fd0a47a9d3d65ecf61f3ba8e630dcd37ab9 accb72305335f60711f7064738a6c141f81df088c34b486d4dc86bcfcbdac5b1 +test/extractor-tests/generated/ReturnExpr/ReturnExpr.ql d0fd5b7af74ca6b059116607c11c5f3a5c522d31e9ad18dd2624ca30177e1425 897ccfe546c6dbc37212f4c1a26427ee59e29dc51ad764862ad719a10ad3ba2a +test/extractor-tests/generated/ReturnExpr/ReturnExpr_getExpr.ql 7d4562efb0d26d92d11f03a0ef80338eb7d5a0c073f1f09cbb8a826f0cef33de 523ebd51b97f957afaf497e5a4d27929eed18e1d276054e3d5a7c5cfe7285c6e +test/extractor-tests/generated/SlicePat/SlicePat.ql 339a471e5519922555750dee1b052ea9a8d7c562f2c311d41e06ccc73df4fca1 60a430d57c07b443e0806be5b92a412767e74e7cae4c0f6d23f4cafc4003c4d3 +test/extractor-tests/generated/SlicePat/SlicePat_getPrefix.ql 0e0529209201838fc646b04155e71528348d478c3577bdde0afd9c23a29730e9 3597fbdba12eaa9cc4c2deafa07e558295f039b9b86c330bc23d2eef39351619 +test/extractor-tests/generated/SlicePat/SlicePat_getSlice.ql d4e2c34ff26f753da099370b91c83e0979536de7fe09e7a657324583935f786b 4e36f7e3d245b250de2861c9b868dd313c683caec7609c5d1a2f20bb974cec21 +test/extractor-tests/generated/SlicePat/SlicePat_getSuffix.ql 634db269d392a76c8a43cfd5cfaeb21c32fd049eb080201a78d10d5ec3beee87 a433e6e5664fc90bf40cbca5556f43e5b407d8c4303d55dd08816a722369dce4 +test/extractor-tests/generated/TupleExpr/TupleExpr.ql 0ac4829646d2fcd89636081f193ac0f88094c221a210766ceee7ad37342b67da 737bd100dc08d4ad9204bcd1c1bf19b18953f55d1c9c2e7b9937bca4364d6868 +test/extractor-tests/generated/TupleExpr/TupleExpr_getExpr.ql 3ee9e0172dff2fce6fa6cc9454040c03eeb85fd1336dbf5c3bd9267a9c962d43 71b8ee7fac1a421abefbd86cc811d2a75258f36698ca4ca0f933eb69a57f8d0b +test/extractor-tests/generated/TuplePat/TuplePat.ql 8dd48a4a9b7ae94847cfbf5b804841784cb56372b2b66cb1da8c3d51d9b78188 7f9d96e11337525d1e074f84875311ec80c0b073ecd953550f72a95ec389132d +test/extractor-tests/generated/TuplePat/TuplePat_getArg.ql 12ba9cab50c872d51329a6ed3904475fb6b6c990a4df7494c8906d1ce04d1d1a 41adebc7c9df727f60e5b83eeca8e688bbecc59e30997d9c4ad81a2627752ef5 +test/extractor-tests/generated/TuplePat/TuplePat_getEllipsisIndex.ql f8527322afe932311e30cdfd43ba5b3380ef43deb4e45141562961c6657883e0 5259bbb35a4ff7076ec5af20e21bf12d938cdc65335a825b4e2a83c542d1af7d +test/extractor-tests/generated/TupleStructPat/TupleStructPat.ql 92829fb32660bea587a6bbdce63633040f6d5e4674c327af416bc211a5f2b08e 52ce0a1b9ae901dbdd286af2815fad27b0ed48842a358ec45474fa110ababdc5 +test/extractor-tests/generated/TupleStructPat/TupleStructPat_getArg.ql 890194aa8cfffecfff9f3de0b8e061e753b3d036668c2fa22023ab5e8f4d524a efd268815ecb12f4d285bf4b172d419933c8773574905e028750c46898530ae8 +test/extractor-tests/generated/TupleStructPat/TupleStructPat_getEllipsisIndex.ql e88875f8c508b60fcbe6b4dfb61239b506f9bd3a57233087bfec7a783697d7d9 a2024c4499afebfc86b3c7fa144fd9c33ab4059bdb0dc7e68f6951b12eafd079 +test/extractor-tests/generated/TupleStructPat/TupleStructPat_getPath.ql 13a06696bbf1fa8d5b73107e28cdba40e93da04b27f9c54381b78a52368d2ad1 5558c35ea9bb371ad90a5b374d7530dd1936f83e6ba656ebfbfd5bd63598e088 +test/extractor-tests/generated/TypeRef/TypeRef.ql 2bf65910d4cb9327d512cbb6643b48283b9f227ee1c7729c260b98b77cafa30d f5a55e600a82525aaaf0e3418926b12d62e5821a980ca2c79eba0b70ddf0cc13 +test/extractor-tests/generated/UnderscoreExpr/UnderscoreExpr.ql bf700e9d002d8427b0f4ad6c26cf7d58c77b586bc730ee133a56b17b6c946b37 f9bcafd16a86580877f95417c97458673bd7491de3f2cfc58463ad353455b504 +test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr.ql 6d6d636931caead6a142df8cfd3e7a642dce53c419e0adbe376fc78d7552d120 ce9c9254e64724f73d44b18aa659aeaa04227555d7368862e1094c11013e191a +test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getStatement.ql 531d7a546eadd004230a7e565a5067acbb200e7dc9a6971499bc7f6957bc93d0 24077d716bc4d64a227749bb4285c7102373d727639f091ca8f1839a0b184167 +test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getTail.ql a2b247a370ae019a8ca38b5cfaa6b92e3c0fb6fb819fa5b34e2adb474a76ec5f 3278a70e1887123e282f26b43a5f6ebc94d3727f09eca999f46642f7d8541a88 +test/extractor-tests/generated/WildcardPat/WildcardPat.ql c6da9df739528763f423eac0fa537bfd524d3ea67794abdbc7f7c56193163273 42be2c5e296ad3afd05b5dcc208a4d2db2fda9323cda2df66054f921e37f6efe +test/extractor-tests/generated/YeetExpr/YeetExpr.ql daa085839cc878f9c32d395543d03c0b41a27dbfe981925f59af2c40dd21f136 fe59397f3c5ac7d12404bf2315ba72961950c9295ba7ee148fa179e6b9e0ddcb +test/extractor-tests/generated/YeetExpr/YeetExpr_getExpr.ql d77b68b621e5b903231e2dfbc53a1e1421d59a0ad2e8c346c2abc1a2dfc11efd 642eb5791eb336ff05594d06eca08735e54bdac3aecf5d31a4de1267d10cf440 +test/extractor-tests/generated/YieldExpr/YieldExpr.ql 144cd04488bc5d66f27f1ea8f067df1a8a31ac84688e818a77377c00c735d861 c4ea389244506bf73a0f285f15fd9844ee16640263e51cfe97d8aa87760cf835 +test/extractor-tests/generated/YieldExpr/YieldExpr_getExpr.ql 592f8938120a036d78d180eb59634341d72d5e76854d9df48ab1b9b69db99c35 efe2955a5b4acc24257f9d79a007d39951736ce8ca11970864d1e366c4e516e6 diff --git a/rust/ql/.gitattributes b/rust/ql/.gitattributes index 753ae9b6790d..34046b55bb68 100644 --- a/rust/ql/.gitattributes +++ b/rust/ql/.gitattributes @@ -1,138 +1,211 @@ /.generated.list linguist-generated /.gitattributes linguist-generated /lib/codeql/rust/elements/ArrayExpr.qll linguist-generated +/lib/codeql/rust/elements/ArrayExprImpl.qll linguist-generated /lib/codeql/rust/elements/AsmExpr.qll linguist-generated /lib/codeql/rust/elements/AsmExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/AsmExprImpl.qll linguist-generated /lib/codeql/rust/elements/AstNode.qll linguist-generated +/lib/codeql/rust/elements/AstNodeImpl.qll linguist-generated /lib/codeql/rust/elements/AsyncBlockExpr.qll linguist-generated /lib/codeql/rust/elements/AsyncBlockExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/AsyncBlockExprImpl.qll linguist-generated /lib/codeql/rust/elements/AwaitExpr.qll linguist-generated /lib/codeql/rust/elements/AwaitExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/AwaitExprImpl.qll linguist-generated /lib/codeql/rust/elements/BecomeExpr.qll linguist-generated /lib/codeql/rust/elements/BecomeExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/BecomeExprImpl.qll linguist-generated /lib/codeql/rust/elements/BinaryExpr.qll linguist-generated /lib/codeql/rust/elements/BinaryExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/BinaryExprImpl.qll linguist-generated /lib/codeql/rust/elements/BlockExpr.qll linguist-generated /lib/codeql/rust/elements/BlockExprBase.qll linguist-generated +/lib/codeql/rust/elements/BlockExprBaseImpl.qll linguist-generated /lib/codeql/rust/elements/BlockExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/BlockExprImpl.qll linguist-generated /lib/codeql/rust/elements/BoxExpr.qll linguist-generated /lib/codeql/rust/elements/BoxExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/BoxExprImpl.qll linguist-generated /lib/codeql/rust/elements/BoxPat.qll linguist-generated /lib/codeql/rust/elements/BoxPatConstructor.qll linguist-generated +/lib/codeql/rust/elements/BoxPatImpl.qll linguist-generated /lib/codeql/rust/elements/BreakExpr.qll linguist-generated /lib/codeql/rust/elements/BreakExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/BreakExprImpl.qll linguist-generated /lib/codeql/rust/elements/CallExpr.qll linguist-generated /lib/codeql/rust/elements/CallExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/CallExprImpl.qll linguist-generated /lib/codeql/rust/elements/CastExpr.qll linguist-generated /lib/codeql/rust/elements/CastExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/CastExprImpl.qll linguist-generated /lib/codeql/rust/elements/ClosureExpr.qll linguist-generated /lib/codeql/rust/elements/ClosureExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/ClosureExprImpl.qll linguist-generated /lib/codeql/rust/elements/ConstBlockPat.qll linguist-generated /lib/codeql/rust/elements/ConstBlockPatConstructor.qll linguist-generated +/lib/codeql/rust/elements/ConstBlockPatImpl.qll linguist-generated /lib/codeql/rust/elements/ConstExpr.qll linguist-generated /lib/codeql/rust/elements/ConstExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/ConstExprImpl.qll linguist-generated /lib/codeql/rust/elements/ContinueExpr.qll linguist-generated /lib/codeql/rust/elements/ContinueExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/ContinueExprImpl.qll linguist-generated /lib/codeql/rust/elements/Declaration.qll linguist-generated +/lib/codeql/rust/elements/DeclarationImpl.qll linguist-generated +/lib/codeql/rust/elements/Element.qll linguist-generated /lib/codeql/rust/elements/ElementListExpr.qll linguist-generated /lib/codeql/rust/elements/ElementListExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/ElementListExprImpl.qll linguist-generated /lib/codeql/rust/elements/Expr.qll linguist-generated +/lib/codeql/rust/elements/ExprImpl.qll linguist-generated /lib/codeql/rust/elements/ExprStmt.qll linguist-generated /lib/codeql/rust/elements/ExprStmtConstructor.qll linguist-generated +/lib/codeql/rust/elements/ExprStmtImpl.qll linguist-generated /lib/codeql/rust/elements/FieldExpr.qll linguist-generated /lib/codeql/rust/elements/FieldExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/FieldExprImpl.qll linguist-generated +/lib/codeql/rust/elements/Function.qll linguist-generated /lib/codeql/rust/elements/FunctionConstructor.qll linguist-generated /lib/codeql/rust/elements/GenericArgList.qll linguist-generated /lib/codeql/rust/elements/GenericArgListConstructor.qll linguist-generated +/lib/codeql/rust/elements/GenericArgListImpl.qll linguist-generated /lib/codeql/rust/elements/IdentPat.qll linguist-generated /lib/codeql/rust/elements/IdentPatConstructor.qll linguist-generated +/lib/codeql/rust/elements/IdentPatImpl.qll linguist-generated /lib/codeql/rust/elements/IfExpr.qll linguist-generated /lib/codeql/rust/elements/IfExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/IfExprImpl.qll linguist-generated /lib/codeql/rust/elements/IndexExpr.qll linguist-generated /lib/codeql/rust/elements/IndexExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/IndexExprImpl.qll linguist-generated /lib/codeql/rust/elements/ItemStmt.qll linguist-generated /lib/codeql/rust/elements/ItemStmtConstructor.qll linguist-generated +/lib/codeql/rust/elements/ItemStmtImpl.qll linguist-generated /lib/codeql/rust/elements/Label.qll linguist-generated /lib/codeql/rust/elements/LabelConstructor.qll linguist-generated +/lib/codeql/rust/elements/LabelImpl.qll linguist-generated /lib/codeql/rust/elements/LetExpr.qll linguist-generated /lib/codeql/rust/elements/LetExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/LetExprImpl.qll linguist-generated /lib/codeql/rust/elements/LetStmt.qll linguist-generated /lib/codeql/rust/elements/LetStmtConstructor.qll linguist-generated +/lib/codeql/rust/elements/LetStmtImpl.qll linguist-generated /lib/codeql/rust/elements/LiteralExpr.qll linguist-generated /lib/codeql/rust/elements/LiteralExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/LiteralExprImpl.qll linguist-generated /lib/codeql/rust/elements/LiteralPat.qll linguist-generated /lib/codeql/rust/elements/LiteralPatConstructor.qll linguist-generated +/lib/codeql/rust/elements/LiteralPatImpl.qll linguist-generated +/lib/codeql/rust/elements/Locatable.qll linguist-generated /lib/codeql/rust/elements/LoopExpr.qll linguist-generated /lib/codeql/rust/elements/LoopExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/LoopExprImpl.qll linguist-generated /lib/codeql/rust/elements/MatchArm.qll linguist-generated /lib/codeql/rust/elements/MatchArmConstructor.qll linguist-generated +/lib/codeql/rust/elements/MatchArmImpl.qll linguist-generated /lib/codeql/rust/elements/MatchExpr.qll linguist-generated /lib/codeql/rust/elements/MatchExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/MatchExprImpl.qll linguist-generated /lib/codeql/rust/elements/MethodCallExpr.qll linguist-generated /lib/codeql/rust/elements/MethodCallExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/MethodCallExprImpl.qll linguist-generated /lib/codeql/rust/elements/MissingExpr.qll linguist-generated /lib/codeql/rust/elements/MissingExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/MissingExprImpl.qll linguist-generated /lib/codeql/rust/elements/MissingPat.qll linguist-generated /lib/codeql/rust/elements/MissingPatConstructor.qll linguist-generated +/lib/codeql/rust/elements/MissingPatImpl.qll linguist-generated /lib/codeql/rust/elements/Module.qll linguist-generated /lib/codeql/rust/elements/ModuleConstructor.qll linguist-generated +/lib/codeql/rust/elements/ModuleImpl.qll linguist-generated /lib/codeql/rust/elements/OffsetOfExpr.qll linguist-generated /lib/codeql/rust/elements/OffsetOfExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/OffsetOfExprImpl.qll linguist-generated /lib/codeql/rust/elements/OrPat.qll linguist-generated /lib/codeql/rust/elements/OrPatConstructor.qll linguist-generated +/lib/codeql/rust/elements/OrPatImpl.qll linguist-generated /lib/codeql/rust/elements/Pat.qll linguist-generated +/lib/codeql/rust/elements/PatImpl.qll linguist-generated /lib/codeql/rust/elements/Path.qll linguist-generated /lib/codeql/rust/elements/PathConstructor.qll linguist-generated /lib/codeql/rust/elements/PathExpr.qll linguist-generated /lib/codeql/rust/elements/PathExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/PathExprImpl.qll linguist-generated +/lib/codeql/rust/elements/PathImpl.qll linguist-generated /lib/codeql/rust/elements/PathPat.qll linguist-generated /lib/codeql/rust/elements/PathPatConstructor.qll linguist-generated +/lib/codeql/rust/elements/PathPatImpl.qll linguist-generated /lib/codeql/rust/elements/PrefixExpr.qll linguist-generated /lib/codeql/rust/elements/PrefixExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/PrefixExprImpl.qll linguist-generated /lib/codeql/rust/elements/RangeExpr.qll linguist-generated /lib/codeql/rust/elements/RangeExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/RangeExprImpl.qll linguist-generated /lib/codeql/rust/elements/RangePat.qll linguist-generated /lib/codeql/rust/elements/RangePatConstructor.qll linguist-generated +/lib/codeql/rust/elements/RangePatImpl.qll linguist-generated /lib/codeql/rust/elements/RecordExpr.qll linguist-generated /lib/codeql/rust/elements/RecordExprConstructor.qll linguist-generated /lib/codeql/rust/elements/RecordExprField.qll linguist-generated /lib/codeql/rust/elements/RecordExprFieldConstructor.qll linguist-generated +/lib/codeql/rust/elements/RecordExprFieldImpl.qll linguist-generated +/lib/codeql/rust/elements/RecordExprImpl.qll linguist-generated /lib/codeql/rust/elements/RecordPat.qll linguist-generated /lib/codeql/rust/elements/RecordPatConstructor.qll linguist-generated /lib/codeql/rust/elements/RecordPatField.qll linguist-generated /lib/codeql/rust/elements/RecordPatFieldConstructor.qll linguist-generated +/lib/codeql/rust/elements/RecordPatFieldImpl.qll linguist-generated +/lib/codeql/rust/elements/RecordPatImpl.qll linguist-generated /lib/codeql/rust/elements/RefExpr.qll linguist-generated /lib/codeql/rust/elements/RefExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/RefExprImpl.qll linguist-generated /lib/codeql/rust/elements/RefPat.qll linguist-generated /lib/codeql/rust/elements/RefPatConstructor.qll linguist-generated +/lib/codeql/rust/elements/RefPatImpl.qll linguist-generated /lib/codeql/rust/elements/RepeatExpr.qll linguist-generated /lib/codeql/rust/elements/RepeatExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/RepeatExprImpl.qll linguist-generated /lib/codeql/rust/elements/ReturnExpr.qll linguist-generated /lib/codeql/rust/elements/ReturnExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/ReturnExprImpl.qll linguist-generated /lib/codeql/rust/elements/SlicePat.qll linguist-generated /lib/codeql/rust/elements/SlicePatConstructor.qll linguist-generated +/lib/codeql/rust/elements/SlicePatImpl.qll linguist-generated /lib/codeql/rust/elements/Stmt.qll linguist-generated +/lib/codeql/rust/elements/StmtImpl.qll linguist-generated /lib/codeql/rust/elements/TupleExpr.qll linguist-generated /lib/codeql/rust/elements/TupleExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/TupleExprImpl.qll linguist-generated /lib/codeql/rust/elements/TuplePat.qll linguist-generated /lib/codeql/rust/elements/TuplePatConstructor.qll linguist-generated +/lib/codeql/rust/elements/TuplePatImpl.qll linguist-generated /lib/codeql/rust/elements/TupleStructPat.qll linguist-generated /lib/codeql/rust/elements/TupleStructPatConstructor.qll linguist-generated +/lib/codeql/rust/elements/TupleStructPatImpl.qll linguist-generated /lib/codeql/rust/elements/TypeRef.qll linguist-generated /lib/codeql/rust/elements/TypeRefConstructor.qll linguist-generated +/lib/codeql/rust/elements/TypeRefImpl.qll linguist-generated /lib/codeql/rust/elements/UnderscoreExpr.qll linguist-generated /lib/codeql/rust/elements/UnderscoreExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/UnderscoreExprImpl.qll linguist-generated /lib/codeql/rust/elements/Unimplemented.qll linguist-generated /lib/codeql/rust/elements/UnimplementedDeclaration.qll linguist-generated /lib/codeql/rust/elements/UnimplementedDeclarationConstructor.qll linguist-generated +/lib/codeql/rust/elements/UnimplementedDeclarationImpl.qll linguist-generated +/lib/codeql/rust/elements/UnimplementedImpl.qll linguist-generated /lib/codeql/rust/elements/UnsafeBlockExpr.qll linguist-generated /lib/codeql/rust/elements/UnsafeBlockExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/UnsafeBlockExprImpl.qll linguist-generated /lib/codeql/rust/elements/WildcardPat.qll linguist-generated /lib/codeql/rust/elements/WildcardPatConstructor.qll linguist-generated +/lib/codeql/rust/elements/WildcardPatImpl.qll linguist-generated /lib/codeql/rust/elements/YeetExpr.qll linguist-generated /lib/codeql/rust/elements/YeetExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/YeetExprImpl.qll linguist-generated /lib/codeql/rust/elements/YieldExpr.qll linguist-generated /lib/codeql/rust/elements/YieldExprConstructor.qll linguist-generated +/lib/codeql/rust/elements/YieldExprImpl.qll linguist-generated /lib/codeql/rust/elements.qll linguist-generated /lib/codeql/rust/generated/ArrayExpr.qll linguist-generated /lib/codeql/rust/generated/AsmExpr.qll linguist-generated diff --git a/rust/ql/lib/codeql/rust/elements.qll b/rust/ql/lib/codeql/rust/elements.qll index 64342d92af2c..3aa58d9b4c8d 100644 --- a/rust/ql/lib/codeql/rust/elements.qll +++ b/rust/ql/lib/codeql/rust/elements.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module exports all modules providing `Element` subclasses. */ diff --git a/rust/ql/lib/codeql/rust/elements/ArrayExpr.qll b/rust/ql/lib/codeql/rust/elements/ArrayExpr.qll index 6ac6a1e2f01f..69b5b5b298b2 100644 --- a/rust/ql/lib/codeql/rust/elements/ArrayExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/ArrayExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ArrayExpr`. + * This module provides the public class `ArrayExpr`. */ -private import codeql.rust.generated.ArrayExpr +private import ArrayExprImpl +import codeql.rust.elements.Expr /** * An array expression. For example: @@ -12,4 +13,4 @@ private import codeql.rust.generated.ArrayExpr * [1; 10]; * ``` */ -class ArrayExpr extends Generated::ArrayExpr { } +final class ArrayExpr = Impl::ArrayExpr; diff --git a/rust/ql/lib/codeql/rust/elements/ArrayExprImpl.qll b/rust/ql/lib/codeql/rust/elements/ArrayExprImpl.qll new file mode 100644 index 000000000000..f8e3c5ec7353 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ArrayExprImpl.qll @@ -0,0 +1,23 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ArrayExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.ArrayExpr + +/** + * INTERNAL: This module contains the customizable definition of `ArrayExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An array expression. For example: + * ``` + * [1, 2, 3]; + * [1; 10]; + * ``` + */ + class ArrayExpr extends Generated::ArrayExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/AsmExpr.qll b/rust/ql/lib/codeql/rust/elements/AsmExpr.qll index 9e9038c76806..5a72d7172656 100644 --- a/rust/ql/lib/codeql/rust/elements/AsmExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/AsmExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AsmExpr`. + * This module provides the public class `AsmExpr`. */ -private import codeql.rust.generated.AsmExpr +private import AsmExprImpl +import codeql.rust.elements.Expr /** * An inline assembly expression. For example: @@ -13,4 +14,4 @@ private import codeql.rust.generated.AsmExpr * } * ``` */ -class AsmExpr extends Generated::AsmExpr { } +final class AsmExpr = Impl::AsmExpr; diff --git a/rust/ql/lib/codeql/rust/elements/AsmExprImpl.qll b/rust/ql/lib/codeql/rust/elements/AsmExprImpl.qll new file mode 100644 index 000000000000..2dce30aaf0b6 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/AsmExprImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AsmExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.AsmExpr + +/** + * INTERNAL: This module contains the customizable definition of `AsmExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An inline assembly expression. For example: + * ``` + * unsafe { + * builtin # asm(_); + * } + * ``` + */ + class AsmExpr extends Generated::AsmExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/AstNode.qll b/rust/ql/lib/codeql/rust/elements/AstNode.qll index f1edc4ac4932..3191457bc834 100644 --- a/rust/ql/lib/codeql/rust/elements/AstNode.qll +++ b/rust/ql/lib/codeql/rust/elements/AstNode.qll @@ -1,8 +1,9 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AstNode`. + * This module provides the public class `AstNode`. */ -private import codeql.rust.generated.AstNode +private import AstNodeImpl +import codeql.rust.elements.Locatable -class AstNode extends Generated::AstNode { } +final class AstNode = Impl::AstNode; diff --git a/rust/ql/lib/codeql/rust/elements/AstNodeImpl.qll b/rust/ql/lib/codeql/rust/elements/AstNodeImpl.qll new file mode 100644 index 000000000000..4ea06447254b --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/AstNodeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AstNode`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.AstNode + +/** + * INTERNAL: This module contains the customizable definition of `AstNode` and should not + * be referenced directly. + */ +module Impl { + class AstNode extends Generated::AstNode { } +} diff --git a/rust/ql/lib/codeql/rust/elements/AsyncBlockExpr.qll b/rust/ql/lib/codeql/rust/elements/AsyncBlockExpr.qll index c07aaa28f5d4..07a634c9d52a 100644 --- a/rust/ql/lib/codeql/rust/elements/AsyncBlockExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/AsyncBlockExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AsyncBlockExpr`. + * This module provides the public class `AsyncBlockExpr`. */ -private import codeql.rust.generated.AsyncBlockExpr +private import AsyncBlockExprImpl +import codeql.rust.elements.BlockExprBase /** * An async block expression. For example: @@ -14,4 +15,4 @@ private import codeql.rust.generated.AsyncBlockExpr * }.await * ``` */ -class AsyncBlockExpr extends Generated::AsyncBlockExpr { } +final class AsyncBlockExpr = Impl::AsyncBlockExpr; diff --git a/rust/ql/lib/codeql/rust/elements/AsyncBlockExprImpl.qll b/rust/ql/lib/codeql/rust/elements/AsyncBlockExprImpl.qll new file mode 100644 index 000000000000..abaa7c10950c --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/AsyncBlockExprImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AsyncBlockExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.AsyncBlockExpr + +/** + * INTERNAL: This module contains the customizable definition of `AsyncBlockExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An async block expression. For example: + * ``` + * async { + * let x = 42; + * x + * }.await + * ``` + */ + class AsyncBlockExpr extends Generated::AsyncBlockExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/AwaitExpr.qll b/rust/ql/lib/codeql/rust/elements/AwaitExpr.qll index 47a3773b555c..23e3a63454cb 100644 --- a/rust/ql/lib/codeql/rust/elements/AwaitExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/AwaitExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AwaitExpr`. + * This module provides the public class `AwaitExpr`. */ -private import codeql.rust.generated.AwaitExpr +private import AwaitExprImpl +import codeql.rust.elements.Expr /** * An `await` expression. For example: @@ -14,4 +15,4 @@ private import codeql.rust.generated.AwaitExpr * } * ``` */ -class AwaitExpr extends Generated::AwaitExpr { } +final class AwaitExpr = Impl::AwaitExpr; diff --git a/rust/ql/lib/codeql/rust/elements/AwaitExprImpl.qll b/rust/ql/lib/codeql/rust/elements/AwaitExprImpl.qll new file mode 100644 index 000000000000..565cd0d0d944 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/AwaitExprImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AwaitExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.AwaitExpr + +/** + * INTERNAL: This module contains the customizable definition of `AwaitExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An `await` expression. For example: + * ``` + * async { + * let x = foo().await; + * x + * } + * ``` + */ + class AwaitExpr extends Generated::AwaitExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/BecomeExpr.qll b/rust/ql/lib/codeql/rust/elements/BecomeExpr.qll index 6af07fe750cc..03fce95368f8 100644 --- a/rust/ql/lib/codeql/rust/elements/BecomeExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/BecomeExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BecomeExpr`. + * This module provides the public class `BecomeExpr`. */ -private import codeql.rust.generated.BecomeExpr +private import BecomeExprImpl +import codeql.rust.elements.Expr /** * A `become` expression. For example: @@ -16,4 +17,4 @@ private import codeql.rust.generated.BecomeExpr * } * } ``` */ -class BecomeExpr extends Generated::BecomeExpr { } +final class BecomeExpr = Impl::BecomeExpr; diff --git a/rust/ql/lib/codeql/rust/elements/BecomeExprImpl.qll b/rust/ql/lib/codeql/rust/elements/BecomeExprImpl.qll new file mode 100644 index 000000000000..d4240f851428 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/BecomeExprImpl.qll @@ -0,0 +1,27 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BecomeExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.BecomeExpr + +/** + * INTERNAL: This module contains the customizable definition of `BecomeExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A `become` expression. For example: + * ``` + * fn fact_a(n: i32, a: i32) -> i32 { + * if n == 0 { + * a + * } else { + * become fact_a(n - 1, n * a) + * } + * } ``` + */ + class BecomeExpr extends Generated::BecomeExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/BinaryExpr.qll b/rust/ql/lib/codeql/rust/elements/BinaryExpr.qll index b2d251d79208..0a79bb462e38 100644 --- a/rust/ql/lib/codeql/rust/elements/BinaryExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/BinaryExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BinaryExpr`. + * This module provides the public class `BinaryExpr`. */ -private import codeql.rust.generated.BinaryExpr +private import BinaryExprImpl +import codeql.rust.elements.Expr /** * A binary operation expression. For example: @@ -15,4 +16,4 @@ private import codeql.rust.generated.BinaryExpr * x += y; * ``` */ -class BinaryExpr extends Generated::BinaryExpr { } +final class BinaryExpr = Impl::BinaryExpr; diff --git a/rust/ql/lib/codeql/rust/elements/BinaryExprImpl.qll b/rust/ql/lib/codeql/rust/elements/BinaryExprImpl.qll new file mode 100644 index 000000000000..f164bf93971c --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/BinaryExprImpl.qll @@ -0,0 +1,26 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BinaryExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.BinaryExpr + +/** + * INTERNAL: This module contains the customizable definition of `BinaryExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A binary operation expression. For example: + * ``` + * x + y; + * x && y; + * x <= y; + * x = y; + * x += y; + * ``` + */ + class BinaryExpr extends Generated::BinaryExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/BlockExpr.qll b/rust/ql/lib/codeql/rust/elements/BlockExpr.qll index f8f93be4f5c2..36a3c4258261 100644 --- a/rust/ql/lib/codeql/rust/elements/BlockExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/BlockExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BlockExpr`. + * This module provides the public class `BlockExpr`. */ -private import codeql.rust.generated.BlockExpr +private import BlockExprImpl +import codeql.rust.elements.BlockExprBase +import codeql.rust.elements.Label /** * A block expression. For example: @@ -19,4 +21,4 @@ private import codeql.rust.generated.BlockExpr * } * ``` */ -class BlockExpr extends Generated::BlockExpr { } +final class BlockExpr = Impl::BlockExpr; diff --git a/rust/ql/lib/codeql/rust/elements/BlockExprBase.qll b/rust/ql/lib/codeql/rust/elements/BlockExprBase.qll index cf0236709b38..d59faea7ab28 100644 --- a/rust/ql/lib/codeql/rust/elements/BlockExprBase.qll +++ b/rust/ql/lib/codeql/rust/elements/BlockExprBase.qll @@ -1,8 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BlockExprBase`. + * This module provides the public class `BlockExprBase`. */ -private import codeql.rust.generated.BlockExprBase +private import BlockExprBaseImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Stmt -class BlockExprBase extends Generated::BlockExprBase { } +final class BlockExprBase = Impl::BlockExprBase; diff --git a/rust/ql/lib/codeql/rust/elements/BlockExprBaseImpl.qll b/rust/ql/lib/codeql/rust/elements/BlockExprBaseImpl.qll new file mode 100644 index 000000000000..f09431130925 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/BlockExprBaseImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BlockExprBase`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.BlockExprBase + +/** + * INTERNAL: This module contains the customizable definition of `BlockExprBase` and should not + * be referenced directly. + */ +module Impl { + class BlockExprBase extends Generated::BlockExprBase { } +} diff --git a/rust/ql/lib/codeql/rust/elements/BlockExprImpl.qll b/rust/ql/lib/codeql/rust/elements/BlockExprImpl.qll new file mode 100644 index 000000000000..85c800b4631b --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/BlockExprImpl.qll @@ -0,0 +1,30 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BlockExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.BlockExpr + +/** + * INTERNAL: This module contains the customizable definition of `BlockExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A block expression. For example: + * ``` + * { + * let x = 42; + * } + * ``` + * ``` + * 'label: { + * let x = 42; + * x + * } + * ``` + */ + class BlockExpr extends Generated::BlockExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/BoxExpr.qll b/rust/ql/lib/codeql/rust/elements/BoxExpr.qll index f61555a0e03f..5325e02e0310 100644 --- a/rust/ql/lib/codeql/rust/elements/BoxExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/BoxExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BoxExpr`. + * This module provides the public class `BoxExpr`. */ -private import codeql.rust.generated.BoxExpr +private import BoxExprImpl +import codeql.rust.elements.Expr /** * A box expression. For example: @@ -11,4 +12,4 @@ private import codeql.rust.generated.BoxExpr * let x = #[rustc_box] Box::new(42); * ``` */ -class BoxExpr extends Generated::BoxExpr { } +final class BoxExpr = Impl::BoxExpr; diff --git a/rust/ql/lib/codeql/rust/elements/BoxExprImpl.qll b/rust/ql/lib/codeql/rust/elements/BoxExprImpl.qll new file mode 100644 index 000000000000..a3df6a1d8ca0 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/BoxExprImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BoxExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.BoxExpr + +/** + * INTERNAL: This module contains the customizable definition of `BoxExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A box expression. For example: + * ``` + * let x = #[rustc_box] Box::new(42); + * ``` + */ + class BoxExpr extends Generated::BoxExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/BoxPat.qll b/rust/ql/lib/codeql/rust/elements/BoxPat.qll index ba0d1d732ffc..2e6daed429c4 100644 --- a/rust/ql/lib/codeql/rust/elements/BoxPat.qll +++ b/rust/ql/lib/codeql/rust/elements/BoxPat.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BoxPat`. + * This module provides the public class `BoxPat`. */ -private import codeql.rust.generated.BoxPat +private import BoxPatImpl +import codeql.rust.elements.Pat /** * A box pattern. For example: @@ -14,4 +15,4 @@ private import codeql.rust.generated.BoxPat * }; * ``` */ -class BoxPat extends Generated::BoxPat { } +final class BoxPat = Impl::BoxPat; diff --git a/rust/ql/lib/codeql/rust/elements/BoxPatImpl.qll b/rust/ql/lib/codeql/rust/elements/BoxPatImpl.qll new file mode 100644 index 000000000000..70d226f5f6c8 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/BoxPatImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BoxPat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.BoxPat + +/** + * INTERNAL: This module contains the customizable definition of `BoxPat` and should not + * be referenced directly. + */ +module Impl { + /** + * A box pattern. For example: + * ``` + * match x { + * box Option::Some(y) => y, + * box Option::None => 0, + * }; + * ``` + */ + class BoxPat extends Generated::BoxPat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/BreakExpr.qll b/rust/ql/lib/codeql/rust/elements/BreakExpr.qll index c8b23f6685d2..c5daaebf32e3 100644 --- a/rust/ql/lib/codeql/rust/elements/BreakExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/BreakExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BreakExpr`. + * This module provides the public class `BreakExpr`. */ -private import codeql.rust.generated.BreakExpr +private import BreakExprImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Label /** * A break expression. For example: @@ -22,4 +24,4 @@ private import codeql.rust.generated.BreakExpr * }; * ``` */ -class BreakExpr extends Generated::BreakExpr { } +final class BreakExpr = Impl::BreakExpr; diff --git a/rust/ql/lib/codeql/rust/elements/BreakExprImpl.qll b/rust/ql/lib/codeql/rust/elements/BreakExprImpl.qll new file mode 100644 index 000000000000..6fde2a1355d5 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/BreakExprImpl.qll @@ -0,0 +1,33 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BreakExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.BreakExpr + +/** + * INTERNAL: This module contains the customizable definition of `BreakExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A break expression. For example: + * ``` + * loop { + * if not_ready() { + * break; + * } + * } + * ``` + * ``` + * let x = 'label: loop { + * if done() { + * break 'label 42; + * } + * }; + * ``` + */ + class BreakExpr extends Generated::BreakExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/CallExpr.qll b/rust/ql/lib/codeql/rust/elements/CallExpr.qll index ef1b34fd7038..4aca2849a2f4 100644 --- a/rust/ql/lib/codeql/rust/elements/CallExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/CallExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `CallExpr`. + * This module provides the public class `CallExpr`. */ -private import codeql.rust.generated.CallExpr +private import CallExprImpl +import codeql.rust.elements.Expr /** * A function call expression. For example: @@ -14,4 +15,4 @@ private import codeql.rust.generated.CallExpr * foo(1) = 4; * ``` */ -class CallExpr extends Generated::CallExpr { } +final class CallExpr = Impl::CallExpr; diff --git a/rust/ql/lib/codeql/rust/elements/CallExprImpl.qll b/rust/ql/lib/codeql/rust/elements/CallExprImpl.qll new file mode 100644 index 000000000000..57ca6100a3ba --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/CallExprImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `CallExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.CallExpr + +/** + * INTERNAL: This module contains the customizable definition of `CallExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A function call expression. For example: + * ``` + * foo(42); + * foo::(42); + * foo[0](42); + * foo(1) = 4; + * ``` + */ + class CallExpr extends Generated::CallExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/CastExpr.qll b/rust/ql/lib/codeql/rust/elements/CastExpr.qll index 3dcafca58965..e474cca5ac1d 100644 --- a/rust/ql/lib/codeql/rust/elements/CastExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/CastExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `CastExpr`. + * This module provides the public class `CastExpr`. */ -private import codeql.rust.generated.CastExpr +private import CastExprImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.TypeRef /** * A cast expression. For example: @@ -11,4 +13,4 @@ private import codeql.rust.generated.CastExpr * value as u64; * ``` */ -class CastExpr extends Generated::CastExpr { } +final class CastExpr = Impl::CastExpr; diff --git a/rust/ql/lib/codeql/rust/elements/CastExprImpl.qll b/rust/ql/lib/codeql/rust/elements/CastExprImpl.qll new file mode 100644 index 000000000000..79018d13bb08 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/CastExprImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `CastExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.CastExpr + +/** + * INTERNAL: This module contains the customizable definition of `CastExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A cast expression. For example: + * ``` + * value as u64; + * ``` + */ + class CastExpr extends Generated::CastExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/ClosureExpr.qll b/rust/ql/lib/codeql/rust/elements/ClosureExpr.qll index 863897ac6419..730024393b8d 100644 --- a/rust/ql/lib/codeql/rust/elements/ClosureExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/ClosureExpr.qll @@ -1,9 +1,12 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ClosureExpr`. + * This module provides the public class `ClosureExpr`. */ -private import codeql.rust.generated.ClosureExpr +private import ClosureExprImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Pat +import codeql.rust.elements.TypeRef /** * A closure expression. For example: @@ -17,4 +20,4 @@ private import codeql.rust.generated.ClosureExpr * static |x| yield x; * ``` */ -class ClosureExpr extends Generated::ClosureExpr { } +final class ClosureExpr = Impl::ClosureExpr; diff --git a/rust/ql/lib/codeql/rust/elements/ClosureExprImpl.qll b/rust/ql/lib/codeql/rust/elements/ClosureExprImpl.qll new file mode 100644 index 000000000000..6f8ba3911ef2 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ClosureExprImpl.qll @@ -0,0 +1,28 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ClosureExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.ClosureExpr + +/** + * INTERNAL: This module contains the customizable definition of `ClosureExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A closure expression. For example: + * ``` + * |x| x + 1; + * move |x: i32| -> i32 { x + 1 }; + * async |x: i32, y| x + y; + * #[coroutine] + * |x| yield x; + * #[coroutine] + * static |x| yield x; + * ``` + */ + class ClosureExpr extends Generated::ClosureExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/ConstBlockPat.qll b/rust/ql/lib/codeql/rust/elements/ConstBlockPat.qll index 96463f23483c..25f8827a6310 100644 --- a/rust/ql/lib/codeql/rust/elements/ConstBlockPat.qll +++ b/rust/ql/lib/codeql/rust/elements/ConstBlockPat.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ConstBlockPat`. + * This module provides the public class `ConstBlockPat`. */ -private import codeql.rust.generated.ConstBlockPat +private import ConstBlockPatImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Pat /** * A const block pattern. For example: @@ -14,4 +16,4 @@ private import codeql.rust.generated.ConstBlockPat * }; * ``` */ -class ConstBlockPat extends Generated::ConstBlockPat { } +final class ConstBlockPat = Impl::ConstBlockPat; diff --git a/rust/ql/lib/codeql/rust/elements/ConstBlockPatImpl.qll b/rust/ql/lib/codeql/rust/elements/ConstBlockPatImpl.qll new file mode 100644 index 000000000000..b96644b001a5 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ConstBlockPatImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ConstBlockPat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.ConstBlockPat + +/** + * INTERNAL: This module contains the customizable definition of `ConstBlockPat` and should not + * be referenced directly. + */ +module Impl { + /** + * A const block pattern. For example: + * ``` + * match x { + * const { 1 + 2 + 3 } => "ok", + * _ => "fail", + * }; + * ``` + */ + class ConstBlockPat extends Generated::ConstBlockPat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/ConstExpr.qll b/rust/ql/lib/codeql/rust/elements/ConstExpr.qll index 1e76306bea02..5474b5df975e 100644 --- a/rust/ql/lib/codeql/rust/elements/ConstExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/ConstExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ConstExpr`. + * This module provides the public class `ConstExpr`. */ -private import codeql.rust.generated.ConstExpr +private import ConstExprImpl +import codeql.rust.elements.Expr /** * A `const` block expression. For example: @@ -13,4 +14,4 @@ private import codeql.rust.generated.ConstExpr * } * ``` */ -class ConstExpr extends Generated::ConstExpr { } +final class ConstExpr = Impl::ConstExpr; diff --git a/rust/ql/lib/codeql/rust/elements/ConstExprImpl.qll b/rust/ql/lib/codeql/rust/elements/ConstExprImpl.qll new file mode 100644 index 000000000000..2beb09df0d4b --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ConstExprImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ConstExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.ConstExpr + +/** + * INTERNAL: This module contains the customizable definition of `ConstExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A `const` block expression. For example: + * ``` + * if const { SRC::IS_ZST || DEST::IS_ZST || mem::align_of::() != mem::align_of::() } { + * return false; + * } + * ``` + */ + class ConstExpr extends Generated::ConstExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/ContinueExpr.qll b/rust/ql/lib/codeql/rust/elements/ContinueExpr.qll index c5674d62b193..f097f450e7a6 100644 --- a/rust/ql/lib/codeql/rust/elements/ContinueExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/ContinueExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ContinueExpr`. + * This module provides the public class `ContinueExpr`. */ -private import codeql.rust.generated.ContinueExpr +private import ContinueExprImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Label /** * A continue expression. For example: @@ -22,4 +24,4 @@ private import codeql.rust.generated.ContinueExpr * } * ``` */ -class ContinueExpr extends Generated::ContinueExpr { } +final class ContinueExpr = Impl::ContinueExpr; diff --git a/rust/ql/lib/codeql/rust/elements/ContinueExprImpl.qll b/rust/ql/lib/codeql/rust/elements/ContinueExprImpl.qll new file mode 100644 index 000000000000..b2cc14bd4074 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ContinueExprImpl.qll @@ -0,0 +1,33 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ContinueExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.ContinueExpr + +/** + * INTERNAL: This module contains the customizable definition of `ContinueExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A continue expression. For example: + * ``` + * loop { + * if not_ready() { + * continue; + * } + * } + * ``` + * ``` + * 'label: loop { + * if not_ready() { + * continue 'label; + * } + * } + * ``` + */ + class ContinueExpr extends Generated::ContinueExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/Declaration.qll b/rust/ql/lib/codeql/rust/elements/Declaration.qll index c6a4ecb8e8b3..8b59334aa5ca 100644 --- a/rust/ql/lib/codeql/rust/elements/Declaration.qll +++ b/rust/ql/lib/codeql/rust/elements/Declaration.qll @@ -1,11 +1,12 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Declaration`. + * This module provides the public class `Declaration`. */ -private import codeql.rust.generated.Declaration +private import DeclarationImpl +import codeql.rust.elements.AstNode /** * The base class for declarations. */ -class Declaration extends Generated::Declaration { } +final class Declaration = Impl::Declaration; diff --git a/rust/ql/lib/codeql/rust/elements/DeclarationImpl.qll b/rust/ql/lib/codeql/rust/elements/DeclarationImpl.qll new file mode 100644 index 000000000000..673447f4c02f --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/DeclarationImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `Declaration`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.Declaration + +/** + * INTERNAL: This module contains the customizable definition of `Declaration` and should not + * be referenced directly. + */ +module Impl { + /** + * The base class for declarations. + */ + class Declaration extends Generated::Declaration { } +} diff --git a/rust/ql/lib/codeql/rust/elements/Element.qll b/rust/ql/lib/codeql/rust/elements/Element.qll index 9c1f18767482..8f42022efd0a 100644 --- a/rust/ql/lib/codeql/rust/elements/Element.qll +++ b/rust/ql/lib/codeql/rust/elements/Element.qll @@ -1,11 +1,8 @@ +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Element`. + * This module provides the public class `Element`. */ -private import codeql.rust.generated.Element +private import ElementImpl -class Element extends Generated::Element { - override string toString() { result = this.getAPrimaryQlClass() } - - predicate isUnknown() { none() } // compatibility with test generation, to be fixed -} +final class Element = Impl::Element; diff --git a/rust/ql/lib/codeql/rust/elements/ElementImpl.qll b/rust/ql/lib/codeql/rust/elements/ElementImpl.qll new file mode 100644 index 000000000000..b2ccb9ab0597 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ElementImpl.qll @@ -0,0 +1,19 @@ +/** + * This module provides a hand-modifiable wrapper around the generated class `Element`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.Element + +/** + * INTERNAL: This module contains the customizable definition of `Element` and should not + * be referenced directly. + */ +module Impl { + class Element extends Generated::Element { + override string toString() { result = this.getAPrimaryQlClass() } + + predicate isUnknown() { none() } // compatibility with test generation, to be fixed + } +} diff --git a/rust/ql/lib/codeql/rust/elements/ElementListExpr.qll b/rust/ql/lib/codeql/rust/elements/ElementListExpr.qll index e9437b2e6a1a..4170d29e3399 100644 --- a/rust/ql/lib/codeql/rust/elements/ElementListExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/ElementListExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ElementListExpr`. + * This module provides the public class `ElementListExpr`. */ -private import codeql.rust.generated.ElementListExpr +private import ElementListExprImpl +import codeql.rust.elements.ArrayExpr +import codeql.rust.elements.Expr /** * An element list expression. For example: @@ -12,4 +14,4 @@ private import codeql.rust.generated.ElementListExpr * [1, 2, 3, 4, 5][0] = 6; * ``` */ -class ElementListExpr extends Generated::ElementListExpr { } +final class ElementListExpr = Impl::ElementListExpr; diff --git a/rust/ql/lib/codeql/rust/elements/ElementListExprImpl.qll b/rust/ql/lib/codeql/rust/elements/ElementListExprImpl.qll new file mode 100644 index 000000000000..5954d31c64fb --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ElementListExprImpl.qll @@ -0,0 +1,23 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ElementListExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.ElementListExpr + +/** + * INTERNAL: This module contains the customizable definition of `ElementListExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An element list expression. For example: + * ``` + * [1, 2, 3, 4, 5]; + * [1, 2, 3, 4, 5][0] = 6; + * ``` + */ + class ElementListExpr extends Generated::ElementListExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/Expr.qll b/rust/ql/lib/codeql/rust/elements/Expr.qll index 581580fcfb09..1fcb536fc3ef 100644 --- a/rust/ql/lib/codeql/rust/elements/Expr.qll +++ b/rust/ql/lib/codeql/rust/elements/Expr.qll @@ -1,11 +1,12 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Expr`. + * This module provides the public class `Expr`. */ -private import codeql.rust.generated.Expr +private import ExprImpl +import codeql.rust.elements.AstNode /** * The base class for expressions. */ -class Expr extends Generated::Expr { } +final class Expr = Impl::Expr; diff --git a/rust/ql/lib/codeql/rust/elements/ExprImpl.qll b/rust/ql/lib/codeql/rust/elements/ExprImpl.qll new file mode 100644 index 000000000000..ca3d8e831f8a --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ExprImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `Expr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.Expr + +/** + * INTERNAL: This module contains the customizable definition of `Expr` and should not + * be referenced directly. + */ +module Impl { + /** + * The base class for expressions. + */ + class Expr extends Generated::Expr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/ExprStmt.qll b/rust/ql/lib/codeql/rust/elements/ExprStmt.qll index e3239ef2e8be..f60f6c94f800 100644 --- a/rust/ql/lib/codeql/rust/elements/ExprStmt.qll +++ b/rust/ql/lib/codeql/rust/elements/ExprStmt.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ExprStmt`. + * This module provides the public class `ExprStmt`. */ -private import codeql.rust.generated.ExprStmt +private import ExprStmtImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Stmt /** * An expression statement. For example: @@ -13,4 +15,4 @@ private import codeql.rust.generated.ExprStmt * use std::env; * ``` */ -class ExprStmt extends Generated::ExprStmt { } +final class ExprStmt = Impl::ExprStmt; diff --git a/rust/ql/lib/codeql/rust/elements/ExprStmtImpl.qll b/rust/ql/lib/codeql/rust/elements/ExprStmtImpl.qll new file mode 100644 index 000000000000..7b9e2567742b --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ExprStmtImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ExprStmt`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.ExprStmt + +/** + * INTERNAL: This module contains the customizable definition of `ExprStmt` and should not + * be referenced directly. + */ +module Impl { + /** + * An expression statement. For example: + * ``` + * start(); + * finish() + * use std::env; + * ``` + */ + class ExprStmt extends Generated::ExprStmt { } +} diff --git a/rust/ql/lib/codeql/rust/elements/FieldExpr.qll b/rust/ql/lib/codeql/rust/elements/FieldExpr.qll index a70cb61105e7..8ac064ff2448 100644 --- a/rust/ql/lib/codeql/rust/elements/FieldExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/FieldExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `FieldExpr`. + * This module provides the public class `FieldExpr`. */ -private import codeql.rust.generated.FieldExpr +private import FieldExprImpl +import codeql.rust.elements.Expr /** * A field access expression. For example: @@ -11,4 +12,4 @@ private import codeql.rust.generated.FieldExpr * x.foo * ``` */ -class FieldExpr extends Generated::FieldExpr { } +final class FieldExpr = Impl::FieldExpr; diff --git a/rust/ql/lib/codeql/rust/elements/FieldExprImpl.qll b/rust/ql/lib/codeql/rust/elements/FieldExprImpl.qll new file mode 100644 index 000000000000..9a8cfc83e6d4 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/FieldExprImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `FieldExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.FieldExpr + +/** + * INTERNAL: This module contains the customizable definition of `FieldExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A field access expression. For example: + * ``` + * x.foo + * ``` + */ + class FieldExpr extends Generated::FieldExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/Function.qll b/rust/ql/lib/codeql/rust/elements/Function.qll index bbeb26d9d9e3..e66d6a263ba3 100644 --- a/rust/ql/lib/codeql/rust/elements/Function.qll +++ b/rust/ql/lib/codeql/rust/elements/Function.qll @@ -1,10 +1,12 @@ +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Function`. + * This module provides the public class `Function`. */ -private import codeql.rust.generated.Function +private import FunctionImpl +import codeql.rust.elements.Declaration +import codeql.rust.elements.Expr -// the following QLdoc is generated: if you need to edit it, do it in the schema file /** * A function declaration. For example * ``` @@ -17,6 +19,4 @@ private import codeql.rust.generated.Function * } * ``` */ -class Function extends Generated::Function { - override string toString() { result = this.getName() } -} +final class Function = Impl::Function; diff --git a/rust/ql/lib/codeql/rust/elements/FunctionImpl.qll b/rust/ql/lib/codeql/rust/elements/FunctionImpl.qll new file mode 100644 index 000000000000..0875563dfb3f --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/FunctionImpl.qll @@ -0,0 +1,30 @@ +/** + * This module provides a hand-modifiable wrapper around the generated class `Function`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.Function + +/** + * INTERNAL: This module contains the customizable definition of `Function` and should not + * be referenced directly. + */ +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * A function declaration. For example + * ``` + * fn foo(x: u32) -> u64 {(x + 1).into()} + * ``` + * A function declaration within a trait might not have a body: + * ``` + * trait Trait { + * fn bar(); + * } + * ``` + */ + class Function extends Generated::Function { + override string toString() { result = this.getName() } + } +} diff --git a/rust/ql/lib/codeql/rust/elements/GenericArgList.qll b/rust/ql/lib/codeql/rust/elements/GenericArgList.qll index 43c85a596aa1..0503e9953bc7 100644 --- a/rust/ql/lib/codeql/rust/elements/GenericArgList.qll +++ b/rust/ql/lib/codeql/rust/elements/GenericArgList.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `GenericArgList`. + * This module provides the public class `GenericArgList`. */ -private import codeql.rust.generated.GenericArgList +private import GenericArgListImpl +import codeql.rust.elements.AstNode +import codeql.rust.elements.Unimplemented /** * The base class for generic arguments. @@ -11,4 +13,4 @@ private import codeql.rust.generated.GenericArgList * x.foo::(42); * ``` */ -class GenericArgList extends Generated::GenericArgList { } +final class GenericArgList = Impl::GenericArgList; diff --git a/rust/ql/lib/codeql/rust/elements/GenericArgListImpl.qll b/rust/ql/lib/codeql/rust/elements/GenericArgListImpl.qll new file mode 100644 index 000000000000..eba3652c7f31 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/GenericArgListImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `GenericArgList`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.GenericArgList + +/** + * INTERNAL: This module contains the customizable definition of `GenericArgList` and should not + * be referenced directly. + */ +module Impl { + /** + * The base class for generic arguments. + * ``` + * x.foo::(42); + * ``` + */ + class GenericArgList extends Generated::GenericArgList { } +} diff --git a/rust/ql/lib/codeql/rust/elements/IdentPat.qll b/rust/ql/lib/codeql/rust/elements/IdentPat.qll index 4668ecdb853f..08f116a6e825 100644 --- a/rust/ql/lib/codeql/rust/elements/IdentPat.qll +++ b/rust/ql/lib/codeql/rust/elements/IdentPat.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `IdentPat`. + * This module provides the public class `IdentPat`. */ -private import codeql.rust.generated.IdentPat +private import IdentPatImpl +import codeql.rust.elements.Pat /** * A binding pattern. For example: @@ -20,4 +21,4 @@ private import codeql.rust.generated.IdentPat * }; * ``` */ -class IdentPat extends Generated::IdentPat { } +final class IdentPat = Impl::IdentPat; diff --git a/rust/ql/lib/codeql/rust/elements/IdentPatImpl.qll b/rust/ql/lib/codeql/rust/elements/IdentPatImpl.qll new file mode 100644 index 000000000000..87b9add46788 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/IdentPatImpl.qll @@ -0,0 +1,31 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `IdentPat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.IdentPat + +/** + * INTERNAL: This module contains the customizable definition of `IdentPat` and should not + * be referenced directly. + */ +module Impl { + /** + * A binding pattern. For example: + * ``` + * match x { + * Option::Some(y) => y, + * Option::None => 0, + * }; + * ``` + * ``` + * match x { + * y@Option::Some(_) => y, + * Option::None => 0, + * }; + * ``` + */ + class IdentPat extends Generated::IdentPat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/IfExpr.qll b/rust/ql/lib/codeql/rust/elements/IfExpr.qll index ca5886e65673..36e1ca0535da 100644 --- a/rust/ql/lib/codeql/rust/elements/IfExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/IfExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `IfExpr`. + * This module provides the public class `IfExpr`. */ -private import codeql.rust.generated.IfExpr +private import IfExprImpl +import codeql.rust.elements.Expr /** * An `if` expression. For example: @@ -20,4 +21,4 @@ private import codeql.rust.generated.IfExpr * } * ``` */ -class IfExpr extends Generated::IfExpr { } +final class IfExpr = Impl::IfExpr; diff --git a/rust/ql/lib/codeql/rust/elements/IfExprImpl.qll b/rust/ql/lib/codeql/rust/elements/IfExprImpl.qll new file mode 100644 index 000000000000..9ef98679bc64 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/IfExprImpl.qll @@ -0,0 +1,31 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `IfExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.IfExpr + +/** + * INTERNAL: This module contains the customizable definition of `IfExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An `if` expression. For example: + * ``` + * if x == 42 { + * println!("that's the answer"); + * } + * ``` + * ``` + * let y = if x > 0 { + * 1 + * } else { + * 0 + * } + * ``` + */ + class IfExpr extends Generated::IfExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/IndexExpr.qll b/rust/ql/lib/codeql/rust/elements/IndexExpr.qll index d67dfeda33b9..35f6648c2e72 100644 --- a/rust/ql/lib/codeql/rust/elements/IndexExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/IndexExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `IndexExpr`. + * This module provides the public class `IndexExpr`. */ -private import codeql.rust.generated.IndexExpr +private import IndexExprImpl +import codeql.rust.elements.Expr /** * An index expression. For example: @@ -12,4 +13,4 @@ private import codeql.rust.generated.IndexExpr * list[42] = 1; * ``` */ -class IndexExpr extends Generated::IndexExpr { } +final class IndexExpr = Impl::IndexExpr; diff --git a/rust/ql/lib/codeql/rust/elements/IndexExprImpl.qll b/rust/ql/lib/codeql/rust/elements/IndexExprImpl.qll new file mode 100644 index 000000000000..4486edc1d8df --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/IndexExprImpl.qll @@ -0,0 +1,23 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `IndexExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.IndexExpr + +/** + * INTERNAL: This module contains the customizable definition of `IndexExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An index expression. For example: + * ``` + * list[42]; + * list[42] = 1; + * ``` + */ + class IndexExpr extends Generated::IndexExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/ItemStmt.qll b/rust/ql/lib/codeql/rust/elements/ItemStmt.qll index 1e4d1f45e7d0..bb99ab313ca6 100644 --- a/rust/ql/lib/codeql/rust/elements/ItemStmt.qll +++ b/rust/ql/lib/codeql/rust/elements/ItemStmt.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ItemStmt`. + * This module provides the public class `ItemStmt`. */ -private import codeql.rust.generated.ItemStmt +private import ItemStmtImpl +import codeql.rust.elements.Stmt /** * An item statement. For example: @@ -14,4 +15,4 @@ private import codeql.rust.generated.ItemStmt * print_hello(); * ``` */ -class ItemStmt extends Generated::ItemStmt { } +final class ItemStmt = Impl::ItemStmt; diff --git a/rust/ql/lib/codeql/rust/elements/ItemStmtImpl.qll b/rust/ql/lib/codeql/rust/elements/ItemStmtImpl.qll new file mode 100644 index 000000000000..0757e0737e8b --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ItemStmtImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ItemStmt`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.ItemStmt + +/** + * INTERNAL: This module contains the customizable definition of `ItemStmt` and should not + * be referenced directly. + */ +module Impl { + /** + * An item statement. For example: + * ``` + * fn print_hello() { + * println!("Hello, world!"); + * } + * print_hello(); + * ``` + */ + class ItemStmt extends Generated::ItemStmt { } +} diff --git a/rust/ql/lib/codeql/rust/elements/Label.qll b/rust/ql/lib/codeql/rust/elements/Label.qll index 43dffc197b1f..4e54e1e294fa 100644 --- a/rust/ql/lib/codeql/rust/elements/Label.qll +++ b/rust/ql/lib/codeql/rust/elements/Label.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Label`. + * This module provides the public class `Label`. */ -private import codeql.rust.generated.Label +private import LabelImpl +import codeql.rust.elements.AstNode /** * A label. For example: @@ -14,4 +15,4 @@ private import codeql.rust.generated.Label * }; * ``` */ -class Label extends Generated::Label { } +final class Label = Impl::Label; diff --git a/rust/ql/lib/codeql/rust/elements/LabelImpl.qll b/rust/ql/lib/codeql/rust/elements/LabelImpl.qll new file mode 100644 index 000000000000..d8b4056c6161 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/LabelImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `Label`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.Label + +/** + * INTERNAL: This module contains the customizable definition of `Label` and should not + * be referenced directly. + */ +module Impl { + /** + * A label. For example: + * ``` + * 'label: loop { + * println!("Hello, world (once)!"); + * break 'label; + * }; + * ``` + */ + class Label extends Generated::Label { } +} diff --git a/rust/ql/lib/codeql/rust/elements/LetExpr.qll b/rust/ql/lib/codeql/rust/elements/LetExpr.qll index 27979b514540..2d6089299581 100644 --- a/rust/ql/lib/codeql/rust/elements/LetExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/LetExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LetExpr`. + * This module provides the public class `LetExpr`. */ -private import codeql.rust.generated.LetExpr +private import LetExprImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Pat /** * A `let` expression. For example: @@ -13,4 +15,4 @@ private import codeql.rust.generated.LetExpr * } * ``` */ -class LetExpr extends Generated::LetExpr { } +final class LetExpr = Impl::LetExpr; diff --git a/rust/ql/lib/codeql/rust/elements/LetExprImpl.qll b/rust/ql/lib/codeql/rust/elements/LetExprImpl.qll new file mode 100644 index 000000000000..3e3208454f0c --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/LetExprImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LetExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.LetExpr + +/** + * INTERNAL: This module contains the customizable definition of `LetExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A `let` expression. For example: + * ``` + * if let Some(x) = maybe_some { + * println!("{}", x); + * } + * ``` + */ + class LetExpr extends Generated::LetExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/LetStmt.qll b/rust/ql/lib/codeql/rust/elements/LetStmt.qll index 10a58875d496..9302c0aa9816 100644 --- a/rust/ql/lib/codeql/rust/elements/LetStmt.qll +++ b/rust/ql/lib/codeql/rust/elements/LetStmt.qll @@ -1,9 +1,13 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LetStmt`. + * This module provides the public class `LetStmt`. */ -private import codeql.rust.generated.LetStmt +private import LetStmtImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Pat +import codeql.rust.elements.Stmt +import codeql.rust.elements.TypeRef /** * A let statement. For example: @@ -17,4 +21,4 @@ private import codeql.rust.generated.LetStmt * return; * }; */ -class LetStmt extends Generated::LetStmt { } +final class LetStmt = Impl::LetStmt; diff --git a/rust/ql/lib/codeql/rust/elements/LetStmtImpl.qll b/rust/ql/lib/codeql/rust/elements/LetStmtImpl.qll new file mode 100644 index 000000000000..725b7fce9502 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/LetStmtImpl.qll @@ -0,0 +1,28 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LetStmt`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.LetStmt + +/** + * INTERNAL: This module contains the customizable definition of `LetStmt` and should not + * be referenced directly. + */ +module Impl { + /** + * A let statement. For example: + * ``` + * let x = 42; + * let x: i32 = 42; + * let x: i32; + * let x; + * let (x, y) = (1, 2); + * let Some(x) = std::env::var("FOO") else { + * return; + * }; + */ + class LetStmt extends Generated::LetStmt { } +} diff --git a/rust/ql/lib/codeql/rust/elements/LiteralExpr.qll b/rust/ql/lib/codeql/rust/elements/LiteralExpr.qll index bf892ed395cf..0d566724f89b 100644 --- a/rust/ql/lib/codeql/rust/elements/LiteralExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/LiteralExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LiteralExpr`. + * This module provides the public class `LiteralExpr`. */ -private import codeql.rust.generated.LiteralExpr +private import LiteralExprImpl +import codeql.rust.elements.Expr /** * A literal expression. For example: @@ -17,4 +18,4 @@ private import codeql.rust.generated.LiteralExpr * r"Hello, world!"; * true; */ -class LiteralExpr extends Generated::LiteralExpr { } +final class LiteralExpr = Impl::LiteralExpr; diff --git a/rust/ql/lib/codeql/rust/elements/LiteralExprImpl.qll b/rust/ql/lib/codeql/rust/elements/LiteralExprImpl.qll new file mode 100644 index 000000000000..5b4448af1bc1 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/LiteralExprImpl.qll @@ -0,0 +1,28 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LiteralExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.LiteralExpr + +/** + * INTERNAL: This module contains the customizable definition of `LiteralExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A literal expression. For example: + * ``` + * 42; + * 42.0; + * "Hello, world!"; + * b"Hello, world!"; + * 'x'; + * b'x'; + * r"Hello, world!"; + * true; + */ + class LiteralExpr extends Generated::LiteralExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/LiteralPat.qll b/rust/ql/lib/codeql/rust/elements/LiteralPat.qll index 53f0f809ad77..59bcd3d80893 100644 --- a/rust/ql/lib/codeql/rust/elements/LiteralPat.qll +++ b/rust/ql/lib/codeql/rust/elements/LiteralPat.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LiteralPat`. + * This module provides the public class `LiteralPat`. */ -private import codeql.rust.generated.LiteralPat +private import LiteralPatImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Pat /** * A literal pattern. For example: @@ -14,4 +16,4 @@ private import codeql.rust.generated.LiteralPat * } * ``` */ -class LiteralPat extends Generated::LiteralPat { } +final class LiteralPat = Impl::LiteralPat; diff --git a/rust/ql/lib/codeql/rust/elements/LiteralPatImpl.qll b/rust/ql/lib/codeql/rust/elements/LiteralPatImpl.qll new file mode 100644 index 000000000000..a1fd4e05e4e1 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/LiteralPatImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LiteralPat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.LiteralPat + +/** + * INTERNAL: This module contains the customizable definition of `LiteralPat` and should not + * be referenced directly. + */ +module Impl { + /** + * A literal pattern. For example: + * ``` + * match x { + * 42 => "ok", + * _ => "fail", + * } + * ``` + */ + class LiteralPat extends Generated::LiteralPat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/Locatable.qll b/rust/ql/lib/codeql/rust/elements/Locatable.qll index ca209c1ee3e3..046a419ebc12 100644 --- a/rust/ql/lib/codeql/rust/elements/Locatable.qll +++ b/rust/ql/lib/codeql/rust/elements/Locatable.qll @@ -1,29 +1,9 @@ +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Locatable`. + * This module provides the public class `Locatable`. */ -private import codeql.rust.generated.Locatable -import codeql.Locations -private import codeql.rust.generated.Synth -private import codeql.rust.generated.Raw +private import LocatableImpl +import codeql.rust.elements.Element -class Locatable extends Generated::Locatable { - /** Gets the primary location of this element. */ - pragma[nomagic] - final Location getLocation() { - exists(Raw::Locatable raw | - raw = Synth::convertLocatableToRaw(this) and - ( - locatable_locations(raw, result) - or - not exists(Location loc | locatable_locations(raw, loc)) and - result instanceof EmptyLocation - ) - ) - } - - /** - * Gets the primary file where this element occurs. - */ - File getFile() { result = this.getLocation().getFile() } -} +final class Locatable = Impl::Locatable; diff --git a/rust/ql/lib/codeql/rust/elements/LocatableImpl.qll b/rust/ql/lib/codeql/rust/elements/LocatableImpl.qll new file mode 100644 index 000000000000..0c0c881854a1 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/LocatableImpl.qll @@ -0,0 +1,36 @@ +/** + * This module provides a hand-modifiable wrapper around the generated class `Locatable`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.Locatable +import codeql.Locations +private import codeql.rust.generated.Synth +private import codeql.rust.generated.Raw + +/** + * INTERNAL: This module contains the customizable definition of `Locatable` and should not + * be referenced directly. + */ +module Impl { + class Locatable extends Generated::Locatable { + pragma[nomagic] + final Location getLocation() { + exists(Raw::Locatable raw | + raw = Synth::convertLocatableToRaw(this) and + ( + locatable_locations(raw, result) + or + not exists(Location loc | locatable_locations(raw, loc)) and + result instanceof EmptyLocation + ) + ) + } + + /** + * Gets the primary file where this element occurs. + */ + File getFile() { result = this.getLocation().getFile() } + } +} diff --git a/rust/ql/lib/codeql/rust/elements/LoopExpr.qll b/rust/ql/lib/codeql/rust/elements/LoopExpr.qll index fdc49e1e85e6..09e7fc7ce880 100644 --- a/rust/ql/lib/codeql/rust/elements/LoopExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/LoopExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LoopExpr`. + * This module provides the public class `LoopExpr`. */ -private import codeql.rust.generated.LoopExpr +private import LoopExprImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Label /** * A loop expression. For example: @@ -29,4 +31,4 @@ private import codeql.rust.generated.LoopExpr * }; * ``` */ -class LoopExpr extends Generated::LoopExpr { } +final class LoopExpr = Impl::LoopExpr; diff --git a/rust/ql/lib/codeql/rust/elements/LoopExprImpl.qll b/rust/ql/lib/codeql/rust/elements/LoopExprImpl.qll new file mode 100644 index 000000000000..962a20f48a31 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/LoopExprImpl.qll @@ -0,0 +1,40 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LoopExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.LoopExpr + +/** + * INTERNAL: This module contains the customizable definition of `LoopExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A loop expression. For example: + * ``` + * loop { + * println!("Hello, world (again)!"); + * }; + * ``` + * ``` + * 'label: loop { + * println!("Hello, world (once)!"); + * break 'label; + * }; + * ``` + * ``` + * let mut x = 0; + * loop { + * if x < 10 { + * x += 1; + * } else { + * break; + * } + * }; + * ``` + */ + class LoopExpr extends Generated::LoopExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/MatchArm.qll b/rust/ql/lib/codeql/rust/elements/MatchArm.qll index 9a83487cd225..4ab8956932db 100644 --- a/rust/ql/lib/codeql/rust/elements/MatchArm.qll +++ b/rust/ql/lib/codeql/rust/elements/MatchArm.qll @@ -1,9 +1,12 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `MatchArm`. + * This module provides the public class `MatchArm`. */ -private import codeql.rust.generated.MatchArm +private import MatchArmImpl +import codeql.rust.elements.AstNode +import codeql.rust.elements.Expr +import codeql.rust.elements.Pat /** * A match arm. For example: @@ -20,4 +23,4 @@ private import codeql.rust.generated.MatchArm * }; * ``` */ -class MatchArm extends Generated::MatchArm { } +final class MatchArm = Impl::MatchArm; diff --git a/rust/ql/lib/codeql/rust/elements/MatchArmImpl.qll b/rust/ql/lib/codeql/rust/elements/MatchArmImpl.qll new file mode 100644 index 000000000000..429f3357d141 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/MatchArmImpl.qll @@ -0,0 +1,31 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `MatchArm`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.MatchArm + +/** + * INTERNAL: This module contains the customizable definition of `MatchArm` and should not + * be referenced directly. + */ +module Impl { + /** + * A match arm. For example: + * ``` + * match x { + * Option::Some(y) => y, + * Option::None => 0, + * }; + * ``` + * ``` + * match x { + * Some(y) if y != 0 => 1 / y, + * _ => 0, + * }; + * ``` + */ + class MatchArm extends Generated::MatchArm { } +} diff --git a/rust/ql/lib/codeql/rust/elements/MatchExpr.qll b/rust/ql/lib/codeql/rust/elements/MatchExpr.qll index 752b795e5e0b..bfa93d00c1f6 100644 --- a/rust/ql/lib/codeql/rust/elements/MatchExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/MatchExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `MatchExpr`. + * This module provides the public class `MatchExpr`. */ -private import codeql.rust.generated.MatchExpr +private import MatchExprImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.MatchArm /** * A match expression. For example: @@ -20,4 +22,4 @@ private import codeql.rust.generated.MatchExpr * } * ``` */ -class MatchExpr extends Generated::MatchExpr { } +final class MatchExpr = Impl::MatchExpr; diff --git a/rust/ql/lib/codeql/rust/elements/MatchExprImpl.qll b/rust/ql/lib/codeql/rust/elements/MatchExprImpl.qll new file mode 100644 index 000000000000..32384cb86b4e --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/MatchExprImpl.qll @@ -0,0 +1,31 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `MatchExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.MatchExpr + +/** + * INTERNAL: This module contains the customizable definition of `MatchExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A match expression. For example: + * ``` + * match x { + * Option::Some(y) => y, + * Option::None => 0, + * } + * ``` + * ``` + * match x { + * Some(y) if y != 0 => 1 / y, + * _ => 0, + * } + * ``` + */ + class MatchExpr extends Generated::MatchExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/MethodCallExpr.qll b/rust/ql/lib/codeql/rust/elements/MethodCallExpr.qll index 0a7bdc6b8567..9153bd6b4e29 100644 --- a/rust/ql/lib/codeql/rust/elements/MethodCallExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/MethodCallExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `MethodCallExpr`. + * This module provides the public class `MethodCallExpr`. */ -private import codeql.rust.generated.MethodCallExpr +private import MethodCallExprImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.GenericArgList /** * A method call expression. For example: @@ -11,4 +13,4 @@ private import codeql.rust.generated.MethodCallExpr * x.foo(42); * x.foo::(42); */ -class MethodCallExpr extends Generated::MethodCallExpr { } +final class MethodCallExpr = Impl::MethodCallExpr; diff --git a/rust/ql/lib/codeql/rust/elements/MethodCallExprImpl.qll b/rust/ql/lib/codeql/rust/elements/MethodCallExprImpl.qll new file mode 100644 index 000000000000..992f1f1ba5c0 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/MethodCallExprImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `MethodCallExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.MethodCallExpr + +/** + * INTERNAL: This module contains the customizable definition of `MethodCallExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A method call expression. For example: + * ``` + * x.foo(42); + * x.foo::(42); + */ + class MethodCallExpr extends Generated::MethodCallExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/MissingExpr.qll b/rust/ql/lib/codeql/rust/elements/MissingExpr.qll index 2190168eaf5f..ef5aaafb69db 100644 --- a/rust/ql/lib/codeql/rust/elements/MissingExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/MissingExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `MissingExpr`. + * This module provides the public class `MissingExpr`. */ -private import codeql.rust.generated.MissingExpr +private import MissingExprImpl +import codeql.rust.elements.Expr /** * A missing expression, used as a placeholder for incomplete syntax. @@ -12,4 +13,4 @@ private import codeql.rust.generated.MissingExpr * let x = non_existing_macro!(); * ``` */ -class MissingExpr extends Generated::MissingExpr { } +final class MissingExpr = Impl::MissingExpr; diff --git a/rust/ql/lib/codeql/rust/elements/MissingExprImpl.qll b/rust/ql/lib/codeql/rust/elements/MissingExprImpl.qll new file mode 100644 index 000000000000..c1fa9c3f69b7 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/MissingExprImpl.qll @@ -0,0 +1,23 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `MissingExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.MissingExpr + +/** + * INTERNAL: This module contains the customizable definition of `MissingExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A missing expression, used as a placeholder for incomplete syntax. + * + * ``` + * let x = non_existing_macro!(); + * ``` + */ + class MissingExpr extends Generated::MissingExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/MissingPat.qll b/rust/ql/lib/codeql/rust/elements/MissingPat.qll index c1d875555e3a..5034b0df5134 100644 --- a/rust/ql/lib/codeql/rust/elements/MissingPat.qll +++ b/rust/ql/lib/codeql/rust/elements/MissingPat.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `MissingPat`. + * This module provides the public class `MissingPat`. */ -private import codeql.rust.generated.MissingPat +private import MissingPatImpl +import codeql.rust.elements.Pat /** * A missing pattern, used as a place holder for incomplete syntax. @@ -13,4 +14,4 @@ private import codeql.rust.generated.MissingPat * }; * ``` */ -class MissingPat extends Generated::MissingPat { } +final class MissingPat = Impl::MissingPat; diff --git a/rust/ql/lib/codeql/rust/elements/MissingPatImpl.qll b/rust/ql/lib/codeql/rust/elements/MissingPatImpl.qll new file mode 100644 index 000000000000..73109f7e5219 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/MissingPatImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `MissingPat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.MissingPat + +/** + * INTERNAL: This module contains the customizable definition of `MissingPat` and should not + * be referenced directly. + */ +module Impl { + /** + * A missing pattern, used as a place holder for incomplete syntax. + * ``` + * match Some(42) { + * .. => "bad use of .. syntax", + * }; + * ``` + */ + class MissingPat extends Generated::MissingPat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/Module.qll b/rust/ql/lib/codeql/rust/elements/Module.qll index bd0207365269..5ca2aadee4d9 100644 --- a/rust/ql/lib/codeql/rust/elements/Module.qll +++ b/rust/ql/lib/codeql/rust/elements/Module.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Module`. + * This module provides the public class `Module`. */ -private import codeql.rust.generated.Module +private import ModuleImpl +import codeql.rust.elements.Declaration /** * A module declaration. For example: @@ -16,4 +17,4 @@ private import codeql.rust.generated.Module * } * ``` */ -class Module extends Generated::Module { } +final class Module = Impl::Module; diff --git a/rust/ql/lib/codeql/rust/elements/ModuleImpl.qll b/rust/ql/lib/codeql/rust/elements/ModuleImpl.qll new file mode 100644 index 000000000000..48a1484a0d9b --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ModuleImpl.qll @@ -0,0 +1,27 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `Module`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.Module + +/** + * INTERNAL: This module contains the customizable definition of `Module` and should not + * be referenced directly. + */ +module Impl { + /** + * A module declaration. For example: + * ``` + * mod foo; + * ``` + * ``` + * mod bar { + * pub fn baz() {} + * } + * ``` + */ + class Module extends Generated::Module { } +} diff --git a/rust/ql/lib/codeql/rust/elements/OffsetOfExpr.qll b/rust/ql/lib/codeql/rust/elements/OffsetOfExpr.qll index cac4448162ef..6bbc1107bcf8 100644 --- a/rust/ql/lib/codeql/rust/elements/OffsetOfExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/OffsetOfExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `OffsetOfExpr`. + * This module provides the public class `OffsetOfExpr`. */ -private import codeql.rust.generated.OffsetOfExpr +private import OffsetOfExprImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.TypeRef /** * An `offset_of` expression. For example: @@ -11,4 +13,4 @@ private import codeql.rust.generated.OffsetOfExpr * builtin # offset_of(Struct, field); * ``` */ -class OffsetOfExpr extends Generated::OffsetOfExpr { } +final class OffsetOfExpr = Impl::OffsetOfExpr; diff --git a/rust/ql/lib/codeql/rust/elements/OffsetOfExprImpl.qll b/rust/ql/lib/codeql/rust/elements/OffsetOfExprImpl.qll new file mode 100644 index 000000000000..e81897eebe39 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/OffsetOfExprImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `OffsetOfExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.OffsetOfExpr + +/** + * INTERNAL: This module contains the customizable definition of `OffsetOfExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An `offset_of` expression. For example: + * ``` + * builtin # offset_of(Struct, field); + * ``` + */ + class OffsetOfExpr extends Generated::OffsetOfExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/OrPat.qll b/rust/ql/lib/codeql/rust/elements/OrPat.qll index d07bfe004769..42373199387a 100644 --- a/rust/ql/lib/codeql/rust/elements/OrPat.qll +++ b/rust/ql/lib/codeql/rust/elements/OrPat.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `OrPat`. + * This module provides the public class `OrPat`. */ -private import codeql.rust.generated.OrPat +private import OrPatImpl +import codeql.rust.elements.Pat /** * An or pattern. For example: @@ -13,4 +14,4 @@ private import codeql.rust.generated.OrPat * } * ``` */ -class OrPat extends Generated::OrPat { } +final class OrPat = Impl::OrPat; diff --git a/rust/ql/lib/codeql/rust/elements/OrPatImpl.qll b/rust/ql/lib/codeql/rust/elements/OrPatImpl.qll new file mode 100644 index 000000000000..d6472cdeb489 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/OrPatImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `OrPat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.OrPat + +/** + * INTERNAL: This module contains the customizable definition of `OrPat` and should not + * be referenced directly. + */ +module Impl { + /** + * An or pattern. For example: + * ``` + * match x { + * Option::Some(y) | Option::None => 0, + * } + * ``` + */ + class OrPat extends Generated::OrPat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/Pat.qll b/rust/ql/lib/codeql/rust/elements/Pat.qll index 157f1289e6ad..d20c27a81b24 100644 --- a/rust/ql/lib/codeql/rust/elements/Pat.qll +++ b/rust/ql/lib/codeql/rust/elements/Pat.qll @@ -1,11 +1,12 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Pat`. + * This module provides the public class `Pat`. */ -private import codeql.rust.generated.Pat +private import PatImpl +import codeql.rust.elements.AstNode /** * The base class for patterns. */ -class Pat extends Generated::Pat { } +final class Pat = Impl::Pat; diff --git a/rust/ql/lib/codeql/rust/elements/PatImpl.qll b/rust/ql/lib/codeql/rust/elements/PatImpl.qll new file mode 100644 index 000000000000..6edda537ba14 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/PatImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `Pat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.Pat + +/** + * INTERNAL: This module contains the customizable definition of `Pat` and should not + * be referenced directly. + */ +module Impl { + /** + * The base class for patterns. + */ + class Pat extends Generated::Pat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/Path.qll b/rust/ql/lib/codeql/rust/elements/Path.qll index ac41381d30f5..1fe6a8897607 100644 --- a/rust/ql/lib/codeql/rust/elements/Path.qll +++ b/rust/ql/lib/codeql/rust/elements/Path.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Path`. + * This module provides the public class `Path`. */ -private import codeql.rust.generated.Path +private import PathImpl +import codeql.rust.elements.AstNode +import codeql.rust.elements.Unimplemented /** * A path. For example: @@ -11,4 +13,4 @@ private import codeql.rust.generated.Path * foo::bar; * ``` */ -class Path extends Generated::Path { } +final class Path = Impl::Path; diff --git a/rust/ql/lib/codeql/rust/elements/PathExpr.qll b/rust/ql/lib/codeql/rust/elements/PathExpr.qll index 9919e62afac6..8c0f5e93f216 100644 --- a/rust/ql/lib/codeql/rust/elements/PathExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/PathExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PathExpr`. + * This module provides the public class `PathExpr`. */ -private import codeql.rust.generated.PathExpr +private import PathExprImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Path /** * A path expression. For example: @@ -14,4 +16,4 @@ private import codeql.rust.generated.PathExpr * let z = ::foo; * ``` */ -class PathExpr extends Generated::PathExpr { } +final class PathExpr = Impl::PathExpr; diff --git a/rust/ql/lib/codeql/rust/elements/PathExprImpl.qll b/rust/ql/lib/codeql/rust/elements/PathExprImpl.qll new file mode 100644 index 000000000000..d473839d47da --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/PathExprImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PathExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.PathExpr + +/** + * INTERNAL: This module contains the customizable definition of `PathExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A path expression. For example: + * ``` + * let x = variable; + * let x = foo::bar; + * let y = ::foo; + * let z = ::foo; + * ``` + */ + class PathExpr extends Generated::PathExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/PathImpl.qll b/rust/ql/lib/codeql/rust/elements/PathImpl.qll new file mode 100644 index 000000000000..de2d18bb04e2 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/PathImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `Path`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.Path + +/** + * INTERNAL: This module contains the customizable definition of `Path` and should not + * be referenced directly. + */ +module Impl { + /** + * A path. For example: + * ``` + * foo::bar; + * ``` + */ + class Path extends Generated::Path { } +} diff --git a/rust/ql/lib/codeql/rust/elements/PathPat.qll b/rust/ql/lib/codeql/rust/elements/PathPat.qll index f5e3329e18c0..23beabd3a0e3 100644 --- a/rust/ql/lib/codeql/rust/elements/PathPat.qll +++ b/rust/ql/lib/codeql/rust/elements/PathPat.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PathPat`. + * This module provides the public class `PathPat`. */ -private import codeql.rust.generated.PathPat +private import PathPatImpl +import codeql.rust.elements.Pat +import codeql.rust.elements.Path /** * A path pattern. For example: @@ -14,4 +16,4 @@ private import codeql.rust.generated.PathPat * } * ``` */ -class PathPat extends Generated::PathPat { } +final class PathPat = Impl::PathPat; diff --git a/rust/ql/lib/codeql/rust/elements/PathPatImpl.qll b/rust/ql/lib/codeql/rust/elements/PathPatImpl.qll new file mode 100644 index 000000000000..39ad0c6de81e --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/PathPatImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PathPat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.PathPat + +/** + * INTERNAL: This module contains the customizable definition of `PathPat` and should not + * be referenced directly. + */ +module Impl { + /** + * A path pattern. For example: + * ``` + * match x { + * Foo::Bar => "ok", + * _ => "fail", + * } + * ``` + */ + class PathPat extends Generated::PathPat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/PrefixExpr.qll b/rust/ql/lib/codeql/rust/elements/PrefixExpr.qll index 632f9d76742f..46bc6c785ffa 100644 --- a/rust/ql/lib/codeql/rust/elements/PrefixExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/PrefixExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PrefixExpr`. + * This module provides the public class `PrefixExpr`. */ -private import codeql.rust.generated.PrefixExpr +private import PrefixExprImpl +import codeql.rust.elements.Expr /** * A unary operation expression. For example: @@ -13,4 +14,4 @@ private import codeql.rust.generated.PrefixExpr * let z = *ptr * ``` */ -class PrefixExpr extends Generated::PrefixExpr { } +final class PrefixExpr = Impl::PrefixExpr; diff --git a/rust/ql/lib/codeql/rust/elements/PrefixExprImpl.qll b/rust/ql/lib/codeql/rust/elements/PrefixExprImpl.qll new file mode 100644 index 000000000000..25679596b3d9 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/PrefixExprImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PrefixExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.PrefixExpr + +/** + * INTERNAL: This module contains the customizable definition of `PrefixExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A unary operation expression. For example: + * ``` + * let x = -42 + * let y = !true + * let z = *ptr + * ``` + */ + class PrefixExpr extends Generated::PrefixExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/RangeExpr.qll b/rust/ql/lib/codeql/rust/elements/RangeExpr.qll index 106922a0602b..3daab23d5646 100644 --- a/rust/ql/lib/codeql/rust/elements/RangeExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/RangeExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `RangeExpr`. + * This module provides the public class `RangeExpr`. */ -private import codeql.rust.generated.RangeExpr +private import RangeExprImpl +import codeql.rust.elements.Expr /** * A range expression. For example: @@ -16,4 +17,4 @@ private import codeql.rust.generated.RangeExpr * let x = ..; * ``` */ -class RangeExpr extends Generated::RangeExpr { } +final class RangeExpr = Impl::RangeExpr; diff --git a/rust/ql/lib/codeql/rust/elements/RangeExprImpl.qll b/rust/ql/lib/codeql/rust/elements/RangeExprImpl.qll new file mode 100644 index 000000000000..2dc950a268e6 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/RangeExprImpl.qll @@ -0,0 +1,27 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `RangeExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.RangeExpr + +/** + * INTERNAL: This module contains the customizable definition of `RangeExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A range expression. For example: + * ``` + * let x = 1..=10; + * let x = 1..10; + * let x = 10..; + * let x = ..10; + * let x = ..=10; + * let x = ..; + * ``` + */ + class RangeExpr extends Generated::RangeExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/RangePat.qll b/rust/ql/lib/codeql/rust/elements/RangePat.qll index ed0dbba6177f..61639c4d7942 100644 --- a/rust/ql/lib/codeql/rust/elements/RangePat.qll +++ b/rust/ql/lib/codeql/rust/elements/RangePat.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `RangePat`. + * This module provides the public class `RangePat`. */ -private import codeql.rust.generated.RangePat +private import RangePatImpl +import codeql.rust.elements.Pat /** * A range pattern. For example: @@ -15,4 +16,4 @@ private import codeql.rust.generated.RangePat * } * ``` */ -class RangePat extends Generated::RangePat { } +final class RangePat = Impl::RangePat; diff --git a/rust/ql/lib/codeql/rust/elements/RangePatImpl.qll b/rust/ql/lib/codeql/rust/elements/RangePatImpl.qll new file mode 100644 index 000000000000..8ca3eaa3af26 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/RangePatImpl.qll @@ -0,0 +1,26 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `RangePat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.RangePat + +/** + * INTERNAL: This module contains the customizable definition of `RangePat` and should not + * be referenced directly. + */ +module Impl { + /** + * A range pattern. For example: + * ``` + * match x { + * ..15 => "too cold", + * 16..=25 => "just right", + * 26.. => "too hot", + * } + * ``` + */ + class RangePat extends Generated::RangePat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/RecordExpr.qll b/rust/ql/lib/codeql/rust/elements/RecordExpr.qll index 6403f5c6f50a..a997e097b32d 100644 --- a/rust/ql/lib/codeql/rust/elements/RecordExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/RecordExpr.qll @@ -1,9 +1,12 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `RecordExpr`. + * This module provides the public class `RecordExpr`. */ -private import codeql.rust.generated.RecordExpr +private import RecordExprImpl +import codeql.rust.elements.Expr +import codeql.rust.elements.Path +import codeql.rust.elements.RecordExprField /** * A record expression. For example: @@ -14,4 +17,4 @@ private import codeql.rust.generated.RecordExpr * Foo { .. } = second; * ``` */ -class RecordExpr extends Generated::RecordExpr { } +final class RecordExpr = Impl::RecordExpr; diff --git a/rust/ql/lib/codeql/rust/elements/RecordExprField.qll b/rust/ql/lib/codeql/rust/elements/RecordExprField.qll index e202511d0ae3..68f8fe966bc8 100644 --- a/rust/ql/lib/codeql/rust/elements/RecordExprField.qll +++ b/rust/ql/lib/codeql/rust/elements/RecordExprField.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `RecordExprField`. + * This module provides the public class `RecordExprField`. */ -private import codeql.rust.generated.RecordExprField +private import RecordExprFieldImpl +import codeql.rust.elements.AstNode +import codeql.rust.elements.Expr /** * A field in a record expression. For example `a: 1` in: @@ -11,4 +13,4 @@ private import codeql.rust.generated.RecordExprField * Foo { a: 1, b: 2 }; * ``` */ -class RecordExprField extends Generated::RecordExprField { } +final class RecordExprField = Impl::RecordExprField; diff --git a/rust/ql/lib/codeql/rust/elements/RecordExprFieldImpl.qll b/rust/ql/lib/codeql/rust/elements/RecordExprFieldImpl.qll new file mode 100644 index 000000000000..731c4c02d2f0 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/RecordExprFieldImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `RecordExprField`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.RecordExprField + +/** + * INTERNAL: This module contains the customizable definition of `RecordExprField` and should not + * be referenced directly. + */ +module Impl { + /** + * A field in a record expression. For example `a: 1` in: + * ``` + * Foo { a: 1, b: 2 }; + * ``` + */ + class RecordExprField extends Generated::RecordExprField { } +} diff --git a/rust/ql/lib/codeql/rust/elements/RecordExprImpl.qll b/rust/ql/lib/codeql/rust/elements/RecordExprImpl.qll new file mode 100644 index 000000000000..07e78d6f8aaa --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/RecordExprImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `RecordExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.RecordExpr + +/** + * INTERNAL: This module contains the customizable definition of `RecordExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A record expression. For example: + * ``` + * let first = Foo { a: 1, b: 2 }; + * let second = Foo { a: 2, ..first }; + * Foo { a: 1, b: 2 }[2] = 10; + * Foo { .. } = second; + * ``` + */ + class RecordExpr extends Generated::RecordExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/RecordPat.qll b/rust/ql/lib/codeql/rust/elements/RecordPat.qll index 0f62ffadfc23..4c7765fb73ef 100644 --- a/rust/ql/lib/codeql/rust/elements/RecordPat.qll +++ b/rust/ql/lib/codeql/rust/elements/RecordPat.qll @@ -1,9 +1,12 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `RecordPat`. + * This module provides the public class `RecordPat`. */ -private import codeql.rust.generated.RecordPat +private import RecordPatImpl +import codeql.rust.elements.Pat +import codeql.rust.elements.Path +import codeql.rust.elements.RecordPatField /** * A record pattern. For example: @@ -14,4 +17,4 @@ private import codeql.rust.generated.RecordPat * } * ``` */ -class RecordPat extends Generated::RecordPat { } +final class RecordPat = Impl::RecordPat; diff --git a/rust/ql/lib/codeql/rust/elements/RecordPatField.qll b/rust/ql/lib/codeql/rust/elements/RecordPatField.qll index d221f700bc4b..c4849618ba0b 100644 --- a/rust/ql/lib/codeql/rust/elements/RecordPatField.qll +++ b/rust/ql/lib/codeql/rust/elements/RecordPatField.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `RecordPatField`. + * This module provides the public class `RecordPatField`. */ -private import codeql.rust.generated.RecordPatField +private import RecordPatFieldImpl +import codeql.rust.elements.AstNode +import codeql.rust.elements.Pat /** * A field in a record pattern. For example `a: 1` in: @@ -11,4 +13,4 @@ private import codeql.rust.generated.RecordPatField * let Foo { a: 1, b: 2 } = foo; * ``` */ -class RecordPatField extends Generated::RecordPatField { } +final class RecordPatField = Impl::RecordPatField; diff --git a/rust/ql/lib/codeql/rust/elements/RecordPatFieldImpl.qll b/rust/ql/lib/codeql/rust/elements/RecordPatFieldImpl.qll new file mode 100644 index 000000000000..bf0c44f2ab2f --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/RecordPatFieldImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `RecordPatField`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.RecordPatField + +/** + * INTERNAL: This module contains the customizable definition of `RecordPatField` and should not + * be referenced directly. + */ +module Impl { + /** + * A field in a record pattern. For example `a: 1` in: + * ``` + * let Foo { a: 1, b: 2 } = foo; + * ``` + */ + class RecordPatField extends Generated::RecordPatField { } +} diff --git a/rust/ql/lib/codeql/rust/elements/RecordPatImpl.qll b/rust/ql/lib/codeql/rust/elements/RecordPatImpl.qll new file mode 100644 index 000000000000..f186aece2b71 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/RecordPatImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `RecordPat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.RecordPat + +/** + * INTERNAL: This module contains the customizable definition of `RecordPat` and should not + * be referenced directly. + */ +module Impl { + /** + * A record pattern. For example: + * ``` + * match x { + * Foo { a: 1, b: 2 } => "ok", + * Foo { .. } => "fail", + * } + * ``` + */ + class RecordPat extends Generated::RecordPat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/RefExpr.qll b/rust/ql/lib/codeql/rust/elements/RefExpr.qll index b4a1a44f7100..81de03f92e9e 100644 --- a/rust/ql/lib/codeql/rust/elements/RefExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/RefExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `RefExpr`. + * This module provides the public class `RefExpr`. */ -private import codeql.rust.generated.RefExpr +private import RefExprImpl +import codeql.rust.elements.Expr /** * A reference expression. For example: @@ -14,4 +15,4 @@ private import codeql.rust.generated.RefExpr * let raw_mut: &mut i32 = &raw mut foo; * ``` */ -class RefExpr extends Generated::RefExpr { } +final class RefExpr = Impl::RefExpr; diff --git a/rust/ql/lib/codeql/rust/elements/RefExprImpl.qll b/rust/ql/lib/codeql/rust/elements/RefExprImpl.qll new file mode 100644 index 000000000000..9a3f75553cde --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/RefExprImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `RefExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.RefExpr + +/** + * INTERNAL: This module contains the customizable definition of `RefExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A reference expression. For example: + * ``` + * let ref_const = &foo; + * let ref_mut = &mut foo; + * let raw_const: &mut i32 = &raw const foo; + * let raw_mut: &mut i32 = &raw mut foo; + * ``` + */ + class RefExpr extends Generated::RefExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/RefPat.qll b/rust/ql/lib/codeql/rust/elements/RefPat.qll index 91aa06c50145..0f5c9e748d99 100644 --- a/rust/ql/lib/codeql/rust/elements/RefPat.qll +++ b/rust/ql/lib/codeql/rust/elements/RefPat.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `RefPat`. + * This module provides the public class `RefPat`. */ -private import codeql.rust.generated.RefPat +private import RefPatImpl +import codeql.rust.elements.Pat /** * A reference pattern. For example: @@ -14,4 +15,4 @@ private import codeql.rust.generated.RefPat * }; * ``` */ -class RefPat extends Generated::RefPat { } +final class RefPat = Impl::RefPat; diff --git a/rust/ql/lib/codeql/rust/elements/RefPatImpl.qll b/rust/ql/lib/codeql/rust/elements/RefPatImpl.qll new file mode 100644 index 000000000000..ed2c4c4af48e --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/RefPatImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `RefPat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.RefPat + +/** + * INTERNAL: This module contains the customizable definition of `RefPat` and should not + * be referenced directly. + */ +module Impl { + /** + * A reference pattern. For example: + * ``` + * match x { + * &mut Option::Some(y) => y, + * &Option::None => 0, + * }; + * ``` + */ + class RefPat extends Generated::RefPat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/RepeatExpr.qll b/rust/ql/lib/codeql/rust/elements/RepeatExpr.qll index e5216581efc7..250c3ec686ce 100644 --- a/rust/ql/lib/codeql/rust/elements/RepeatExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/RepeatExpr.qll @@ -1,13 +1,15 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `RepeatExpr`. + * This module provides the public class `RepeatExpr`. */ -private import codeql.rust.generated.RepeatExpr +private import RepeatExprImpl +import codeql.rust.elements.ArrayExpr +import codeql.rust.elements.Expr /** * A repeat expression. For example: * ``` * [1; 10]; */ -class RepeatExpr extends Generated::RepeatExpr { } +final class RepeatExpr = Impl::RepeatExpr; diff --git a/rust/ql/lib/codeql/rust/elements/RepeatExprImpl.qll b/rust/ql/lib/codeql/rust/elements/RepeatExprImpl.qll new file mode 100644 index 000000000000..9c331977393e --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/RepeatExprImpl.qll @@ -0,0 +1,21 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `RepeatExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.RepeatExpr + +/** + * INTERNAL: This module contains the customizable definition of `RepeatExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A repeat expression. For example: + * ``` + * [1; 10]; + */ + class RepeatExpr extends Generated::RepeatExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/ReturnExpr.qll b/rust/ql/lib/codeql/rust/elements/ReturnExpr.qll index 384e83f31366..0f9581ac5fe1 100644 --- a/rust/ql/lib/codeql/rust/elements/ReturnExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/ReturnExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ReturnExpr`. + * This module provides the public class `ReturnExpr`. */ -private import codeql.rust.generated.ReturnExpr +private import ReturnExprImpl +import codeql.rust.elements.Expr /** * A return expression. For example: @@ -18,4 +19,4 @@ private import codeql.rust.generated.ReturnExpr * } * ``` */ -class ReturnExpr extends Generated::ReturnExpr { } +final class ReturnExpr = Impl::ReturnExpr; diff --git a/rust/ql/lib/codeql/rust/elements/ReturnExprImpl.qll b/rust/ql/lib/codeql/rust/elements/ReturnExprImpl.qll new file mode 100644 index 000000000000..326fc372c798 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/ReturnExprImpl.qll @@ -0,0 +1,29 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ReturnExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.ReturnExpr + +/** + * INTERNAL: This module contains the customizable definition of `ReturnExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A return expression. For example: + * ``` + * fn some_value() -> i32 { + * return 42; + * } + * ``` + * ``` + * fn no_value() -> () { + * return; + * } + * ``` + */ + class ReturnExpr extends Generated::ReturnExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/SlicePat.qll b/rust/ql/lib/codeql/rust/elements/SlicePat.qll index 1c8ded0f1dd5..f635e02d50c7 100644 --- a/rust/ql/lib/codeql/rust/elements/SlicePat.qll +++ b/rust/ql/lib/codeql/rust/elements/SlicePat.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `SlicePat`. + * This module provides the public class `SlicePat`. */ -private import codeql.rust.generated.SlicePat +private import SlicePatImpl +import codeql.rust.elements.Pat /** * A slice pattern. For example: @@ -14,4 +15,4 @@ private import codeql.rust.generated.SlicePat * [x, y, .., z, 7] => "fail", * } */ -class SlicePat extends Generated::SlicePat { } +final class SlicePat = Impl::SlicePat; diff --git a/rust/ql/lib/codeql/rust/elements/SlicePatImpl.qll b/rust/ql/lib/codeql/rust/elements/SlicePatImpl.qll new file mode 100644 index 000000000000..efd18e2c1f06 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/SlicePatImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `SlicePat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.SlicePat + +/** + * INTERNAL: This module contains the customizable definition of `SlicePat` and should not + * be referenced directly. + */ +module Impl { + /** + * A slice pattern. For example: + * ``` + * match x { + * [1, 2, 3, 4, 5] => "ok", + * [1, 2, ..] => "fail", + * [x, y, .., z, 7] => "fail", + * } + */ + class SlicePat extends Generated::SlicePat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/Stmt.qll b/rust/ql/lib/codeql/rust/elements/Stmt.qll index fbcb61c60ce2..69c829d4855a 100644 --- a/rust/ql/lib/codeql/rust/elements/Stmt.qll +++ b/rust/ql/lib/codeql/rust/elements/Stmt.qll @@ -1,11 +1,12 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Stmt`. + * This module provides the public class `Stmt`. */ -private import codeql.rust.generated.Stmt +private import StmtImpl +import codeql.rust.elements.AstNode /** * The base class for statements. */ -class Stmt extends Generated::Stmt { } +final class Stmt = Impl::Stmt; diff --git a/rust/ql/lib/codeql/rust/elements/StmtImpl.qll b/rust/ql/lib/codeql/rust/elements/StmtImpl.qll new file mode 100644 index 000000000000..e3d3a68ae02c --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/StmtImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `Stmt`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.Stmt + +/** + * INTERNAL: This module contains the customizable definition of `Stmt` and should not + * be referenced directly. + */ +module Impl { + /** + * The base class for statements. + */ + class Stmt extends Generated::Stmt { } +} diff --git a/rust/ql/lib/codeql/rust/elements/TupleExpr.qll b/rust/ql/lib/codeql/rust/elements/TupleExpr.qll index 0ef129aa7655..b210c942d462 100644 --- a/rust/ql/lib/codeql/rust/elements/TupleExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/TupleExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `TupleExpr`. + * This module provides the public class `TupleExpr`. */ -private import codeql.rust.generated.TupleExpr +private import TupleExprImpl +import codeql.rust.elements.Expr /** * A tuple expression. For example: @@ -12,4 +13,4 @@ private import codeql.rust.generated.TupleExpr * (2, "two")[0] = 3; * ``` */ -class TupleExpr extends Generated::TupleExpr { } +final class TupleExpr = Impl::TupleExpr; diff --git a/rust/ql/lib/codeql/rust/elements/TupleExprImpl.qll b/rust/ql/lib/codeql/rust/elements/TupleExprImpl.qll new file mode 100644 index 000000000000..c4213d7beeae --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/TupleExprImpl.qll @@ -0,0 +1,23 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `TupleExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.TupleExpr + +/** + * INTERNAL: This module contains the customizable definition of `TupleExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A tuple expression. For example: + * ``` + * (1, "one"); + * (2, "two")[0] = 3; + * ``` + */ + class TupleExpr extends Generated::TupleExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/TuplePat.qll b/rust/ql/lib/codeql/rust/elements/TuplePat.qll index c62adb8f1e7c..bf3fe957273c 100644 --- a/rust/ql/lib/codeql/rust/elements/TuplePat.qll +++ b/rust/ql/lib/codeql/rust/elements/TuplePat.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `TuplePat`. + * This module provides the public class `TuplePat`. */ -private import codeql.rust.generated.TuplePat +private import TuplePatImpl +import codeql.rust.elements.Pat /** * A tuple pattern. For example: @@ -12,4 +13,4 @@ private import codeql.rust.generated.TuplePat * let (a, b, .., z) = (1, 2, 3, 4, 5); * ``` */ -class TuplePat extends Generated::TuplePat { } +final class TuplePat = Impl::TuplePat; diff --git a/rust/ql/lib/codeql/rust/elements/TuplePatImpl.qll b/rust/ql/lib/codeql/rust/elements/TuplePatImpl.qll new file mode 100644 index 000000000000..cae49dc2a46d --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/TuplePatImpl.qll @@ -0,0 +1,23 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `TuplePat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.TuplePat + +/** + * INTERNAL: This module contains the customizable definition of `TuplePat` and should not + * be referenced directly. + */ +module Impl { + /** + * A tuple pattern. For example: + * ``` + * let (x, y) = (1, 2); + * let (a, b, .., z) = (1, 2, 3, 4, 5); + * ``` + */ + class TuplePat extends Generated::TuplePat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/TupleStructPat.qll b/rust/ql/lib/codeql/rust/elements/TupleStructPat.qll index 48054a74025e..150c6e609fee 100644 --- a/rust/ql/lib/codeql/rust/elements/TupleStructPat.qll +++ b/rust/ql/lib/codeql/rust/elements/TupleStructPat.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `TupleStructPat`. + * This module provides the public class `TupleStructPat`. */ -private import codeql.rust.generated.TupleStructPat +private import TupleStructPatImpl +import codeql.rust.elements.Pat +import codeql.rust.elements.Path /** * A tuple struct pattern. For example: @@ -15,4 +17,4 @@ private import codeql.rust.generated.TupleStructPat * }; * ``` */ -class TupleStructPat extends Generated::TupleStructPat { } +final class TupleStructPat = Impl::TupleStructPat; diff --git a/rust/ql/lib/codeql/rust/elements/TupleStructPatImpl.qll b/rust/ql/lib/codeql/rust/elements/TupleStructPatImpl.qll new file mode 100644 index 000000000000..59789d97f577 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/TupleStructPatImpl.qll @@ -0,0 +1,26 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `TupleStructPat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.TupleStructPat + +/** + * INTERNAL: This module contains the customizable definition of `TupleStructPat` and should not + * be referenced directly. + */ +module Impl { + /** + * A tuple struct pattern. For example: + * ``` + * match x { + * Tuple("a", 1, 2, 3) => "great", + * Tuple(.., 3) => "fine", + * Tuple(..) => "fail", + * }; + * ``` + */ + class TupleStructPat extends Generated::TupleStructPat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/TypeRef.qll b/rust/ql/lib/codeql/rust/elements/TypeRef.qll index 296e3d4a40be..abeef584d8d5 100644 --- a/rust/ql/lib/codeql/rust/elements/TypeRef.qll +++ b/rust/ql/lib/codeql/rust/elements/TypeRef.qll @@ -1,9 +1,11 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `TypeRef`. + * This module provides the public class `TypeRef`. */ -private import codeql.rust.generated.TypeRef +private import TypeRefImpl +import codeql.rust.elements.AstNode +import codeql.rust.elements.Unimplemented /** * The base class for type references. @@ -13,4 +15,4 @@ private import codeql.rust.generated.TypeRef * let z: Option; * ``` */ -class TypeRef extends Generated::TypeRef { } +final class TypeRef = Impl::TypeRef; diff --git a/rust/ql/lib/codeql/rust/elements/TypeRefImpl.qll b/rust/ql/lib/codeql/rust/elements/TypeRefImpl.qll new file mode 100644 index 000000000000..a4b1c88177f8 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/TypeRefImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `TypeRef`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.TypeRef + +/** + * INTERNAL: This module contains the customizable definition of `TypeRef` and should not + * be referenced directly. + */ +module Impl { + /** + * The base class for type references. + * ``` + * let x: i32; + * let y: Vec; + * let z: Option; + * ``` + */ + class TypeRef extends Generated::TypeRef { } +} diff --git a/rust/ql/lib/codeql/rust/elements/UnderscoreExpr.qll b/rust/ql/lib/codeql/rust/elements/UnderscoreExpr.qll index 4b5d09500d1a..2d3b03a89318 100644 --- a/rust/ql/lib/codeql/rust/elements/UnderscoreExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/UnderscoreExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnderscoreExpr`. + * This module provides the public class `UnderscoreExpr`. */ -private import codeql.rust.generated.UnderscoreExpr +private import UnderscoreExprImpl +import codeql.rust.elements.Expr /** * An underscore expression. For example: @@ -11,4 +12,4 @@ private import codeql.rust.generated.UnderscoreExpr * _ = 42; * ``` */ -class UnderscoreExpr extends Generated::UnderscoreExpr { } +final class UnderscoreExpr = Impl::UnderscoreExpr; diff --git a/rust/ql/lib/codeql/rust/elements/UnderscoreExprImpl.qll b/rust/ql/lib/codeql/rust/elements/UnderscoreExprImpl.qll new file mode 100644 index 000000000000..faf5e41d8f34 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/UnderscoreExprImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnderscoreExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.UnderscoreExpr + +/** + * INTERNAL: This module contains the customizable definition of `UnderscoreExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An underscore expression. For example: + * ``` + * _ = 42; + * ``` + */ + class UnderscoreExpr extends Generated::UnderscoreExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/Unimplemented.qll b/rust/ql/lib/codeql/rust/elements/Unimplemented.qll index 7bd4fed7e27a..f4c566f0a1a8 100644 --- a/rust/ql/lib/codeql/rust/elements/Unimplemented.qll +++ b/rust/ql/lib/codeql/rust/elements/Unimplemented.qll @@ -1,11 +1,12 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Unimplemented`. + * This module provides the public class `Unimplemented`. */ -private import codeql.rust.generated.Unimplemented +private import UnimplementedImpl +import codeql.rust.elements.Element /** * The base class for unimplemented nodes. This is used to mark nodes that are not yet extracted. */ -class Unimplemented extends Generated::Unimplemented { } +final class Unimplemented = Impl::Unimplemented; diff --git a/rust/ql/lib/codeql/rust/elements/UnimplementedDeclaration.qll b/rust/ql/lib/codeql/rust/elements/UnimplementedDeclaration.qll index 4f4d309bbd5f..3e9fe0b7dec0 100644 --- a/rust/ql/lib/codeql/rust/elements/UnimplementedDeclaration.qll +++ b/rust/ql/lib/codeql/rust/elements/UnimplementedDeclaration.qll @@ -1,11 +1,13 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnimplementedDeclaration`. + * This module provides the public class `UnimplementedDeclaration`. */ -private import codeql.rust.generated.UnimplementedDeclaration +private import UnimplementedDeclarationImpl +import codeql.rust.elements.Declaration +import codeql.rust.elements.Unimplemented /** * A declaration that is not yet extracted. */ -class UnimplementedDeclaration extends Generated::UnimplementedDeclaration { } +final class UnimplementedDeclaration = Impl::UnimplementedDeclaration; diff --git a/rust/ql/lib/codeql/rust/elements/UnimplementedDeclarationImpl.qll b/rust/ql/lib/codeql/rust/elements/UnimplementedDeclarationImpl.qll new file mode 100644 index 000000000000..ce80ee9938df --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/UnimplementedDeclarationImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnimplementedDeclaration`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.UnimplementedDeclaration + +/** + * INTERNAL: This module contains the customizable definition of `UnimplementedDeclaration` and should not + * be referenced directly. + */ +module Impl { + /** + * A declaration that is not yet extracted. + */ + class UnimplementedDeclaration extends Generated::UnimplementedDeclaration { } +} diff --git a/rust/ql/lib/codeql/rust/elements/UnimplementedImpl.qll b/rust/ql/lib/codeql/rust/elements/UnimplementedImpl.qll new file mode 100644 index 000000000000..445b8247d4d1 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/UnimplementedImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `Unimplemented`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.Unimplemented + +/** + * INTERNAL: This module contains the customizable definition of `Unimplemented` and should not + * be referenced directly. + */ +module Impl { + /** + * The base class for unimplemented nodes. This is used to mark nodes that are not yet extracted. + */ + class Unimplemented extends Generated::Unimplemented { } +} diff --git a/rust/ql/lib/codeql/rust/elements/UnsafeBlockExpr.qll b/rust/ql/lib/codeql/rust/elements/UnsafeBlockExpr.qll index 513192521905..d4279cc088d3 100644 --- a/rust/ql/lib/codeql/rust/elements/UnsafeBlockExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/UnsafeBlockExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnsafeBlockExpr`. + * This module provides the public class `UnsafeBlockExpr`. */ -private import codeql.rust.generated.UnsafeBlockExpr +private import UnsafeBlockExprImpl +import codeql.rust.elements.BlockExprBase /** * An unsafe block expression. For example: @@ -14,4 +15,4 @@ private import codeql.rust.generated.UnsafeBlockExpr * }; * ``` */ -class UnsafeBlockExpr extends Generated::UnsafeBlockExpr { } +final class UnsafeBlockExpr = Impl::UnsafeBlockExpr; diff --git a/rust/ql/lib/codeql/rust/elements/UnsafeBlockExprImpl.qll b/rust/ql/lib/codeql/rust/elements/UnsafeBlockExprImpl.qll new file mode 100644 index 000000000000..e62aaa86f35e --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/UnsafeBlockExprImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnsafeBlockExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.UnsafeBlockExpr + +/** + * INTERNAL: This module contains the customizable definition of `UnsafeBlockExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An unsafe block expression. For example: + * ``` + * let layout = unsafe { + * let x = 42; + * Layout::from_size_align_unchecked(size, align) + * }; + * ``` + */ + class UnsafeBlockExpr extends Generated::UnsafeBlockExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/WildcardPat.qll b/rust/ql/lib/codeql/rust/elements/WildcardPat.qll index d5283f4e4d21..038e300aa81c 100644 --- a/rust/ql/lib/codeql/rust/elements/WildcardPat.qll +++ b/rust/ql/lib/codeql/rust/elements/WildcardPat.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `WildcardPat`. + * This module provides the public class `WildcardPat`. */ -private import codeql.rust.generated.WildcardPat +private import WildcardPatImpl +import codeql.rust.elements.Pat /** * A wildcard pattern. For example: @@ -11,4 +12,4 @@ private import codeql.rust.generated.WildcardPat * let _ = 42; * ``` */ -class WildcardPat extends Generated::WildcardPat { } +final class WildcardPat = Impl::WildcardPat; diff --git a/rust/ql/lib/codeql/rust/elements/WildcardPatImpl.qll b/rust/ql/lib/codeql/rust/elements/WildcardPatImpl.qll new file mode 100644 index 000000000000..e486afb4eead --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/WildcardPatImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `WildcardPat`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.WildcardPat + +/** + * INTERNAL: This module contains the customizable definition of `WildcardPat` and should not + * be referenced directly. + */ +module Impl { + /** + * A wildcard pattern. For example: + * ``` + * let _ = 42; + * ``` + */ + class WildcardPat extends Generated::WildcardPat { } +} diff --git a/rust/ql/lib/codeql/rust/elements/YeetExpr.qll b/rust/ql/lib/codeql/rust/elements/YeetExpr.qll index 6e891621e477..7df717f80a54 100644 --- a/rust/ql/lib/codeql/rust/elements/YeetExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/YeetExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `YeetExpr`. + * This module provides the public class `YeetExpr`. */ -private import codeql.rust.generated.YeetExpr +private import YeetExprImpl +import codeql.rust.elements.Expr /** * A `yeet` expression. For example: @@ -13,4 +14,4 @@ private import codeql.rust.generated.YeetExpr * } * ``` */ -class YeetExpr extends Generated::YeetExpr { } +final class YeetExpr = Impl::YeetExpr; diff --git a/rust/ql/lib/codeql/rust/elements/YeetExprImpl.qll b/rust/ql/lib/codeql/rust/elements/YeetExprImpl.qll new file mode 100644 index 000000000000..4014a225ac69 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/YeetExprImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `YeetExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.YeetExpr + +/** + * INTERNAL: This module contains the customizable definition of `YeetExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A `yeet` expression. For example: + * ``` + * if x < size { + * do yeet "index out of bounds"; + * } + * ``` + */ + class YeetExpr extends Generated::YeetExpr { } +} diff --git a/rust/ql/lib/codeql/rust/elements/YieldExpr.qll b/rust/ql/lib/codeql/rust/elements/YieldExpr.qll index e92218e1a2fe..e2254130adb5 100644 --- a/rust/ql/lib/codeql/rust/elements/YieldExpr.qll +++ b/rust/ql/lib/codeql/rust/elements/YieldExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen, remove this comment if you wish to edit this file +// generated by codegen, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `YieldExpr`. + * This module provides the public class `YieldExpr`. */ -private import codeql.rust.generated.YieldExpr +private import YieldExprImpl +import codeql.rust.elements.Expr /** * A `yield` expression. For example: @@ -14,4 +15,4 @@ private import codeql.rust.generated.YieldExpr * }; * ``` */ -class YieldExpr extends Generated::YieldExpr { } +final class YieldExpr = Impl::YieldExpr; diff --git a/rust/ql/lib/codeql/rust/elements/YieldExprImpl.qll b/rust/ql/lib/codeql/rust/elements/YieldExprImpl.qll new file mode 100644 index 000000000000..b341ceb98315 --- /dev/null +++ b/rust/ql/lib/codeql/rust/elements/YieldExprImpl.qll @@ -0,0 +1,25 @@ +// generated by codegen, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `YieldExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.rust.generated.YieldExpr + +/** + * INTERNAL: This module contains the customizable definition of `YieldExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A `yield` expression. For example: + * ``` + * let one = #[coroutine] + * || { + * yield 1; + * }; + * ``` + */ + class YieldExpr extends Generated::YieldExpr { } +} diff --git a/rust/ql/lib/codeql/rust/generated/ArrayExpr.qll b/rust/ql/lib/codeql/rust/generated/ArrayExpr.qll index ab9803e70595..f184f8aee215 100644 --- a/rust/ql/lib/codeql/rust/generated/ArrayExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/ArrayExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `ArrayExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `ArrayExpr` and should not @@ -22,5 +22,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::ArrayExpr` class directly. * Use the subclass `ArrayExpr`, where the following predicates are available. */ - class ArrayExpr extends Synth::TArrayExpr, Expr { } + class ArrayExpr extends Synth::TArrayExpr, ExprImpl::Expr { } } diff --git a/rust/ql/lib/codeql/rust/generated/AsmExpr.qll b/rust/ql/lib/codeql/rust/generated/AsmExpr.qll index 05933b5d84cb..8ced87184318 100644 --- a/rust/ql/lib/codeql/rust/generated/AsmExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/AsmExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `AsmExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `AsmExpr` and should not @@ -23,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AsmExpr` class directly. * Use the subclass `AsmExpr`, where the following predicates are available. */ - class AsmExpr extends Synth::TAsmExpr, Expr { + class AsmExpr extends Synth::TAsmExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "AsmExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/AstNode.qll b/rust/ql/lib/codeql/rust/generated/AstNode.qll index e4e922b64e2a..48e28606ef1d 100644 --- a/rust/ql/lib/codeql/rust/generated/AstNode.qll +++ b/rust/ql/lib/codeql/rust/generated/AstNode.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `AstNode`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Locatable +import codeql.rust.elements.LocatableImpl::Impl as LocatableImpl /** * INTERNAL: This module contains the fully generated definition of `AstNode` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::AstNode` class directly. * Use the subclass `AstNode`, where the following predicates are available. */ - class AstNode extends Synth::TAstNode, Locatable { } + class AstNode extends Synth::TAstNode, LocatableImpl::Locatable { } } diff --git a/rust/ql/lib/codeql/rust/generated/AsyncBlockExpr.qll b/rust/ql/lib/codeql/rust/generated/AsyncBlockExpr.qll index 3d011e059ac9..348cf5a95a2b 100644 --- a/rust/ql/lib/codeql/rust/generated/AsyncBlockExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/AsyncBlockExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `AsyncBlockExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.BlockExprBase +import codeql.rust.elements.BlockExprBaseImpl::Impl as BlockExprBaseImpl /** * INTERNAL: This module contains the fully generated definition of `AsyncBlockExpr` and should not @@ -24,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AsyncBlockExpr` class directly. * Use the subclass `AsyncBlockExpr`, where the following predicates are available. */ - class AsyncBlockExpr extends Synth::TAsyncBlockExpr, BlockExprBase { + class AsyncBlockExpr extends Synth::TAsyncBlockExpr, BlockExprBaseImpl::BlockExprBase { override string getAPrimaryQlClass() { result = "AsyncBlockExpr" } } } diff --git a/rust/ql/lib/codeql/rust/generated/AwaitExpr.qll b/rust/ql/lib/codeql/rust/generated/AwaitExpr.qll index 2e80995a7b9c..d914a07eec27 100644 --- a/rust/ql/lib/codeql/rust/generated/AwaitExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/AwaitExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `AwaitExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `AwaitExpr` and should not @@ -24,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AwaitExpr` class directly. * Use the subclass `AwaitExpr`, where the following predicates are available. */ - class AwaitExpr extends Synth::TAwaitExpr, Expr { + class AwaitExpr extends Synth::TAwaitExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "AwaitExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/BecomeExpr.qll b/rust/ql/lib/codeql/rust/generated/BecomeExpr.qll index d021d1046809..ed202f6528fb 100644 --- a/rust/ql/lib/codeql/rust/generated/BecomeExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/BecomeExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `BecomeExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `BecomeExpr` and should not @@ -26,7 +27,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BecomeExpr` class directly. * Use the subclass `BecomeExpr`, where the following predicates are available. */ - class BecomeExpr extends Synth::TBecomeExpr, Expr { + class BecomeExpr extends Synth::TBecomeExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "BecomeExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/BinaryExpr.qll b/rust/ql/lib/codeql/rust/generated/BinaryExpr.qll index 1c9c331c4494..4134b59ec89b 100644 --- a/rust/ql/lib/codeql/rust/generated/BinaryExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/BinaryExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `BinaryExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `BinaryExpr` and should not @@ -25,7 +26,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BinaryExpr` class directly. * Use the subclass `BinaryExpr`, where the following predicates are available. */ - class BinaryExpr extends Synth::TBinaryExpr, Expr { + class BinaryExpr extends Synth::TBinaryExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "BinaryExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/BlockExpr.qll b/rust/ql/lib/codeql/rust/generated/BlockExpr.qll index d1fbf92c3ab4..c96bc6f9d4e5 100644 --- a/rust/ql/lib/codeql/rust/generated/BlockExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/BlockExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `BlockExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.BlockExprBase +import codeql.rust.elements.BlockExprBaseImpl::Impl as BlockExprBaseImpl import codeql.rust.elements.Label /** @@ -30,7 +30,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BlockExpr` class directly. * Use the subclass `BlockExpr`, where the following predicates are available. */ - class BlockExpr extends Synth::TBlockExpr, BlockExprBase { + class BlockExpr extends Synth::TBlockExpr, BlockExprBaseImpl::BlockExprBase { override string getAPrimaryQlClass() { result = "BlockExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/BlockExprBase.qll b/rust/ql/lib/codeql/rust/generated/BlockExprBase.qll index 3c565d285d5c..1e250704f339 100644 --- a/rust/ql/lib/codeql/rust/generated/BlockExprBase.qll +++ b/rust/ql/lib/codeql/rust/generated/BlockExprBase.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `BlockExprBase`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.Stmt /** @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BlockExprBase` class directly. * Use the subclass `BlockExprBase`, where the following predicates are available. */ - class BlockExprBase extends Synth::TBlockExprBase, Expr { + class BlockExprBase extends Synth::TBlockExprBase, ExprImpl::Expr { /** * Gets the `index`th statement of this block expression base (0-based). */ diff --git a/rust/ql/lib/codeql/rust/generated/BoxExpr.qll b/rust/ql/lib/codeql/rust/generated/BoxExpr.qll index 4a59828330c9..93b687689463 100644 --- a/rust/ql/lib/codeql/rust/generated/BoxExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/BoxExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `BoxExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `BoxExpr` and should not @@ -21,7 +22,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BoxExpr` class directly. * Use the subclass `BoxExpr`, where the following predicates are available. */ - class BoxExpr extends Synth::TBoxExpr, Expr { + class BoxExpr extends Synth::TBoxExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "BoxExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/BoxPat.qll b/rust/ql/lib/codeql/rust/generated/BoxPat.qll index c6b7e4c22bff..337393c915bc 100644 --- a/rust/ql/lib/codeql/rust/generated/BoxPat.qll +++ b/rust/ql/lib/codeql/rust/generated/BoxPat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `BoxPat`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl /** * INTERNAL: This module contains the fully generated definition of `BoxPat` and should not @@ -24,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BoxPat` class directly. * Use the subclass `BoxPat`, where the following predicates are available. */ - class BoxPat extends Synth::TBoxPat, Pat { + class BoxPat extends Synth::TBoxPat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "BoxPat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/BreakExpr.qll b/rust/ql/lib/codeql/rust/generated/BreakExpr.qll index 2fbd3280280d..fc52c1e6864f 100644 --- a/rust/ql/lib/codeql/rust/generated/BreakExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/BreakExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `BreakExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.Label /** @@ -33,7 +34,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BreakExpr` class directly. * Use the subclass `BreakExpr`, where the following predicates are available. */ - class BreakExpr extends Synth::TBreakExpr, Expr { + class BreakExpr extends Synth::TBreakExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "BreakExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/CallExpr.qll b/rust/ql/lib/codeql/rust/generated/CallExpr.qll index 6152049b6785..a48c67c63bd5 100644 --- a/rust/ql/lib/codeql/rust/generated/CallExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/CallExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `CallExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `CallExpr` and should not @@ -24,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::CallExpr` class directly. * Use the subclass `CallExpr`, where the following predicates are available. */ - class CallExpr extends Synth::TCallExpr, Expr { + class CallExpr extends Synth::TCallExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "CallExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/CastExpr.qll b/rust/ql/lib/codeql/rust/generated/CastExpr.qll index 01f880f106cc..32cb6219671a 100644 --- a/rust/ql/lib/codeql/rust/generated/CastExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/CastExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `CastExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.TypeRef /** @@ -22,7 +23,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::CastExpr` class directly. * Use the subclass `CastExpr`, where the following predicates are available. */ - class CastExpr extends Synth::TCastExpr, Expr { + class CastExpr extends Synth::TCastExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "CastExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/ClosureExpr.qll b/rust/ql/lib/codeql/rust/generated/ClosureExpr.qll index 822fbdcc6772..c69a6061e910 100644 --- a/rust/ql/lib/codeql/rust/generated/ClosureExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/ClosureExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `ClosureExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.Pat import codeql.rust.elements.TypeRef @@ -29,7 +30,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ClosureExpr` class directly. * Use the subclass `ClosureExpr`, where the following predicates are available. */ - class ClosureExpr extends Synth::TClosureExpr, Expr { + class ClosureExpr extends Synth::TClosureExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "ClosureExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/ConstBlockPat.qll b/rust/ql/lib/codeql/rust/generated/ConstBlockPat.qll index 74f3fd6bcdcd..34f475c77ec3 100644 --- a/rust/ql/lib/codeql/rust/generated/ConstBlockPat.qll +++ b/rust/ql/lib/codeql/rust/generated/ConstBlockPat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `ConstBlockPat`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr -import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl /** * INTERNAL: This module contains the fully generated definition of `ConstBlockPat` and should not @@ -25,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ConstBlockPat` class directly. * Use the subclass `ConstBlockPat`, where the following predicates are available. */ - class ConstBlockPat extends Synth::TConstBlockPat, Pat { + class ConstBlockPat extends Synth::TConstBlockPat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "ConstBlockPat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/ConstExpr.qll b/rust/ql/lib/codeql/rust/generated/ConstExpr.qll index d237ec3d9d59..ae31f5a1cd4c 100644 --- a/rust/ql/lib/codeql/rust/generated/ConstExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/ConstExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `ConstExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `ConstExpr` and should not @@ -23,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ConstExpr` class directly. * Use the subclass `ConstExpr`, where the following predicates are available. */ - class ConstExpr extends Synth::TConstExpr, Expr { + class ConstExpr extends Synth::TConstExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "ConstExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/ContinueExpr.qll b/rust/ql/lib/codeql/rust/generated/ContinueExpr.qll index d11925dfb3a1..4968874650ca 100644 --- a/rust/ql/lib/codeql/rust/generated/ContinueExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/ContinueExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `ContinueExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.Label /** @@ -33,7 +33,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ContinueExpr` class directly. * Use the subclass `ContinueExpr`, where the following predicates are available. */ - class ContinueExpr extends Synth::TContinueExpr, Expr { + class ContinueExpr extends Synth::TContinueExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "ContinueExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/Declaration.qll b/rust/ql/lib/codeql/rust/generated/Declaration.qll index 1b6a78cf8c04..6e73eb18aec7 100644 --- a/rust/ql/lib/codeql/rust/generated/Declaration.qll +++ b/rust/ql/lib/codeql/rust/generated/Declaration.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `Declaration`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.AstNode +import codeql.rust.elements.AstNodeImpl::Impl as AstNodeImpl /** * INTERNAL: This module contains the fully generated definition of `Declaration` and should not @@ -18,5 +18,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::Declaration` class directly. * Use the subclass `Declaration`, where the following predicates are available. */ - class Declaration extends Synth::TDeclaration, AstNode { } + class Declaration extends Synth::TDeclaration, AstNodeImpl::AstNode { } } diff --git a/rust/ql/lib/codeql/rust/generated/Element.qll b/rust/ql/lib/codeql/rust/generated/Element.qll index 19dbb9edb14c..c2f7bb561e77 100644 --- a/rust/ql/lib/codeql/rust/generated/Element.qll +++ b/rust/ql/lib/codeql/rust/generated/Element.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `Element`. * INTERNAL: Do not import directly. @@ -6,6 +6,9 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw +import codeql.rust.elements.Element + +private class ElementAlias = Element; /** * INTERNAL: This module contains the fully generated definition of `Element` and should not @@ -42,13 +45,13 @@ module Generated { * Classes can override this to indicate this node should be in the "hidden" AST, mostly reserved * for conversions and syntactic sugar nodes like parentheses. */ - Element getResolveStep() { none() } // overridden by subclasses + ElementAlias getResolveStep() { none() } // overridden by subclasses /** * Gets the element that should substitute this element in the explicit AST, applying `getResolveStep` * transitively. */ - final Element resolve() { + final ElementAlias resolve() { not exists(this.getResolveStep()) and result = this or result = this.getResolveStep().resolve() diff --git a/rust/ql/lib/codeql/rust/generated/ElementListExpr.qll b/rust/ql/lib/codeql/rust/generated/ElementListExpr.qll index 8fcd4c626224..1f19c316d67f 100644 --- a/rust/ql/lib/codeql/rust/generated/ElementListExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/ElementListExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `ElementListExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.ArrayExpr +import codeql.rust.elements.ArrayExprImpl::Impl as ArrayExprImpl import codeql.rust.elements.Expr /** @@ -23,7 +23,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ElementListExpr` class directly. * Use the subclass `ElementListExpr`, where the following predicates are available. */ - class ElementListExpr extends Synth::TElementListExpr, ArrayExpr { + class ElementListExpr extends Synth::TElementListExpr, ArrayExprImpl::ArrayExpr { override string getAPrimaryQlClass() { result = "ElementListExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/Expr.qll b/rust/ql/lib/codeql/rust/generated/Expr.qll index f7e8b41056bd..a708ec2139c3 100644 --- a/rust/ql/lib/codeql/rust/generated/Expr.qll +++ b/rust/ql/lib/codeql/rust/generated/Expr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `Expr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.AstNode +import codeql.rust.elements.AstNodeImpl::Impl as AstNodeImpl /** * INTERNAL: This module contains the fully generated definition of `Expr` and should not @@ -18,5 +18,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::Expr` class directly. * Use the subclass `Expr`, where the following predicates are available. */ - class Expr extends Synth::TExpr, AstNode { } + class Expr extends Synth::TExpr, AstNodeImpl::AstNode { } } diff --git a/rust/ql/lib/codeql/rust/generated/ExprStmt.qll b/rust/ql/lib/codeql/rust/generated/ExprStmt.qll index 4f6bc664240b..a3026c1dd6f0 100644 --- a/rust/ql/lib/codeql/rust/generated/ExprStmt.qll +++ b/rust/ql/lib/codeql/rust/generated/ExprStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `ExprStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr -import codeql.rust.elements.Stmt +import codeql.rust.elements.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `ExprStmt` and should not @@ -24,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ExprStmt` class directly. * Use the subclass `ExprStmt`, where the following predicates are available. */ - class ExprStmt extends Synth::TExprStmt, Stmt { + class ExprStmt extends Synth::TExprStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "ExprStmt" } /** diff --git a/rust/ql/lib/codeql/rust/generated/FieldExpr.qll b/rust/ql/lib/codeql/rust/generated/FieldExpr.qll index fc282ca4a493..2107cc5ec607 100644 --- a/rust/ql/lib/codeql/rust/generated/FieldExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/FieldExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `FieldExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `FieldExpr` and should not @@ -21,7 +22,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::FieldExpr` class directly. * Use the subclass `FieldExpr`, where the following predicates are available. */ - class FieldExpr extends Synth::TFieldExpr, Expr { + class FieldExpr extends Synth::TFieldExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "FieldExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/Function.qll b/rust/ql/lib/codeql/rust/generated/Function.qll index 1b0c7ae375e7..97dcba9c6a92 100644 --- a/rust/ql/lib/codeql/rust/generated/Function.qll +++ b/rust/ql/lib/codeql/rust/generated/Function.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `Function`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Declaration +import codeql.rust.elements.DeclarationImpl::Impl as DeclarationImpl import codeql.rust.elements.Expr /** @@ -28,7 +28,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Function` class directly. * Use the subclass `Function`, where the following predicates are available. */ - class Function extends Synth::TFunction, Declaration { + class Function extends Synth::TFunction, DeclarationImpl::Declaration { override string getAPrimaryQlClass() { result = "Function" } /** diff --git a/rust/ql/lib/codeql/rust/generated/GenericArgList.qll b/rust/ql/lib/codeql/rust/generated/GenericArgList.qll index 10e436d5d7c4..4263ece3ba36 100644 --- a/rust/ql/lib/codeql/rust/generated/GenericArgList.qll +++ b/rust/ql/lib/codeql/rust/generated/GenericArgList.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `GenericArgList`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.AstNode -import codeql.rust.elements.Unimplemented +import codeql.rust.elements.AstNodeImpl::Impl as AstNodeImpl +import codeql.rust.elements.UnimplementedImpl::Impl as UnimplementedImpl /** * INTERNAL: This module contains the fully generated definition of `GenericArgList` and should not @@ -22,7 +22,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::GenericArgList` class directly. * Use the subclass `GenericArgList`, where the following predicates are available. */ - class GenericArgList extends Synth::TGenericArgList, AstNode, Unimplemented { + class GenericArgList extends Synth::TGenericArgList, AstNodeImpl::AstNode, + UnimplementedImpl::Unimplemented + { override string getAPrimaryQlClass() { result = "GenericArgList" } } } diff --git a/rust/ql/lib/codeql/rust/generated/IdentPat.qll b/rust/ql/lib/codeql/rust/generated/IdentPat.qll index 9ebabc254ad9..7f30b1788c18 100644 --- a/rust/ql/lib/codeql/rust/generated/IdentPat.qll +++ b/rust/ql/lib/codeql/rust/generated/IdentPat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `IdentPat`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl /** * INTERNAL: This module contains the fully generated definition of `IdentPat` and should not @@ -30,7 +31,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::IdentPat` class directly. * Use the subclass `IdentPat`, where the following predicates are available. */ - class IdentPat extends Synth::TIdentPat, Pat { + class IdentPat extends Synth::TIdentPat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "IdentPat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/IfExpr.qll b/rust/ql/lib/codeql/rust/generated/IfExpr.qll index 728ad847fb06..c1c1ad5fca8d 100644 --- a/rust/ql/lib/codeql/rust/generated/IfExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/IfExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `IfExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `IfExpr` and should not @@ -30,7 +31,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::IfExpr` class directly. * Use the subclass `IfExpr`, where the following predicates are available. */ - class IfExpr extends Synth::TIfExpr, Expr { + class IfExpr extends Synth::TIfExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "IfExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/IndexExpr.qll b/rust/ql/lib/codeql/rust/generated/IndexExpr.qll index a9a762be1bd0..64255b9ed56f 100644 --- a/rust/ql/lib/codeql/rust/generated/IndexExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/IndexExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `IndexExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `IndexExpr` and should not @@ -22,7 +23,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::IndexExpr` class directly. * Use the subclass `IndexExpr`, where the following predicates are available. */ - class IndexExpr extends Synth::TIndexExpr, Expr { + class IndexExpr extends Synth::TIndexExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "IndexExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/ItemStmt.qll b/rust/ql/lib/codeql/rust/generated/ItemStmt.qll index d33d0aeeafeb..d221a280b4d5 100644 --- a/rust/ql/lib/codeql/rust/generated/ItemStmt.qll +++ b/rust/ql/lib/codeql/rust/generated/ItemStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `ItemStmt`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Stmt +import codeql.rust.elements.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `ItemStmt` and should not @@ -24,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ItemStmt` class directly. * Use the subclass `ItemStmt`, where the following predicates are available. */ - class ItemStmt extends Synth::TItemStmt, Stmt { + class ItemStmt extends Synth::TItemStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "ItemStmt" } } } diff --git a/rust/ql/lib/codeql/rust/generated/Label.qll b/rust/ql/lib/codeql/rust/generated/Label.qll index cea7c19778d2..e0fd7a51f6c9 100644 --- a/rust/ql/lib/codeql/rust/generated/Label.qll +++ b/rust/ql/lib/codeql/rust/generated/Label.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `Label`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.AstNode +import codeql.rust.elements.AstNodeImpl::Impl as AstNodeImpl /** * INTERNAL: This module contains the fully generated definition of `Label` and should not @@ -24,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Label` class directly. * Use the subclass `Label`, where the following predicates are available. */ - class Label extends Synth::TLabel, AstNode { + class Label extends Synth::TLabel, AstNodeImpl::AstNode { override string getAPrimaryQlClass() { result = "Label" } /** diff --git a/rust/ql/lib/codeql/rust/generated/LetExpr.qll b/rust/ql/lib/codeql/rust/generated/LetExpr.qll index 3608012f30e0..a65bb20c55cd 100644 --- a/rust/ql/lib/codeql/rust/generated/LetExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/LetExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `LetExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.Pat /** @@ -24,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::LetExpr` class directly. * Use the subclass `LetExpr`, where the following predicates are available. */ - class LetExpr extends Synth::TLetExpr, Expr { + class LetExpr extends Synth::TLetExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "LetExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/LetStmt.qll b/rust/ql/lib/codeql/rust/generated/LetStmt.qll index d4d70aff0fb9..3381234f77d2 100644 --- a/rust/ql/lib/codeql/rust/generated/LetStmt.qll +++ b/rust/ql/lib/codeql/rust/generated/LetStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `LetStmt`. * INTERNAL: Do not import directly. @@ -8,7 +8,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr import codeql.rust.elements.Pat -import codeql.rust.elements.Stmt +import codeql.rust.elements.StmtImpl::Impl as StmtImpl import codeql.rust.elements.TypeRef /** @@ -30,7 +30,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::LetStmt` class directly. * Use the subclass `LetStmt`, where the following predicates are available. */ - class LetStmt extends Synth::TLetStmt, Stmt { + class LetStmt extends Synth::TLetStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "LetStmt" } /** diff --git a/rust/ql/lib/codeql/rust/generated/LiteralExpr.qll b/rust/ql/lib/codeql/rust/generated/LiteralExpr.qll index 7c9ee19e3217..aaf0bacb1f6b 100644 --- a/rust/ql/lib/codeql/rust/generated/LiteralExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/LiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `LiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `LiteralExpr` and should not @@ -27,7 +27,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::LiteralExpr` class directly. * Use the subclass `LiteralExpr`, where the following predicates are available. */ - class LiteralExpr extends Synth::TLiteralExpr, Expr { + class LiteralExpr extends Synth::TLiteralExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "LiteralExpr" } } } diff --git a/rust/ql/lib/codeql/rust/generated/LiteralPat.qll b/rust/ql/lib/codeql/rust/generated/LiteralPat.qll index ba38d34342cc..d17c1ce21753 100644 --- a/rust/ql/lib/codeql/rust/generated/LiteralPat.qll +++ b/rust/ql/lib/codeql/rust/generated/LiteralPat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `LiteralPat`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr -import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl /** * INTERNAL: This module contains the fully generated definition of `LiteralPat` and should not @@ -25,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::LiteralPat` class directly. * Use the subclass `LiteralPat`, where the following predicates are available. */ - class LiteralPat extends Synth::TLiteralPat, Pat { + class LiteralPat extends Synth::TLiteralPat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "LiteralPat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/Locatable.qll b/rust/ql/lib/codeql/rust/generated/Locatable.qll index 680246a5feb5..eee9568ce92e 100644 --- a/rust/ql/lib/codeql/rust/generated/Locatable.qll +++ b/rust/ql/lib/codeql/rust/generated/Locatable.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `Locatable`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Element +import codeql.rust.elements.ElementImpl::Impl as ElementImpl /** * INTERNAL: This module contains the fully generated definition of `Locatable` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::Locatable` class directly. * Use the subclass `Locatable`, where the following predicates are available. */ - class Locatable extends Synth::TLocatable, Element { } + class Locatable extends Synth::TLocatable, ElementImpl::Element { } } diff --git a/rust/ql/lib/codeql/rust/generated/LoopExpr.qll b/rust/ql/lib/codeql/rust/generated/LoopExpr.qll index 0f2d6ef94f73..ed7ac36f77bc 100644 --- a/rust/ql/lib/codeql/rust/generated/LoopExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/LoopExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `LoopExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.Label /** @@ -40,7 +41,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::LoopExpr` class directly. * Use the subclass `LoopExpr`, where the following predicates are available. */ - class LoopExpr extends Synth::TLoopExpr, Expr { + class LoopExpr extends Synth::TLoopExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "LoopExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/MatchArm.qll b/rust/ql/lib/codeql/rust/generated/MatchArm.qll index 5198bf908a9e..dd9e34a23f36 100644 --- a/rust/ql/lib/codeql/rust/generated/MatchArm.qll +++ b/rust/ql/lib/codeql/rust/generated/MatchArm.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `MatchArm`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.AstNode +import codeql.rust.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.rust.elements.Expr import codeql.rust.elements.Pat @@ -32,7 +32,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MatchArm` class directly. * Use the subclass `MatchArm`, where the following predicates are available. */ - class MatchArm extends Synth::TMatchArm, AstNode { + class MatchArm extends Synth::TMatchArm, AstNodeImpl::AstNode { override string getAPrimaryQlClass() { result = "MatchArm" } /** diff --git a/rust/ql/lib/codeql/rust/generated/MatchExpr.qll b/rust/ql/lib/codeql/rust/generated/MatchExpr.qll index bf2eb004981e..b08ea49ac1b6 100644 --- a/rust/ql/lib/codeql/rust/generated/MatchExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/MatchExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `MatchExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.MatchArm /** @@ -31,7 +32,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MatchExpr` class directly. * Use the subclass `MatchExpr`, where the following predicates are available. */ - class MatchExpr extends Synth::TMatchExpr, Expr { + class MatchExpr extends Synth::TMatchExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "MatchExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/MethodCallExpr.qll b/rust/ql/lib/codeql/rust/generated/MethodCallExpr.qll index 8bb7c201596c..2b6ad436b712 100644 --- a/rust/ql/lib/codeql/rust/generated/MethodCallExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/MethodCallExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `MethodCallExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.GenericArgList /** @@ -22,7 +23,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MethodCallExpr` class directly. * Use the subclass `MethodCallExpr`, where the following predicates are available. */ - class MethodCallExpr extends Synth::TMethodCallExpr, Expr { + class MethodCallExpr extends Synth::TMethodCallExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "MethodCallExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/MissingExpr.qll b/rust/ql/lib/codeql/rust/generated/MissingExpr.qll index 955d662bce41..67ce97e41053 100644 --- a/rust/ql/lib/codeql/rust/generated/MissingExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/MissingExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `MissingExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `MissingExpr` and should not @@ -22,7 +22,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MissingExpr` class directly. * Use the subclass `MissingExpr`, where the following predicates are available. */ - class MissingExpr extends Synth::TMissingExpr, Expr { + class MissingExpr extends Synth::TMissingExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "MissingExpr" } } } diff --git a/rust/ql/lib/codeql/rust/generated/MissingPat.qll b/rust/ql/lib/codeql/rust/generated/MissingPat.qll index ac1c7f349a9c..fc5edd0c56a5 100644 --- a/rust/ql/lib/codeql/rust/generated/MissingPat.qll +++ b/rust/ql/lib/codeql/rust/generated/MissingPat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `MissingPat`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl /** * INTERNAL: This module contains the fully generated definition of `MissingPat` and should not @@ -23,7 +23,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MissingPat` class directly. * Use the subclass `MissingPat`, where the following predicates are available. */ - class MissingPat extends Synth::TMissingPat, Pat { + class MissingPat extends Synth::TMissingPat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "MissingPat" } } } diff --git a/rust/ql/lib/codeql/rust/generated/Module.qll b/rust/ql/lib/codeql/rust/generated/Module.qll index 68fc098d321b..3de36640d440 100644 --- a/rust/ql/lib/codeql/rust/generated/Module.qll +++ b/rust/ql/lib/codeql/rust/generated/Module.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `Module`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Declaration +import codeql.rust.elements.DeclarationImpl::Impl as DeclarationImpl /** * INTERNAL: This module contains the fully generated definition of `Module` and should not @@ -26,7 +27,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Module` class directly. * Use the subclass `Module`, where the following predicates are available. */ - class Module extends Synth::TModule, Declaration { + class Module extends Synth::TModule, DeclarationImpl::Declaration { override string getAPrimaryQlClass() { result = "Module" } /** diff --git a/rust/ql/lib/codeql/rust/generated/OffsetOfExpr.qll b/rust/ql/lib/codeql/rust/generated/OffsetOfExpr.qll index 109a63775e66..56e710fc3983 100644 --- a/rust/ql/lib/codeql/rust/generated/OffsetOfExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/OffsetOfExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `OffsetOfExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.TypeRef /** @@ -22,7 +22,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OffsetOfExpr` class directly. * Use the subclass `OffsetOfExpr`, where the following predicates are available. */ - class OffsetOfExpr extends Synth::TOffsetOfExpr, Expr { + class OffsetOfExpr extends Synth::TOffsetOfExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "OffsetOfExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/OrPat.qll b/rust/ql/lib/codeql/rust/generated/OrPat.qll index 946e7679af05..df76de1139c1 100644 --- a/rust/ql/lib/codeql/rust/generated/OrPat.qll +++ b/rust/ql/lib/codeql/rust/generated/OrPat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `OrPat`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl /** * INTERNAL: This module contains the fully generated definition of `OrPat` and should not @@ -23,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OrPat` class directly. * Use the subclass `OrPat`, where the following predicates are available. */ - class OrPat extends Synth::TOrPat, Pat { + class OrPat extends Synth::TOrPat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "OrPat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/ParentChild.qll b/rust/ql/lib/codeql/rust/generated/ParentChild.qll index f2bc4668f794..a2e522651bde 100644 --- a/rust/ql/lib/codeql/rust/generated/ParentChild.qll +++ b/rust/ql/lib/codeql/rust/generated/ParentChild.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated parent/child relationship. */ diff --git a/rust/ql/lib/codeql/rust/generated/Pat.qll b/rust/ql/lib/codeql/rust/generated/Pat.qll index b7be54a90785..24f2739bd327 100644 --- a/rust/ql/lib/codeql/rust/generated/Pat.qll +++ b/rust/ql/lib/codeql/rust/generated/Pat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `Pat`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.AstNode +import codeql.rust.elements.AstNodeImpl::Impl as AstNodeImpl /** * INTERNAL: This module contains the fully generated definition of `Pat` and should not @@ -18,5 +18,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::Pat` class directly. * Use the subclass `Pat`, where the following predicates are available. */ - class Pat extends Synth::TPat, AstNode { } + class Pat extends Synth::TPat, AstNodeImpl::AstNode { } } diff --git a/rust/ql/lib/codeql/rust/generated/Path.qll b/rust/ql/lib/codeql/rust/generated/Path.qll index c929101f21a7..698fc2dd9794 100644 --- a/rust/ql/lib/codeql/rust/generated/Path.qll +++ b/rust/ql/lib/codeql/rust/generated/Path.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `Path`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.AstNode -import codeql.rust.elements.Unimplemented +import codeql.rust.elements.AstNodeImpl::Impl as AstNodeImpl +import codeql.rust.elements.UnimplementedImpl::Impl as UnimplementedImpl /** * INTERNAL: This module contains the fully generated definition of `Path` and should not @@ -22,7 +22,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Path` class directly. * Use the subclass `Path`, where the following predicates are available. */ - class Path extends Synth::TPath, AstNode, Unimplemented { + class Path extends Synth::TPath, AstNodeImpl::AstNode, UnimplementedImpl::Unimplemented { override string getAPrimaryQlClass() { result = "Path" } } } diff --git a/rust/ql/lib/codeql/rust/generated/PathExpr.qll b/rust/ql/lib/codeql/rust/generated/PathExpr.qll index 6002e6b42dea..e1556e22efac 100644 --- a/rust/ql/lib/codeql/rust/generated/PathExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/PathExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `PathExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.Path /** @@ -25,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PathExpr` class directly. * Use the subclass `PathExpr`, where the following predicates are available. */ - class PathExpr extends Synth::TPathExpr, Expr { + class PathExpr extends Synth::TPathExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "PathExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/PathPat.qll b/rust/ql/lib/codeql/rust/generated/PathPat.qll index 7670849b7492..2914e43a4695 100644 --- a/rust/ql/lib/codeql/rust/generated/PathPat.qll +++ b/rust/ql/lib/codeql/rust/generated/PathPat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `PathPat`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl import codeql.rust.elements.Path /** @@ -25,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PathPat` class directly. * Use the subclass `PathPat`, where the following predicates are available. */ - class PathPat extends Synth::TPathPat, Pat { + class PathPat extends Synth::TPathPat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "PathPat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/PrefixExpr.qll b/rust/ql/lib/codeql/rust/generated/PrefixExpr.qll index 8d31aa2ffa8b..73f130c13058 100644 --- a/rust/ql/lib/codeql/rust/generated/PrefixExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/PrefixExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `PrefixExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `PrefixExpr` and should not @@ -23,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PrefixExpr` class directly. * Use the subclass `PrefixExpr`, where the following predicates are available. */ - class PrefixExpr extends Synth::TPrefixExpr, Expr { + class PrefixExpr extends Synth::TPrefixExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "PrefixExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/PureSynthConstructors.qll b/rust/ql/lib/codeql/rust/generated/PureSynthConstructors.qll index db7165ee7791..100f7f4a756e 100644 --- a/rust/ql/lib/codeql/rust/generated/PureSynthConstructors.qll +++ b/rust/ql/lib/codeql/rust/generated/PureSynthConstructors.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module exports all modules providing `Element` subclasses. */ diff --git a/rust/ql/lib/codeql/rust/generated/RangeExpr.qll b/rust/ql/lib/codeql/rust/generated/RangeExpr.qll index 5b038040f94e..5e76556e433c 100644 --- a/rust/ql/lib/codeql/rust/generated/RangeExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/RangeExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `RangeExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `RangeExpr` and should not @@ -26,7 +27,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RangeExpr` class directly. * Use the subclass `RangeExpr`, where the following predicates are available. */ - class RangeExpr extends Synth::TRangeExpr, Expr { + class RangeExpr extends Synth::TRangeExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "RangeExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/RangePat.qll b/rust/ql/lib/codeql/rust/generated/RangePat.qll index d40d4b90358b..b64c22d82247 100644 --- a/rust/ql/lib/codeql/rust/generated/RangePat.qll +++ b/rust/ql/lib/codeql/rust/generated/RangePat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `RangePat`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl /** * INTERNAL: This module contains the fully generated definition of `RangePat` and should not @@ -25,7 +26,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RangePat` class directly. * Use the subclass `RangePat`, where the following predicates are available. */ - class RangePat extends Synth::TRangePat, Pat { + class RangePat extends Synth::TRangePat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "RangePat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/RecordExpr.qll b/rust/ql/lib/codeql/rust/generated/RecordExpr.qll index 69724c31c721..35fa214f8842 100644 --- a/rust/ql/lib/codeql/rust/generated/RecordExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/RecordExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `RecordExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl import codeql.rust.elements.Path import codeql.rust.elements.RecordExprField @@ -26,7 +27,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RecordExpr` class directly. * Use the subclass `RecordExpr`, where the following predicates are available. */ - class RecordExpr extends Synth::TRecordExpr, Expr { + class RecordExpr extends Synth::TRecordExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "RecordExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/RecordExprField.qll b/rust/ql/lib/codeql/rust/generated/RecordExprField.qll index 23b741b14621..70fa33e7e75a 100644 --- a/rust/ql/lib/codeql/rust/generated/RecordExprField.qll +++ b/rust/ql/lib/codeql/rust/generated/RecordExprField.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `RecordExprField`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.AstNode +import codeql.rust.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.rust.elements.Expr /** @@ -22,7 +22,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RecordExprField` class directly. * Use the subclass `RecordExprField`, where the following predicates are available. */ - class RecordExprField extends Synth::TRecordExprField, AstNode { + class RecordExprField extends Synth::TRecordExprField, AstNodeImpl::AstNode { override string getAPrimaryQlClass() { result = "RecordExprField" } /** diff --git a/rust/ql/lib/codeql/rust/generated/RecordPat.qll b/rust/ql/lib/codeql/rust/generated/RecordPat.qll index 84d51a1da378..74235ccffa50 100644 --- a/rust/ql/lib/codeql/rust/generated/RecordPat.qll +++ b/rust/ql/lib/codeql/rust/generated/RecordPat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `RecordPat`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl import codeql.rust.elements.Path import codeql.rust.elements.RecordPatField @@ -26,7 +26,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RecordPat` class directly. * Use the subclass `RecordPat`, where the following predicates are available. */ - class RecordPat extends Synth::TRecordPat, Pat { + class RecordPat extends Synth::TRecordPat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "RecordPat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/RecordPatField.qll b/rust/ql/lib/codeql/rust/generated/RecordPatField.qll index 01d349c11881..23980be0c537 100644 --- a/rust/ql/lib/codeql/rust/generated/RecordPatField.qll +++ b/rust/ql/lib/codeql/rust/generated/RecordPatField.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `RecordPatField`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.AstNode +import codeql.rust.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.rust.elements.Pat /** @@ -22,7 +22,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RecordPatField` class directly. * Use the subclass `RecordPatField`, where the following predicates are available. */ - class RecordPatField extends Synth::TRecordPatField, AstNode { + class RecordPatField extends Synth::TRecordPatField, AstNodeImpl::AstNode { override string getAPrimaryQlClass() { result = "RecordPatField" } /** diff --git a/rust/ql/lib/codeql/rust/generated/RefExpr.qll b/rust/ql/lib/codeql/rust/generated/RefExpr.qll index 43886e0ad410..0c078a5d0ca7 100644 --- a/rust/ql/lib/codeql/rust/generated/RefExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/RefExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `RefExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `RefExpr` and should not @@ -24,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RefExpr` class directly. * Use the subclass `RefExpr`, where the following predicates are available. */ - class RefExpr extends Synth::TRefExpr, Expr { + class RefExpr extends Synth::TRefExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "RefExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/RefPat.qll b/rust/ql/lib/codeql/rust/generated/RefPat.qll index a13e517a3c87..45336ae7756f 100644 --- a/rust/ql/lib/codeql/rust/generated/RefPat.qll +++ b/rust/ql/lib/codeql/rust/generated/RefPat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `RefPat`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl /** * INTERNAL: This module contains the fully generated definition of `RefPat` and should not @@ -24,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RefPat` class directly. * Use the subclass `RefPat`, where the following predicates are available. */ - class RefPat extends Synth::TRefPat, Pat { + class RefPat extends Synth::TRefPat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "RefPat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/RepeatExpr.qll b/rust/ql/lib/codeql/rust/generated/RepeatExpr.qll index fab7491ceeda..412789e140af 100644 --- a/rust/ql/lib/codeql/rust/generated/RepeatExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/RepeatExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `RepeatExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.ArrayExpr +import codeql.rust.elements.ArrayExprImpl::Impl as ArrayExprImpl import codeql.rust.elements.Expr /** @@ -21,7 +21,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RepeatExpr` class directly. * Use the subclass `RepeatExpr`, where the following predicates are available. */ - class RepeatExpr extends Synth::TRepeatExpr, ArrayExpr { + class RepeatExpr extends Synth::TRepeatExpr, ArrayExprImpl::ArrayExpr { override string getAPrimaryQlClass() { result = "RepeatExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/ReturnExpr.qll b/rust/ql/lib/codeql/rust/generated/ReturnExpr.qll index 9bb35923999d..993abd013d58 100644 --- a/rust/ql/lib/codeql/rust/generated/ReturnExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/ReturnExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `ReturnExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `ReturnExpr` and should not @@ -28,7 +29,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ReturnExpr` class directly. * Use the subclass `ReturnExpr`, where the following predicates are available. */ - class ReturnExpr extends Synth::TReturnExpr, Expr { + class ReturnExpr extends Synth::TReturnExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "ReturnExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/SlicePat.qll b/rust/ql/lib/codeql/rust/generated/SlicePat.qll index 106f0849dc78..be0040807f39 100644 --- a/rust/ql/lib/codeql/rust/generated/SlicePat.qll +++ b/rust/ql/lib/codeql/rust/generated/SlicePat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `SlicePat`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl /** * INTERNAL: This module contains the fully generated definition of `SlicePat` and should not @@ -24,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::SlicePat` class directly. * Use the subclass `SlicePat`, where the following predicates are available. */ - class SlicePat extends Synth::TSlicePat, Pat { + class SlicePat extends Synth::TSlicePat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "SlicePat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/Stmt.qll b/rust/ql/lib/codeql/rust/generated/Stmt.qll index 66cb42bee598..427562772611 100644 --- a/rust/ql/lib/codeql/rust/generated/Stmt.qll +++ b/rust/ql/lib/codeql/rust/generated/Stmt.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `Stmt`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.AstNode +import codeql.rust.elements.AstNodeImpl::Impl as AstNodeImpl /** * INTERNAL: This module contains the fully generated definition of `Stmt` and should not @@ -18,5 +18,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::Stmt` class directly. * Use the subclass `Stmt`, where the following predicates are available. */ - class Stmt extends Synth::TStmt, AstNode { } + class Stmt extends Synth::TStmt, AstNodeImpl::AstNode { } } diff --git a/rust/ql/lib/codeql/rust/generated/SynthConstructors.qll b/rust/ql/lib/codeql/rust/generated/SynthConstructors.qll index ef7922f1af88..75231defae51 100644 --- a/rust/ql/lib/codeql/rust/generated/SynthConstructors.qll +++ b/rust/ql/lib/codeql/rust/generated/SynthConstructors.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module exports all modules providing `Element` subclasses. */ diff --git a/rust/ql/lib/codeql/rust/generated/TupleExpr.qll b/rust/ql/lib/codeql/rust/generated/TupleExpr.qll index 7bab8f23450d..56600ea3d5d8 100644 --- a/rust/ql/lib/codeql/rust/generated/TupleExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/TupleExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `TupleExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `TupleExpr` and should not @@ -22,7 +23,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TupleExpr` class directly. * Use the subclass `TupleExpr`, where the following predicates are available. */ - class TupleExpr extends Synth::TTupleExpr, Expr { + class TupleExpr extends Synth::TTupleExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "TupleExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/TuplePat.qll b/rust/ql/lib/codeql/rust/generated/TuplePat.qll index 4a5b4499e666..e76de0817ec5 100644 --- a/rust/ql/lib/codeql/rust/generated/TuplePat.qll +++ b/rust/ql/lib/codeql/rust/generated/TuplePat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `TuplePat`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl /** * INTERNAL: This module contains the fully generated definition of `TuplePat` and should not @@ -22,7 +23,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TuplePat` class directly. * Use the subclass `TuplePat`, where the following predicates are available. */ - class TuplePat extends Synth::TTuplePat, Pat { + class TuplePat extends Synth::TTuplePat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "TuplePat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/TupleStructPat.qll b/rust/ql/lib/codeql/rust/generated/TupleStructPat.qll index 9b03c2584ad6..f904474aaa91 100644 --- a/rust/ql/lib/codeql/rust/generated/TupleStructPat.qll +++ b/rust/ql/lib/codeql/rust/generated/TupleStructPat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `TupleStructPat`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl import codeql.rust.elements.Path /** @@ -26,7 +27,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TupleStructPat` class directly. * Use the subclass `TupleStructPat`, where the following predicates are available. */ - class TupleStructPat extends Synth::TTupleStructPat, Pat { + class TupleStructPat extends Synth::TTupleStructPat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "TupleStructPat" } /** diff --git a/rust/ql/lib/codeql/rust/generated/TypeRef.qll b/rust/ql/lib/codeql/rust/generated/TypeRef.qll index f6c45fcbad5f..9bd6ef005f87 100644 --- a/rust/ql/lib/codeql/rust/generated/TypeRef.qll +++ b/rust/ql/lib/codeql/rust/generated/TypeRef.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `TypeRef`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.AstNode -import codeql.rust.elements.Unimplemented +import codeql.rust.elements.AstNodeImpl::Impl as AstNodeImpl +import codeql.rust.elements.UnimplementedImpl::Impl as UnimplementedImpl /** * INTERNAL: This module contains the fully generated definition of `TypeRef` and should not @@ -24,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TypeRef` class directly. * Use the subclass `TypeRef`, where the following predicates are available. */ - class TypeRef extends Synth::TTypeRef, AstNode, Unimplemented { + class TypeRef extends Synth::TTypeRef, AstNodeImpl::AstNode, UnimplementedImpl::Unimplemented { override string getAPrimaryQlClass() { result = "TypeRef" } } } diff --git a/rust/ql/lib/codeql/rust/generated/UnderscoreExpr.qll b/rust/ql/lib/codeql/rust/generated/UnderscoreExpr.qll index d4f352318025..23aa12f036cc 100644 --- a/rust/ql/lib/codeql/rust/generated/UnderscoreExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/UnderscoreExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `UnderscoreExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `UnderscoreExpr` and should not @@ -21,7 +21,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnderscoreExpr` class directly. * Use the subclass `UnderscoreExpr`, where the following predicates are available. */ - class UnderscoreExpr extends Synth::TUnderscoreExpr, Expr { + class UnderscoreExpr extends Synth::TUnderscoreExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "UnderscoreExpr" } } } diff --git a/rust/ql/lib/codeql/rust/generated/Unimplemented.qll b/rust/ql/lib/codeql/rust/generated/Unimplemented.qll index 03c367cbcd5b..37a99afd69d4 100644 --- a/rust/ql/lib/codeql/rust/generated/Unimplemented.qll +++ b/rust/ql/lib/codeql/rust/generated/Unimplemented.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `Unimplemented`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Element +import codeql.rust.elements.ElementImpl::Impl as ElementImpl /** * INTERNAL: This module contains the fully generated definition of `Unimplemented` and should not @@ -18,5 +18,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::Unimplemented` class directly. * Use the subclass `Unimplemented`, where the following predicates are available. */ - class Unimplemented extends Synth::TUnimplemented, Element { } + class Unimplemented extends Synth::TUnimplemented, ElementImpl::Element { } } diff --git a/rust/ql/lib/codeql/rust/generated/UnimplementedDeclaration.qll b/rust/ql/lib/codeql/rust/generated/UnimplementedDeclaration.qll index 31b2301830d7..7e29ed04b7e2 100644 --- a/rust/ql/lib/codeql/rust/generated/UnimplementedDeclaration.qll +++ b/rust/ql/lib/codeql/rust/generated/UnimplementedDeclaration.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `UnimplementedDeclaration`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Declaration -import codeql.rust.elements.Unimplemented +import codeql.rust.elements.DeclarationImpl::Impl as DeclarationImpl +import codeql.rust.elements.UnimplementedImpl::Impl as UnimplementedImpl /** * INTERNAL: This module contains the fully generated definition of `UnimplementedDeclaration` and should not @@ -19,8 +19,8 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnimplementedDeclaration` class directly. * Use the subclass `UnimplementedDeclaration`, where the following predicates are available. */ - class UnimplementedDeclaration extends Synth::TUnimplementedDeclaration, Declaration, - Unimplemented + class UnimplementedDeclaration extends Synth::TUnimplementedDeclaration, + DeclarationImpl::Declaration, UnimplementedImpl::Unimplemented { override string getAPrimaryQlClass() { result = "UnimplementedDeclaration" } } diff --git a/rust/ql/lib/codeql/rust/generated/UnsafeBlockExpr.qll b/rust/ql/lib/codeql/rust/generated/UnsafeBlockExpr.qll index 0cdfee165cad..cae6a99c2476 100644 --- a/rust/ql/lib/codeql/rust/generated/UnsafeBlockExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/UnsafeBlockExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `UnsafeBlockExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.BlockExprBase +import codeql.rust.elements.BlockExprBaseImpl::Impl as BlockExprBaseImpl /** * INTERNAL: This module contains the fully generated definition of `UnsafeBlockExpr` and should not @@ -24,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnsafeBlockExpr` class directly. * Use the subclass `UnsafeBlockExpr`, where the following predicates are available. */ - class UnsafeBlockExpr extends Synth::TUnsafeBlockExpr, BlockExprBase { + class UnsafeBlockExpr extends Synth::TUnsafeBlockExpr, BlockExprBaseImpl::BlockExprBase { override string getAPrimaryQlClass() { result = "UnsafeBlockExpr" } } } diff --git a/rust/ql/lib/codeql/rust/generated/WildcardPat.qll b/rust/ql/lib/codeql/rust/generated/WildcardPat.qll index 50bca3150bac..ee0f6e0ee9bd 100644 --- a/rust/ql/lib/codeql/rust/generated/WildcardPat.qll +++ b/rust/ql/lib/codeql/rust/generated/WildcardPat.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `WildcardPat`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw -import codeql.rust.elements.Pat +import codeql.rust.elements.PatImpl::Impl as PatImpl /** * INTERNAL: This module contains the fully generated definition of `WildcardPat` and should not @@ -21,7 +21,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::WildcardPat` class directly. * Use the subclass `WildcardPat`, where the following predicates are available. */ - class WildcardPat extends Synth::TWildcardPat, Pat { + class WildcardPat extends Synth::TWildcardPat, PatImpl::Pat { override string getAPrimaryQlClass() { result = "WildcardPat" } } } diff --git a/rust/ql/lib/codeql/rust/generated/YeetExpr.qll b/rust/ql/lib/codeql/rust/generated/YeetExpr.qll index 483af5adcb3b..93816714dab4 100644 --- a/rust/ql/lib/codeql/rust/generated/YeetExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/YeetExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `YeetExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `YeetExpr` and should not @@ -23,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::YeetExpr` class directly. * Use the subclass `YeetExpr`, where the following predicates are available. */ - class YeetExpr extends Synth::TYeetExpr, Expr { + class YeetExpr extends Synth::TYeetExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "YeetExpr" } /** diff --git a/rust/ql/lib/codeql/rust/generated/YieldExpr.qll b/rust/ql/lib/codeql/rust/generated/YieldExpr.qll index 9e5023bc55fd..9da1dc2ebc16 100644 --- a/rust/ql/lib/codeql/rust/generated/YieldExpr.qll +++ b/rust/ql/lib/codeql/rust/generated/YieldExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit /** * This module provides the generated definition of `YieldExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.rust.generated.Synth private import codeql.rust.generated.Raw import codeql.rust.elements.Expr +import codeql.rust.elements.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `YieldExpr` and should not @@ -24,7 +25,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::YieldExpr` class directly. * Use the subclass `YieldExpr`, where the following predicates are available. */ - class YieldExpr extends Synth::TYieldExpr, Expr { + class YieldExpr extends Synth::TYieldExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "YieldExpr" } /** diff --git a/rust/ql/lib/rust.dbscheme b/rust/ql/lib/rust.dbscheme index 10a0c4c37922..14ab733327f8 100644 --- a/rust/ql/lib/rust.dbscheme +++ b/rust/ql/lib/rust.dbscheme @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit // from ../shared/tree-sitter-extractor/src/generator/prefix.dbscheme /*- Files and folders -*/ diff --git a/rust/ql/test/extractor-tests/generated/.generated_tests.list b/rust/ql/test/extractor-tests/generated/.generated_tests.list index 4bc99d18d264..d5ec5ccad94d 100644 --- a/rust/ql/test/extractor-tests/generated/.generated_tests.list +++ b/rust/ql/test/extractor-tests/generated/.generated_tests.list @@ -1,61 +1,61 @@ -AsmExpr/gen_asm_expr.rs 98d1a2525501416434a087b3791268691e5420f122f6e4d6d868a4273ce89ca5 98d1a2525501416434a087b3791268691e5420f122f6e4d6d868a4273ce89ca5 -AsyncBlockExpr/gen_async_block_expr.rs 63b31fbeeead710902aa31184c06e88e604a1b7ff3308aba52b5d6a965870ff6 63b31fbeeead710902aa31184c06e88e604a1b7ff3308aba52b5d6a965870ff6 -AwaitExpr/gen_await_expr.rs 09632657a74dda663c217b0e16d7f1b33f7f49efb2ef480c0d2cc9c66b65202b 09632657a74dda663c217b0e16d7f1b33f7f49efb2ef480c0d2cc9c66b65202b -BecomeExpr/gen_become_expr.rs 15f42386c7362b50d8bcefda432167104e537fa63f038c1ab016f75a171f728c 15f42386c7362b50d8bcefda432167104e537fa63f038c1ab016f75a171f728c -BinaryExpr/gen_binary_expr.rs f763732714ef056e9d8aaaab69398c37dffdcf96eaf63e9f35d27e7868d78863 f763732714ef056e9d8aaaab69398c37dffdcf96eaf63e9f35d27e7868d78863 -BlockExpr/gen_block_expr.rs b09aa0406d2e772bc14bb1be4959ac21ebaf75c65a1d9f92bb3d8be5fd571023 b09aa0406d2e772bc14bb1be4959ac21ebaf75c65a1d9f92bb3d8be5fd571023 -BoxExpr/gen_box_expr.rs f4392a8e9daae2492c087fc8f7323f45ffbdb43a4ae5035be61e6edeaf427f23 f4392a8e9daae2492c087fc8f7323f45ffbdb43a4ae5035be61e6edeaf427f23 -BoxPat/gen_box_pat.rs 4f6c7ea95d49a350bcfe8bc381229b89c08eb44580d98c853cf6b2ab6649b3a6 4f6c7ea95d49a350bcfe8bc381229b89c08eb44580d98c853cf6b2ab6649b3a6 -BreakExpr/gen_break_expr.rs 4938cdab0fdb9b7bafa021912d59595a190fffbabfb3889ea7ee0917150b0a55 4938cdab0fdb9b7bafa021912d59595a190fffbabfb3889ea7ee0917150b0a55 -CallExpr/gen_call_expr.rs 8a3b00e4af996dcfd4593783316b2d793e8b90b24b4bb78acccca6f974cf9c36 8a3b00e4af996dcfd4593783316b2d793e8b90b24b4bb78acccca6f974cf9c36 -CastExpr/gen_cast_expr.rs 35ba1e109899f5b6297cb0db6d6a48270e031c91b27fab212b07a9f93948f816 35ba1e109899f5b6297cb0db6d6a48270e031c91b27fab212b07a9f93948f816 -ClosureExpr/gen_closure_expr.rs de77bc1d891b4e0f5a4d8a55a8a097990867f93a015c13d72fb10e767aa14ba4 de77bc1d891b4e0f5a4d8a55a8a097990867f93a015c13d72fb10e767aa14ba4 -ConstBlockPat/gen_const_block_pat.rs 6117cee861ea278aa0fb10fe141902a3bb91e6750565e52e5d3e7f0ad03b9203 6117cee861ea278aa0fb10fe141902a3bb91e6750565e52e5d3e7f0ad03b9203 -ConstExpr/gen_const_expr.rs 04a1e4620c843101bfccd38027af68390817dbb750c203250f4fcc208af0d26b 04a1e4620c843101bfccd38027af68390817dbb750c203250f4fcc208af0d26b -ContinueExpr/gen_continue_expr.rs cbbed5b8dd235c4702281c9772094799012d785cc0c39a25b9f21cd659bc98d2 cbbed5b8dd235c4702281c9772094799012d785cc0c39a25b9f21cd659bc98d2 -ElementListExpr/gen_element_list_expr.rs 66f8a3c4e02767e96692c44ada6fe7ed2b07b1aaefdad13e35ae41e081374f81 66f8a3c4e02767e96692c44ada6fe7ed2b07b1aaefdad13e35ae41e081374f81 -ExprStmt/gen_expr_stmt.rs eedad804b2fbd49385c284ece44ecddf18eb56b61ff54607dfdd6521e2481c93 eedad804b2fbd49385c284ece44ecddf18eb56b61ff54607dfdd6521e2481c93 -FieldExpr/gen_field_expr.rs 7ab04efc8b45892d3214eccaeac0b1659213623ae95acb463c531b865988f148 7ab04efc8b45892d3214eccaeac0b1659213623ae95acb463c531b865988f148 -Function/gen_function.rs 1048512614569eaf818e16a30df256556e25f3b7fb97eee2a8df4b0036b10e99 1048512614569eaf818e16a30df256556e25f3b7fb97eee2a8df4b0036b10e99 -GenericArgList/gen_generic_arg_list.rs 428b05b7dd2c2060ac752f4d98a4d3daf44eb9f0a7cfb05bccbe284a91f4be27 428b05b7dd2c2060ac752f4d98a4d3daf44eb9f0a7cfb05bccbe284a91f4be27 -IdentPat/gen_ident_pat.rs 719807aae94b372b489cac7e9ae00d91c2df6e2de7bae9b24e5f6f9aaf8f1b64 719807aae94b372b489cac7e9ae00d91c2df6e2de7bae9b24e5f6f9aaf8f1b64 -IfExpr/gen_if_expr.rs 073ba575b54a553945d3131d7e92cdb1520c24f380361723a1b9d848b6296d7b 073ba575b54a553945d3131d7e92cdb1520c24f380361723a1b9d848b6296d7b -IndexExpr/gen_index_expr.rs b1a1b9eadd40ac1652d944dc925337435ef5782bf485a0f0360c971f4938cdd8 b1a1b9eadd40ac1652d944dc925337435ef5782bf485a0f0360c971f4938cdd8 -Label/gen_label.rs 463ae5ff89ef1222896d7c2009fb8ae7f437c51bc767415e37f6a50b76b9edbd 463ae5ff89ef1222896d7c2009fb8ae7f437c51bc767415e37f6a50b76b9edbd -LetExpr/gen_let_expr.rs 83e9726f3f14fb9d3d332462230fc939f0214216997f5ca84f58518ffd65653d 83e9726f3f14fb9d3d332462230fc939f0214216997f5ca84f58518ffd65653d -LetStmt/gen_let_stmt.rs d22098db07cbdd4e4616c24bc9738f989e553336c7ce1a5391e1b403adb10dbb d22098db07cbdd4e4616c24bc9738f989e553336c7ce1a5391e1b403adb10dbb -LiteralExpr/gen_literal_expr.rs 302ebc81012fd46ccf8d960fe6ae691747bdec1c7cd52b0d47ed1273b4d8dc3a 302ebc81012fd46ccf8d960fe6ae691747bdec1c7cd52b0d47ed1273b4d8dc3a -LiteralPat/gen_literal_pat.rs b97dfb678d9e78d8b1673862e6d88593cfccb648fd5915a5849eb20fdc5d2165 b97dfb678d9e78d8b1673862e6d88593cfccb648fd5915a5849eb20fdc5d2165 -LoopExpr/gen_loop_expr.rs 0a7e6dd7690fae82495c466f8a175b3a4097478041ec0e0bc0b7db97d2e50e66 0a7e6dd7690fae82495c466f8a175b3a4097478041ec0e0bc0b7db97d2e50e66 -MatchArm/gen_match_arm.rs cad136c0d9ffd9fb4250e1e26ccaa7a2920b614d004c25296b819b8d33e87cf9 cad136c0d9ffd9fb4250e1e26ccaa7a2920b614d004c25296b819b8d33e87cf9 -MatchExpr/gen_match_expr.rs 5c444ccc272acd26aabed0462d0527096dbb52a783f8353e6385335314f1035f 5c444ccc272acd26aabed0462d0527096dbb52a783f8353e6385335314f1035f -MethodCallExpr/gen_method_call_expr.rs 2e303e2677134db6d1e757f093f78bbd0db08f067c86d6d9b141b7115f352fd7 2e303e2677134db6d1e757f093f78bbd0db08f067c86d6d9b141b7115f352fd7 -MissingExpr/gen_missing_expr.rs 24bed82f1e2a4bc18c00d59bc06ad0aa59371d5fab71e67a8b4eb1a5f59c61cb 24bed82f1e2a4bc18c00d59bc06ad0aa59371d5fab71e67a8b4eb1a5f59c61cb -MissingPat/gen_missing_pat.rs a4e05c03a08074e332ae5bf18edabb87950119ff938d825efa18e4362ccd4c12 a4e05c03a08074e332ae5bf18edabb87950119ff938d825efa18e4362ccd4c12 -Module/gen_module.rs 6ef553f0782cacf198efe10885a7784e208bbe8da27a65f7f004b49581a75120 6ef553f0782cacf198efe10885a7784e208bbe8da27a65f7f004b49581a75120 -OffsetOfExpr/gen_offset_of_expr.rs 3744346b0e37fd18193f41e45b74ba9a5dca8ae3dc6a30381272358e6ec8e495 3744346b0e37fd18193f41e45b74ba9a5dca8ae3dc6a30381272358e6ec8e495 -OrPat/gen_or_pat.rs 5b27d1397060dab0aba02ce35b7d182394d8b0a84a42984d2508868673d36b2c 5b27d1397060dab0aba02ce35b7d182394d8b0a84a42984d2508868673d36b2c -Path/gen_path.rs 9c70415477de7f794bc1b43eb5cc62a9d8280e312c0aa2039c7bf1f8d6760fb2 9c70415477de7f794bc1b43eb5cc62a9d8280e312c0aa2039c7bf1f8d6760fb2 -PathExpr/gen_path_expr.rs 5df9c18f835d840d95a9cf1d6dfd2870dd97947d7df5ba01d987e66ed9afbb38 5df9c18f835d840d95a9cf1d6dfd2870dd97947d7df5ba01d987e66ed9afbb38 -PathPat/gen_path_pat.rs a858875ccc5baffb04c46127e1f4cd41e5fcc7843eebbdf791c20ba2efe78e5a a858875ccc5baffb04c46127e1f4cd41e5fcc7843eebbdf791c20ba2efe78e5a -PrefixExpr/gen_prefix_expr.rs 0fe7608d3c57813db30f36fde77a55d804e009f00d62e232fd050d5cfc5b1eaf 0fe7608d3c57813db30f36fde77a55d804e009f00d62e232fd050d5cfc5b1eaf -RangeExpr/gen_range_expr.rs 3d77ccdc55a774c41b7d34773e5c65e4fdad6ef76aadd4d24c2694b324e9c006 3d77ccdc55a774c41b7d34773e5c65e4fdad6ef76aadd4d24c2694b324e9c006 -RangePat/gen_range_pat.rs f6661dd17ad104a8e80247e3c212517c6c888895edd86ac75f15ce0270eac0ce f6661dd17ad104a8e80247e3c212517c6c888895edd86ac75f15ce0270eac0ce -RecordExpr/gen_record_expr.rs e0b332e4d8ce9b6830f8f29a14e422a8d4b1df18490d3082f2d98105bcf09748 e0b332e4d8ce9b6830f8f29a14e422a8d4b1df18490d3082f2d98105bcf09748 -RecordExprField/gen_record_expr_field.rs ca3335ee9a4e091f2a4ebc183bd6f8ff9cd8f37c22e3cab16d936aa4751e6608 ca3335ee9a4e091f2a4ebc183bd6f8ff9cd8f37c22e3cab16d936aa4751e6608 -RecordPat/gen_record_pat.rs 4df648cfb7babf7f3b610499f279681b20840b63eb6ebbdda996298d8ff28aed 4df648cfb7babf7f3b610499f279681b20840b63eb6ebbdda996298d8ff28aed -RecordPatField/gen_record_pat_field.rs 83f05d7acccbf792f952272bf049253100d7590ce25c3665d7bb284f88cd62d5 83f05d7acccbf792f952272bf049253100d7590ce25c3665d7bb284f88cd62d5 -RefExpr/gen_ref_expr.rs b79b89935a758c51488ffe654c662bb51af867abd140825859db97197dc7af29 b79b89935a758c51488ffe654c662bb51af867abd140825859db97197dc7af29 -RefPat/gen_ref_pat.rs e12a9380919d62f8910efd09ce6883b7bb53257879eef0aaeaa9f1870af29ad5 e12a9380919d62f8910efd09ce6883b7bb53257879eef0aaeaa9f1870af29ad5 -RepeatExpr/gen_repeat_expr.rs 98e06e5b9d1750a6ec64513d451b7a46eb215e2f2a6d482eaeeb07dec6dc8564 98e06e5b9d1750a6ec64513d451b7a46eb215e2f2a6d482eaeeb07dec6dc8564 -ReturnExpr/gen_return_expr.rs ab3d5f8f19c8b2ad1410c9855b7f437b96dc9d50d67e99047678b515e58e5425 ab3d5f8f19c8b2ad1410c9855b7f437b96dc9d50d67e99047678b515e58e5425 -SlicePat/gen_slice_pat.rs fbbd5568cbadef51a7970fdbb8d99bf591e29d06987fe3c53b7c19f437431568 fbbd5568cbadef51a7970fdbb8d99bf591e29d06987fe3c53b7c19f437431568 -TupleExpr/gen_tuple_expr.rs 3c51f3f94092fb1992e09a096f66304cdc6dbd34b205aa5a4a47216484f3c3e8 3c51f3f94092fb1992e09a096f66304cdc6dbd34b205aa5a4a47216484f3c3e8 -TuplePat/gen_tuple_pat.rs 344d309368c28aba203483f96a8f5456e76a92d35df672313ec88262e036d4cf 344d309368c28aba203483f96a8f5456e76a92d35df672313ec88262e036d4cf -TupleStructPat/gen_tuple_struct_pat.rs 0d3f1ec362bd31cb690b4894a0d6fd695c0b1d80a931b609ad876590c0159f83 0d3f1ec362bd31cb690b4894a0d6fd695c0b1d80a931b609ad876590c0159f83 -TypeRef/gen_type_ref.rs 86362efc37ef9d8383854ac831ba576982e6676d037a85b45a5f7f4a3e8ff1e3 86362efc37ef9d8383854ac831ba576982e6676d037a85b45a5f7f4a3e8ff1e3 -UnderscoreExpr/gen_underscore_expr.rs 34bfcf5e4a865e882aa40fdfdb93237a4ccfb0c1fb053ae184a38719b3727b7a 34bfcf5e4a865e882aa40fdfdb93237a4ccfb0c1fb053ae184a38719b3727b7a -UnsafeBlockExpr/gen_unsafe_block_expr.rs 250656a4c0333c1260617117ae7ca96fc265d5109f948b90dce071867d020486 250656a4c0333c1260617117ae7ca96fc265d5109f948b90dce071867d020486 -WildcardPat/gen_wildcard_pat.rs aa5a5bc28a5fabe45f3d522e1b59bdf2fa5bd2848ec1f32263ef1f39a6b0290a aa5a5bc28a5fabe45f3d522e1b59bdf2fa5bd2848ec1f32263ef1f39a6b0290a -YeetExpr/gen_yeet_expr.rs 060b64c82db9015a28f375c05b98e932a78c3b1e11dc171d0c4844c988c6d8d9 060b64c82db9015a28f375c05b98e932a78c3b1e11dc171d0c4844c988c6d8d9 -YieldExpr/gen_yield_expr.rs 4742abc490211a92cd2aa7ebf7f2749aff5227db64fb1b7b5ede20727140c445 4742abc490211a92cd2aa7ebf7f2749aff5227db64fb1b7b5ede20727140c445 +AsmExpr/gen_asm_expr.rs 00b21fd66fe12785174bd0160d0317a6c78ff05dbba73313eb07b56531cf3158 00b21fd66fe12785174bd0160d0317a6c78ff05dbba73313eb07b56531cf3158 +AsyncBlockExpr/gen_async_block_expr.rs e608c67564863c969d512fea8df22f3b9556c4f8bd5582a04da2629388511591 e608c67564863c969d512fea8df22f3b9556c4f8bd5582a04da2629388511591 +AwaitExpr/gen_await_expr.rs cbfa17a0b84bb0033b1f577c1f2a7ff187506c6211faaf6d90c371d4186b9aa2 cbfa17a0b84bb0033b1f577c1f2a7ff187506c6211faaf6d90c371d4186b9aa2 +BecomeExpr/gen_become_expr.rs 190e22230ca2fcb9506b9821ff6fe67c48f7d30dd1653fc3f6434440e4c2eb3a 190e22230ca2fcb9506b9821ff6fe67c48f7d30dd1653fc3f6434440e4c2eb3a +BinaryExpr/gen_binary_expr.rs 5ea68396dc2e3ff7fcaf5a5201636dd175dd45be36647b6ae0043c765ce24549 5ea68396dc2e3ff7fcaf5a5201636dd175dd45be36647b6ae0043c765ce24549 +BlockExpr/gen_block_expr.rs 17b06c726e304e0efcfde8e71afd9c657860312be554366894236125cb08719e 17b06c726e304e0efcfde8e71afd9c657860312be554366894236125cb08719e +BoxExpr/gen_box_expr.rs f3a121bdb82794d223a294e2fcb67f9d5c77aff5f4f5be8c4673e2bed0e694d8 f3a121bdb82794d223a294e2fcb67f9d5c77aff5f4f5be8c4673e2bed0e694d8 +BoxPat/gen_box_pat.rs 1493e24b732370b577ade38c47db17fa157df19f5390606a67a6040e49b501c0 1493e24b732370b577ade38c47db17fa157df19f5390606a67a6040e49b501c0 +BreakExpr/gen_break_expr.rs 5240475a75b772ea45ab5a9d4f09a8fbba4a9d3e6cd8483fc2d0de29c880eac8 5240475a75b772ea45ab5a9d4f09a8fbba4a9d3e6cd8483fc2d0de29c880eac8 +CallExpr/gen_call_expr.rs 013a7c878996aefb25b94b68eebc4f0b1bb74ccd09e91c491980817a383e2401 013a7c878996aefb25b94b68eebc4f0b1bb74ccd09e91c491980817a383e2401 +CastExpr/gen_cast_expr.rs abd59cc7b92578b56098ac0045cf7de4b15c645cce79e3bdad8d3b6f4657360d abd59cc7b92578b56098ac0045cf7de4b15c645cce79e3bdad8d3b6f4657360d +ClosureExpr/gen_closure_expr.rs 15bd9abdb8aaffabb8bb335f8ebd0571eb5f29115e1dc8d11837aa988702cd80 15bd9abdb8aaffabb8bb335f8ebd0571eb5f29115e1dc8d11837aa988702cd80 +ConstBlockPat/gen_const_block_pat.rs 7e3057cd24d22e752354369cf7e08e9536642812c0947b36aa5d8290a45476fd 7e3057cd24d22e752354369cf7e08e9536642812c0947b36aa5d8290a45476fd +ConstExpr/gen_const_expr.rs d9c261139d784ad5efd6ca384528c6f2296392932d0284ae4d0e63844e94a091 d9c261139d784ad5efd6ca384528c6f2296392932d0284ae4d0e63844e94a091 +ContinueExpr/gen_continue_expr.rs 63840dcd8440aaf1b96b713b80eb2b56acb1639d3200b3c732b45291a071b5ff 63840dcd8440aaf1b96b713b80eb2b56acb1639d3200b3c732b45291a071b5ff +ElementListExpr/gen_element_list_expr.rs 3edce2774071165be5023a34ea7162f40d5dfb738b2b263fefa99fca026f89ee 3edce2774071165be5023a34ea7162f40d5dfb738b2b263fefa99fca026f89ee +ExprStmt/gen_expr_stmt.rs 318a0fd72ee8d6da17c5d635ba0724ed2c11c0f7e9b75c939990cd0c7f3929e4 318a0fd72ee8d6da17c5d635ba0724ed2c11c0f7e9b75c939990cd0c7f3929e4 +FieldExpr/gen_field_expr.rs 9a70500d592e0a071b03d974a55558b3bc0df531ff11bce5898feb36e17ffd8b 9a70500d592e0a071b03d974a55558b3bc0df531ff11bce5898feb36e17ffd8b +Function/gen_function.rs ba6ecb9e0d89183295eb02f3c20ebbf5c209f89bd0172c73a3b4a6dacbf3a54c ba6ecb9e0d89183295eb02f3c20ebbf5c209f89bd0172c73a3b4a6dacbf3a54c +GenericArgList/gen_generic_arg_list.rs cfb072d3b48f9dd568c23d4dfefba28766628678f66bbf9a436de9919ead35f5 cfb072d3b48f9dd568c23d4dfefba28766628678f66bbf9a436de9919ead35f5 +IdentPat/gen_ident_pat.rs 87f9201ca47683ff6f12a0c844c062fdedb6d86546794522d358b117ba0fe477 87f9201ca47683ff6f12a0c844c062fdedb6d86546794522d358b117ba0fe477 +IfExpr/gen_if_expr.rs f2f79d4df0f01dc691b5c62c0f9e1815d7ebc978cf83b7559b5eeab0fcc2fc01 f2f79d4df0f01dc691b5c62c0f9e1815d7ebc978cf83b7559b5eeab0fcc2fc01 +IndexExpr/gen_index_expr.rs 22d7f81ba43dc63f1f49e21a2c25ce25a1b8f6e8e95e1a66f518f010a4d73c61 22d7f81ba43dc63f1f49e21a2c25ce25a1b8f6e8e95e1a66f518f010a4d73c61 +Label/gen_label.rs 0584f519f210f621d7ebc0cb8c95ce05db0795d6109c0d16866f8f699a28213c 0584f519f210f621d7ebc0cb8c95ce05db0795d6109c0d16866f8f699a28213c +LetExpr/gen_let_expr.rs 7aebcd7197fd0e6b5b954deb2f6380769c94609c57e34eb86a33eb04e91d4a78 7aebcd7197fd0e6b5b954deb2f6380769c94609c57e34eb86a33eb04e91d4a78 +LetStmt/gen_let_stmt.rs 3f41c9721149ee0bf8f89a58bc419756358a2e267b80d07660354a7fc44ef1eb 3f41c9721149ee0bf8f89a58bc419756358a2e267b80d07660354a7fc44ef1eb +LiteralExpr/gen_literal_expr.rs 2db01ad390e5c0c63a957c043230a462cb4cc25715eea6ede15d43c55d35976d 2db01ad390e5c0c63a957c043230a462cb4cc25715eea6ede15d43c55d35976d +LiteralPat/gen_literal_pat.rs a471b481b6989001817a3988696f445d9a4dea784e543c346536dacbee1e96f3 a471b481b6989001817a3988696f445d9a4dea784e543c346536dacbee1e96f3 +LoopExpr/gen_loop_expr.rs 35deaf35e765db4ae3124a11284266d8f341d1ce7b700030efada0dda8878619 35deaf35e765db4ae3124a11284266d8f341d1ce7b700030efada0dda8878619 +MatchArm/gen_match_arm.rs ac75b4836a103e2755bd47a1ee1b74af6eb8349adc4ebedaaa27b3ea3ae41aa5 ac75b4836a103e2755bd47a1ee1b74af6eb8349adc4ebedaaa27b3ea3ae41aa5 +MatchExpr/gen_match_expr.rs 081c5d4c78cb71ccd13fb37a93d7f525267c51b179f44b5a22ca3297897002a0 081c5d4c78cb71ccd13fb37a93d7f525267c51b179f44b5a22ca3297897002a0 +MethodCallExpr/gen_method_call_expr.rs f2b4679eb1ec095981fe6bd656b632c22bf6bd0da133309da3f7ef5bd1ab4b5d f2b4679eb1ec095981fe6bd656b632c22bf6bd0da133309da3f7ef5bd1ab4b5d +MissingExpr/gen_missing_expr.rs 5f7d398068d98b8e3a8fef6b4009b58e7816e8c0c4467b3567472799fc31bb18 5f7d398068d98b8e3a8fef6b4009b58e7816e8c0c4467b3567472799fc31bb18 +MissingPat/gen_missing_pat.rs 925e789e16d048f140886b22d3da5b75f871287f355f978cfd03b5fc3f319a32 925e789e16d048f140886b22d3da5b75f871287f355f978cfd03b5fc3f319a32 +Module/gen_module.rs 815605a604fea1d9276684f8d6738a4e833eacad57ceeb27e2095fc450264fc1 815605a604fea1d9276684f8d6738a4e833eacad57ceeb27e2095fc450264fc1 +OffsetOfExpr/gen_offset_of_expr.rs 8e2077b4d7b85c91c17c3630511bc4f929950e9007261cbf0471c4a064c4b934 8e2077b4d7b85c91c17c3630511bc4f929950e9007261cbf0471c4a064c4b934 +OrPat/gen_or_pat.rs 71feef6e056bfe4cc8c22c9eb54fa3fecef613606769061d0efd059adbbd6f56 71feef6e056bfe4cc8c22c9eb54fa3fecef613606769061d0efd059adbbd6f56 +Path/gen_path.rs e32637d04445d5b9411086f3ad5d8b41de24327f7ad641d1a1a25c1d160121c8 e32637d04445d5b9411086f3ad5d8b41de24327f7ad641d1a1a25c1d160121c8 +PathExpr/gen_path_expr.rs a1e0ececfe62a63a43583c9bd8064a80a90c042c55bac29d86776c0c6559f33a a1e0ececfe62a63a43583c9bd8064a80a90c042c55bac29d86776c0c6559f33a +PathPat/gen_path_pat.rs fd7f941f8b33f19d3693be1fdb595c2fb2e85e8296702b82bf12bcd44632f371 fd7f941f8b33f19d3693be1fdb595c2fb2e85e8296702b82bf12bcd44632f371 +PrefixExpr/gen_prefix_expr.rs 2b7c6eb7efe5b1bbf895dde386eca9e1c4dcfa047ca141628580c97ec304ac4a 2b7c6eb7efe5b1bbf895dde386eca9e1c4dcfa047ca141628580c97ec304ac4a +RangeExpr/gen_range_expr.rs 3f27cff9cc76b2703beff622d1453b84121e1970a869e45f9428deac92c4ecb0 3f27cff9cc76b2703beff622d1453b84121e1970a869e45f9428deac92c4ecb0 +RangePat/gen_range_pat.rs 18b5169c3ab9230c95d86c4897f8343b2176d9602c9ea371c70c1eb0dbf89a28 18b5169c3ab9230c95d86c4897f8343b2176d9602c9ea371c70c1eb0dbf89a28 +RecordExpr/gen_record_expr.rs f8a7db88ae9e2a47588d26a76331cba64014dc6d5e065af28adcd718c8c52727 f8a7db88ae9e2a47588d26a76331cba64014dc6d5e065af28adcd718c8c52727 +RecordExprField/gen_record_expr_field.rs ea34f9fc64a600a5fff6b3388a2f89990bc9381937f49e83ce5f8192a14a0e4f ea34f9fc64a600a5fff6b3388a2f89990bc9381937f49e83ce5f8192a14a0e4f +RecordPat/gen_record_pat.rs a7e8aafb51532785459467e82d175a4cbab7ad5757cd00d74a0b1b673a5f21d9 a7e8aafb51532785459467e82d175a4cbab7ad5757cd00d74a0b1b673a5f21d9 +RecordPatField/gen_record_pat_field.rs f6c31bd08e6021aa4da6e8238561a77208f0ef723c5e217c6fbc16b8aec73a84 f6c31bd08e6021aa4da6e8238561a77208f0ef723c5e217c6fbc16b8aec73a84 +RefExpr/gen_ref_expr.rs 82695467551def4a00c78aa1ea6a1460e9edbef7df2672f13daccb0ee5d6b4c6 82695467551def4a00c78aa1ea6a1460e9edbef7df2672f13daccb0ee5d6b4c6 +RefPat/gen_ref_pat.rs aba7518649d9a37928e59a40d42f76cc0f4735e8daf711a3def6d2f0520e1f54 aba7518649d9a37928e59a40d42f76cc0f4735e8daf711a3def6d2f0520e1f54 +RepeatExpr/gen_repeat_expr.rs 36d8ee353f3115ca99a6b070d174b971e9440e73038489ee571e408c354fecf8 36d8ee353f3115ca99a6b070d174b971e9440e73038489ee571e408c354fecf8 +ReturnExpr/gen_return_expr.rs 4f6ef29d7b3c60d6d71d1a6034a0721671f517428ba21897361a92b01009d38f 4f6ef29d7b3c60d6d71d1a6034a0721671f517428ba21897361a92b01009d38f +SlicePat/gen_slice_pat.rs df4a6692f5100aa11dd777561400ce71e37b85f2363b0638c21975a1771b15d5 df4a6692f5100aa11dd777561400ce71e37b85f2363b0638c21975a1771b15d5 +TupleExpr/gen_tuple_expr.rs 8ecd1b6ecc58a0319eed434a423cc6f41bdf1901b1950e6e79735d7f7b2f8374 8ecd1b6ecc58a0319eed434a423cc6f41bdf1901b1950e6e79735d7f7b2f8374 +TuplePat/gen_tuple_pat.rs b1b0c9c5ff1b787f380644691c77807655a4f6441fc7431c90ecf78c54c26148 b1b0c9c5ff1b787f380644691c77807655a4f6441fc7431c90ecf78c54c26148 +TupleStructPat/gen_tuple_struct_pat.rs 601ca8813272d15b4c8fd7402d0d28a42a62be82865eb5e86b985ad31464ca98 601ca8813272d15b4c8fd7402d0d28a42a62be82865eb5e86b985ad31464ca98 +TypeRef/gen_type_ref.rs d9a3ebe221015919dd0422545397c64865f7fad4987ab09be2124029bbb7fcc3 d9a3ebe221015919dd0422545397c64865f7fad4987ab09be2124029bbb7fcc3 +UnderscoreExpr/gen_underscore_expr.rs fe34e99d322bf86c0f5509c9b5fd6e1e8abbdf63dbe7e01687344a41e9aabe52 fe34e99d322bf86c0f5509c9b5fd6e1e8abbdf63dbe7e01687344a41e9aabe52 +UnsafeBlockExpr/gen_unsafe_block_expr.rs 4f995811d788098a86470645957803310a8d87f7974aebe6e67073230977566f 4f995811d788098a86470645957803310a8d87f7974aebe6e67073230977566f +WildcardPat/gen_wildcard_pat.rs f1b175eeb3a0fc32bbcfb70a207be33dfde51a7d5198f72b8e08948f0d43e3dc f1b175eeb3a0fc32bbcfb70a207be33dfde51a7d5198f72b8e08948f0d43e3dc +YeetExpr/gen_yeet_expr.rs c243b785a2cbd941bcec23dafc23ffbc64b93cf2843b6ede9783cdb81fed439d c243b785a2cbd941bcec23dafc23ffbc64b93cf2843b6ede9783cdb81fed439d +YieldExpr/gen_yield_expr.rs 20f607719ff90bbcd831fe48a530400d0774394867ae65618cd1671d638f853e 20f607719ff90bbcd831fe48a530400d0774394867ae65618cd1671d638f853e diff --git a/rust/ql/test/extractor-tests/generated/AsmExpr/AsmExpr.ql b/rust/ql/test/extractor-tests/generated/AsmExpr/AsmExpr.ql index d53de6289ddc..be56bdf712ee 100644 --- a/rust/ql/test/extractor-tests/generated/AsmExpr/AsmExpr.ql +++ b/rust/ql/test/extractor-tests/generated/AsmExpr/AsmExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/AsmExpr/gen_asm_expr.rs b/rust/ql/test/extractor-tests/generated/AsmExpr/gen_asm_expr.rs index 101d003c811a..cfd6896e2f84 100644 --- a/rust/ql/test/extractor-tests/generated/AsmExpr/gen_asm_expr.rs +++ b/rust/ql/test/extractor-tests/generated/AsmExpr/gen_asm_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_asm_expr() -> () { // An inline assembly expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr.ql b/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr.ql index 132be12a64f4..f81e395a73b1 100644 --- a/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr.ql +++ b/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getStatement.ql b/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getStatement.ql index 84e5c344a6f4..0a5058e5ac04 100644 --- a/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getStatement.ql +++ b/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getStatement.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getTail.ql b/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getTail.ql index 574c7fa72034..6feb1237027e 100644 --- a/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getTail.ql +++ b/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/AsyncBlockExpr_getTail.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/gen_async_block_expr.rs b/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/gen_async_block_expr.rs index fec15de4176e..18f5e33f77ef 100644 --- a/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/gen_async_block_expr.rs +++ b/rust/ql/test/extractor-tests/generated/AsyncBlockExpr/gen_async_block_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_async_block_expr() -> i32 { // An async block expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/AwaitExpr/AwaitExpr.ql b/rust/ql/test/extractor-tests/generated/AwaitExpr/AwaitExpr.ql index 30400ffc9bc0..6039b921e90e 100644 --- a/rust/ql/test/extractor-tests/generated/AwaitExpr/AwaitExpr.ql +++ b/rust/ql/test/extractor-tests/generated/AwaitExpr/AwaitExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/AwaitExpr/gen_await_expr.rs b/rust/ql/test/extractor-tests/generated/AwaitExpr/gen_await_expr.rs index 7534fbc19a5d..6bdc5a1ca2fc 100644 --- a/rust/ql/test/extractor-tests/generated/AwaitExpr/gen_await_expr.rs +++ b/rust/ql/test/extractor-tests/generated/AwaitExpr/gen_await_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_await_expr() -> () { // An `await` expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/BecomeExpr/BecomeExpr.ql b/rust/ql/test/extractor-tests/generated/BecomeExpr/BecomeExpr.ql index 25eb0809f2cf..b98b67f97f3c 100644 --- a/rust/ql/test/extractor-tests/generated/BecomeExpr/BecomeExpr.ql +++ b/rust/ql/test/extractor-tests/generated/BecomeExpr/BecomeExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BecomeExpr/gen_become_expr.rs b/rust/ql/test/extractor-tests/generated/BecomeExpr/gen_become_expr.rs index dd35255f4788..4dd90c1812ea 100644 --- a/rust/ql/test/extractor-tests/generated/BecomeExpr/gen_become_expr.rs +++ b/rust/ql/test/extractor-tests/generated/BecomeExpr/gen_become_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit // A `become` expression. For example: fn fact_a(n: i32, a: i32) -> i32 { diff --git a/rust/ql/test/extractor-tests/generated/BinaryExpr/BinaryExpr.ql b/rust/ql/test/extractor-tests/generated/BinaryExpr/BinaryExpr.ql index 91f358f258ec..adbd8dcbdb6b 100644 --- a/rust/ql/test/extractor-tests/generated/BinaryExpr/BinaryExpr.ql +++ b/rust/ql/test/extractor-tests/generated/BinaryExpr/BinaryExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BinaryExpr/BinaryExpr_getOp.ql b/rust/ql/test/extractor-tests/generated/BinaryExpr/BinaryExpr_getOp.ql index 9fc20d407369..955f1552c1e4 100644 --- a/rust/ql/test/extractor-tests/generated/BinaryExpr/BinaryExpr_getOp.ql +++ b/rust/ql/test/extractor-tests/generated/BinaryExpr/BinaryExpr_getOp.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BinaryExpr/gen_binary_expr.rs b/rust/ql/test/extractor-tests/generated/BinaryExpr/gen_binary_expr.rs index 17f8c74c4b63..6e5ff4a36dc1 100644 --- a/rust/ql/test/extractor-tests/generated/BinaryExpr/gen_binary_expr.rs +++ b/rust/ql/test/extractor-tests/generated/BinaryExpr/gen_binary_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_binary_expr() -> () { // A binary operation expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr.ql b/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr.ql index d0c3e4e3e6db..9cd6c27688aa 100644 --- a/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr.ql +++ b/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getLabel.ql b/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getLabel.ql index dcc97bc9a485..25f432e2a990 100644 --- a/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getLabel.ql +++ b/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getLabel.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getStatement.ql b/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getStatement.ql index 22c05e398d0a..13a94844bf2e 100644 --- a/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getStatement.ql +++ b/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getStatement.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getTail.ql b/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getTail.ql index f86117be4b9d..b27adc54bb8a 100644 --- a/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getTail.ql +++ b/rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getTail.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BlockExpr/gen_block_expr.rs b/rust/ql/test/extractor-tests/generated/BlockExpr/gen_block_expr.rs index 9ccff26f1aae..fe8bc6705e27 100644 --- a/rust/ql/test/extractor-tests/generated/BlockExpr/gen_block_expr.rs +++ b/rust/ql/test/extractor-tests/generated/BlockExpr/gen_block_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_block_expr() -> () { // A block expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/BoxExpr/BoxExpr.ql b/rust/ql/test/extractor-tests/generated/BoxExpr/BoxExpr.ql index e24ec8ce6031..5ca82028931b 100644 --- a/rust/ql/test/extractor-tests/generated/BoxExpr/BoxExpr.ql +++ b/rust/ql/test/extractor-tests/generated/BoxExpr/BoxExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BoxExpr/gen_box_expr.rs b/rust/ql/test/extractor-tests/generated/BoxExpr/gen_box_expr.rs index 9ea4053ecf4b..1404d99f7582 100644 --- a/rust/ql/test/extractor-tests/generated/BoxExpr/gen_box_expr.rs +++ b/rust/ql/test/extractor-tests/generated/BoxExpr/gen_box_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_box_expr() -> () { // A box expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/BoxPat/BoxPat.ql b/rust/ql/test/extractor-tests/generated/BoxPat/BoxPat.ql index df6180cda58b..525eac919824 100644 --- a/rust/ql/test/extractor-tests/generated/BoxPat/BoxPat.ql +++ b/rust/ql/test/extractor-tests/generated/BoxPat/BoxPat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BoxPat/gen_box_pat.rs b/rust/ql/test/extractor-tests/generated/BoxPat/gen_box_pat.rs index a8e16c413476..f26d31d72f9c 100644 --- a/rust/ql/test/extractor-tests/generated/BoxPat/gen_box_pat.rs +++ b/rust/ql/test/extractor-tests/generated/BoxPat/gen_box_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_box_pat() -> () { // A box pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr.ql b/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr.ql index 10d6cec5b611..39b93ac5fe4d 100644 --- a/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr.ql +++ b/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr_getExpr.ql b/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr_getExpr.ql index f83545cb7ce5..0ae64a4d5331 100644 --- a/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr_getExpr.ql +++ b/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr_getExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr_getLabel.ql b/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr_getLabel.ql index 6211ec52591a..7deb806e3067 100644 --- a/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr_getLabel.ql +++ b/rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr_getLabel.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/BreakExpr/gen_break_expr.rs b/rust/ql/test/extractor-tests/generated/BreakExpr/gen_break_expr.rs index 4d2ec0573e32..cd40541da9c4 100644 --- a/rust/ql/test/extractor-tests/generated/BreakExpr/gen_break_expr.rs +++ b/rust/ql/test/extractor-tests/generated/BreakExpr/gen_break_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_break_expr() -> () { // A break expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/CallExpr/CallExpr.ql b/rust/ql/test/extractor-tests/generated/CallExpr/CallExpr.ql index 2d2c45c75b06..ddbe62ac5a0c 100644 --- a/rust/ql/test/extractor-tests/generated/CallExpr/CallExpr.ql +++ b/rust/ql/test/extractor-tests/generated/CallExpr/CallExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/CallExpr/CallExpr_getArg.ql b/rust/ql/test/extractor-tests/generated/CallExpr/CallExpr_getArg.ql index 8f7ead93761e..37483c3e6378 100644 --- a/rust/ql/test/extractor-tests/generated/CallExpr/CallExpr_getArg.ql +++ b/rust/ql/test/extractor-tests/generated/CallExpr/CallExpr_getArg.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/CallExpr/gen_call_expr.rs b/rust/ql/test/extractor-tests/generated/CallExpr/gen_call_expr.rs index 4d6c737e95cb..b2436cc00429 100644 --- a/rust/ql/test/extractor-tests/generated/CallExpr/gen_call_expr.rs +++ b/rust/ql/test/extractor-tests/generated/CallExpr/gen_call_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_call_expr() -> () { // A function call expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/CastExpr/CastExpr.ql b/rust/ql/test/extractor-tests/generated/CastExpr/CastExpr.ql index 0b724a6f3ac7..1082b80fa01a 100644 --- a/rust/ql/test/extractor-tests/generated/CastExpr/CastExpr.ql +++ b/rust/ql/test/extractor-tests/generated/CastExpr/CastExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/CastExpr/gen_cast_expr.rs b/rust/ql/test/extractor-tests/generated/CastExpr/gen_cast_expr.rs index 11230130d065..2945c711320a 100644 --- a/rust/ql/test/extractor-tests/generated/CastExpr/gen_cast_expr.rs +++ b/rust/ql/test/extractor-tests/generated/CastExpr/gen_cast_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_cast_expr() -> () { // A cast expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr.ql b/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr.ql index b56eda1978ea..d2c394b4ad8e 100644 --- a/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr.ql +++ b/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArg.ql b/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArg.ql index eca1b3a1f3da..f10c54f1ff3a 100644 --- a/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArg.ql +++ b/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArg.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArgType.ql b/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArgType.ql index c2fd9a3022bc..dcac99b7ed41 100644 --- a/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArgType.ql +++ b/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getArgType.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getRetType.ql b/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getRetType.ql index b428052d169e..acafcc710620 100644 --- a/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getRetType.ql +++ b/rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getRetType.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ClosureExpr/gen_closure_expr.rs b/rust/ql/test/extractor-tests/generated/ClosureExpr/gen_closure_expr.rs index 41e67e6bd87c..4c0c6067aac6 100644 --- a/rust/ql/test/extractor-tests/generated/ClosureExpr/gen_closure_expr.rs +++ b/rust/ql/test/extractor-tests/generated/ClosureExpr/gen_closure_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_closure_expr() -> () { // A closure expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/ConstBlockPat/ConstBlockPat.ql b/rust/ql/test/extractor-tests/generated/ConstBlockPat/ConstBlockPat.ql index c412596eb32c..b298a56e8c48 100644 --- a/rust/ql/test/extractor-tests/generated/ConstBlockPat/ConstBlockPat.ql +++ b/rust/ql/test/extractor-tests/generated/ConstBlockPat/ConstBlockPat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ConstBlockPat/gen_const_block_pat.rs b/rust/ql/test/extractor-tests/generated/ConstBlockPat/gen_const_block_pat.rs index bb2a1743de40..2eba97954c7f 100644 --- a/rust/ql/test/extractor-tests/generated/ConstBlockPat/gen_const_block_pat.rs +++ b/rust/ql/test/extractor-tests/generated/ConstBlockPat/gen_const_block_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_const_block_pat() -> () { // A const block pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/ConstExpr/ConstExpr.ql b/rust/ql/test/extractor-tests/generated/ConstExpr/ConstExpr.ql index 700a5c704022..293158e36aef 100644 --- a/rust/ql/test/extractor-tests/generated/ConstExpr/ConstExpr.ql +++ b/rust/ql/test/extractor-tests/generated/ConstExpr/ConstExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ConstExpr/gen_const_expr.rs b/rust/ql/test/extractor-tests/generated/ConstExpr/gen_const_expr.rs index c9e3e3550906..f23ce557961b 100644 --- a/rust/ql/test/extractor-tests/generated/ConstExpr/gen_const_expr.rs +++ b/rust/ql/test/extractor-tests/generated/ConstExpr/gen_const_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_const_expr() -> bool { // A `const` block expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/ContinueExpr/ContinueExpr.ql b/rust/ql/test/extractor-tests/generated/ContinueExpr/ContinueExpr.ql index 399b8783da20..89fe9d7021c7 100644 --- a/rust/ql/test/extractor-tests/generated/ContinueExpr/ContinueExpr.ql +++ b/rust/ql/test/extractor-tests/generated/ContinueExpr/ContinueExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ContinueExpr/ContinueExpr_getLabel.ql b/rust/ql/test/extractor-tests/generated/ContinueExpr/ContinueExpr_getLabel.ql index b9944aa07303..ecfccc42d65d 100644 --- a/rust/ql/test/extractor-tests/generated/ContinueExpr/ContinueExpr_getLabel.ql +++ b/rust/ql/test/extractor-tests/generated/ContinueExpr/ContinueExpr_getLabel.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ContinueExpr/gen_continue_expr.rs b/rust/ql/test/extractor-tests/generated/ContinueExpr/gen_continue_expr.rs index e818d65270b3..a50d5ee4139d 100644 --- a/rust/ql/test/extractor-tests/generated/ContinueExpr/gen_continue_expr.rs +++ b/rust/ql/test/extractor-tests/generated/ContinueExpr/gen_continue_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_continue_expr() -> () { // A continue expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/ElementListExpr/ElementListExpr.ql b/rust/ql/test/extractor-tests/generated/ElementListExpr/ElementListExpr.ql index 9d8254f5ca51..38b861e7db0a 100644 --- a/rust/ql/test/extractor-tests/generated/ElementListExpr/ElementListExpr.ql +++ b/rust/ql/test/extractor-tests/generated/ElementListExpr/ElementListExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ElementListExpr/ElementListExpr_getElement.ql b/rust/ql/test/extractor-tests/generated/ElementListExpr/ElementListExpr_getElement.ql index 7d38ce31602b..b66322849c4e 100644 --- a/rust/ql/test/extractor-tests/generated/ElementListExpr/ElementListExpr_getElement.ql +++ b/rust/ql/test/extractor-tests/generated/ElementListExpr/ElementListExpr_getElement.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ElementListExpr/gen_element_list_expr.rs b/rust/ql/test/extractor-tests/generated/ElementListExpr/gen_element_list_expr.rs index 7a8400b446ce..d074b0a2553b 100644 --- a/rust/ql/test/extractor-tests/generated/ElementListExpr/gen_element_list_expr.rs +++ b/rust/ql/test/extractor-tests/generated/ElementListExpr/gen_element_list_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_element_list_expr() -> () { // An element list expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/ExprStmt/ExprStmt.ql b/rust/ql/test/extractor-tests/generated/ExprStmt/ExprStmt.ql index ff299ff6e5ab..4e6d5ab9d192 100644 --- a/rust/ql/test/extractor-tests/generated/ExprStmt/ExprStmt.ql +++ b/rust/ql/test/extractor-tests/generated/ExprStmt/ExprStmt.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ExprStmt/gen_expr_stmt.rs b/rust/ql/test/extractor-tests/generated/ExprStmt/gen_expr_stmt.rs index fefe06876995..bf6d4f667f27 100644 --- a/rust/ql/test/extractor-tests/generated/ExprStmt/gen_expr_stmt.rs +++ b/rust/ql/test/extractor-tests/generated/ExprStmt/gen_expr_stmt.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_expr_stmt() -> () { // An expression statement. For example: diff --git a/rust/ql/test/extractor-tests/generated/FieldExpr/FieldExpr.ql b/rust/ql/test/extractor-tests/generated/FieldExpr/FieldExpr.ql index 5cc4bc15dafd..72b068b1c87b 100644 --- a/rust/ql/test/extractor-tests/generated/FieldExpr/FieldExpr.ql +++ b/rust/ql/test/extractor-tests/generated/FieldExpr/FieldExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/FieldExpr/gen_field_expr.rs b/rust/ql/test/extractor-tests/generated/FieldExpr/gen_field_expr.rs index d5f02eb26512..cbef64120887 100644 --- a/rust/ql/test/extractor-tests/generated/FieldExpr/gen_field_expr.rs +++ b/rust/ql/test/extractor-tests/generated/FieldExpr/gen_field_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_field_expr() -> () { // A field access expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/Function/Function.ql b/rust/ql/test/extractor-tests/generated/Function/Function.ql index 1cff30407106..e9faa2aef179 100644 --- a/rust/ql/test/extractor-tests/generated/Function/Function.ql +++ b/rust/ql/test/extractor-tests/generated/Function/Function.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/Function/gen_function.rs b/rust/ql/test/extractor-tests/generated/Function/gen_function.rs index 2c306d78c074..8b6153205460 100644 --- a/rust/ql/test/extractor-tests/generated/Function/gen_function.rs +++ b/rust/ql/test/extractor-tests/generated/Function/gen_function.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit // A function declaration. For example fn foo(x: u32) -> u64 {(x + 1).into()} diff --git a/rust/ql/test/extractor-tests/generated/GenericArgList/GenericArgList.ql b/rust/ql/test/extractor-tests/generated/GenericArgList/GenericArgList.ql index d4b2fa8beebe..b35dd87ab965 100644 --- a/rust/ql/test/extractor-tests/generated/GenericArgList/GenericArgList.ql +++ b/rust/ql/test/extractor-tests/generated/GenericArgList/GenericArgList.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/GenericArgList/gen_generic_arg_list.rs b/rust/ql/test/extractor-tests/generated/GenericArgList/gen_generic_arg_list.rs index a439ab96505d..2088341a9ced 100644 --- a/rust/ql/test/extractor-tests/generated/GenericArgList/gen_generic_arg_list.rs +++ b/rust/ql/test/extractor-tests/generated/GenericArgList/gen_generic_arg_list.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_generic_arg_list() -> () { // The base class for generic arguments. diff --git a/rust/ql/test/extractor-tests/generated/IdentPat/IdentPat.ql b/rust/ql/test/extractor-tests/generated/IdentPat/IdentPat.ql index b5fe4af4f8a6..2eb3e3ac35bf 100644 --- a/rust/ql/test/extractor-tests/generated/IdentPat/IdentPat.ql +++ b/rust/ql/test/extractor-tests/generated/IdentPat/IdentPat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/IdentPat/IdentPat_getSubpat.ql b/rust/ql/test/extractor-tests/generated/IdentPat/IdentPat_getSubpat.ql index 71302ef13674..0fd3f8cfe777 100644 --- a/rust/ql/test/extractor-tests/generated/IdentPat/IdentPat_getSubpat.ql +++ b/rust/ql/test/extractor-tests/generated/IdentPat/IdentPat_getSubpat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/IdentPat/gen_ident_pat.rs b/rust/ql/test/extractor-tests/generated/IdentPat/gen_ident_pat.rs index 0b8111cc1072..8158e14f2f3e 100644 --- a/rust/ql/test/extractor-tests/generated/IdentPat/gen_ident_pat.rs +++ b/rust/ql/test/extractor-tests/generated/IdentPat/gen_ident_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_ident_pat() -> () { // A binding pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/IfExpr/IfExpr.ql b/rust/ql/test/extractor-tests/generated/IfExpr/IfExpr.ql index a684dcd54341..4b230a91c152 100644 --- a/rust/ql/test/extractor-tests/generated/IfExpr/IfExpr.ql +++ b/rust/ql/test/extractor-tests/generated/IfExpr/IfExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/IfExpr/IfExpr_getElse.ql b/rust/ql/test/extractor-tests/generated/IfExpr/IfExpr_getElse.ql index 8e6209a248c1..187637aab212 100644 --- a/rust/ql/test/extractor-tests/generated/IfExpr/IfExpr_getElse.ql +++ b/rust/ql/test/extractor-tests/generated/IfExpr/IfExpr_getElse.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/IfExpr/gen_if_expr.rs b/rust/ql/test/extractor-tests/generated/IfExpr/gen_if_expr.rs index 6ef2659892bc..22de54eb8962 100644 --- a/rust/ql/test/extractor-tests/generated/IfExpr/gen_if_expr.rs +++ b/rust/ql/test/extractor-tests/generated/IfExpr/gen_if_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_if_expr() -> () { // An `if` expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/IndexExpr/IndexExpr.ql b/rust/ql/test/extractor-tests/generated/IndexExpr/IndexExpr.ql index e03488ac6d08..1443f3e58e28 100644 --- a/rust/ql/test/extractor-tests/generated/IndexExpr/IndexExpr.ql +++ b/rust/ql/test/extractor-tests/generated/IndexExpr/IndexExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/IndexExpr/gen_index_expr.rs b/rust/ql/test/extractor-tests/generated/IndexExpr/gen_index_expr.rs index 117577d368e3..f4f6a75d904c 100644 --- a/rust/ql/test/extractor-tests/generated/IndexExpr/gen_index_expr.rs +++ b/rust/ql/test/extractor-tests/generated/IndexExpr/gen_index_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_index_expr() -> () { // An index expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/Label/Label.ql b/rust/ql/test/extractor-tests/generated/Label/Label.ql index 873eacb4772c..6fa1930f0bad 100644 --- a/rust/ql/test/extractor-tests/generated/Label/Label.ql +++ b/rust/ql/test/extractor-tests/generated/Label/Label.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/Label/gen_label.rs b/rust/ql/test/extractor-tests/generated/Label/gen_label.rs index 2fd977db1593..4500ab4626bc 100644 --- a/rust/ql/test/extractor-tests/generated/Label/gen_label.rs +++ b/rust/ql/test/extractor-tests/generated/Label/gen_label.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_label() -> () { // A label. For example: diff --git a/rust/ql/test/extractor-tests/generated/LetExpr/LetExpr.ql b/rust/ql/test/extractor-tests/generated/LetExpr/LetExpr.ql index bcb2e1112678..a00b026d048a 100644 --- a/rust/ql/test/extractor-tests/generated/LetExpr/LetExpr.ql +++ b/rust/ql/test/extractor-tests/generated/LetExpr/LetExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/LetExpr/gen_let_expr.rs b/rust/ql/test/extractor-tests/generated/LetExpr/gen_let_expr.rs index 1a8bab21c4fe..cc9f588d66dd 100644 --- a/rust/ql/test/extractor-tests/generated/LetExpr/gen_let_expr.rs +++ b/rust/ql/test/extractor-tests/generated/LetExpr/gen_let_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_let_expr(maybe_some: Option) -> () { // A `let` expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt.ql b/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt.ql index 02a624e921e4..6d67a88dcb54 100644 --- a/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt.ql +++ b/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getElse.ql b/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getElse.ql index 66ac961a635d..35c29979fd03 100644 --- a/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getElse.ql +++ b/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getElse.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getInitializer.ql b/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getInitializer.ql index 4578c2c87680..cac847aa7265 100644 --- a/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getInitializer.ql +++ b/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getInitializer.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getType.ql b/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getType.ql index 62271f18fb00..641cdfe32458 100644 --- a/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getType.ql +++ b/rust/ql/test/extractor-tests/generated/LetStmt/LetStmt_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/LetStmt/gen_let_stmt.rs b/rust/ql/test/extractor-tests/generated/LetStmt/gen_let_stmt.rs index 307386b8aef4..7117dfaf9b9b 100644 --- a/rust/ql/test/extractor-tests/generated/LetStmt/gen_let_stmt.rs +++ b/rust/ql/test/extractor-tests/generated/LetStmt/gen_let_stmt.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_let_stmt() -> () { // A let statement. For example: diff --git a/rust/ql/test/extractor-tests/generated/LiteralExpr/LiteralExpr.ql b/rust/ql/test/extractor-tests/generated/LiteralExpr/LiteralExpr.ql index 48c2e1d6f00f..70c1d4f7c3fd 100644 --- a/rust/ql/test/extractor-tests/generated/LiteralExpr/LiteralExpr.ql +++ b/rust/ql/test/extractor-tests/generated/LiteralExpr/LiteralExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/LiteralExpr/gen_literal_expr.rs b/rust/ql/test/extractor-tests/generated/LiteralExpr/gen_literal_expr.rs index 13e1590e8e54..f8d33aeaa8cc 100644 --- a/rust/ql/test/extractor-tests/generated/LiteralExpr/gen_literal_expr.rs +++ b/rust/ql/test/extractor-tests/generated/LiteralExpr/gen_literal_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_literal_expr() -> () { // A literal expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/LiteralPat/LiteralPat.ql b/rust/ql/test/extractor-tests/generated/LiteralPat/LiteralPat.ql index d3c76459e49e..4c8993f88bb4 100644 --- a/rust/ql/test/extractor-tests/generated/LiteralPat/LiteralPat.ql +++ b/rust/ql/test/extractor-tests/generated/LiteralPat/LiteralPat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/LiteralPat/gen_literal_pat.rs b/rust/ql/test/extractor-tests/generated/LiteralPat/gen_literal_pat.rs index f029cbb8660e..26ed7ebcd105 100644 --- a/rust/ql/test/extractor-tests/generated/LiteralPat/gen_literal_pat.rs +++ b/rust/ql/test/extractor-tests/generated/LiteralPat/gen_literal_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_literal_pat() -> () { // A literal pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr.ql b/rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr.ql index aa62fe0be91e..535381c822c0 100644 --- a/rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr.ql +++ b/rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr_getLabel.ql b/rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr_getLabel.ql index 67d1fd3e07bd..9617abd7f346 100644 --- a/rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr_getLabel.ql +++ b/rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr_getLabel.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/LoopExpr/gen_loop_expr.rs b/rust/ql/test/extractor-tests/generated/LoopExpr/gen_loop_expr.rs index 699cbe243164..33ac9d5ecc60 100644 --- a/rust/ql/test/extractor-tests/generated/LoopExpr/gen_loop_expr.rs +++ b/rust/ql/test/extractor-tests/generated/LoopExpr/gen_loop_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_loop_expr() -> () { // A loop expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/MatchArm/MatchArm.ql b/rust/ql/test/extractor-tests/generated/MatchArm/MatchArm.ql index 6f65a88f202c..10b8f33d0c60 100644 --- a/rust/ql/test/extractor-tests/generated/MatchArm/MatchArm.ql +++ b/rust/ql/test/extractor-tests/generated/MatchArm/MatchArm.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/MatchArm/MatchArm_getGuard.ql b/rust/ql/test/extractor-tests/generated/MatchArm/MatchArm_getGuard.ql index 345a08a7c6a5..508c72779ed7 100644 --- a/rust/ql/test/extractor-tests/generated/MatchArm/MatchArm_getGuard.ql +++ b/rust/ql/test/extractor-tests/generated/MatchArm/MatchArm_getGuard.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/MatchArm/gen_match_arm.rs b/rust/ql/test/extractor-tests/generated/MatchArm/gen_match_arm.rs index bda762f694bf..5f5922e8ef4c 100644 --- a/rust/ql/test/extractor-tests/generated/MatchArm/gen_match_arm.rs +++ b/rust/ql/test/extractor-tests/generated/MatchArm/gen_match_arm.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_match_arm(x: i32) -> i32 { // A match arm. For example: diff --git a/rust/ql/test/extractor-tests/generated/MatchExpr/MatchExpr.ql b/rust/ql/test/extractor-tests/generated/MatchExpr/MatchExpr.ql index 3b59363841f0..efdc81755c76 100644 --- a/rust/ql/test/extractor-tests/generated/MatchExpr/MatchExpr.ql +++ b/rust/ql/test/extractor-tests/generated/MatchExpr/MatchExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/MatchExpr/MatchExpr_getBranch.ql b/rust/ql/test/extractor-tests/generated/MatchExpr/MatchExpr_getBranch.ql index 42f235a3a6e5..cf7ad63b345b 100644 --- a/rust/ql/test/extractor-tests/generated/MatchExpr/MatchExpr_getBranch.ql +++ b/rust/ql/test/extractor-tests/generated/MatchExpr/MatchExpr_getBranch.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/MatchExpr/gen_match_expr.rs b/rust/ql/test/extractor-tests/generated/MatchExpr/gen_match_expr.rs index 2e50514cc552..96138534fd56 100644 --- a/rust/ql/test/extractor-tests/generated/MatchExpr/gen_match_expr.rs +++ b/rust/ql/test/extractor-tests/generated/MatchExpr/gen_match_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_match_expr(x: i32) -> i32 { // A match expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr.ql b/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr.ql index 70b43f0707c2..ff0ee06bcf53 100644 --- a/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr.ql +++ b/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getArg.ql b/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getArg.ql index 9ddca0971908..58529cebfe5e 100644 --- a/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getArg.ql +++ b/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getArg.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getGenericArgs.ql b/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getGenericArgs.ql index a1e4ef6c2098..3ea5a68b3029 100644 --- a/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getGenericArgs.ql +++ b/rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getGenericArgs.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/MethodCallExpr/gen_method_call_expr.rs b/rust/ql/test/extractor-tests/generated/MethodCallExpr/gen_method_call_expr.rs index d4c2d5bc1352..f8bf728d2570 100644 --- a/rust/ql/test/extractor-tests/generated/MethodCallExpr/gen_method_call_expr.rs +++ b/rust/ql/test/extractor-tests/generated/MethodCallExpr/gen_method_call_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_method_call_expr() -> () { // A method call expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/MissingExpr/MissingExpr.ql b/rust/ql/test/extractor-tests/generated/MissingExpr/MissingExpr.ql index eb4a28543c74..1aa6119b6aad 100644 --- a/rust/ql/test/extractor-tests/generated/MissingExpr/MissingExpr.ql +++ b/rust/ql/test/extractor-tests/generated/MissingExpr/MissingExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/MissingExpr/gen_missing_expr.rs b/rust/ql/test/extractor-tests/generated/MissingExpr/gen_missing_expr.rs index 0a0f6ad7660e..dea3de12cf13 100644 --- a/rust/ql/test/extractor-tests/generated/MissingExpr/gen_missing_expr.rs +++ b/rust/ql/test/extractor-tests/generated/MissingExpr/gen_missing_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_missing_expr() -> () { // A missing expression, used as a placeholder for incomplete syntax. diff --git a/rust/ql/test/extractor-tests/generated/MissingPat/MissingPat.ql b/rust/ql/test/extractor-tests/generated/MissingPat/MissingPat.ql index ea33cd3b0820..61047e1e6bea 100644 --- a/rust/ql/test/extractor-tests/generated/MissingPat/MissingPat.ql +++ b/rust/ql/test/extractor-tests/generated/MissingPat/MissingPat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/MissingPat/gen_missing_pat.rs b/rust/ql/test/extractor-tests/generated/MissingPat/gen_missing_pat.rs index 4a76319568a9..0848d4531c3e 100644 --- a/rust/ql/test/extractor-tests/generated/MissingPat/gen_missing_pat.rs +++ b/rust/ql/test/extractor-tests/generated/MissingPat/gen_missing_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_missing_pat() -> () { // A missing pattern, used as a place holder for incomplete syntax. diff --git a/rust/ql/test/extractor-tests/generated/Module/Module.ql b/rust/ql/test/extractor-tests/generated/Module/Module.ql index bb7a1eece17b..fd3ba6caceb8 100644 --- a/rust/ql/test/extractor-tests/generated/Module/Module.ql +++ b/rust/ql/test/extractor-tests/generated/Module/Module.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/Module/Module_getDeclaration.ql b/rust/ql/test/extractor-tests/generated/Module/Module_getDeclaration.ql index f531c0184958..9ac42e00b23a 100644 --- a/rust/ql/test/extractor-tests/generated/Module/Module_getDeclaration.ql +++ b/rust/ql/test/extractor-tests/generated/Module/Module_getDeclaration.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/Module/gen_module.rs b/rust/ql/test/extractor-tests/generated/Module/gen_module.rs index d7d84ee47725..61af57a99bff 100644 --- a/rust/ql/test/extractor-tests/generated/Module/gen_module.rs +++ b/rust/ql/test/extractor-tests/generated/Module/gen_module.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit // A module declaration. For example: mod foo; diff --git a/rust/ql/test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr.ql b/rust/ql/test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr.ql index 7eed7c6530b2..4cdb625caa8d 100644 --- a/rust/ql/test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr.ql +++ b/rust/ql/test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr_getField.ql b/rust/ql/test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr_getField.ql index d38d99bbd742..c5b41700f641 100644 --- a/rust/ql/test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr_getField.ql +++ b/rust/ql/test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr_getField.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/OffsetOfExpr/gen_offset_of_expr.rs b/rust/ql/test/extractor-tests/generated/OffsetOfExpr/gen_offset_of_expr.rs index 497aebeb2ad7..bea18741cec0 100644 --- a/rust/ql/test/extractor-tests/generated/OffsetOfExpr/gen_offset_of_expr.rs +++ b/rust/ql/test/extractor-tests/generated/OffsetOfExpr/gen_offset_of_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_offset_of_expr() -> () { // An `offset_of` expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/OrPat/OrPat.ql b/rust/ql/test/extractor-tests/generated/OrPat/OrPat.ql index f2b5bcae611b..8eb2b245bb05 100644 --- a/rust/ql/test/extractor-tests/generated/OrPat/OrPat.ql +++ b/rust/ql/test/extractor-tests/generated/OrPat/OrPat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/OrPat/OrPat_getArg.ql b/rust/ql/test/extractor-tests/generated/OrPat/OrPat_getArg.ql index 24a924c8042a..71da1732609e 100644 --- a/rust/ql/test/extractor-tests/generated/OrPat/OrPat_getArg.ql +++ b/rust/ql/test/extractor-tests/generated/OrPat/OrPat_getArg.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/OrPat/gen_or_pat.rs b/rust/ql/test/extractor-tests/generated/OrPat/gen_or_pat.rs index 2ad139d6e374..76dff6b6b920 100644 --- a/rust/ql/test/extractor-tests/generated/OrPat/gen_or_pat.rs +++ b/rust/ql/test/extractor-tests/generated/OrPat/gen_or_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_or_pat() -> () { // An or pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/Path/Path.ql b/rust/ql/test/extractor-tests/generated/Path/Path.ql index ed36a54c785a..4e51bef1402d 100644 --- a/rust/ql/test/extractor-tests/generated/Path/Path.ql +++ b/rust/ql/test/extractor-tests/generated/Path/Path.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/Path/gen_path.rs b/rust/ql/test/extractor-tests/generated/Path/gen_path.rs index 86cd3eec067a..3b3f054875a9 100644 --- a/rust/ql/test/extractor-tests/generated/Path/gen_path.rs +++ b/rust/ql/test/extractor-tests/generated/Path/gen_path.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_path() -> () { // A path. For example: diff --git a/rust/ql/test/extractor-tests/generated/PathExpr/PathExpr.ql b/rust/ql/test/extractor-tests/generated/PathExpr/PathExpr.ql index 064dbdea51a3..d90c15fe6e46 100644 --- a/rust/ql/test/extractor-tests/generated/PathExpr/PathExpr.ql +++ b/rust/ql/test/extractor-tests/generated/PathExpr/PathExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/PathExpr/gen_path_expr.rs b/rust/ql/test/extractor-tests/generated/PathExpr/gen_path_expr.rs index 6ccbd7f80e58..dfd45ebd73fc 100644 --- a/rust/ql/test/extractor-tests/generated/PathExpr/gen_path_expr.rs +++ b/rust/ql/test/extractor-tests/generated/PathExpr/gen_path_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_path_expr() -> () { // A path expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/PathPat/PathPat.ql b/rust/ql/test/extractor-tests/generated/PathPat/PathPat.ql index 35179c13ae24..49726bd7dad5 100644 --- a/rust/ql/test/extractor-tests/generated/PathPat/PathPat.ql +++ b/rust/ql/test/extractor-tests/generated/PathPat/PathPat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/PathPat/gen_path_pat.rs b/rust/ql/test/extractor-tests/generated/PathPat/gen_path_pat.rs index 5b61631593d0..c54aa618ccf1 100644 --- a/rust/ql/test/extractor-tests/generated/PathPat/gen_path_pat.rs +++ b/rust/ql/test/extractor-tests/generated/PathPat/gen_path_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_path_pat() -> () { // A path pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/PrefixExpr/PrefixExpr.ql b/rust/ql/test/extractor-tests/generated/PrefixExpr/PrefixExpr.ql index ad665f2edb8d..3105466e1df6 100644 --- a/rust/ql/test/extractor-tests/generated/PrefixExpr/PrefixExpr.ql +++ b/rust/ql/test/extractor-tests/generated/PrefixExpr/PrefixExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/PrefixExpr/gen_prefix_expr.rs b/rust/ql/test/extractor-tests/generated/PrefixExpr/gen_prefix_expr.rs index 3f09b6ba9e6b..b3101ca64b21 100644 --- a/rust/ql/test/extractor-tests/generated/PrefixExpr/gen_prefix_expr.rs +++ b/rust/ql/test/extractor-tests/generated/PrefixExpr/gen_prefix_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_prefix_expr() -> () { // A unary operation expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr.ql b/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr.ql index 94d158792ded..e48dbed5e861 100644 --- a/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr.ql +++ b/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr_getLhs.ql b/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr_getLhs.ql index 9b184651733f..b05ec80e73d8 100644 --- a/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr_getLhs.ql +++ b/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr_getLhs.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr_getRhs.ql b/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr_getRhs.ql index ead566af537b..9b32e5f58255 100644 --- a/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr_getRhs.ql +++ b/rust/ql/test/extractor-tests/generated/RangeExpr/RangeExpr_getRhs.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RangeExpr/gen_range_expr.rs b/rust/ql/test/extractor-tests/generated/RangeExpr/gen_range_expr.rs index b27f504d81c7..f51927dd3dce 100644 --- a/rust/ql/test/extractor-tests/generated/RangeExpr/gen_range_expr.rs +++ b/rust/ql/test/extractor-tests/generated/RangeExpr/gen_range_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_range_expr() -> () { // A range expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/RangePat/RangePat.ql b/rust/ql/test/extractor-tests/generated/RangePat/RangePat.ql index d632e12ebe72..4e366ec78207 100644 --- a/rust/ql/test/extractor-tests/generated/RangePat/RangePat.ql +++ b/rust/ql/test/extractor-tests/generated/RangePat/RangePat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RangePat/RangePat_getEnd.ql b/rust/ql/test/extractor-tests/generated/RangePat/RangePat_getEnd.ql index 1c9d984689e3..61a27c775438 100644 --- a/rust/ql/test/extractor-tests/generated/RangePat/RangePat_getEnd.ql +++ b/rust/ql/test/extractor-tests/generated/RangePat/RangePat_getEnd.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RangePat/RangePat_getStart.ql b/rust/ql/test/extractor-tests/generated/RangePat/RangePat_getStart.ql index 53ba8f8e770b..29bbeda81cf1 100644 --- a/rust/ql/test/extractor-tests/generated/RangePat/RangePat_getStart.ql +++ b/rust/ql/test/extractor-tests/generated/RangePat/RangePat_getStart.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RangePat/gen_range_pat.rs b/rust/ql/test/extractor-tests/generated/RangePat/gen_range_pat.rs index 21fecc5f2a9e..85971069de47 100644 --- a/rust/ql/test/extractor-tests/generated/RangePat/gen_range_pat.rs +++ b/rust/ql/test/extractor-tests/generated/RangePat/gen_range_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_range_pat() -> () { // A range pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr.ql b/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr.ql index 9b25e7667fa6..bafc195a85ce 100644 --- a/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr.ql +++ b/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getFld.ql b/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getFld.ql index 11bbad28dce2..74231c780e98 100644 --- a/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getFld.ql +++ b/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getFld.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getPath.ql b/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getPath.ql index 0204ff893a9c..ebebf557e691 100644 --- a/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getPath.ql +++ b/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getPath.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getSpread.ql b/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getSpread.ql index e5d206702d3d..71bef136e76e 100644 --- a/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getSpread.ql +++ b/rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getSpread.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RecordExpr/gen_record_expr.rs b/rust/ql/test/extractor-tests/generated/RecordExpr/gen_record_expr.rs index 2b42cce4f143..94742ca3bd50 100644 --- a/rust/ql/test/extractor-tests/generated/RecordExpr/gen_record_expr.rs +++ b/rust/ql/test/extractor-tests/generated/RecordExpr/gen_record_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_record_expr() -> () { // A record expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/RecordExprField/RecordExprField.ql b/rust/ql/test/extractor-tests/generated/RecordExprField/RecordExprField.ql index 5e146165097a..87eaf9b6c0a7 100644 --- a/rust/ql/test/extractor-tests/generated/RecordExprField/RecordExprField.ql +++ b/rust/ql/test/extractor-tests/generated/RecordExprField/RecordExprField.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RecordExprField/gen_record_expr_field.rs b/rust/ql/test/extractor-tests/generated/RecordExprField/gen_record_expr_field.rs index 8d9835f0b6f7..6311fc03b008 100644 --- a/rust/ql/test/extractor-tests/generated/RecordExprField/gen_record_expr_field.rs +++ b/rust/ql/test/extractor-tests/generated/RecordExprField/gen_record_expr_field.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_record_expr_field() -> () { // A field in a record expression. For example `a: 1` in: diff --git a/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat.ql b/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat.ql index 67b13d341c51..95372dd9634a 100644 --- a/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat.ql +++ b/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat_getFld.ql b/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat_getFld.ql index fba9c8350688..c5b7e9ed4398 100644 --- a/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat_getFld.ql +++ b/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat_getFld.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat_getPath.ql b/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat_getPath.ql index 20e4befd2237..90685024029a 100644 --- a/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat_getPath.ql +++ b/rust/ql/test/extractor-tests/generated/RecordPat/RecordPat_getPath.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RecordPat/gen_record_pat.rs b/rust/ql/test/extractor-tests/generated/RecordPat/gen_record_pat.rs index 161d8e46c8c4..87b0fcd5e0dc 100644 --- a/rust/ql/test/extractor-tests/generated/RecordPat/gen_record_pat.rs +++ b/rust/ql/test/extractor-tests/generated/RecordPat/gen_record_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_record_pat() -> () { // A record pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/RecordPatField/RecordPatField.ql b/rust/ql/test/extractor-tests/generated/RecordPatField/RecordPatField.ql index 370c86386914..96d613dee769 100644 --- a/rust/ql/test/extractor-tests/generated/RecordPatField/RecordPatField.ql +++ b/rust/ql/test/extractor-tests/generated/RecordPatField/RecordPatField.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RecordPatField/gen_record_pat_field.rs b/rust/ql/test/extractor-tests/generated/RecordPatField/gen_record_pat_field.rs index 77e7ca88985e..4e1e358e3a09 100644 --- a/rust/ql/test/extractor-tests/generated/RecordPatField/gen_record_pat_field.rs +++ b/rust/ql/test/extractor-tests/generated/RecordPatField/gen_record_pat_field.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_record_pat_field() -> () { // A field in a record pattern. For example `a: 1` in: diff --git a/rust/ql/test/extractor-tests/generated/RefExpr/RefExpr.ql b/rust/ql/test/extractor-tests/generated/RefExpr/RefExpr.ql index e69683486ddb..447235d74a73 100644 --- a/rust/ql/test/extractor-tests/generated/RefExpr/RefExpr.ql +++ b/rust/ql/test/extractor-tests/generated/RefExpr/RefExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RefExpr/gen_ref_expr.rs b/rust/ql/test/extractor-tests/generated/RefExpr/gen_ref_expr.rs index 551b957cc65c..bb2f9c36b708 100644 --- a/rust/ql/test/extractor-tests/generated/RefExpr/gen_ref_expr.rs +++ b/rust/ql/test/extractor-tests/generated/RefExpr/gen_ref_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_ref_expr() -> () { // A reference expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/RefPat/RefPat.ql b/rust/ql/test/extractor-tests/generated/RefPat/RefPat.ql index cceccf2e689e..51707e7df3a7 100644 --- a/rust/ql/test/extractor-tests/generated/RefPat/RefPat.ql +++ b/rust/ql/test/extractor-tests/generated/RefPat/RefPat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RefPat/gen_ref_pat.rs b/rust/ql/test/extractor-tests/generated/RefPat/gen_ref_pat.rs index cf5d7375b06f..1eeac44753f0 100644 --- a/rust/ql/test/extractor-tests/generated/RefPat/gen_ref_pat.rs +++ b/rust/ql/test/extractor-tests/generated/RefPat/gen_ref_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_ref_pat() -> () { // A reference pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/RepeatExpr/RepeatExpr.ql b/rust/ql/test/extractor-tests/generated/RepeatExpr/RepeatExpr.ql index aa1534fae462..2b6ec3ca337a 100644 --- a/rust/ql/test/extractor-tests/generated/RepeatExpr/RepeatExpr.ql +++ b/rust/ql/test/extractor-tests/generated/RepeatExpr/RepeatExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/RepeatExpr/gen_repeat_expr.rs b/rust/ql/test/extractor-tests/generated/RepeatExpr/gen_repeat_expr.rs index 822902f60d1f..7eac4d424b13 100644 --- a/rust/ql/test/extractor-tests/generated/RepeatExpr/gen_repeat_expr.rs +++ b/rust/ql/test/extractor-tests/generated/RepeatExpr/gen_repeat_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_repeat_expr() -> () { // A repeat expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/ReturnExpr/ReturnExpr.ql b/rust/ql/test/extractor-tests/generated/ReturnExpr/ReturnExpr.ql index fab38b3b8ad5..c648bb6a16d8 100644 --- a/rust/ql/test/extractor-tests/generated/ReturnExpr/ReturnExpr.ql +++ b/rust/ql/test/extractor-tests/generated/ReturnExpr/ReturnExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ReturnExpr/ReturnExpr_getExpr.ql b/rust/ql/test/extractor-tests/generated/ReturnExpr/ReturnExpr_getExpr.ql index f93fa9c35231..8f682d7a5b1e 100644 --- a/rust/ql/test/extractor-tests/generated/ReturnExpr/ReturnExpr_getExpr.ql +++ b/rust/ql/test/extractor-tests/generated/ReturnExpr/ReturnExpr_getExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/ReturnExpr/gen_return_expr.rs b/rust/ql/test/extractor-tests/generated/ReturnExpr/gen_return_expr.rs index 8e72e8324f87..16da919ab313 100644 --- a/rust/ql/test/extractor-tests/generated/ReturnExpr/gen_return_expr.rs +++ b/rust/ql/test/extractor-tests/generated/ReturnExpr/gen_return_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit // A return expression. For example: fn some_value() -> i32 { diff --git a/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat.ql b/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat.ql index 3e3441a18f9a..0ab0d4bb0ce6 100644 --- a/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat.ql +++ b/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getPrefix.ql b/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getPrefix.ql index ecb98e1821c8..983f11337302 100644 --- a/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getPrefix.ql +++ b/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getPrefix.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getSlice.ql b/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getSlice.ql index d7cb38f27601..6e4ae62cf171 100644 --- a/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getSlice.ql +++ b/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getSlice.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getSuffix.ql b/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getSuffix.ql index fb3156272d3a..351f3ffcdffe 100644 --- a/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getSuffix.ql +++ b/rust/ql/test/extractor-tests/generated/SlicePat/SlicePat_getSuffix.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/SlicePat/gen_slice_pat.rs b/rust/ql/test/extractor-tests/generated/SlicePat/gen_slice_pat.rs index b2c155960d59..afdd4206b285 100644 --- a/rust/ql/test/extractor-tests/generated/SlicePat/gen_slice_pat.rs +++ b/rust/ql/test/extractor-tests/generated/SlicePat/gen_slice_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_slice_pat() -> () { // A slice pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/TupleExpr/TupleExpr.ql b/rust/ql/test/extractor-tests/generated/TupleExpr/TupleExpr.ql index 4f353568b7f1..1020f4d101d1 100644 --- a/rust/ql/test/extractor-tests/generated/TupleExpr/TupleExpr.ql +++ b/rust/ql/test/extractor-tests/generated/TupleExpr/TupleExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/TupleExpr/TupleExpr_getExpr.ql b/rust/ql/test/extractor-tests/generated/TupleExpr/TupleExpr_getExpr.ql index 00c8d589921e..dbb8beef002a 100644 --- a/rust/ql/test/extractor-tests/generated/TupleExpr/TupleExpr_getExpr.ql +++ b/rust/ql/test/extractor-tests/generated/TupleExpr/TupleExpr_getExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/TupleExpr/gen_tuple_expr.rs b/rust/ql/test/extractor-tests/generated/TupleExpr/gen_tuple_expr.rs index 8cab6455b73c..7aa2b235a804 100644 --- a/rust/ql/test/extractor-tests/generated/TupleExpr/gen_tuple_expr.rs +++ b/rust/ql/test/extractor-tests/generated/TupleExpr/gen_tuple_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_tuple_expr() -> () { // A tuple expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat.ql b/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat.ql index 97f1df0380e6..7d6ce9fcb6a9 100644 --- a/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat.ql +++ b/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat_getArg.ql b/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat_getArg.ql index 42ff250f76f0..927b8212c4f8 100644 --- a/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat_getArg.ql +++ b/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat_getArg.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat_getEllipsisIndex.ql b/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat_getEllipsisIndex.ql index 2d621b9abb06..442912b721e0 100644 --- a/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat_getEllipsisIndex.ql +++ b/rust/ql/test/extractor-tests/generated/TuplePat/TuplePat_getEllipsisIndex.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/TuplePat/gen_tuple_pat.rs b/rust/ql/test/extractor-tests/generated/TuplePat/gen_tuple_pat.rs index 8bf0f63ebabc..9fc2ab60fc60 100644 --- a/rust/ql/test/extractor-tests/generated/TuplePat/gen_tuple_pat.rs +++ b/rust/ql/test/extractor-tests/generated/TuplePat/gen_tuple_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_tuple_pat() -> () { // A tuple pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat.ql b/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat.ql index 55c85f8b5545..e46934a81f49 100644 --- a/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat.ql +++ b/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getArg.ql b/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getArg.ql index a453cce4e1cd..77622933e700 100644 --- a/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getArg.ql +++ b/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getArg.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getEllipsisIndex.ql b/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getEllipsisIndex.ql index 51c3064f6205..f31fb1a9342d 100644 --- a/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getEllipsisIndex.ql +++ b/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getEllipsisIndex.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getPath.ql b/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getPath.ql index 2dd64f448806..bc5318bc1036 100644 --- a/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getPath.ql +++ b/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getPath.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/TupleStructPat/gen_tuple_struct_pat.rs b/rust/ql/test/extractor-tests/generated/TupleStructPat/gen_tuple_struct_pat.rs index 6407217b7f01..0a55ce743f99 100644 --- a/rust/ql/test/extractor-tests/generated/TupleStructPat/gen_tuple_struct_pat.rs +++ b/rust/ql/test/extractor-tests/generated/TupleStructPat/gen_tuple_struct_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_tuple_struct_pat() -> () { // A tuple struct pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/TypeRef/TypeRef.ql b/rust/ql/test/extractor-tests/generated/TypeRef/TypeRef.ql index 04748b7dd043..ef4a4c96806f 100644 --- a/rust/ql/test/extractor-tests/generated/TypeRef/TypeRef.ql +++ b/rust/ql/test/extractor-tests/generated/TypeRef/TypeRef.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/TypeRef/gen_type_ref.rs b/rust/ql/test/extractor-tests/generated/TypeRef/gen_type_ref.rs index 1077dc2b4f5f..0c7c71df2355 100644 --- a/rust/ql/test/extractor-tests/generated/TypeRef/gen_type_ref.rs +++ b/rust/ql/test/extractor-tests/generated/TypeRef/gen_type_ref.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_type_ref() -> () { // The base class for type references. diff --git a/rust/ql/test/extractor-tests/generated/UnderscoreExpr/UnderscoreExpr.ql b/rust/ql/test/extractor-tests/generated/UnderscoreExpr/UnderscoreExpr.ql index e65e78cc81fc..c3ad706b805c 100644 --- a/rust/ql/test/extractor-tests/generated/UnderscoreExpr/UnderscoreExpr.ql +++ b/rust/ql/test/extractor-tests/generated/UnderscoreExpr/UnderscoreExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/UnderscoreExpr/gen_underscore_expr.rs b/rust/ql/test/extractor-tests/generated/UnderscoreExpr/gen_underscore_expr.rs index 51b480e84bec..62ce1d4500cd 100644 --- a/rust/ql/test/extractor-tests/generated/UnderscoreExpr/gen_underscore_expr.rs +++ b/rust/ql/test/extractor-tests/generated/UnderscoreExpr/gen_underscore_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_underscore_expr() -> () { // An underscore expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr.ql b/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr.ql index fe7906db5fa3..30da2bbc0ef3 100644 --- a/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr.ql +++ b/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getStatement.ql b/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getStatement.ql index e813310cd46a..5fa1d4ad7793 100644 --- a/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getStatement.ql +++ b/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getStatement.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getTail.ql b/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getTail.ql index cce5b9284fcf..24ed95ca9b16 100644 --- a/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getTail.ql +++ b/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/UnsafeBlockExpr_getTail.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/gen_unsafe_block_expr.rs b/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/gen_unsafe_block_expr.rs index 6adf2190cdfa..0beaf5ef644a 100644 --- a/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/gen_unsafe_block_expr.rs +++ b/rust/ql/test/extractor-tests/generated/UnsafeBlockExpr/gen_unsafe_block_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_unsafe_block_expr() -> () { // An unsafe block expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/WildcardPat/WildcardPat.ql b/rust/ql/test/extractor-tests/generated/WildcardPat/WildcardPat.ql index 16a1e5936b4d..cac335f3b7fc 100644 --- a/rust/ql/test/extractor-tests/generated/WildcardPat/WildcardPat.ql +++ b/rust/ql/test/extractor-tests/generated/WildcardPat/WildcardPat.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/WildcardPat/gen_wildcard_pat.rs b/rust/ql/test/extractor-tests/generated/WildcardPat/gen_wildcard_pat.rs index 97377808a6d6..4d29caca3f07 100644 --- a/rust/ql/test/extractor-tests/generated/WildcardPat/gen_wildcard_pat.rs +++ b/rust/ql/test/extractor-tests/generated/WildcardPat/gen_wildcard_pat.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_wildcard_pat() -> () { // A wildcard pattern. For example: diff --git a/rust/ql/test/extractor-tests/generated/YeetExpr/YeetExpr.ql b/rust/ql/test/extractor-tests/generated/YeetExpr/YeetExpr.ql index 0f99cbc0c3f1..2b8d7e27610c 100644 --- a/rust/ql/test/extractor-tests/generated/YeetExpr/YeetExpr.ql +++ b/rust/ql/test/extractor-tests/generated/YeetExpr/YeetExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/YeetExpr/YeetExpr_getExpr.ql b/rust/ql/test/extractor-tests/generated/YeetExpr/YeetExpr_getExpr.ql index 526ac38ba1da..edb0e0676a7a 100644 --- a/rust/ql/test/extractor-tests/generated/YeetExpr/YeetExpr_getExpr.ql +++ b/rust/ql/test/extractor-tests/generated/YeetExpr/YeetExpr_getExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/YeetExpr/gen_yeet_expr.rs b/rust/ql/test/extractor-tests/generated/YeetExpr/gen_yeet_expr.rs index 877710805c31..52c8026e7908 100644 --- a/rust/ql/test/extractor-tests/generated/YeetExpr/gen_yeet_expr.rs +++ b/rust/ql/test/extractor-tests/generated/YeetExpr/gen_yeet_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_yeet_expr() -> () { // A `yeet` expression. For example: diff --git a/rust/ql/test/extractor-tests/generated/YieldExpr/YieldExpr.ql b/rust/ql/test/extractor-tests/generated/YieldExpr/YieldExpr.ql index 18fd38bac9c6..bec12938c915 100644 --- a/rust/ql/test/extractor-tests/generated/YieldExpr/YieldExpr.ql +++ b/rust/ql/test/extractor-tests/generated/YieldExpr/YieldExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/YieldExpr/YieldExpr_getExpr.ql b/rust/ql/test/extractor-tests/generated/YieldExpr/YieldExpr_getExpr.ql index 8bba6eb87e95..bdaa4755e6d3 100644 --- a/rust/ql/test/extractor-tests/generated/YieldExpr/YieldExpr_getExpr.ql +++ b/rust/ql/test/extractor-tests/generated/YieldExpr/YieldExpr_getExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit import codeql.rust.elements import TestUtils diff --git a/rust/ql/test/extractor-tests/generated/YieldExpr/gen_yield_expr.rs b/rust/ql/test/extractor-tests/generated/YieldExpr/gen_yield_expr.rs index b6d951f7adf4..e793107309dc 100644 --- a/rust/ql/test/extractor-tests/generated/YieldExpr/gen_yield_expr.rs +++ b/rust/ql/test/extractor-tests/generated/YieldExpr/gen_yield_expr.rs @@ -1,4 +1,4 @@ -// generated by codegen +// generated by codegen, do not edit fn test_yield_expr() -> () { // A `yield` expression. For example: diff --git a/swift/downgrades/44c4818a8987b5e1b3cd11e553e41045e1262451/old.dbscheme b/swift/downgrades/44c4818a8987b5e1b3cd11e553e41045e1262451/old.dbscheme new file mode 100644 index 000000000000..44c4818a8987 --- /dev/null +++ b/swift/downgrades/44c4818a8987b5e1b3cd11e553e41045e1262451/old.dbscheme @@ -0,0 +1,2786 @@ +// generated by codegen/codegen.py, do not edit + +// from prefix.dbscheme +/** + * The source location of the snapshot. + */ +sourceLocationPrefix( + string prefix: string ref +); + + +// from schema.py + +@element = + @file +| @generic_context +| @locatable +| @location +| @type +; + +#keyset[id] +element_is_unknown( + int id: @element ref +); + +@file = + @db_file +; + +#keyset[id] +files( + int id: @file ref, + string name: string ref +); + +#keyset[id] +file_is_successfully_extracted( + int id: @file ref +); + +@locatable = + @argument +| @ast_node +| @comment +| @diagnostics +| @error_element +; + +#keyset[id] +locatable_locations( + int id: @locatable ref, + int location: @location_or_none ref +); + +@location = + @db_location +; + +#keyset[id] +locations( + int id: @location ref, + int file: @file_or_none ref, + int start_line: int ref, + int start_column: int ref, + int end_line: int ref, + int end_column: int ref +); + +@ast_node = + @availability_info +| @availability_spec +| @callable +| @case_label_item +| @condition_element +| @decl +| @expr +| @key_path_component +| @macro_role +| @pattern +| @stmt +| @stmt_condition +| @type_repr +; + +comments( + unique int id: @comment, + string text: string ref +); + +db_files( + unique int id: @db_file +); + +db_locations( + unique int id: @db_location +); + +diagnostics( + unique int id: @diagnostics, + string text: string ref, + int kind: int ref +); + +@error_element = + @error_expr +| @error_type +| @overloaded_decl_ref_expr +| @unresolved_decl_ref_expr +| @unresolved_dot_expr +| @unresolved_member_chain_result_expr +| @unresolved_member_expr +| @unresolved_pattern_expr +| @unresolved_specialize_expr +| @unresolved_type +| @unresolved_type_conversion_expr +| @unspecified_element +; + +availability_infos( + unique int id: @availability_info +); + +#keyset[id] +availability_info_is_unavailable( + int id: @availability_info ref +); + +#keyset[id, index] +availability_info_specs( + int id: @availability_info ref, + int index: int ref, + int spec: @availability_spec_or_none ref +); + +@availability_spec = + @other_availability_spec +| @platform_version_availability_spec +; + +@callable = + @closure_expr +| @function +; + +#keyset[id] +callable_names( + int id: @callable ref, + string name: string ref +); + +#keyset[id] +callable_self_params( + int id: @callable ref, + int self_param: @param_decl_or_none ref +); + +#keyset[id, index] +callable_params( + int id: @callable ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +#keyset[id] +callable_bodies( + int id: @callable ref, + int body: @brace_stmt_or_none ref +); + +#keyset[id, index] +callable_captures( + int id: @callable ref, + int index: int ref, + int capture: @captured_decl_or_none ref +); + +key_path_components( + unique int id: @key_path_component, + int kind: int ref, + int component_type: @type_or_none ref +); + +#keyset[id, index] +key_path_component_subscript_arguments( + int id: @key_path_component ref, + int index: int ref, + int subscript_argument: @argument_or_none ref +); + +#keyset[id] +key_path_component_tuple_indices( + int id: @key_path_component ref, + int tuple_index: int ref +); + +#keyset[id] +key_path_component_decl_refs( + int id: @key_path_component ref, + int decl_ref: @value_decl_or_none ref +); + +macro_roles( + unique int id: @macro_role, + int kind: int ref, + int macro_syntax: int ref +); + +#keyset[id, index] +macro_role_conformances( + int id: @macro_role ref, + int index: int ref, + int conformance: @type_expr_or_none ref +); + +#keyset[id, index] +macro_role_names( + int id: @macro_role ref, + int index: int ref, + string name: string ref +); + +unspecified_elements( + unique int id: @unspecified_element, + string property: string ref, + string error: string ref +); + +#keyset[id] +unspecified_element_parents( + int id: @unspecified_element ref, + int parent: @element ref +); + +#keyset[id] +unspecified_element_indices( + int id: @unspecified_element ref, + int index: int ref +); + +#keyset[id, index] +unspecified_element_children( + int id: @unspecified_element ref, + int index: int ref, + int child: @ast_node_or_none ref +); + +other_availability_specs( + unique int id: @other_availability_spec +); + +platform_version_availability_specs( + unique int id: @platform_version_availability_spec, + string platform: string ref, + string version: string ref +); + +@decl = + @captured_decl +| @enum_case_decl +| @extension_decl +| @if_config_decl +| @import_decl +| @missing_member_decl +| @operator_decl +| @pattern_binding_decl +| @pound_diagnostic_decl +| @precedence_group_decl +| @top_level_code_decl +| @value_decl +; + +#keyset[id] +decls( //dir=decl + int id: @decl ref, + int module: @module_decl_or_none ref +); + +#keyset[id, index] +decl_members( //dir=decl + int id: @decl ref, + int index: int ref, + int member: @decl_or_none ref +); + +@generic_context = + @extension_decl +| @function +| @generic_type_decl +| @macro_decl +| @subscript_decl +; + +#keyset[id, index] +generic_context_generic_type_params( //dir=decl + int id: @generic_context ref, + int index: int ref, + int generic_type_param: @generic_type_param_decl_or_none ref +); + +captured_decls( //dir=decl + unique int id: @captured_decl, + int decl: @value_decl_or_none ref +); + +#keyset[id] +captured_decl_is_direct( //dir=decl + int id: @captured_decl ref +); + +#keyset[id] +captured_decl_is_escaping( //dir=decl + int id: @captured_decl ref +); + +enum_case_decls( //dir=decl + unique int id: @enum_case_decl +); + +#keyset[id, index] +enum_case_decl_elements( //dir=decl + int id: @enum_case_decl ref, + int index: int ref, + int element: @enum_element_decl_or_none ref +); + +extension_decls( //dir=decl + unique int id: @extension_decl, + int extended_type_decl: @nominal_type_decl_or_none ref +); + +#keyset[id, index] +extension_decl_protocols( //dir=decl + int id: @extension_decl ref, + int index: int ref, + int protocol: @protocol_decl_or_none ref +); + +if_config_decls( //dir=decl + unique int id: @if_config_decl +); + +#keyset[id, index] +if_config_decl_active_elements( //dir=decl + int id: @if_config_decl ref, + int index: int ref, + int active_element: @ast_node_or_none ref +); + +import_decls( //dir=decl + unique int id: @import_decl +); + +#keyset[id] +import_decl_is_exported( //dir=decl + int id: @import_decl ref +); + +#keyset[id] +import_decl_imported_modules( //dir=decl + int id: @import_decl ref, + int imported_module: @module_decl_or_none ref +); + +#keyset[id, index] +import_decl_declarations( //dir=decl + int id: @import_decl ref, + int index: int ref, + int declaration: @value_decl_or_none ref +); + +missing_member_decls( //dir=decl + unique int id: @missing_member_decl, + string name: string ref +); + +@operator_decl = + @infix_operator_decl +| @postfix_operator_decl +| @prefix_operator_decl +; + +#keyset[id] +operator_decls( //dir=decl + int id: @operator_decl ref, + string name: string ref +); + +pattern_binding_decls( //dir=decl + unique int id: @pattern_binding_decl +); + +#keyset[id, index] +pattern_binding_decl_inits( //dir=decl + int id: @pattern_binding_decl ref, + int index: int ref, + int init: @expr_or_none ref +); + +#keyset[id, index] +pattern_binding_decl_patterns( //dir=decl + int id: @pattern_binding_decl ref, + int index: int ref, + int pattern: @pattern_or_none ref +); + +pound_diagnostic_decls( //dir=decl + unique int id: @pound_diagnostic_decl, + int kind: int ref, + int message: @string_literal_expr_or_none ref +); + +precedence_group_decls( //dir=decl + unique int id: @precedence_group_decl +); + +top_level_code_decls( //dir=decl + unique int id: @top_level_code_decl, + int body: @brace_stmt_or_none ref +); + +@value_decl = + @abstract_storage_decl +| @enum_element_decl +| @function +| @macro_decl +| @type_decl +; + +#keyset[id] +value_decls( //dir=decl + int id: @value_decl ref, + int interface_type: @type_or_none ref +); + +@abstract_storage_decl = + @subscript_decl +| @var_decl +; + +#keyset[id, index] +abstract_storage_decl_accessors( //dir=decl + int id: @abstract_storage_decl ref, + int index: int ref, + int accessor: @accessor_or_none ref +); + +enum_element_decls( //dir=decl + unique int id: @enum_element_decl, + string name: string ref +); + +#keyset[id, index] +enum_element_decl_params( //dir=decl + int id: @enum_element_decl ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +@function = + @accessor_or_named_function +| @deinitializer +| @initializer +; + +infix_operator_decls( //dir=decl + unique int id: @infix_operator_decl +); + +#keyset[id] +infix_operator_decl_precedence_groups( //dir=decl + int id: @infix_operator_decl ref, + int precedence_group: @precedence_group_decl_or_none ref +); + +macro_decls( //dir=decl + unique int id: @macro_decl, + string name: string ref +); + +#keyset[id, index] +macro_decl_parameters( //dir=decl + int id: @macro_decl ref, + int index: int ref, + int parameter: @param_decl_or_none ref +); + +#keyset[id, index] +macro_decl_roles( //dir=decl + int id: @macro_decl ref, + int index: int ref, + int role: @macro_role_or_none ref +); + +postfix_operator_decls( //dir=decl + unique int id: @postfix_operator_decl +); + +prefix_operator_decls( //dir=decl + unique int id: @prefix_operator_decl +); + +@type_decl = + @abstract_type_param_decl +| @generic_type_decl +| @module_decl +; + +#keyset[id] +type_decls( //dir=decl + int id: @type_decl ref, + string name: string ref +); + +#keyset[id, index] +type_decl_inherited_types( //dir=decl + int id: @type_decl ref, + int index: int ref, + int inherited_type: @type_or_none ref +); + +@abstract_type_param_decl = + @associated_type_decl +| @generic_type_param_decl +; + +@accessor_or_named_function = + @accessor +| @named_function +; + +deinitializers( //dir=decl + unique int id: @deinitializer +); + +@generic_type_decl = + @nominal_type_decl +| @opaque_type_decl +| @type_alias_decl +; + +initializers( //dir=decl + unique int id: @initializer +); + +module_decls( //dir=decl + unique int id: @module_decl +); + +#keyset[id] +module_decl_is_builtin_module( //dir=decl + int id: @module_decl ref +); + +#keyset[id] +module_decl_is_system_module( //dir=decl + int id: @module_decl ref +); + +module_decl_imported_modules( //dir=decl + int id: @module_decl ref, + int imported_module: @module_decl_or_none ref +); + +module_decl_exported_modules( //dir=decl + int id: @module_decl ref, + int exported_module: @module_decl_or_none ref +); + +subscript_decls( //dir=decl + unique int id: @subscript_decl, + int element_type: @type_or_none ref +); + +#keyset[id, index] +subscript_decl_params( //dir=decl + int id: @subscript_decl ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +@var_decl = + @concrete_var_decl +| @param_decl +; + +#keyset[id] +var_decls( //dir=decl + int id: @var_decl ref, + string name: string ref, + int type_: @type_or_none ref +); + +#keyset[id] +var_decl_attached_property_wrapper_types( //dir=decl + int id: @var_decl ref, + int attached_property_wrapper_type: @type_or_none ref +); + +#keyset[id] +var_decl_parent_patterns( //dir=decl + int id: @var_decl ref, + int parent_pattern: @pattern_or_none ref +); + +#keyset[id] +var_decl_parent_initializers( //dir=decl + int id: @var_decl ref, + int parent_initializer: @expr_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_backing_var_bindings( //dir=decl + int id: @var_decl ref, + int property_wrapper_backing_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_backing_vars( //dir=decl + int id: @var_decl ref, + int property_wrapper_backing_var: @var_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_projection_var_bindings( //dir=decl + int id: @var_decl ref, + int property_wrapper_projection_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_projection_vars( //dir=decl + int id: @var_decl ref, + int property_wrapper_projection_var: @var_decl_or_none ref +); + +accessors( //dir=decl + unique int id: @accessor +); + +#keyset[id] +accessor_is_getter( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_setter( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_will_set( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_did_set( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_read( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_modify( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_unsafe_address( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_unsafe_mutable_address( //dir=decl + int id: @accessor ref +); + +associated_type_decls( //dir=decl + unique int id: @associated_type_decl +); + +concrete_var_decls( //dir=decl + unique int id: @concrete_var_decl, + int introducer_int: int ref +); + +generic_type_param_decls( //dir=decl + unique int id: @generic_type_param_decl +); + +named_functions( //dir=decl + unique int id: @named_function +); + +@nominal_type_decl = + @class_decl +| @enum_decl +| @protocol_decl +| @struct_decl +; + +#keyset[id] +nominal_type_decls( //dir=decl + int id: @nominal_type_decl ref, + int type_: @type_or_none ref +); + +opaque_type_decls( //dir=decl + unique int id: @opaque_type_decl, + int naming_declaration: @value_decl_or_none ref +); + +#keyset[id, index] +opaque_type_decl_opaque_generic_params( //dir=decl + int id: @opaque_type_decl ref, + int index: int ref, + int opaque_generic_param: @generic_type_param_type_or_none ref +); + +param_decls( //dir=decl + unique int id: @param_decl +); + +#keyset[id] +param_decl_is_inout( //dir=decl + int id: @param_decl ref +); + +#keyset[id] +param_decl_property_wrapper_local_wrapped_var_bindings( //dir=decl + int id: @param_decl ref, + int property_wrapper_local_wrapped_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +param_decl_property_wrapper_local_wrapped_vars( //dir=decl + int id: @param_decl ref, + int property_wrapper_local_wrapped_var: @var_decl_or_none ref +); + +type_alias_decls( //dir=decl + unique int id: @type_alias_decl, + int aliased_type: @type_or_none ref +); + +class_decls( //dir=decl + unique int id: @class_decl +); + +enum_decls( //dir=decl + unique int id: @enum_decl +); + +protocol_decls( //dir=decl + unique int id: @protocol_decl +); + +struct_decls( //dir=decl + unique int id: @struct_decl +); + +arguments( //dir=expr + unique int id: @argument, + string label: string ref, + int expr: @expr_or_none ref +); + +@expr = + @any_try_expr +| @applied_property_wrapper_expr +| @apply_expr +| @assign_expr +| @bind_optional_expr +| @capture_list_expr +| @closure_expr +| @collection_expr +| @consume_expr +| @copy_expr +| @decl_ref_expr +| @default_argument_expr +| @discard_assignment_expr +| @dot_syntax_base_ignored_expr +| @dynamic_type_expr +| @enum_is_case_expr +| @error_expr +| @explicit_cast_expr +| @force_value_expr +| @identity_expr +| @if_expr +| @implicit_conversion_expr +| @in_out_expr +| @key_path_application_expr +| @key_path_dot_expr +| @key_path_expr +| @lazy_initialization_expr +| @literal_expr +| @lookup_expr +| @make_temporarily_escapable_expr +| @materialize_pack_expr +| @obj_c_selector_expr +| @one_way_expr +| @opaque_value_expr +| @open_existential_expr +| @optional_evaluation_expr +| @other_initializer_ref_expr +| @overloaded_decl_ref_expr +| @pack_element_expr +| @pack_expansion_expr +| @property_wrapper_value_placeholder_expr +| @rebind_self_in_initializer_expr +| @sequence_expr +| @single_value_stmt_expr +| @super_ref_expr +| @tap_expr +| @tuple_element_expr +| @tuple_expr +| @type_expr +| @unresolved_decl_ref_expr +| @unresolved_dot_expr +| @unresolved_member_expr +| @unresolved_pattern_expr +| @unresolved_specialize_expr +| @vararg_expansion_expr +; + +#keyset[id] +expr_types( //dir=expr + int id: @expr ref, + int type_: @type_or_none ref +); + +@any_try_expr = + @force_try_expr +| @optional_try_expr +| @try_expr +; + +#keyset[id] +any_try_exprs( //dir=expr + int id: @any_try_expr ref, + int sub_expr: @expr_or_none ref +); + +applied_property_wrapper_exprs( //dir=expr + unique int id: @applied_property_wrapper_expr, + int kind: int ref, + int value: @expr_or_none ref, + int param: @param_decl_or_none ref +); + +@apply_expr = + @binary_expr +| @call_expr +| @postfix_unary_expr +| @prefix_unary_expr +| @self_apply_expr +; + +#keyset[id] +apply_exprs( //dir=expr + int id: @apply_expr ref, + int function: @expr_or_none ref +); + +#keyset[id, index] +apply_expr_arguments( //dir=expr + int id: @apply_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +assign_exprs( //dir=expr + unique int id: @assign_expr, + int dest: @expr_or_none ref, + int source: @expr_or_none ref +); + +bind_optional_exprs( //dir=expr + unique int id: @bind_optional_expr, + int sub_expr: @expr_or_none ref +); + +capture_list_exprs( //dir=expr + unique int id: @capture_list_expr, + int closure_body: @closure_expr_or_none ref +); + +#keyset[id, index] +capture_list_expr_binding_decls( //dir=expr + int id: @capture_list_expr ref, + int index: int ref, + int binding_decl: @pattern_binding_decl_or_none ref +); + +@closure_expr = + @auto_closure_expr +| @explicit_closure_expr +; + +@collection_expr = + @array_expr +| @dictionary_expr +; + +consume_exprs( //dir=expr + unique int id: @consume_expr, + int sub_expr: @expr_or_none ref +); + +copy_exprs( //dir=expr + unique int id: @copy_expr, + int sub_expr: @expr_or_none ref +); + +decl_ref_exprs( //dir=expr + unique int id: @decl_ref_expr, + int decl: @decl_or_none ref +); + +#keyset[id, index] +decl_ref_expr_replacement_types( //dir=expr + int id: @decl_ref_expr ref, + int index: int ref, + int replacement_type: @type_or_none ref +); + +#keyset[id] +decl_ref_expr_has_direct_to_storage_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_ordinary_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_distributed_thunk_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +default_argument_exprs( //dir=expr + unique int id: @default_argument_expr, + int param_decl: @param_decl_or_none ref, + int param_index: int ref +); + +#keyset[id] +default_argument_expr_caller_side_defaults( //dir=expr + int id: @default_argument_expr ref, + int caller_side_default: @expr_or_none ref +); + +discard_assignment_exprs( //dir=expr + unique int id: @discard_assignment_expr +); + +dot_syntax_base_ignored_exprs( //dir=expr + unique int id: @dot_syntax_base_ignored_expr, + int qualifier: @expr_or_none ref, + int sub_expr: @expr_or_none ref +); + +dynamic_type_exprs( //dir=expr + unique int id: @dynamic_type_expr, + int base: @expr_or_none ref +); + +enum_is_case_exprs( //dir=expr + unique int id: @enum_is_case_expr, + int sub_expr: @expr_or_none ref, + int element: @enum_element_decl_or_none ref +); + +error_exprs( //dir=expr + unique int id: @error_expr +); + +@explicit_cast_expr = + @checked_cast_expr +| @coerce_expr +; + +#keyset[id] +explicit_cast_exprs( //dir=expr + int id: @explicit_cast_expr ref, + int sub_expr: @expr_or_none ref +); + +force_value_exprs( //dir=expr + unique int id: @force_value_expr, + int sub_expr: @expr_or_none ref +); + +@identity_expr = + @await_expr +| @borrow_expr +| @dot_self_expr +| @paren_expr +| @unresolved_member_chain_result_expr +; + +#keyset[id] +identity_exprs( //dir=expr + int id: @identity_expr ref, + int sub_expr: @expr_or_none ref +); + +if_exprs( //dir=expr + unique int id: @if_expr, + int condition: @expr_or_none ref, + int then_expr: @expr_or_none ref, + int else_expr: @expr_or_none ref +); + +@implicit_conversion_expr = + @abi_safe_conversion_expr +| @any_hashable_erasure_expr +| @archetype_to_super_expr +| @array_to_pointer_expr +| @bridge_from_obj_c_expr +| @bridge_to_obj_c_expr +| @class_metatype_to_object_expr +| @collection_upcast_conversion_expr +| @conditional_bridge_from_obj_c_expr +| @covariant_function_conversion_expr +| @covariant_return_conversion_expr +| @derived_to_base_expr +| @destructure_tuple_expr +| @differentiable_function_expr +| @differentiable_function_extract_original_expr +| @erasure_expr +| @existential_metatype_to_object_expr +| @foreign_object_conversion_expr +| @function_conversion_expr +| @in_out_to_pointer_expr +| @inject_into_optional_expr +| @linear_function_expr +| @linear_function_extract_original_expr +| @linear_to_differentiable_function_expr +| @load_expr +| @metatype_conversion_expr +| @pointer_to_pointer_expr +| @protocol_metatype_to_object_expr +| @string_to_pointer_expr +| @underlying_to_opaque_expr +| @unevaluated_instance_expr +| @unresolved_type_conversion_expr +; + +#keyset[id] +implicit_conversion_exprs( //dir=expr + int id: @implicit_conversion_expr ref, + int sub_expr: @expr_or_none ref +); + +in_out_exprs( //dir=expr + unique int id: @in_out_expr, + int sub_expr: @expr_or_none ref +); + +key_path_application_exprs( //dir=expr + unique int id: @key_path_application_expr, + int base: @expr_or_none ref, + int key_path: @expr_or_none ref +); + +key_path_dot_exprs( //dir=expr + unique int id: @key_path_dot_expr +); + +key_path_exprs( //dir=expr + unique int id: @key_path_expr +); + +#keyset[id] +key_path_expr_roots( //dir=expr + int id: @key_path_expr ref, + int root: @type_repr_or_none ref +); + +#keyset[id, index] +key_path_expr_components( //dir=expr + int id: @key_path_expr ref, + int index: int ref, + int component: @key_path_component_or_none ref +); + +lazy_initialization_exprs( //dir=expr + unique int id: @lazy_initialization_expr, + int sub_expr: @expr_or_none ref +); + +@literal_expr = + @builtin_literal_expr +| @interpolated_string_literal_expr +| @nil_literal_expr +| @object_literal_expr +| @regex_literal_expr +; + +@lookup_expr = + @dynamic_lookup_expr +| @member_ref_expr +| @subscript_expr +; + +#keyset[id] +lookup_exprs( //dir=expr + int id: @lookup_expr ref, + int base: @expr_or_none ref +); + +#keyset[id] +lookup_expr_members( //dir=expr + int id: @lookup_expr ref, + int member: @decl_or_none ref +); + +make_temporarily_escapable_exprs( //dir=expr + unique int id: @make_temporarily_escapable_expr, + int escaping_closure: @opaque_value_expr_or_none ref, + int nonescaping_closure: @expr_or_none ref, + int sub_expr: @expr_or_none ref +); + +materialize_pack_exprs( //dir=expr + unique int id: @materialize_pack_expr, + int sub_expr: @expr_or_none ref +); + +obj_c_selector_exprs( //dir=expr + unique int id: @obj_c_selector_expr, + int sub_expr: @expr_or_none ref, + int method: @function_or_none ref +); + +one_way_exprs( //dir=expr + unique int id: @one_way_expr, + int sub_expr: @expr_or_none ref +); + +opaque_value_exprs( //dir=expr + unique int id: @opaque_value_expr +); + +open_existential_exprs( //dir=expr + unique int id: @open_existential_expr, + int sub_expr: @expr_or_none ref, + int existential: @expr_or_none ref, + int opaque_expr: @opaque_value_expr_or_none ref +); + +optional_evaluation_exprs( //dir=expr + unique int id: @optional_evaluation_expr, + int sub_expr: @expr_or_none ref +); + +other_initializer_ref_exprs( //dir=expr + unique int id: @other_initializer_ref_expr, + int initializer: @initializer_or_none ref +); + +overloaded_decl_ref_exprs( //dir=expr + unique int id: @overloaded_decl_ref_expr +); + +#keyset[id, index] +overloaded_decl_ref_expr_possible_declarations( //dir=expr + int id: @overloaded_decl_ref_expr ref, + int index: int ref, + int possible_declaration: @value_decl_or_none ref +); + +pack_element_exprs( //dir=expr + unique int id: @pack_element_expr, + int sub_expr: @expr_or_none ref +); + +pack_expansion_exprs( //dir=expr + unique int id: @pack_expansion_expr, + int pattern_expr: @expr_or_none ref +); + +property_wrapper_value_placeholder_exprs( //dir=expr + unique int id: @property_wrapper_value_placeholder_expr, + int placeholder: @opaque_value_expr_or_none ref +); + +#keyset[id] +property_wrapper_value_placeholder_expr_wrapped_values( //dir=expr + int id: @property_wrapper_value_placeholder_expr ref, + int wrapped_value: @expr_or_none ref +); + +rebind_self_in_initializer_exprs( //dir=expr + unique int id: @rebind_self_in_initializer_expr, + int sub_expr: @expr_or_none ref, + int self: @var_decl_or_none ref +); + +sequence_exprs( //dir=expr + unique int id: @sequence_expr +); + +#keyset[id, index] +sequence_expr_elements( //dir=expr + int id: @sequence_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +single_value_stmt_exprs( //dir=expr + unique int id: @single_value_stmt_expr, + int stmt: @stmt_or_none ref +); + +super_ref_exprs( //dir=expr + unique int id: @super_ref_expr, + int self: @var_decl_or_none ref +); + +tap_exprs( //dir=expr + unique int id: @tap_expr, + int body: @brace_stmt_or_none ref, + int var: @var_decl_or_none ref +); + +#keyset[id] +tap_expr_sub_exprs( //dir=expr + int id: @tap_expr ref, + int sub_expr: @expr_or_none ref +); + +tuple_element_exprs( //dir=expr + unique int id: @tuple_element_expr, + int sub_expr: @expr_or_none ref, + int index: int ref +); + +tuple_exprs( //dir=expr + unique int id: @tuple_expr +); + +#keyset[id, index] +tuple_expr_elements( //dir=expr + int id: @tuple_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +type_exprs( //dir=expr + unique int id: @type_expr +); + +#keyset[id] +type_expr_type_reprs( //dir=expr + int id: @type_expr ref, + int type_repr: @type_repr_or_none ref +); + +unresolved_decl_ref_exprs( //dir=expr + unique int id: @unresolved_decl_ref_expr +); + +#keyset[id] +unresolved_decl_ref_expr_names( //dir=expr + int id: @unresolved_decl_ref_expr ref, + string name: string ref +); + +unresolved_dot_exprs( //dir=expr + unique int id: @unresolved_dot_expr, + int base: @expr_or_none ref, + string name: string ref +); + +unresolved_member_exprs( //dir=expr + unique int id: @unresolved_member_expr, + string name: string ref +); + +unresolved_pattern_exprs( //dir=expr + unique int id: @unresolved_pattern_expr, + int sub_pattern: @pattern_or_none ref +); + +unresolved_specialize_exprs( //dir=expr + unique int id: @unresolved_specialize_expr, + int sub_expr: @expr_or_none ref +); + +vararg_expansion_exprs( //dir=expr + unique int id: @vararg_expansion_expr, + int sub_expr: @expr_or_none ref +); + +abi_safe_conversion_exprs( //dir=expr + unique int id: @abi_safe_conversion_expr +); + +any_hashable_erasure_exprs( //dir=expr + unique int id: @any_hashable_erasure_expr +); + +archetype_to_super_exprs( //dir=expr + unique int id: @archetype_to_super_expr +); + +array_exprs( //dir=expr + unique int id: @array_expr +); + +#keyset[id, index] +array_expr_elements( //dir=expr + int id: @array_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +array_to_pointer_exprs( //dir=expr + unique int id: @array_to_pointer_expr +); + +auto_closure_exprs( //dir=expr + unique int id: @auto_closure_expr +); + +await_exprs( //dir=expr + unique int id: @await_expr +); + +binary_exprs( //dir=expr + unique int id: @binary_expr +); + +borrow_exprs( //dir=expr + unique int id: @borrow_expr +); + +bridge_from_obj_c_exprs( //dir=expr + unique int id: @bridge_from_obj_c_expr +); + +bridge_to_obj_c_exprs( //dir=expr + unique int id: @bridge_to_obj_c_expr +); + +@builtin_literal_expr = + @boolean_literal_expr +| @magic_identifier_literal_expr +| @number_literal_expr +| @string_literal_expr +; + +call_exprs( //dir=expr + unique int id: @call_expr +); + +@checked_cast_expr = + @conditional_checked_cast_expr +| @forced_checked_cast_expr +| @is_expr +; + +class_metatype_to_object_exprs( //dir=expr + unique int id: @class_metatype_to_object_expr +); + +coerce_exprs( //dir=expr + unique int id: @coerce_expr +); + +collection_upcast_conversion_exprs( //dir=expr + unique int id: @collection_upcast_conversion_expr +); + +conditional_bridge_from_obj_c_exprs( //dir=expr + unique int id: @conditional_bridge_from_obj_c_expr +); + +covariant_function_conversion_exprs( //dir=expr + unique int id: @covariant_function_conversion_expr +); + +covariant_return_conversion_exprs( //dir=expr + unique int id: @covariant_return_conversion_expr +); + +derived_to_base_exprs( //dir=expr + unique int id: @derived_to_base_expr +); + +destructure_tuple_exprs( //dir=expr + unique int id: @destructure_tuple_expr +); + +dictionary_exprs( //dir=expr + unique int id: @dictionary_expr +); + +#keyset[id, index] +dictionary_expr_elements( //dir=expr + int id: @dictionary_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +differentiable_function_exprs( //dir=expr + unique int id: @differentiable_function_expr +); + +differentiable_function_extract_original_exprs( //dir=expr + unique int id: @differentiable_function_extract_original_expr +); + +dot_self_exprs( //dir=expr + unique int id: @dot_self_expr +); + +@dynamic_lookup_expr = + @dynamic_member_ref_expr +| @dynamic_subscript_expr +; + +erasure_exprs( //dir=expr + unique int id: @erasure_expr +); + +existential_metatype_to_object_exprs( //dir=expr + unique int id: @existential_metatype_to_object_expr +); + +explicit_closure_exprs( //dir=expr + unique int id: @explicit_closure_expr +); + +force_try_exprs( //dir=expr + unique int id: @force_try_expr +); + +foreign_object_conversion_exprs( //dir=expr + unique int id: @foreign_object_conversion_expr +); + +function_conversion_exprs( //dir=expr + unique int id: @function_conversion_expr +); + +in_out_to_pointer_exprs( //dir=expr + unique int id: @in_out_to_pointer_expr +); + +inject_into_optional_exprs( //dir=expr + unique int id: @inject_into_optional_expr +); + +interpolated_string_literal_exprs( //dir=expr + unique int id: @interpolated_string_literal_expr +); + +#keyset[id] +interpolated_string_literal_expr_interpolation_exprs( //dir=expr + int id: @interpolated_string_literal_expr ref, + int interpolation_expr: @opaque_value_expr_or_none ref +); + +#keyset[id] +interpolated_string_literal_expr_appending_exprs( //dir=expr + int id: @interpolated_string_literal_expr ref, + int appending_expr: @tap_expr_or_none ref +); + +linear_function_exprs( //dir=expr + unique int id: @linear_function_expr +); + +linear_function_extract_original_exprs( //dir=expr + unique int id: @linear_function_extract_original_expr +); + +linear_to_differentiable_function_exprs( //dir=expr + unique int id: @linear_to_differentiable_function_expr +); + +load_exprs( //dir=expr + unique int id: @load_expr +); + +member_ref_exprs( //dir=expr + unique int id: @member_ref_expr +); + +#keyset[id] +member_ref_expr_has_direct_to_storage_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_ordinary_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_distributed_thunk_semantics( //dir=expr + int id: @member_ref_expr ref +); + +metatype_conversion_exprs( //dir=expr + unique int id: @metatype_conversion_expr +); + +nil_literal_exprs( //dir=expr + unique int id: @nil_literal_expr +); + +object_literal_exprs( //dir=expr + unique int id: @object_literal_expr, + int kind: int ref +); + +#keyset[id, index] +object_literal_expr_arguments( //dir=expr + int id: @object_literal_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +optional_try_exprs( //dir=expr + unique int id: @optional_try_expr +); + +paren_exprs( //dir=expr + unique int id: @paren_expr +); + +pointer_to_pointer_exprs( //dir=expr + unique int id: @pointer_to_pointer_expr +); + +postfix_unary_exprs( //dir=expr + unique int id: @postfix_unary_expr +); + +prefix_unary_exprs( //dir=expr + unique int id: @prefix_unary_expr +); + +protocol_metatype_to_object_exprs( //dir=expr + unique int id: @protocol_metatype_to_object_expr +); + +regex_literal_exprs( //dir=expr + unique int id: @regex_literal_expr, + string pattern: string ref, + int version: int ref +); + +@self_apply_expr = + @dot_syntax_call_expr +| @initializer_ref_call_expr +; + +#keyset[id] +self_apply_exprs( //dir=expr + int id: @self_apply_expr ref, + int base: @expr_or_none ref +); + +string_to_pointer_exprs( //dir=expr + unique int id: @string_to_pointer_expr +); + +subscript_exprs( //dir=expr + unique int id: @subscript_expr +); + +#keyset[id, index] +subscript_expr_arguments( //dir=expr + int id: @subscript_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +#keyset[id] +subscript_expr_has_direct_to_storage_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_ordinary_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_distributed_thunk_semantics( //dir=expr + int id: @subscript_expr ref +); + +try_exprs( //dir=expr + unique int id: @try_expr +); + +underlying_to_opaque_exprs( //dir=expr + unique int id: @underlying_to_opaque_expr +); + +unevaluated_instance_exprs( //dir=expr + unique int id: @unevaluated_instance_expr +); + +unresolved_member_chain_result_exprs( //dir=expr + unique int id: @unresolved_member_chain_result_expr +); + +unresolved_type_conversion_exprs( //dir=expr + unique int id: @unresolved_type_conversion_expr +); + +boolean_literal_exprs( //dir=expr + unique int id: @boolean_literal_expr, + boolean value: boolean ref +); + +conditional_checked_cast_exprs( //dir=expr + unique int id: @conditional_checked_cast_expr +); + +dot_syntax_call_exprs( //dir=expr + unique int id: @dot_syntax_call_expr +); + +dynamic_member_ref_exprs( //dir=expr + unique int id: @dynamic_member_ref_expr +); + +dynamic_subscript_exprs( //dir=expr + unique int id: @dynamic_subscript_expr +); + +forced_checked_cast_exprs( //dir=expr + unique int id: @forced_checked_cast_expr +); + +initializer_ref_call_exprs( //dir=expr + unique int id: @initializer_ref_call_expr +); + +is_exprs( //dir=expr + unique int id: @is_expr +); + +magic_identifier_literal_exprs( //dir=expr + unique int id: @magic_identifier_literal_expr, + string kind: string ref +); + +@number_literal_expr = + @float_literal_expr +| @integer_literal_expr +; + +string_literal_exprs( //dir=expr + unique int id: @string_literal_expr, + string value: string ref +); + +float_literal_exprs( //dir=expr + unique int id: @float_literal_expr, + string string_value: string ref +); + +integer_literal_exprs( //dir=expr + unique int id: @integer_literal_expr, + string string_value: string ref +); + +@pattern = + @any_pattern +| @binding_pattern +| @bool_pattern +| @enum_element_pattern +| @expr_pattern +| @is_pattern +| @named_pattern +| @optional_some_pattern +| @paren_pattern +| @tuple_pattern +| @typed_pattern +; + +#keyset[id] +pattern_types( //dir=pattern + int id: @pattern ref, + int type_: @type_or_none ref +); + +any_patterns( //dir=pattern + unique int id: @any_pattern +); + +binding_patterns( //dir=pattern + unique int id: @binding_pattern, + int sub_pattern: @pattern_or_none ref +); + +bool_patterns( //dir=pattern + unique int id: @bool_pattern, + boolean value: boolean ref +); + +enum_element_patterns( //dir=pattern + unique int id: @enum_element_pattern, + int element: @enum_element_decl_or_none ref +); + +#keyset[id] +enum_element_pattern_sub_patterns( //dir=pattern + int id: @enum_element_pattern ref, + int sub_pattern: @pattern_or_none ref +); + +expr_patterns( //dir=pattern + unique int id: @expr_pattern, + int sub_expr: @expr_or_none ref +); + +is_patterns( //dir=pattern + unique int id: @is_pattern +); + +#keyset[id] +is_pattern_cast_type_reprs( //dir=pattern + int id: @is_pattern ref, + int cast_type_repr: @type_repr_or_none ref +); + +#keyset[id] +is_pattern_sub_patterns( //dir=pattern + int id: @is_pattern ref, + int sub_pattern: @pattern_or_none ref +); + +named_patterns( //dir=pattern + unique int id: @named_pattern, + int var_decl: @var_decl_or_none ref +); + +optional_some_patterns( //dir=pattern + unique int id: @optional_some_pattern, + int sub_pattern: @pattern_or_none ref +); + +paren_patterns( //dir=pattern + unique int id: @paren_pattern, + int sub_pattern: @pattern_or_none ref +); + +tuple_patterns( //dir=pattern + unique int id: @tuple_pattern +); + +#keyset[id, index] +tuple_pattern_elements( //dir=pattern + int id: @tuple_pattern ref, + int index: int ref, + int element: @pattern_or_none ref +); + +typed_patterns( //dir=pattern + unique int id: @typed_pattern, + int sub_pattern: @pattern_or_none ref +); + +#keyset[id] +typed_pattern_type_reprs( //dir=pattern + int id: @typed_pattern ref, + int type_repr: @type_repr_or_none ref +); + +case_label_items( //dir=stmt + unique int id: @case_label_item, + int pattern: @pattern_or_none ref +); + +#keyset[id] +case_label_item_guards( //dir=stmt + int id: @case_label_item ref, + int guard: @expr_or_none ref +); + +condition_elements( //dir=stmt + unique int id: @condition_element +); + +#keyset[id] +condition_element_booleans( //dir=stmt + int id: @condition_element ref, + int boolean_: @expr_or_none ref +); + +#keyset[id] +condition_element_patterns( //dir=stmt + int id: @condition_element ref, + int pattern: @pattern_or_none ref +); + +#keyset[id] +condition_element_initializers( //dir=stmt + int id: @condition_element ref, + int initializer: @expr_or_none ref +); + +#keyset[id] +condition_element_availabilities( //dir=stmt + int id: @condition_element ref, + int availability: @availability_info_or_none ref +); + +@stmt = + @brace_stmt +| @break_stmt +| @case_stmt +| @continue_stmt +| @defer_stmt +| @discard_stmt +| @fail_stmt +| @fallthrough_stmt +| @labeled_stmt +| @pound_assert_stmt +| @return_stmt +| @then_stmt +| @throw_stmt +| @yield_stmt +; + +stmt_conditions( //dir=stmt + unique int id: @stmt_condition +); + +#keyset[id, index] +stmt_condition_elements( //dir=stmt + int id: @stmt_condition ref, + int index: int ref, + int element: @condition_element_or_none ref +); + +brace_stmts( //dir=stmt + unique int id: @brace_stmt +); + +#keyset[id, index] +brace_stmt_elements( //dir=stmt + int id: @brace_stmt ref, + int index: int ref, + int element: @ast_node_or_none ref +); + +break_stmts( //dir=stmt + unique int id: @break_stmt +); + +#keyset[id] +break_stmt_target_names( //dir=stmt + int id: @break_stmt ref, + string target_name: string ref +); + +#keyset[id] +break_stmt_targets( //dir=stmt + int id: @break_stmt ref, + int target: @stmt_or_none ref +); + +case_stmts( //dir=stmt + unique int id: @case_stmt, + int body: @stmt_or_none ref +); + +#keyset[id, index] +case_stmt_labels( //dir=stmt + int id: @case_stmt ref, + int index: int ref, + int label: @case_label_item_or_none ref +); + +#keyset[id, index] +case_stmt_variables( //dir=stmt + int id: @case_stmt ref, + int index: int ref, + int variable: @var_decl_or_none ref +); + +continue_stmts( //dir=stmt + unique int id: @continue_stmt +); + +#keyset[id] +continue_stmt_target_names( //dir=stmt + int id: @continue_stmt ref, + string target_name: string ref +); + +#keyset[id] +continue_stmt_targets( //dir=stmt + int id: @continue_stmt ref, + int target: @stmt_or_none ref +); + +defer_stmts( //dir=stmt + unique int id: @defer_stmt, + int body: @brace_stmt_or_none ref +); + +discard_stmts( //dir=stmt + unique int id: @discard_stmt, + int sub_expr: @expr_or_none ref +); + +fail_stmts( //dir=stmt + unique int id: @fail_stmt +); + +fallthrough_stmts( //dir=stmt + unique int id: @fallthrough_stmt, + int fallthrough_source: @case_stmt_or_none ref, + int fallthrough_dest: @case_stmt_or_none ref +); + +@labeled_stmt = + @do_catch_stmt +| @do_stmt +| @for_each_stmt +| @labeled_conditional_stmt +| @repeat_while_stmt +| @switch_stmt +; + +#keyset[id] +labeled_stmt_labels( //dir=stmt + int id: @labeled_stmt ref, + string label: string ref +); + +pound_assert_stmts( //dir=stmt + unique int id: @pound_assert_stmt, + int condition: @expr_or_none ref, + string message: string ref +); + +return_stmts( //dir=stmt + unique int id: @return_stmt +); + +#keyset[id] +return_stmt_results( //dir=stmt + int id: @return_stmt ref, + int result: @expr_or_none ref +); + +then_stmts( //dir=stmt + unique int id: @then_stmt, + int result: @expr_or_none ref +); + +throw_stmts( //dir=stmt + unique int id: @throw_stmt, + int sub_expr: @expr_or_none ref +); + +yield_stmts( //dir=stmt + unique int id: @yield_stmt +); + +#keyset[id, index] +yield_stmt_results( //dir=stmt + int id: @yield_stmt ref, + int index: int ref, + int result: @expr_or_none ref +); + +do_catch_stmts( //dir=stmt + unique int id: @do_catch_stmt, + int body: @stmt_or_none ref +); + +#keyset[id, index] +do_catch_stmt_catches( //dir=stmt + int id: @do_catch_stmt ref, + int index: int ref, + int catch: @case_stmt_or_none ref +); + +do_stmts( //dir=stmt + unique int id: @do_stmt, + int body: @brace_stmt_or_none ref +); + +for_each_stmts( //dir=stmt + unique int id: @for_each_stmt, + int pattern: @pattern_or_none ref, + int body: @brace_stmt_or_none ref +); + +#keyset[id] +for_each_stmt_wheres( //dir=stmt + int id: @for_each_stmt ref, + int where: @expr_or_none ref +); + +#keyset[id] +for_each_stmt_iterator_vars( //dir=stmt + int id: @for_each_stmt ref, + int iteratorVar: @pattern_binding_decl_or_none ref +); + +#keyset[id] +for_each_stmt_next_calls( //dir=stmt + int id: @for_each_stmt ref, + int nextCall: @expr_or_none ref +); + +@labeled_conditional_stmt = + @guard_stmt +| @if_stmt +| @while_stmt +; + +#keyset[id] +labeled_conditional_stmts( //dir=stmt + int id: @labeled_conditional_stmt ref, + int condition: @stmt_condition_or_none ref +); + +repeat_while_stmts( //dir=stmt + unique int id: @repeat_while_stmt, + int condition: @expr_or_none ref, + int body: @stmt_or_none ref +); + +switch_stmts( //dir=stmt + unique int id: @switch_stmt, + int expr: @expr_or_none ref +); + +#keyset[id, index] +switch_stmt_cases( //dir=stmt + int id: @switch_stmt ref, + int index: int ref, + int case_: @case_stmt_or_none ref +); + +guard_stmts( //dir=stmt + unique int id: @guard_stmt, + int body: @brace_stmt_or_none ref +); + +if_stmts( //dir=stmt + unique int id: @if_stmt, + int then: @stmt_or_none ref +); + +#keyset[id] +if_stmt_elses( //dir=stmt + int id: @if_stmt ref, + int else: @stmt_or_none ref +); + +while_stmts( //dir=stmt + unique int id: @while_stmt, + int body: @stmt_or_none ref +); + +@type = + @any_function_type +| @any_generic_type +| @any_metatype_type +| @builtin_type +| @dependent_member_type +| @dynamic_self_type +| @error_type +| @existential_type +| @in_out_type +| @l_value_type +| @module_type +| @pack_element_type +| @pack_expansion_type +| @pack_type +| @parameterized_protocol_type +| @protocol_composition_type +| @reference_storage_type +| @substitutable_type +| @sugar_type +| @tuple_type +| @unresolved_type +; + +#keyset[id] +types( //dir=type + int id: @type ref, + string name: string ref, + int canonical_type: @type_or_none ref +); + +type_reprs( //dir=type + unique int id: @type_repr, + int type_: @type_or_none ref +); + +@any_function_type = + @function_type +| @generic_function_type +; + +#keyset[id] +any_function_types( //dir=type + int id: @any_function_type ref, + int result: @type_or_none ref +); + +#keyset[id, index] +any_function_type_param_types( //dir=type + int id: @any_function_type ref, + int index: int ref, + int param_type: @type_or_none ref +); + +#keyset[id] +any_function_type_is_throwing( //dir=type + int id: @any_function_type ref +); + +#keyset[id] +any_function_type_is_async( //dir=type + int id: @any_function_type ref +); + +@any_generic_type = + @nominal_or_bound_generic_nominal_type +| @unbound_generic_type +; + +#keyset[id] +any_generic_types( //dir=type + int id: @any_generic_type ref, + int declaration: @generic_type_decl_or_none ref +); + +#keyset[id] +any_generic_type_parents( //dir=type + int id: @any_generic_type ref, + int parent: @type_or_none ref +); + +@any_metatype_type = + @existential_metatype_type +| @metatype_type +; + +@builtin_type = + @any_builtin_integer_type +| @builtin_bridge_object_type +| @builtin_default_actor_storage_type +| @builtin_executor_type +| @builtin_float_type +| @builtin_job_type +| @builtin_native_object_type +| @builtin_raw_pointer_type +| @builtin_raw_unsafe_continuation_type +| @builtin_unsafe_value_buffer_type +| @builtin_vector_type +; + +dependent_member_types( //dir=type + unique int id: @dependent_member_type, + int base_type: @type_or_none ref, + int associated_type_decl: @associated_type_decl_or_none ref +); + +dynamic_self_types( //dir=type + unique int id: @dynamic_self_type, + int static_self_type: @type_or_none ref +); + +error_types( //dir=type + unique int id: @error_type +); + +existential_types( //dir=type + unique int id: @existential_type, + int constraint: @type_or_none ref +); + +in_out_types( //dir=type + unique int id: @in_out_type, + int object_type: @type_or_none ref +); + +l_value_types( //dir=type + unique int id: @l_value_type, + int object_type: @type_or_none ref +); + +module_types( //dir=type + unique int id: @module_type, + int module: @module_decl_or_none ref +); + +pack_element_types( //dir=type + unique int id: @pack_element_type, + int pack_type: @type_or_none ref +); + +pack_expansion_types( //dir=type + unique int id: @pack_expansion_type, + int pattern_type: @type_or_none ref, + int count_type: @type_or_none ref +); + +pack_types( //dir=type + unique int id: @pack_type +); + +#keyset[id, index] +pack_type_elements( //dir=type + int id: @pack_type ref, + int index: int ref, + int element: @type_or_none ref +); + +parameterized_protocol_types( //dir=type + unique int id: @parameterized_protocol_type, + int base: @protocol_type_or_none ref +); + +#keyset[id, index] +parameterized_protocol_type_args( //dir=type + int id: @parameterized_protocol_type ref, + int index: int ref, + int arg: @type_or_none ref +); + +protocol_composition_types( //dir=type + unique int id: @protocol_composition_type +); + +#keyset[id, index] +protocol_composition_type_members( //dir=type + int id: @protocol_composition_type ref, + int index: int ref, + int member: @type_or_none ref +); + +@reference_storage_type = + @unmanaged_storage_type +| @unowned_storage_type +| @weak_storage_type +; + +#keyset[id] +reference_storage_types( //dir=type + int id: @reference_storage_type ref, + int referent_type: @type_or_none ref +); + +@substitutable_type = + @archetype_type +| @generic_type_param_type +; + +@sugar_type = + @paren_type +| @syntax_sugar_type +| @type_alias_type +; + +tuple_types( //dir=type + unique int id: @tuple_type +); + +#keyset[id, index] +tuple_type_types( //dir=type + int id: @tuple_type ref, + int index: int ref, + int type_: @type_or_none ref +); + +#keyset[id, index] +tuple_type_names( //dir=type + int id: @tuple_type ref, + int index: int ref, + string name: string ref +); + +unresolved_types( //dir=type + unique int id: @unresolved_type +); + +@any_builtin_integer_type = + @builtin_integer_literal_type +| @builtin_integer_type +; + +@archetype_type = + @local_archetype_type +| @opaque_type_archetype_type +| @pack_archetype_type +| @primary_archetype_type +; + +#keyset[id] +archetype_types( //dir=type + int id: @archetype_type ref, + int interface_type: @type_or_none ref +); + +#keyset[id] +archetype_type_superclasses( //dir=type + int id: @archetype_type ref, + int superclass: @type_or_none ref +); + +#keyset[id, index] +archetype_type_protocols( //dir=type + int id: @archetype_type ref, + int index: int ref, + int protocol: @protocol_decl_or_none ref +); + +builtin_bridge_object_types( //dir=type + unique int id: @builtin_bridge_object_type +); + +builtin_default_actor_storage_types( //dir=type + unique int id: @builtin_default_actor_storage_type +); + +builtin_executor_types( //dir=type + unique int id: @builtin_executor_type +); + +builtin_float_types( //dir=type + unique int id: @builtin_float_type +); + +builtin_job_types( //dir=type + unique int id: @builtin_job_type +); + +builtin_native_object_types( //dir=type + unique int id: @builtin_native_object_type +); + +builtin_raw_pointer_types( //dir=type + unique int id: @builtin_raw_pointer_type +); + +builtin_raw_unsafe_continuation_types( //dir=type + unique int id: @builtin_raw_unsafe_continuation_type +); + +builtin_unsafe_value_buffer_types( //dir=type + unique int id: @builtin_unsafe_value_buffer_type +); + +builtin_vector_types( //dir=type + unique int id: @builtin_vector_type +); + +existential_metatype_types( //dir=type + unique int id: @existential_metatype_type +); + +function_types( //dir=type + unique int id: @function_type +); + +generic_function_types( //dir=type + unique int id: @generic_function_type +); + +#keyset[id, index] +generic_function_type_generic_params( //dir=type + int id: @generic_function_type ref, + int index: int ref, + int generic_param: @generic_type_param_type_or_none ref +); + +generic_type_param_types( //dir=type + unique int id: @generic_type_param_type +); + +metatype_types( //dir=type + unique int id: @metatype_type +); + +@nominal_or_bound_generic_nominal_type = + @bound_generic_type +| @nominal_type +; + +paren_types( //dir=type + unique int id: @paren_type, + int type_: @type_or_none ref +); + +@syntax_sugar_type = + @dictionary_type +| @unary_syntax_sugar_type +; + +type_alias_types( //dir=type + unique int id: @type_alias_type, + int decl: @type_alias_decl_or_none ref +); + +unbound_generic_types( //dir=type + unique int id: @unbound_generic_type +); + +unmanaged_storage_types( //dir=type + unique int id: @unmanaged_storage_type +); + +unowned_storage_types( //dir=type + unique int id: @unowned_storage_type +); + +weak_storage_types( //dir=type + unique int id: @weak_storage_type +); + +@bound_generic_type = + @bound_generic_class_type +| @bound_generic_enum_type +| @bound_generic_struct_type +; + +#keyset[id, index] +bound_generic_type_arg_types( //dir=type + int id: @bound_generic_type ref, + int index: int ref, + int arg_type: @type_or_none ref +); + +builtin_integer_literal_types( //dir=type + unique int id: @builtin_integer_literal_type +); + +builtin_integer_types( //dir=type + unique int id: @builtin_integer_type +); + +#keyset[id] +builtin_integer_type_widths( //dir=type + int id: @builtin_integer_type ref, + int width: int ref +); + +dictionary_types( //dir=type + unique int id: @dictionary_type, + int key_type: @type_or_none ref, + int value_type: @type_or_none ref +); + +@local_archetype_type = + @element_archetype_type +| @opened_archetype_type +; + +@nominal_type = + @class_type +| @enum_type +| @protocol_type +| @struct_type +; + +opaque_type_archetype_types( //dir=type + unique int id: @opaque_type_archetype_type, + int declaration: @opaque_type_decl_or_none ref +); + +pack_archetype_types( //dir=type + unique int id: @pack_archetype_type +); + +primary_archetype_types( //dir=type + unique int id: @primary_archetype_type +); + +@unary_syntax_sugar_type = + @array_slice_type +| @optional_type +| @variadic_sequence_type +; + +#keyset[id] +unary_syntax_sugar_types( //dir=type + int id: @unary_syntax_sugar_type ref, + int base_type: @type_or_none ref +); + +array_slice_types( //dir=type + unique int id: @array_slice_type +); + +bound_generic_class_types( //dir=type + unique int id: @bound_generic_class_type +); + +bound_generic_enum_types( //dir=type + unique int id: @bound_generic_enum_type +); + +bound_generic_struct_types( //dir=type + unique int id: @bound_generic_struct_type +); + +class_types( //dir=type + unique int id: @class_type +); + +element_archetype_types( //dir=type + unique int id: @element_archetype_type +); + +enum_types( //dir=type + unique int id: @enum_type +); + +opened_archetype_types( //dir=type + unique int id: @opened_archetype_type +); + +optional_types( //dir=type + unique int id: @optional_type +); + +protocol_types( //dir=type + unique int id: @protocol_type +); + +struct_types( //dir=type + unique int id: @struct_type +); + +variadic_sequence_types( //dir=type + unique int id: @variadic_sequence_type +); + +@accessor_or_none = + @accessor +| @unspecified_element +; + +@argument_or_none = + @argument +| @unspecified_element +; + +@associated_type_decl_or_none = + @associated_type_decl +| @unspecified_element +; + +@ast_node_or_none = + @ast_node +| @unspecified_element +; + +@availability_info_or_none = + @availability_info +| @unspecified_element +; + +@availability_spec_or_none = + @availability_spec +| @unspecified_element +; + +@brace_stmt_or_none = + @brace_stmt +| @unspecified_element +; + +@captured_decl_or_none = + @captured_decl +| @unspecified_element +; + +@case_label_item_or_none = + @case_label_item +| @unspecified_element +; + +@case_stmt_or_none = + @case_stmt +| @unspecified_element +; + +@closure_expr_or_none = + @closure_expr +| @unspecified_element +; + +@condition_element_or_none = + @condition_element +| @unspecified_element +; + +@decl_or_none = + @decl +| @unspecified_element +; + +@enum_element_decl_or_none = + @enum_element_decl +| @unspecified_element +; + +@expr_or_none = + @expr +| @unspecified_element +; + +@file_or_none = + @file +| @unspecified_element +; + +@function_or_none = + @function +| @unspecified_element +; + +@generic_type_decl_or_none = + @generic_type_decl +| @unspecified_element +; + +@generic_type_param_decl_or_none = + @generic_type_param_decl +| @unspecified_element +; + +@generic_type_param_type_or_none = + @generic_type_param_type +| @unspecified_element +; + +@initializer_or_none = + @initializer +| @unspecified_element +; + +@key_path_component_or_none = + @key_path_component +| @unspecified_element +; + +@location_or_none = + @location +| @unspecified_element +; + +@macro_role_or_none = + @macro_role +| @unspecified_element +; + +@module_decl_or_none = + @module_decl +| @unspecified_element +; + +@nominal_type_decl_or_none = + @nominal_type_decl +| @unspecified_element +; + +@opaque_type_decl_or_none = + @opaque_type_decl +| @unspecified_element +; + +@opaque_value_expr_or_none = + @opaque_value_expr +| @unspecified_element +; + +@param_decl_or_none = + @param_decl +| @unspecified_element +; + +@pattern_or_none = + @pattern +| @unspecified_element +; + +@pattern_binding_decl_or_none = + @pattern_binding_decl +| @unspecified_element +; + +@precedence_group_decl_or_none = + @precedence_group_decl +| @unspecified_element +; + +@protocol_decl_or_none = + @protocol_decl +| @unspecified_element +; + +@protocol_type_or_none = + @protocol_type +| @unspecified_element +; + +@stmt_or_none = + @stmt +| @unspecified_element +; + +@stmt_condition_or_none = + @stmt_condition +| @unspecified_element +; + +@string_literal_expr_or_none = + @string_literal_expr +| @unspecified_element +; + +@tap_expr_or_none = + @tap_expr +| @unspecified_element +; + +@type_or_none = + @type +| @unspecified_element +; + +@type_alias_decl_or_none = + @type_alias_decl +| @unspecified_element +; + +@type_expr_or_none = + @type_expr +| @unspecified_element +; + +@type_repr_or_none = + @type_repr +| @unspecified_element +; + +@value_decl_or_none = + @unspecified_element +| @value_decl +; + +@var_decl_or_none = + @unspecified_element +| @var_decl +; diff --git a/swift/downgrades/44c4818a8987b5e1b3cd11e553e41045e1262451/swift.dbscheme b/swift/downgrades/44c4818a8987b5e1b3cd11e553e41045e1262451/swift.dbscheme new file mode 100644 index 000000000000..1a24fefd78ba --- /dev/null +++ b/swift/downgrades/44c4818a8987b5e1b3cd11e553e41045e1262451/swift.dbscheme @@ -0,0 +1,2786 @@ +// generated by codegen/codegen.py + +// from prefix.dbscheme +/** + * The source location of the snapshot. + */ +sourceLocationPrefix( + string prefix: string ref +); + + +// from schema.py + +@element = + @file +| @generic_context +| @locatable +| @location +| @type +; + +#keyset[id] +element_is_unknown( + int id: @element ref +); + +@file = + @db_file +; + +#keyset[id] +files( + int id: @file ref, + string name: string ref +); + +#keyset[id] +file_is_successfully_extracted( + int id: @file ref +); + +@locatable = + @argument +| @ast_node +| @comment +| @diagnostics +| @error_element +; + +#keyset[id] +locatable_locations( + int id: @locatable ref, + int location: @location_or_none ref +); + +@location = + @db_location +; + +#keyset[id] +locations( + int id: @location ref, + int file: @file_or_none ref, + int start_line: int ref, + int start_column: int ref, + int end_line: int ref, + int end_column: int ref +); + +@ast_node = + @availability_info +| @availability_spec +| @callable +| @case_label_item +| @condition_element +| @decl +| @expr +| @key_path_component +| @macro_role +| @pattern +| @stmt +| @stmt_condition +| @type_repr +; + +comments( + unique int id: @comment, + string text: string ref +); + +db_files( + unique int id: @db_file +); + +db_locations( + unique int id: @db_location +); + +diagnostics( + unique int id: @diagnostics, + string text: string ref, + int kind: int ref +); + +@error_element = + @error_expr +| @error_type +| @overloaded_decl_ref_expr +| @unresolved_decl_ref_expr +| @unresolved_dot_expr +| @unresolved_member_chain_result_expr +| @unresolved_member_expr +| @unresolved_pattern_expr +| @unresolved_specialize_expr +| @unresolved_type +| @unresolved_type_conversion_expr +| @unspecified_element +; + +availability_infos( + unique int id: @availability_info +); + +#keyset[id] +availability_info_is_unavailable( + int id: @availability_info ref +); + +#keyset[id, index] +availability_info_specs( + int id: @availability_info ref, + int index: int ref, + int spec: @availability_spec_or_none ref +); + +@availability_spec = + @other_availability_spec +| @platform_version_availability_spec +; + +@callable = + @closure_expr +| @function +; + +#keyset[id] +callable_names( + int id: @callable ref, + string name: string ref +); + +#keyset[id] +callable_self_params( + int id: @callable ref, + int self_param: @param_decl_or_none ref +); + +#keyset[id, index] +callable_params( + int id: @callable ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +#keyset[id] +callable_bodies( + int id: @callable ref, + int body: @brace_stmt_or_none ref +); + +#keyset[id, index] +callable_captures( + int id: @callable ref, + int index: int ref, + int capture: @captured_decl_or_none ref +); + +key_path_components( + unique int id: @key_path_component, + int kind: int ref, + int component_type: @type_or_none ref +); + +#keyset[id, index] +key_path_component_subscript_arguments( + int id: @key_path_component ref, + int index: int ref, + int subscript_argument: @argument_or_none ref +); + +#keyset[id] +key_path_component_tuple_indices( + int id: @key_path_component ref, + int tuple_index: int ref +); + +#keyset[id] +key_path_component_decl_refs( + int id: @key_path_component ref, + int decl_ref: @value_decl_or_none ref +); + +macro_roles( + unique int id: @macro_role, + int kind: int ref, + int macro_syntax: int ref +); + +#keyset[id, index] +macro_role_conformances( + int id: @macro_role ref, + int index: int ref, + int conformance: @type_expr_or_none ref +); + +#keyset[id, index] +macro_role_names( + int id: @macro_role ref, + int index: int ref, + string name: string ref +); + +unspecified_elements( + unique int id: @unspecified_element, + string property: string ref, + string error: string ref +); + +#keyset[id] +unspecified_element_parents( + int id: @unspecified_element ref, + int parent: @element ref +); + +#keyset[id] +unspecified_element_indices( + int id: @unspecified_element ref, + int index: int ref +); + +#keyset[id, index] +unspecified_element_children( + int id: @unspecified_element ref, + int index: int ref, + int child: @ast_node_or_none ref +); + +other_availability_specs( + unique int id: @other_availability_spec +); + +platform_version_availability_specs( + unique int id: @platform_version_availability_spec, + string platform: string ref, + string version: string ref +); + +@decl = + @captured_decl +| @enum_case_decl +| @extension_decl +| @if_config_decl +| @import_decl +| @missing_member_decl +| @operator_decl +| @pattern_binding_decl +| @pound_diagnostic_decl +| @precedence_group_decl +| @top_level_code_decl +| @value_decl +; + +#keyset[id] +decls( //dir=decl + int id: @decl ref, + int module: @module_decl_or_none ref +); + +#keyset[id, index] +decl_members( //dir=decl + int id: @decl ref, + int index: int ref, + int member: @decl_or_none ref +); + +@generic_context = + @extension_decl +| @function +| @generic_type_decl +| @macro_decl +| @subscript_decl +; + +#keyset[id, index] +generic_context_generic_type_params( //dir=decl + int id: @generic_context ref, + int index: int ref, + int generic_type_param: @generic_type_param_decl_or_none ref +); + +captured_decls( //dir=decl + unique int id: @captured_decl, + int decl: @value_decl_or_none ref +); + +#keyset[id] +captured_decl_is_direct( //dir=decl + int id: @captured_decl ref +); + +#keyset[id] +captured_decl_is_escaping( //dir=decl + int id: @captured_decl ref +); + +enum_case_decls( //dir=decl + unique int id: @enum_case_decl +); + +#keyset[id, index] +enum_case_decl_elements( //dir=decl + int id: @enum_case_decl ref, + int index: int ref, + int element: @enum_element_decl_or_none ref +); + +extension_decls( //dir=decl + unique int id: @extension_decl, + int extended_type_decl: @nominal_type_decl_or_none ref +); + +#keyset[id, index] +extension_decl_protocols( //dir=decl + int id: @extension_decl ref, + int index: int ref, + int protocol: @protocol_decl_or_none ref +); + +if_config_decls( //dir=decl + unique int id: @if_config_decl +); + +#keyset[id, index] +if_config_decl_active_elements( //dir=decl + int id: @if_config_decl ref, + int index: int ref, + int active_element: @ast_node_or_none ref +); + +import_decls( //dir=decl + unique int id: @import_decl +); + +#keyset[id] +import_decl_is_exported( //dir=decl + int id: @import_decl ref +); + +#keyset[id] +import_decl_imported_modules( //dir=decl + int id: @import_decl ref, + int imported_module: @module_decl_or_none ref +); + +#keyset[id, index] +import_decl_declarations( //dir=decl + int id: @import_decl ref, + int index: int ref, + int declaration: @value_decl_or_none ref +); + +missing_member_decls( //dir=decl + unique int id: @missing_member_decl, + string name: string ref +); + +@operator_decl = + @infix_operator_decl +| @postfix_operator_decl +| @prefix_operator_decl +; + +#keyset[id] +operator_decls( //dir=decl + int id: @operator_decl ref, + string name: string ref +); + +pattern_binding_decls( //dir=decl + unique int id: @pattern_binding_decl +); + +#keyset[id, index] +pattern_binding_decl_inits( //dir=decl + int id: @pattern_binding_decl ref, + int index: int ref, + int init: @expr_or_none ref +); + +#keyset[id, index] +pattern_binding_decl_patterns( //dir=decl + int id: @pattern_binding_decl ref, + int index: int ref, + int pattern: @pattern_or_none ref +); + +pound_diagnostic_decls( //dir=decl + unique int id: @pound_diagnostic_decl, + int kind: int ref, + int message: @string_literal_expr_or_none ref +); + +precedence_group_decls( //dir=decl + unique int id: @precedence_group_decl +); + +top_level_code_decls( //dir=decl + unique int id: @top_level_code_decl, + int body: @brace_stmt_or_none ref +); + +@value_decl = + @abstract_storage_decl +| @enum_element_decl +| @function +| @macro_decl +| @type_decl +; + +#keyset[id] +value_decls( //dir=decl + int id: @value_decl ref, + int interface_type: @type_or_none ref +); + +@abstract_storage_decl = + @subscript_decl +| @var_decl +; + +#keyset[id, index] +abstract_storage_decl_accessors( //dir=decl + int id: @abstract_storage_decl ref, + int index: int ref, + int accessor: @accessor_or_none ref +); + +enum_element_decls( //dir=decl + unique int id: @enum_element_decl, + string name: string ref +); + +#keyset[id, index] +enum_element_decl_params( //dir=decl + int id: @enum_element_decl ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +@function = + @accessor_or_named_function +| @deinitializer +| @initializer +; + +infix_operator_decls( //dir=decl + unique int id: @infix_operator_decl +); + +#keyset[id] +infix_operator_decl_precedence_groups( //dir=decl + int id: @infix_operator_decl ref, + int precedence_group: @precedence_group_decl_or_none ref +); + +macro_decls( //dir=decl + unique int id: @macro_decl, + string name: string ref +); + +#keyset[id, index] +macro_decl_parameters( //dir=decl + int id: @macro_decl ref, + int index: int ref, + int parameter: @param_decl_or_none ref +); + +#keyset[id, index] +macro_decl_roles( //dir=decl + int id: @macro_decl ref, + int index: int ref, + int role: @macro_role_or_none ref +); + +postfix_operator_decls( //dir=decl + unique int id: @postfix_operator_decl +); + +prefix_operator_decls( //dir=decl + unique int id: @prefix_operator_decl +); + +@type_decl = + @abstract_type_param_decl +| @generic_type_decl +| @module_decl +; + +#keyset[id] +type_decls( //dir=decl + int id: @type_decl ref, + string name: string ref +); + +#keyset[id, index] +type_decl_inherited_types( //dir=decl + int id: @type_decl ref, + int index: int ref, + int inherited_type: @type_or_none ref +); + +@abstract_type_param_decl = + @associated_type_decl +| @generic_type_param_decl +; + +@accessor_or_named_function = + @accessor +| @named_function +; + +deinitializers( //dir=decl + unique int id: @deinitializer +); + +@generic_type_decl = + @nominal_type_decl +| @opaque_type_decl +| @type_alias_decl +; + +initializers( //dir=decl + unique int id: @initializer +); + +module_decls( //dir=decl + unique int id: @module_decl +); + +#keyset[id] +module_decl_is_builtin_module( //dir=decl + int id: @module_decl ref +); + +#keyset[id] +module_decl_is_system_module( //dir=decl + int id: @module_decl ref +); + +module_decl_imported_modules( //dir=decl + int id: @module_decl ref, + int imported_module: @module_decl_or_none ref +); + +module_decl_exported_modules( //dir=decl + int id: @module_decl ref, + int exported_module: @module_decl_or_none ref +); + +subscript_decls( //dir=decl + unique int id: @subscript_decl, + int element_type: @type_or_none ref +); + +#keyset[id, index] +subscript_decl_params( //dir=decl + int id: @subscript_decl ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +@var_decl = + @concrete_var_decl +| @param_decl +; + +#keyset[id] +var_decls( //dir=decl + int id: @var_decl ref, + string name: string ref, + int type_: @type_or_none ref +); + +#keyset[id] +var_decl_attached_property_wrapper_types( //dir=decl + int id: @var_decl ref, + int attached_property_wrapper_type: @type_or_none ref +); + +#keyset[id] +var_decl_parent_patterns( //dir=decl + int id: @var_decl ref, + int parent_pattern: @pattern_or_none ref +); + +#keyset[id] +var_decl_parent_initializers( //dir=decl + int id: @var_decl ref, + int parent_initializer: @expr_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_backing_var_bindings( //dir=decl + int id: @var_decl ref, + int property_wrapper_backing_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_backing_vars( //dir=decl + int id: @var_decl ref, + int property_wrapper_backing_var: @var_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_projection_var_bindings( //dir=decl + int id: @var_decl ref, + int property_wrapper_projection_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_projection_vars( //dir=decl + int id: @var_decl ref, + int property_wrapper_projection_var: @var_decl_or_none ref +); + +accessors( //dir=decl + unique int id: @accessor +); + +#keyset[id] +accessor_is_getter( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_setter( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_will_set( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_did_set( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_read( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_modify( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_unsafe_address( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_unsafe_mutable_address( //dir=decl + int id: @accessor ref +); + +associated_type_decls( //dir=decl + unique int id: @associated_type_decl +); + +concrete_var_decls( //dir=decl + unique int id: @concrete_var_decl, + int introducer_int: int ref +); + +generic_type_param_decls( //dir=decl + unique int id: @generic_type_param_decl +); + +named_functions( //dir=decl + unique int id: @named_function +); + +@nominal_type_decl = + @class_decl +| @enum_decl +| @protocol_decl +| @struct_decl +; + +#keyset[id] +nominal_type_decls( //dir=decl + int id: @nominal_type_decl ref, + int type_: @type_or_none ref +); + +opaque_type_decls( //dir=decl + unique int id: @opaque_type_decl, + int naming_declaration: @value_decl_or_none ref +); + +#keyset[id, index] +opaque_type_decl_opaque_generic_params( //dir=decl + int id: @opaque_type_decl ref, + int index: int ref, + int opaque_generic_param: @generic_type_param_type_or_none ref +); + +param_decls( //dir=decl + unique int id: @param_decl +); + +#keyset[id] +param_decl_is_inout( //dir=decl + int id: @param_decl ref +); + +#keyset[id] +param_decl_property_wrapper_local_wrapped_var_bindings( //dir=decl + int id: @param_decl ref, + int property_wrapper_local_wrapped_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +param_decl_property_wrapper_local_wrapped_vars( //dir=decl + int id: @param_decl ref, + int property_wrapper_local_wrapped_var: @var_decl_or_none ref +); + +type_alias_decls( //dir=decl + unique int id: @type_alias_decl, + int aliased_type: @type_or_none ref +); + +class_decls( //dir=decl + unique int id: @class_decl +); + +enum_decls( //dir=decl + unique int id: @enum_decl +); + +protocol_decls( //dir=decl + unique int id: @protocol_decl +); + +struct_decls( //dir=decl + unique int id: @struct_decl +); + +arguments( //dir=expr + unique int id: @argument, + string label: string ref, + int expr: @expr_or_none ref +); + +@expr = + @any_try_expr +| @applied_property_wrapper_expr +| @apply_expr +| @assign_expr +| @bind_optional_expr +| @capture_list_expr +| @closure_expr +| @collection_expr +| @consume_expr +| @copy_expr +| @decl_ref_expr +| @default_argument_expr +| @discard_assignment_expr +| @dot_syntax_base_ignored_expr +| @dynamic_type_expr +| @enum_is_case_expr +| @error_expr +| @explicit_cast_expr +| @force_value_expr +| @identity_expr +| @if_expr +| @implicit_conversion_expr +| @in_out_expr +| @key_path_application_expr +| @key_path_dot_expr +| @key_path_expr +| @lazy_initialization_expr +| @literal_expr +| @lookup_expr +| @make_temporarily_escapable_expr +| @materialize_pack_expr +| @obj_c_selector_expr +| @one_way_expr +| @opaque_value_expr +| @open_existential_expr +| @optional_evaluation_expr +| @other_initializer_ref_expr +| @overloaded_decl_ref_expr +| @pack_element_expr +| @pack_expansion_expr +| @property_wrapper_value_placeholder_expr +| @rebind_self_in_initializer_expr +| @sequence_expr +| @single_value_stmt_expr +| @super_ref_expr +| @tap_expr +| @tuple_element_expr +| @tuple_expr +| @type_expr +| @unresolved_decl_ref_expr +| @unresolved_dot_expr +| @unresolved_member_expr +| @unresolved_pattern_expr +| @unresolved_specialize_expr +| @vararg_expansion_expr +; + +#keyset[id] +expr_types( //dir=expr + int id: @expr ref, + int type_: @type_or_none ref +); + +@any_try_expr = + @force_try_expr +| @optional_try_expr +| @try_expr +; + +#keyset[id] +any_try_exprs( //dir=expr + int id: @any_try_expr ref, + int sub_expr: @expr_or_none ref +); + +applied_property_wrapper_exprs( //dir=expr + unique int id: @applied_property_wrapper_expr, + int kind: int ref, + int value: @expr_or_none ref, + int param: @param_decl_or_none ref +); + +@apply_expr = + @binary_expr +| @call_expr +| @postfix_unary_expr +| @prefix_unary_expr +| @self_apply_expr +; + +#keyset[id] +apply_exprs( //dir=expr + int id: @apply_expr ref, + int function: @expr_or_none ref +); + +#keyset[id, index] +apply_expr_arguments( //dir=expr + int id: @apply_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +assign_exprs( //dir=expr + unique int id: @assign_expr, + int dest: @expr_or_none ref, + int source: @expr_or_none ref +); + +bind_optional_exprs( //dir=expr + unique int id: @bind_optional_expr, + int sub_expr: @expr_or_none ref +); + +capture_list_exprs( //dir=expr + unique int id: @capture_list_expr, + int closure_body: @closure_expr_or_none ref +); + +#keyset[id, index] +capture_list_expr_binding_decls( //dir=expr + int id: @capture_list_expr ref, + int index: int ref, + int binding_decl: @pattern_binding_decl_or_none ref +); + +@closure_expr = + @auto_closure_expr +| @explicit_closure_expr +; + +@collection_expr = + @array_expr +| @dictionary_expr +; + +consume_exprs( //dir=expr + unique int id: @consume_expr, + int sub_expr: @expr_or_none ref +); + +copy_exprs( //dir=expr + unique int id: @copy_expr, + int sub_expr: @expr_or_none ref +); + +decl_ref_exprs( //dir=expr + unique int id: @decl_ref_expr, + int decl: @decl_or_none ref +); + +#keyset[id, index] +decl_ref_expr_replacement_types( //dir=expr + int id: @decl_ref_expr ref, + int index: int ref, + int replacement_type: @type_or_none ref +); + +#keyset[id] +decl_ref_expr_has_direct_to_storage_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_ordinary_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_distributed_thunk_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +default_argument_exprs( //dir=expr + unique int id: @default_argument_expr, + int param_decl: @param_decl_or_none ref, + int param_index: int ref +); + +#keyset[id] +default_argument_expr_caller_side_defaults( //dir=expr + int id: @default_argument_expr ref, + int caller_side_default: @expr_or_none ref +); + +discard_assignment_exprs( //dir=expr + unique int id: @discard_assignment_expr +); + +dot_syntax_base_ignored_exprs( //dir=expr + unique int id: @dot_syntax_base_ignored_expr, + int qualifier: @expr_or_none ref, + int sub_expr: @expr_or_none ref +); + +dynamic_type_exprs( //dir=expr + unique int id: @dynamic_type_expr, + int base: @expr_or_none ref +); + +enum_is_case_exprs( //dir=expr + unique int id: @enum_is_case_expr, + int sub_expr: @expr_or_none ref, + int element: @enum_element_decl_or_none ref +); + +error_exprs( //dir=expr + unique int id: @error_expr +); + +@explicit_cast_expr = + @checked_cast_expr +| @coerce_expr +; + +#keyset[id] +explicit_cast_exprs( //dir=expr + int id: @explicit_cast_expr ref, + int sub_expr: @expr_or_none ref +); + +force_value_exprs( //dir=expr + unique int id: @force_value_expr, + int sub_expr: @expr_or_none ref +); + +@identity_expr = + @await_expr +| @borrow_expr +| @dot_self_expr +| @paren_expr +| @unresolved_member_chain_result_expr +; + +#keyset[id] +identity_exprs( //dir=expr + int id: @identity_expr ref, + int sub_expr: @expr_or_none ref +); + +if_exprs( //dir=expr + unique int id: @if_expr, + int condition: @expr_or_none ref, + int then_expr: @expr_or_none ref, + int else_expr: @expr_or_none ref +); + +@implicit_conversion_expr = + @abi_safe_conversion_expr +| @any_hashable_erasure_expr +| @archetype_to_super_expr +| @array_to_pointer_expr +| @bridge_from_obj_c_expr +| @bridge_to_obj_c_expr +| @class_metatype_to_object_expr +| @collection_upcast_conversion_expr +| @conditional_bridge_from_obj_c_expr +| @covariant_function_conversion_expr +| @covariant_return_conversion_expr +| @derived_to_base_expr +| @destructure_tuple_expr +| @differentiable_function_expr +| @differentiable_function_extract_original_expr +| @erasure_expr +| @existential_metatype_to_object_expr +| @foreign_object_conversion_expr +| @function_conversion_expr +| @in_out_to_pointer_expr +| @inject_into_optional_expr +| @linear_function_expr +| @linear_function_extract_original_expr +| @linear_to_differentiable_function_expr +| @load_expr +| @metatype_conversion_expr +| @pointer_to_pointer_expr +| @protocol_metatype_to_object_expr +| @string_to_pointer_expr +| @underlying_to_opaque_expr +| @unevaluated_instance_expr +| @unresolved_type_conversion_expr +; + +#keyset[id] +implicit_conversion_exprs( //dir=expr + int id: @implicit_conversion_expr ref, + int sub_expr: @expr_or_none ref +); + +in_out_exprs( //dir=expr + unique int id: @in_out_expr, + int sub_expr: @expr_or_none ref +); + +key_path_application_exprs( //dir=expr + unique int id: @key_path_application_expr, + int base: @expr_or_none ref, + int key_path: @expr_or_none ref +); + +key_path_dot_exprs( //dir=expr + unique int id: @key_path_dot_expr +); + +key_path_exprs( //dir=expr + unique int id: @key_path_expr +); + +#keyset[id] +key_path_expr_roots( //dir=expr + int id: @key_path_expr ref, + int root: @type_repr_or_none ref +); + +#keyset[id, index] +key_path_expr_components( //dir=expr + int id: @key_path_expr ref, + int index: int ref, + int component: @key_path_component_or_none ref +); + +lazy_initialization_exprs( //dir=expr + unique int id: @lazy_initialization_expr, + int sub_expr: @expr_or_none ref +); + +@literal_expr = + @builtin_literal_expr +| @interpolated_string_literal_expr +| @nil_literal_expr +| @object_literal_expr +| @regex_literal_expr +; + +@lookup_expr = + @dynamic_lookup_expr +| @member_ref_expr +| @subscript_expr +; + +#keyset[id] +lookup_exprs( //dir=expr + int id: @lookup_expr ref, + int base: @expr_or_none ref +); + +#keyset[id] +lookup_expr_members( //dir=expr + int id: @lookup_expr ref, + int member: @decl_or_none ref +); + +make_temporarily_escapable_exprs( //dir=expr + unique int id: @make_temporarily_escapable_expr, + int escaping_closure: @opaque_value_expr_or_none ref, + int nonescaping_closure: @expr_or_none ref, + int sub_expr: @expr_or_none ref +); + +materialize_pack_exprs( //dir=expr + unique int id: @materialize_pack_expr, + int sub_expr: @expr_or_none ref +); + +obj_c_selector_exprs( //dir=expr + unique int id: @obj_c_selector_expr, + int sub_expr: @expr_or_none ref, + int method: @function_or_none ref +); + +one_way_exprs( //dir=expr + unique int id: @one_way_expr, + int sub_expr: @expr_or_none ref +); + +opaque_value_exprs( //dir=expr + unique int id: @opaque_value_expr +); + +open_existential_exprs( //dir=expr + unique int id: @open_existential_expr, + int sub_expr: @expr_or_none ref, + int existential: @expr_or_none ref, + int opaque_expr: @opaque_value_expr_or_none ref +); + +optional_evaluation_exprs( //dir=expr + unique int id: @optional_evaluation_expr, + int sub_expr: @expr_or_none ref +); + +other_initializer_ref_exprs( //dir=expr + unique int id: @other_initializer_ref_expr, + int initializer: @initializer_or_none ref +); + +overloaded_decl_ref_exprs( //dir=expr + unique int id: @overloaded_decl_ref_expr +); + +#keyset[id, index] +overloaded_decl_ref_expr_possible_declarations( //dir=expr + int id: @overloaded_decl_ref_expr ref, + int index: int ref, + int possible_declaration: @value_decl_or_none ref +); + +pack_element_exprs( //dir=expr + unique int id: @pack_element_expr, + int sub_expr: @expr_or_none ref +); + +pack_expansion_exprs( //dir=expr + unique int id: @pack_expansion_expr, + int pattern_expr: @expr_or_none ref +); + +property_wrapper_value_placeholder_exprs( //dir=expr + unique int id: @property_wrapper_value_placeholder_expr, + int placeholder: @opaque_value_expr_or_none ref +); + +#keyset[id] +property_wrapper_value_placeholder_expr_wrapped_values( //dir=expr + int id: @property_wrapper_value_placeholder_expr ref, + int wrapped_value: @expr_or_none ref +); + +rebind_self_in_initializer_exprs( //dir=expr + unique int id: @rebind_self_in_initializer_expr, + int sub_expr: @expr_or_none ref, + int self: @var_decl_or_none ref +); + +sequence_exprs( //dir=expr + unique int id: @sequence_expr +); + +#keyset[id, index] +sequence_expr_elements( //dir=expr + int id: @sequence_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +single_value_stmt_exprs( //dir=expr + unique int id: @single_value_stmt_expr, + int stmt: @stmt_or_none ref +); + +super_ref_exprs( //dir=expr + unique int id: @super_ref_expr, + int self: @var_decl_or_none ref +); + +tap_exprs( //dir=expr + unique int id: @tap_expr, + int body: @brace_stmt_or_none ref, + int var: @var_decl_or_none ref +); + +#keyset[id] +tap_expr_sub_exprs( //dir=expr + int id: @tap_expr ref, + int sub_expr: @expr_or_none ref +); + +tuple_element_exprs( //dir=expr + unique int id: @tuple_element_expr, + int sub_expr: @expr_or_none ref, + int index: int ref +); + +tuple_exprs( //dir=expr + unique int id: @tuple_expr +); + +#keyset[id, index] +tuple_expr_elements( //dir=expr + int id: @tuple_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +type_exprs( //dir=expr + unique int id: @type_expr +); + +#keyset[id] +type_expr_type_reprs( //dir=expr + int id: @type_expr ref, + int type_repr: @type_repr_or_none ref +); + +unresolved_decl_ref_exprs( //dir=expr + unique int id: @unresolved_decl_ref_expr +); + +#keyset[id] +unresolved_decl_ref_expr_names( //dir=expr + int id: @unresolved_decl_ref_expr ref, + string name: string ref +); + +unresolved_dot_exprs( //dir=expr + unique int id: @unresolved_dot_expr, + int base: @expr_or_none ref, + string name: string ref +); + +unresolved_member_exprs( //dir=expr + unique int id: @unresolved_member_expr, + string name: string ref +); + +unresolved_pattern_exprs( //dir=expr + unique int id: @unresolved_pattern_expr, + int sub_pattern: @pattern_or_none ref +); + +unresolved_specialize_exprs( //dir=expr + unique int id: @unresolved_specialize_expr, + int sub_expr: @expr_or_none ref +); + +vararg_expansion_exprs( //dir=expr + unique int id: @vararg_expansion_expr, + int sub_expr: @expr_or_none ref +); + +abi_safe_conversion_exprs( //dir=expr + unique int id: @abi_safe_conversion_expr +); + +any_hashable_erasure_exprs( //dir=expr + unique int id: @any_hashable_erasure_expr +); + +archetype_to_super_exprs( //dir=expr + unique int id: @archetype_to_super_expr +); + +array_exprs( //dir=expr + unique int id: @array_expr +); + +#keyset[id, index] +array_expr_elements( //dir=expr + int id: @array_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +array_to_pointer_exprs( //dir=expr + unique int id: @array_to_pointer_expr +); + +auto_closure_exprs( //dir=expr + unique int id: @auto_closure_expr +); + +await_exprs( //dir=expr + unique int id: @await_expr +); + +binary_exprs( //dir=expr + unique int id: @binary_expr +); + +borrow_exprs( //dir=expr + unique int id: @borrow_expr +); + +bridge_from_obj_c_exprs( //dir=expr + unique int id: @bridge_from_obj_c_expr +); + +bridge_to_obj_c_exprs( //dir=expr + unique int id: @bridge_to_obj_c_expr +); + +@builtin_literal_expr = + @boolean_literal_expr +| @magic_identifier_literal_expr +| @number_literal_expr +| @string_literal_expr +; + +call_exprs( //dir=expr + unique int id: @call_expr +); + +@checked_cast_expr = + @conditional_checked_cast_expr +| @forced_checked_cast_expr +| @is_expr +; + +class_metatype_to_object_exprs( //dir=expr + unique int id: @class_metatype_to_object_expr +); + +coerce_exprs( //dir=expr + unique int id: @coerce_expr +); + +collection_upcast_conversion_exprs( //dir=expr + unique int id: @collection_upcast_conversion_expr +); + +conditional_bridge_from_obj_c_exprs( //dir=expr + unique int id: @conditional_bridge_from_obj_c_expr +); + +covariant_function_conversion_exprs( //dir=expr + unique int id: @covariant_function_conversion_expr +); + +covariant_return_conversion_exprs( //dir=expr + unique int id: @covariant_return_conversion_expr +); + +derived_to_base_exprs( //dir=expr + unique int id: @derived_to_base_expr +); + +destructure_tuple_exprs( //dir=expr + unique int id: @destructure_tuple_expr +); + +dictionary_exprs( //dir=expr + unique int id: @dictionary_expr +); + +#keyset[id, index] +dictionary_expr_elements( //dir=expr + int id: @dictionary_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +differentiable_function_exprs( //dir=expr + unique int id: @differentiable_function_expr +); + +differentiable_function_extract_original_exprs( //dir=expr + unique int id: @differentiable_function_extract_original_expr +); + +dot_self_exprs( //dir=expr + unique int id: @dot_self_expr +); + +@dynamic_lookup_expr = + @dynamic_member_ref_expr +| @dynamic_subscript_expr +; + +erasure_exprs( //dir=expr + unique int id: @erasure_expr +); + +existential_metatype_to_object_exprs( //dir=expr + unique int id: @existential_metatype_to_object_expr +); + +explicit_closure_exprs( //dir=expr + unique int id: @explicit_closure_expr +); + +force_try_exprs( //dir=expr + unique int id: @force_try_expr +); + +foreign_object_conversion_exprs( //dir=expr + unique int id: @foreign_object_conversion_expr +); + +function_conversion_exprs( //dir=expr + unique int id: @function_conversion_expr +); + +in_out_to_pointer_exprs( //dir=expr + unique int id: @in_out_to_pointer_expr +); + +inject_into_optional_exprs( //dir=expr + unique int id: @inject_into_optional_expr +); + +interpolated_string_literal_exprs( //dir=expr + unique int id: @interpolated_string_literal_expr +); + +#keyset[id] +interpolated_string_literal_expr_interpolation_exprs( //dir=expr + int id: @interpolated_string_literal_expr ref, + int interpolation_expr: @opaque_value_expr_or_none ref +); + +#keyset[id] +interpolated_string_literal_expr_appending_exprs( //dir=expr + int id: @interpolated_string_literal_expr ref, + int appending_expr: @tap_expr_or_none ref +); + +linear_function_exprs( //dir=expr + unique int id: @linear_function_expr +); + +linear_function_extract_original_exprs( //dir=expr + unique int id: @linear_function_extract_original_expr +); + +linear_to_differentiable_function_exprs( //dir=expr + unique int id: @linear_to_differentiable_function_expr +); + +load_exprs( //dir=expr + unique int id: @load_expr +); + +member_ref_exprs( //dir=expr + unique int id: @member_ref_expr +); + +#keyset[id] +member_ref_expr_has_direct_to_storage_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_ordinary_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_distributed_thunk_semantics( //dir=expr + int id: @member_ref_expr ref +); + +metatype_conversion_exprs( //dir=expr + unique int id: @metatype_conversion_expr +); + +nil_literal_exprs( //dir=expr + unique int id: @nil_literal_expr +); + +object_literal_exprs( //dir=expr + unique int id: @object_literal_expr, + int kind: int ref +); + +#keyset[id, index] +object_literal_expr_arguments( //dir=expr + int id: @object_literal_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +optional_try_exprs( //dir=expr + unique int id: @optional_try_expr +); + +paren_exprs( //dir=expr + unique int id: @paren_expr +); + +pointer_to_pointer_exprs( //dir=expr + unique int id: @pointer_to_pointer_expr +); + +postfix_unary_exprs( //dir=expr + unique int id: @postfix_unary_expr +); + +prefix_unary_exprs( //dir=expr + unique int id: @prefix_unary_expr +); + +protocol_metatype_to_object_exprs( //dir=expr + unique int id: @protocol_metatype_to_object_expr +); + +regex_literal_exprs( //dir=expr + unique int id: @regex_literal_expr, + string pattern: string ref, + int version: int ref +); + +@self_apply_expr = + @dot_syntax_call_expr +| @initializer_ref_call_expr +; + +#keyset[id] +self_apply_exprs( //dir=expr + int id: @self_apply_expr ref, + int base: @expr_or_none ref +); + +string_to_pointer_exprs( //dir=expr + unique int id: @string_to_pointer_expr +); + +subscript_exprs( //dir=expr + unique int id: @subscript_expr +); + +#keyset[id, index] +subscript_expr_arguments( //dir=expr + int id: @subscript_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +#keyset[id] +subscript_expr_has_direct_to_storage_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_ordinary_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_distributed_thunk_semantics( //dir=expr + int id: @subscript_expr ref +); + +try_exprs( //dir=expr + unique int id: @try_expr +); + +underlying_to_opaque_exprs( //dir=expr + unique int id: @underlying_to_opaque_expr +); + +unevaluated_instance_exprs( //dir=expr + unique int id: @unevaluated_instance_expr +); + +unresolved_member_chain_result_exprs( //dir=expr + unique int id: @unresolved_member_chain_result_expr +); + +unresolved_type_conversion_exprs( //dir=expr + unique int id: @unresolved_type_conversion_expr +); + +boolean_literal_exprs( //dir=expr + unique int id: @boolean_literal_expr, + boolean value: boolean ref +); + +conditional_checked_cast_exprs( //dir=expr + unique int id: @conditional_checked_cast_expr +); + +dot_syntax_call_exprs( //dir=expr + unique int id: @dot_syntax_call_expr +); + +dynamic_member_ref_exprs( //dir=expr + unique int id: @dynamic_member_ref_expr +); + +dynamic_subscript_exprs( //dir=expr + unique int id: @dynamic_subscript_expr +); + +forced_checked_cast_exprs( //dir=expr + unique int id: @forced_checked_cast_expr +); + +initializer_ref_call_exprs( //dir=expr + unique int id: @initializer_ref_call_expr +); + +is_exprs( //dir=expr + unique int id: @is_expr +); + +magic_identifier_literal_exprs( //dir=expr + unique int id: @magic_identifier_literal_expr, + string kind: string ref +); + +@number_literal_expr = + @float_literal_expr +| @integer_literal_expr +; + +string_literal_exprs( //dir=expr + unique int id: @string_literal_expr, + string value: string ref +); + +float_literal_exprs( //dir=expr + unique int id: @float_literal_expr, + string string_value: string ref +); + +integer_literal_exprs( //dir=expr + unique int id: @integer_literal_expr, + string string_value: string ref +); + +@pattern = + @any_pattern +| @binding_pattern +| @bool_pattern +| @enum_element_pattern +| @expr_pattern +| @is_pattern +| @named_pattern +| @optional_some_pattern +| @paren_pattern +| @tuple_pattern +| @typed_pattern +; + +#keyset[id] +pattern_types( //dir=pattern + int id: @pattern ref, + int type_: @type_or_none ref +); + +any_patterns( //dir=pattern + unique int id: @any_pattern +); + +binding_patterns( //dir=pattern + unique int id: @binding_pattern, + int sub_pattern: @pattern_or_none ref +); + +bool_patterns( //dir=pattern + unique int id: @bool_pattern, + boolean value: boolean ref +); + +enum_element_patterns( //dir=pattern + unique int id: @enum_element_pattern, + int element: @enum_element_decl_or_none ref +); + +#keyset[id] +enum_element_pattern_sub_patterns( //dir=pattern + int id: @enum_element_pattern ref, + int sub_pattern: @pattern_or_none ref +); + +expr_patterns( //dir=pattern + unique int id: @expr_pattern, + int sub_expr: @expr_or_none ref +); + +is_patterns( //dir=pattern + unique int id: @is_pattern +); + +#keyset[id] +is_pattern_cast_type_reprs( //dir=pattern + int id: @is_pattern ref, + int cast_type_repr: @type_repr_or_none ref +); + +#keyset[id] +is_pattern_sub_patterns( //dir=pattern + int id: @is_pattern ref, + int sub_pattern: @pattern_or_none ref +); + +named_patterns( //dir=pattern + unique int id: @named_pattern, + int var_decl: @var_decl_or_none ref +); + +optional_some_patterns( //dir=pattern + unique int id: @optional_some_pattern, + int sub_pattern: @pattern_or_none ref +); + +paren_patterns( //dir=pattern + unique int id: @paren_pattern, + int sub_pattern: @pattern_or_none ref +); + +tuple_patterns( //dir=pattern + unique int id: @tuple_pattern +); + +#keyset[id, index] +tuple_pattern_elements( //dir=pattern + int id: @tuple_pattern ref, + int index: int ref, + int element: @pattern_or_none ref +); + +typed_patterns( //dir=pattern + unique int id: @typed_pattern, + int sub_pattern: @pattern_or_none ref +); + +#keyset[id] +typed_pattern_type_reprs( //dir=pattern + int id: @typed_pattern ref, + int type_repr: @type_repr_or_none ref +); + +case_label_items( //dir=stmt + unique int id: @case_label_item, + int pattern: @pattern_or_none ref +); + +#keyset[id] +case_label_item_guards( //dir=stmt + int id: @case_label_item ref, + int guard: @expr_or_none ref +); + +condition_elements( //dir=stmt + unique int id: @condition_element +); + +#keyset[id] +condition_element_booleans( //dir=stmt + int id: @condition_element ref, + int boolean_: @expr_or_none ref +); + +#keyset[id] +condition_element_patterns( //dir=stmt + int id: @condition_element ref, + int pattern: @pattern_or_none ref +); + +#keyset[id] +condition_element_initializers( //dir=stmt + int id: @condition_element ref, + int initializer: @expr_or_none ref +); + +#keyset[id] +condition_element_availabilities( //dir=stmt + int id: @condition_element ref, + int availability: @availability_info_or_none ref +); + +@stmt = + @brace_stmt +| @break_stmt +| @case_stmt +| @continue_stmt +| @defer_stmt +| @discard_stmt +| @fail_stmt +| @fallthrough_stmt +| @labeled_stmt +| @pound_assert_stmt +| @return_stmt +| @then_stmt +| @throw_stmt +| @yield_stmt +; + +stmt_conditions( //dir=stmt + unique int id: @stmt_condition +); + +#keyset[id, index] +stmt_condition_elements( //dir=stmt + int id: @stmt_condition ref, + int index: int ref, + int element: @condition_element_or_none ref +); + +brace_stmts( //dir=stmt + unique int id: @brace_stmt +); + +#keyset[id, index] +brace_stmt_elements( //dir=stmt + int id: @brace_stmt ref, + int index: int ref, + int element: @ast_node_or_none ref +); + +break_stmts( //dir=stmt + unique int id: @break_stmt +); + +#keyset[id] +break_stmt_target_names( //dir=stmt + int id: @break_stmt ref, + string target_name: string ref +); + +#keyset[id] +break_stmt_targets( //dir=stmt + int id: @break_stmt ref, + int target: @stmt_or_none ref +); + +case_stmts( //dir=stmt + unique int id: @case_stmt, + int body: @stmt_or_none ref +); + +#keyset[id, index] +case_stmt_labels( //dir=stmt + int id: @case_stmt ref, + int index: int ref, + int label: @case_label_item_or_none ref +); + +#keyset[id, index] +case_stmt_variables( //dir=stmt + int id: @case_stmt ref, + int index: int ref, + int variable: @var_decl_or_none ref +); + +continue_stmts( //dir=stmt + unique int id: @continue_stmt +); + +#keyset[id] +continue_stmt_target_names( //dir=stmt + int id: @continue_stmt ref, + string target_name: string ref +); + +#keyset[id] +continue_stmt_targets( //dir=stmt + int id: @continue_stmt ref, + int target: @stmt_or_none ref +); + +defer_stmts( //dir=stmt + unique int id: @defer_stmt, + int body: @brace_stmt_or_none ref +); + +discard_stmts( //dir=stmt + unique int id: @discard_stmt, + int sub_expr: @expr_or_none ref +); + +fail_stmts( //dir=stmt + unique int id: @fail_stmt +); + +fallthrough_stmts( //dir=stmt + unique int id: @fallthrough_stmt, + int fallthrough_source: @case_stmt_or_none ref, + int fallthrough_dest: @case_stmt_or_none ref +); + +@labeled_stmt = + @do_catch_stmt +| @do_stmt +| @for_each_stmt +| @labeled_conditional_stmt +| @repeat_while_stmt +| @switch_stmt +; + +#keyset[id] +labeled_stmt_labels( //dir=stmt + int id: @labeled_stmt ref, + string label: string ref +); + +pound_assert_stmts( //dir=stmt + unique int id: @pound_assert_stmt, + int condition: @expr_or_none ref, + string message: string ref +); + +return_stmts( //dir=stmt + unique int id: @return_stmt +); + +#keyset[id] +return_stmt_results( //dir=stmt + int id: @return_stmt ref, + int result: @expr_or_none ref +); + +then_stmts( //dir=stmt + unique int id: @then_stmt, + int result: @expr_or_none ref +); + +throw_stmts( //dir=stmt + unique int id: @throw_stmt, + int sub_expr: @expr_or_none ref +); + +yield_stmts( //dir=stmt + unique int id: @yield_stmt +); + +#keyset[id, index] +yield_stmt_results( //dir=stmt + int id: @yield_stmt ref, + int index: int ref, + int result: @expr_or_none ref +); + +do_catch_stmts( //dir=stmt + unique int id: @do_catch_stmt, + int body: @stmt_or_none ref +); + +#keyset[id, index] +do_catch_stmt_catches( //dir=stmt + int id: @do_catch_stmt ref, + int index: int ref, + int catch: @case_stmt_or_none ref +); + +do_stmts( //dir=stmt + unique int id: @do_stmt, + int body: @brace_stmt_or_none ref +); + +for_each_stmts( //dir=stmt + unique int id: @for_each_stmt, + int pattern: @pattern_or_none ref, + int body: @brace_stmt_or_none ref +); + +#keyset[id] +for_each_stmt_wheres( //dir=stmt + int id: @for_each_stmt ref, + int where: @expr_or_none ref +); + +#keyset[id] +for_each_stmt_iterator_vars( //dir=stmt + int id: @for_each_stmt ref, + int iteratorVar: @pattern_binding_decl_or_none ref +); + +#keyset[id] +for_each_stmt_next_calls( //dir=stmt + int id: @for_each_stmt ref, + int nextCall: @expr_or_none ref +); + +@labeled_conditional_stmt = + @guard_stmt +| @if_stmt +| @while_stmt +; + +#keyset[id] +labeled_conditional_stmts( //dir=stmt + int id: @labeled_conditional_stmt ref, + int condition: @stmt_condition_or_none ref +); + +repeat_while_stmts( //dir=stmt + unique int id: @repeat_while_stmt, + int condition: @expr_or_none ref, + int body: @stmt_or_none ref +); + +switch_stmts( //dir=stmt + unique int id: @switch_stmt, + int expr: @expr_or_none ref +); + +#keyset[id, index] +switch_stmt_cases( //dir=stmt + int id: @switch_stmt ref, + int index: int ref, + int case_: @case_stmt_or_none ref +); + +guard_stmts( //dir=stmt + unique int id: @guard_stmt, + int body: @brace_stmt_or_none ref +); + +if_stmts( //dir=stmt + unique int id: @if_stmt, + int then: @stmt_or_none ref +); + +#keyset[id] +if_stmt_elses( //dir=stmt + int id: @if_stmt ref, + int else: @stmt_or_none ref +); + +while_stmts( //dir=stmt + unique int id: @while_stmt, + int body: @stmt_or_none ref +); + +@type = + @any_function_type +| @any_generic_type +| @any_metatype_type +| @builtin_type +| @dependent_member_type +| @dynamic_self_type +| @error_type +| @existential_type +| @in_out_type +| @l_value_type +| @module_type +| @pack_element_type +| @pack_expansion_type +| @pack_type +| @parameterized_protocol_type +| @protocol_composition_type +| @reference_storage_type +| @substitutable_type +| @sugar_type +| @tuple_type +| @unresolved_type +; + +#keyset[id] +types( //dir=type + int id: @type ref, + string name: string ref, + int canonical_type: @type_or_none ref +); + +type_reprs( //dir=type + unique int id: @type_repr, + int type_: @type_or_none ref +); + +@any_function_type = + @function_type +| @generic_function_type +; + +#keyset[id] +any_function_types( //dir=type + int id: @any_function_type ref, + int result: @type_or_none ref +); + +#keyset[id, index] +any_function_type_param_types( //dir=type + int id: @any_function_type ref, + int index: int ref, + int param_type: @type_or_none ref +); + +#keyset[id] +any_function_type_is_throwing( //dir=type + int id: @any_function_type ref +); + +#keyset[id] +any_function_type_is_async( //dir=type + int id: @any_function_type ref +); + +@any_generic_type = + @nominal_or_bound_generic_nominal_type +| @unbound_generic_type +; + +#keyset[id] +any_generic_types( //dir=type + int id: @any_generic_type ref, + int declaration: @generic_type_decl_or_none ref +); + +#keyset[id] +any_generic_type_parents( //dir=type + int id: @any_generic_type ref, + int parent: @type_or_none ref +); + +@any_metatype_type = + @existential_metatype_type +| @metatype_type +; + +@builtin_type = + @any_builtin_integer_type +| @builtin_bridge_object_type +| @builtin_default_actor_storage_type +| @builtin_executor_type +| @builtin_float_type +| @builtin_job_type +| @builtin_native_object_type +| @builtin_raw_pointer_type +| @builtin_raw_unsafe_continuation_type +| @builtin_unsafe_value_buffer_type +| @builtin_vector_type +; + +dependent_member_types( //dir=type + unique int id: @dependent_member_type, + int base_type: @type_or_none ref, + int associated_type_decl: @associated_type_decl_or_none ref +); + +dynamic_self_types( //dir=type + unique int id: @dynamic_self_type, + int static_self_type: @type_or_none ref +); + +error_types( //dir=type + unique int id: @error_type +); + +existential_types( //dir=type + unique int id: @existential_type, + int constraint: @type_or_none ref +); + +in_out_types( //dir=type + unique int id: @in_out_type, + int object_type: @type_or_none ref +); + +l_value_types( //dir=type + unique int id: @l_value_type, + int object_type: @type_or_none ref +); + +module_types( //dir=type + unique int id: @module_type, + int module: @module_decl_or_none ref +); + +pack_element_types( //dir=type + unique int id: @pack_element_type, + int pack_type: @type_or_none ref +); + +pack_expansion_types( //dir=type + unique int id: @pack_expansion_type, + int pattern_type: @type_or_none ref, + int count_type: @type_or_none ref +); + +pack_types( //dir=type + unique int id: @pack_type +); + +#keyset[id, index] +pack_type_elements( //dir=type + int id: @pack_type ref, + int index: int ref, + int element: @type_or_none ref +); + +parameterized_protocol_types( //dir=type + unique int id: @parameterized_protocol_type, + int base: @protocol_type_or_none ref +); + +#keyset[id, index] +parameterized_protocol_type_args( //dir=type + int id: @parameterized_protocol_type ref, + int index: int ref, + int arg: @type_or_none ref +); + +protocol_composition_types( //dir=type + unique int id: @protocol_composition_type +); + +#keyset[id, index] +protocol_composition_type_members( //dir=type + int id: @protocol_composition_type ref, + int index: int ref, + int member: @type_or_none ref +); + +@reference_storage_type = + @unmanaged_storage_type +| @unowned_storage_type +| @weak_storage_type +; + +#keyset[id] +reference_storage_types( //dir=type + int id: @reference_storage_type ref, + int referent_type: @type_or_none ref +); + +@substitutable_type = + @archetype_type +| @generic_type_param_type +; + +@sugar_type = + @paren_type +| @syntax_sugar_type +| @type_alias_type +; + +tuple_types( //dir=type + unique int id: @tuple_type +); + +#keyset[id, index] +tuple_type_types( //dir=type + int id: @tuple_type ref, + int index: int ref, + int type_: @type_or_none ref +); + +#keyset[id, index] +tuple_type_names( //dir=type + int id: @tuple_type ref, + int index: int ref, + string name: string ref +); + +unresolved_types( //dir=type + unique int id: @unresolved_type +); + +@any_builtin_integer_type = + @builtin_integer_literal_type +| @builtin_integer_type +; + +@archetype_type = + @local_archetype_type +| @opaque_type_archetype_type +| @pack_archetype_type +| @primary_archetype_type +; + +#keyset[id] +archetype_types( //dir=type + int id: @archetype_type ref, + int interface_type: @type_or_none ref +); + +#keyset[id] +archetype_type_superclasses( //dir=type + int id: @archetype_type ref, + int superclass: @type_or_none ref +); + +#keyset[id, index] +archetype_type_protocols( //dir=type + int id: @archetype_type ref, + int index: int ref, + int protocol: @protocol_decl_or_none ref +); + +builtin_bridge_object_types( //dir=type + unique int id: @builtin_bridge_object_type +); + +builtin_default_actor_storage_types( //dir=type + unique int id: @builtin_default_actor_storage_type +); + +builtin_executor_types( //dir=type + unique int id: @builtin_executor_type +); + +builtin_float_types( //dir=type + unique int id: @builtin_float_type +); + +builtin_job_types( //dir=type + unique int id: @builtin_job_type +); + +builtin_native_object_types( //dir=type + unique int id: @builtin_native_object_type +); + +builtin_raw_pointer_types( //dir=type + unique int id: @builtin_raw_pointer_type +); + +builtin_raw_unsafe_continuation_types( //dir=type + unique int id: @builtin_raw_unsafe_continuation_type +); + +builtin_unsafe_value_buffer_types( //dir=type + unique int id: @builtin_unsafe_value_buffer_type +); + +builtin_vector_types( //dir=type + unique int id: @builtin_vector_type +); + +existential_metatype_types( //dir=type + unique int id: @existential_metatype_type +); + +function_types( //dir=type + unique int id: @function_type +); + +generic_function_types( //dir=type + unique int id: @generic_function_type +); + +#keyset[id, index] +generic_function_type_generic_params( //dir=type + int id: @generic_function_type ref, + int index: int ref, + int generic_param: @generic_type_param_type_or_none ref +); + +generic_type_param_types( //dir=type + unique int id: @generic_type_param_type +); + +metatype_types( //dir=type + unique int id: @metatype_type +); + +@nominal_or_bound_generic_nominal_type = + @bound_generic_type +| @nominal_type +; + +paren_types( //dir=type + unique int id: @paren_type, + int type_: @type_or_none ref +); + +@syntax_sugar_type = + @dictionary_type +| @unary_syntax_sugar_type +; + +type_alias_types( //dir=type + unique int id: @type_alias_type, + int decl: @type_alias_decl_or_none ref +); + +unbound_generic_types( //dir=type + unique int id: @unbound_generic_type +); + +unmanaged_storage_types( //dir=type + unique int id: @unmanaged_storage_type +); + +unowned_storage_types( //dir=type + unique int id: @unowned_storage_type +); + +weak_storage_types( //dir=type + unique int id: @weak_storage_type +); + +@bound_generic_type = + @bound_generic_class_type +| @bound_generic_enum_type +| @bound_generic_struct_type +; + +#keyset[id, index] +bound_generic_type_arg_types( //dir=type + int id: @bound_generic_type ref, + int index: int ref, + int arg_type: @type_or_none ref +); + +builtin_integer_literal_types( //dir=type + unique int id: @builtin_integer_literal_type +); + +builtin_integer_types( //dir=type + unique int id: @builtin_integer_type +); + +#keyset[id] +builtin_integer_type_widths( //dir=type + int id: @builtin_integer_type ref, + int width: int ref +); + +dictionary_types( //dir=type + unique int id: @dictionary_type, + int key_type: @type_or_none ref, + int value_type: @type_or_none ref +); + +@local_archetype_type = + @element_archetype_type +| @opened_archetype_type +; + +@nominal_type = + @class_type +| @enum_type +| @protocol_type +| @struct_type +; + +opaque_type_archetype_types( //dir=type + unique int id: @opaque_type_archetype_type, + int declaration: @opaque_type_decl_or_none ref +); + +pack_archetype_types( //dir=type + unique int id: @pack_archetype_type +); + +primary_archetype_types( //dir=type + unique int id: @primary_archetype_type +); + +@unary_syntax_sugar_type = + @array_slice_type +| @optional_type +| @variadic_sequence_type +; + +#keyset[id] +unary_syntax_sugar_types( //dir=type + int id: @unary_syntax_sugar_type ref, + int base_type: @type_or_none ref +); + +array_slice_types( //dir=type + unique int id: @array_slice_type +); + +bound_generic_class_types( //dir=type + unique int id: @bound_generic_class_type +); + +bound_generic_enum_types( //dir=type + unique int id: @bound_generic_enum_type +); + +bound_generic_struct_types( //dir=type + unique int id: @bound_generic_struct_type +); + +class_types( //dir=type + unique int id: @class_type +); + +element_archetype_types( //dir=type + unique int id: @element_archetype_type +); + +enum_types( //dir=type + unique int id: @enum_type +); + +opened_archetype_types( //dir=type + unique int id: @opened_archetype_type +); + +optional_types( //dir=type + unique int id: @optional_type +); + +protocol_types( //dir=type + unique int id: @protocol_type +); + +struct_types( //dir=type + unique int id: @struct_type +); + +variadic_sequence_types( //dir=type + unique int id: @variadic_sequence_type +); + +@accessor_or_none = + @accessor +| @unspecified_element +; + +@argument_or_none = + @argument +| @unspecified_element +; + +@associated_type_decl_or_none = + @associated_type_decl +| @unspecified_element +; + +@ast_node_or_none = + @ast_node +| @unspecified_element +; + +@availability_info_or_none = + @availability_info +| @unspecified_element +; + +@availability_spec_or_none = + @availability_spec +| @unspecified_element +; + +@brace_stmt_or_none = + @brace_stmt +| @unspecified_element +; + +@captured_decl_or_none = + @captured_decl +| @unspecified_element +; + +@case_label_item_or_none = + @case_label_item +| @unspecified_element +; + +@case_stmt_or_none = + @case_stmt +| @unspecified_element +; + +@closure_expr_or_none = + @closure_expr +| @unspecified_element +; + +@condition_element_or_none = + @condition_element +| @unspecified_element +; + +@decl_or_none = + @decl +| @unspecified_element +; + +@enum_element_decl_or_none = + @enum_element_decl +| @unspecified_element +; + +@expr_or_none = + @expr +| @unspecified_element +; + +@file_or_none = + @file +| @unspecified_element +; + +@function_or_none = + @function +| @unspecified_element +; + +@generic_type_decl_or_none = + @generic_type_decl +| @unspecified_element +; + +@generic_type_param_decl_or_none = + @generic_type_param_decl +| @unspecified_element +; + +@generic_type_param_type_or_none = + @generic_type_param_type +| @unspecified_element +; + +@initializer_or_none = + @initializer +| @unspecified_element +; + +@key_path_component_or_none = + @key_path_component +| @unspecified_element +; + +@location_or_none = + @location +| @unspecified_element +; + +@macro_role_or_none = + @macro_role +| @unspecified_element +; + +@module_decl_or_none = + @module_decl +| @unspecified_element +; + +@nominal_type_decl_or_none = + @nominal_type_decl +| @unspecified_element +; + +@opaque_type_decl_or_none = + @opaque_type_decl +| @unspecified_element +; + +@opaque_value_expr_or_none = + @opaque_value_expr +| @unspecified_element +; + +@param_decl_or_none = + @param_decl +| @unspecified_element +; + +@pattern_or_none = + @pattern +| @unspecified_element +; + +@pattern_binding_decl_or_none = + @pattern_binding_decl +| @unspecified_element +; + +@precedence_group_decl_or_none = + @precedence_group_decl +| @unspecified_element +; + +@protocol_decl_or_none = + @protocol_decl +| @unspecified_element +; + +@protocol_type_or_none = + @protocol_type +| @unspecified_element +; + +@stmt_or_none = + @stmt +| @unspecified_element +; + +@stmt_condition_or_none = + @stmt_condition +| @unspecified_element +; + +@string_literal_expr_or_none = + @string_literal_expr +| @unspecified_element +; + +@tap_expr_or_none = + @tap_expr +| @unspecified_element +; + +@type_or_none = + @type +| @unspecified_element +; + +@type_alias_decl_or_none = + @type_alias_decl +| @unspecified_element +; + +@type_expr_or_none = + @type_expr +| @unspecified_element +; + +@type_repr_or_none = + @type_repr +| @unspecified_element +; + +@value_decl_or_none = + @unspecified_element +| @value_decl +; + +@var_decl_or_none = + @unspecified_element +| @var_decl +; diff --git a/swift/downgrades/44c4818a8987b5e1b3cd11e553e41045e1262451/upgrade.properties b/swift/downgrades/44c4818a8987b5e1b3cd11e553e41045e1262451/upgrade.properties new file mode 100644 index 000000000000..e3ae74522131 --- /dev/null +++ b/swift/downgrades/44c4818a8987b5e1b3cd11e553e41045e1262451/upgrade.properties @@ -0,0 +1,2 @@ +description: Changed the initial codegen comment. +compatibility: full diff --git a/swift/ql/.generated.list b/swift/ql/.generated.list index f4b04500820e..2bf794594811 100644 --- a/swift/ql/.generated.list +++ b/swift/ql/.generated.list @@ -1,1008 +1,1310 @@ +lib/codeql/swift/elements/AstNode.qll 7166b04206c7b9e7940813a31b32ce7da05ff16918c1f20bcfd641e0f36f9271 f5927c6113ce3d33f5ca65a91505994f0871a18cad32550f74d9d8b4bd43e325 +lib/codeql/swift/elements/AvailabilityInfo.qll 2de0a99071d570b7061b7c86056e3d6a31dc6900f121d90ca7d683ae7bafb768 f55c81914f76b906bf032234a7927f0783f391e27c59a5acc4050c1707b4c167 lib/codeql/swift/elements/AvailabilityInfoConstructor.qll 89c731f266122a3434b88dfd573d68c50b5c4fa5e13c2443c54f78e682190d1e 86beb6f684e08b6f557b7d67bc164113e9f5270c09bbe95fbd81c558d77f7f84 -lib/codeql/swift/elements/AvailabilitySpec.qll 0bedf3262055d92de174701777471fc729359446d75e44f09349efc61553af7a 5ca9bac9bc5bd4e06b6365910aa3faeaa3325dbbfdcc020d9486befa1e306f4e +lib/codeql/swift/elements/AvailabilitySpec.qll 4539989f8ea1f2c9cb7c53d4e7c9d5238141a37539bc9513fa892c0b860150e7 987877791f2f0fdb4175fb33837c43b5bfc58d7f0d66e0e480fc4d6945f2dc4c +lib/codeql/swift/elements/AvailabilitySpecImpl.qll 9ac9285e731938747c574c3f270aaead323656162bd34a6630c1babfaaf25a6a 900b2e638639f427506b2d0eb2806b6ee119ea63ea4ce44758e0c36f2ce915ac +lib/codeql/swift/elements/Callable.qll ec00541cc368a3f87f2394f7055b7ef64c66c1bb580068e40337f63ba0c86d95 22ad5840089ccce53bb03fd7add0916bcfe38ce481152893fa5f3fa911df2c99 +lib/codeql/swift/elements/Comment.qll 462e96caa05d57f16b019010d432a62ae406eb9159f889915591c14cd1edcd4a e185cfdfb7175b67765a25109d627de25c51f8767e680833c5241816e6c40078 lib/codeql/swift/elements/CommentConstructor.qll 46891994c032546e7323f343947fd57cabb6c0e2ad1ca78f113c5b04436be203 e05b3ba3e00437488fdf53361211c6e5c3ae14ad1fdaf32093b02bdea2076abe -lib/codeql/swift/elements/DbFile.qll 397e4fd4498d6f342f838cd7ea1d06c2564ef833e6a60b832f7e215fb4e79901 25cdf81656794f5f1bb9b55441b9deaf07b51d2d26b0960cabd474c1ff13ea3e +lib/codeql/swift/elements/DbFile.qll ef43af993406d106d94dc98ea9788c098f66c457409c3ee07a15b328fa8c3ce2 d099f8c8a75f29d5a5d60ed475065a0febae6cea2c4bb9be3fc24484d662b0ce lib/codeql/swift/elements/DbFileConstructor.qll b5b680f255180d0d38223d6ac4422f192271573dca62f2967dde874147e710df a9c8d1c7abb5516c1d22ee9e020266297e52a2cd84f892792c1e6476517a6737 -lib/codeql/swift/elements/DbLocation.qll 7ea7412bc3cf818e34a6bcc396d313360d5bd91d8f60a434c5019a5ccf50b119 b9b520fa0a5f1eb8355af43832b9e265826a9dd3505d56a3b96f19ed852031a9 +lib/codeql/swift/elements/DbFileImpl.qll 09cbe97ad1d1d464bd9a374111e4e6bee0781595e5474809c415aade04431d90 b204d164e7a10ec4a77e0052710339a2c96ba6d42da547cc03cd23c1bd898261 +lib/codeql/swift/elements/DbLocation.qll d269ed8521467c9f39550792eb5a0ec5438ea88ecb568ae6e309e5589f54bca6 dd6e3d2fccda6856f82b357daec40f0103b7a3a6bc9df2dc9342ed88e7d5ce02 lib/codeql/swift/elements/DbLocationConstructor.qll f98d927f2cc2b0b5de51eee3e0b6ed2d838042d897e95c0c7d99cdb292d946fc 1aa1bd51b7da940c9681116aa2d8ffe105000ddb2b9e36984aaa007023123899 +lib/codeql/swift/elements/DbLocationImpl.qll 52f17f00b75c10358cf8658e6bb046a77903dcbf6c3414494bf39660e6569d59 31866a2152d168563def9fa22431a27d7c8fd4abd6bb79e3bb6a16e24b622eb7 +lib/codeql/swift/elements/Diagnostics.qll 8b83823a834abbe18e4db3aab9a6fa478faa9b8e41117649588ee81d412f7823 f2bfeeb1234e32bbb70cf5bfd525055ba247f8c9ca6715d24c4f83a6cdd538c2 lib/codeql/swift/elements/DiagnosticsConstructor.qll 5212997161b95b0b10e7707843c9d3f9bf760af7a8646f26c5793507b5162224 2b9fbc9d84048d3dffa782db049e1ecdaaa1696744515e28ac4421ab265a5f67 -lib/codeql/swift/elements/ErrorElement.qll 4f11ac258e5babef18708553989ce792344e40900f96562ad472a53abff159fd d4d11f5fa399aca2991eb47f5d2d1f9ef1306e763a9b4221bc0026f3d50b3130 +lib/codeql/swift/elements/Element.qll 5b9679ea00fa55f4fffdb26717ea24172ce5a433a5df1892cee5b4d650378a25 14e07554a2bcc649b23afb0a94171b242b77eae14e8ea22bf6efb265abe09e83 +lib/codeql/swift/elements/ErrorElement.qll 5db4434df2b0d8c7ccdf00798dd99d33f98a2c4f0b5afb011c710078a8aeefd4 e167ed1f5ec3963a5d82f4047e53b4ba54b51c600b7a5c71ee8ade21f61e06ad +lib/codeql/swift/elements/ErrorElementImpl.qll 4ddf6e99bec6125bc5b24bc65d83cca131dd05748f71a85c8f0284659c3a0c49 db606ce97fdf2d2f38a66c7a4ef1437c8a3f6a57b71e426ec2bb0329d9e8a193 +lib/codeql/swift/elements/File.qll fd32f414edcebe9250633e26b56bcbc7de502ea82ea3c23c3687382affbbf510 38dd0ecac516b14cbc217611932ae37033ffac32da9c57e9e9be46f2d9fb8a2c +lib/codeql/swift/elements/KeyPathComponent.qll d7b303885b45b5597662273fbfc77f81ad60d02712271dbcf5eaf9c264aa09a0 e4586e67262dddff502deb87a3a5f615ccf7d13228d4c853d61ecc1984bf650a lib/codeql/swift/elements/KeyPathComponentConstructor.qll ff71795157639520f56ce99ed49bf25486c125a0f27a3bb3ba2c8492feca13b2 5875187267cf91e37426d817a6c0c5e7ba9ddb0bd840ad358338ba003e0a877c +lib/codeql/swift/elements/Locatable.qll a1abbb904a6c764eb140d090020e09ec63337fe6ee01359e9a1709f8009a89c4 d22f518370fef3887f23ac6a4d9d74bf29c3c3010eb4fd0222da675606ad167f +lib/codeql/swift/elements/Location.qll 3ec3c1842f10d6640f1b74961419e5d0d43e5c8695eda7b2d6dcbe28fd16d021 c65ea21e94de472bf5288bea4c1f3172b7e6d405d1027f652b4c27ca51c13c53 +lib/codeql/swift/elements/MacroRole.qll b92ac2b92f0d8e2ecbcde8a680e462079636f2e366de938b95f4e62dd11d0ea9 664f699e9173ef2abddad135cf457d283aeff6e4e26a4b173e864ac705fee2d1 lib/codeql/swift/elements/MacroRoleConstructor.qll c45c189fd441e2c23b1c94dec9f357192f5e392051e0becf52c020d830e38e54 e281ef4ba76a6e4b2b689e00f542ef585cec7a540911ccd7fbb59f3232f08a3d +lib/codeql/swift/elements/OtherAvailabilitySpec.qll 67fdc9e44016c4d232d4cc4b0cf3235bd6101f8d85de90e193b8492be35c8bdd 61a62d722aed04bd917817c1ade7d987ea1d58999faac3cf928711a1164085b4 lib/codeql/swift/elements/OtherAvailabilitySpecConstructor.qll c5638ae4f3993c7a111fb2a516667190642c1948f18806cf29f78b7067021d10 cc93ac54741ba952b32385db0fe072576a9c8697cd793bcb8faed98f0fb6bda0 +lib/codeql/swift/elements/PlatformVersionAvailabilitySpec.qll 6b4d18b98e4b6f113d767599d6b57a8de4e6f8996e1cca4c7654d716c4ca2620 63ea233721a087b5395a7c71b2addf832b6e5c3af948e79821ffb8c409189df7 lib/codeql/swift/elements/PlatformVersionAvailabilitySpecConstructor.qll 015280737e71fe1084da6056410fd73dc4473a3b3296d0e46c0ca64f07dd5b7f c735c42e45ebdc308a1f02ff15d65d4d1154071e55645a9ae763d6c021d7f601 +lib/codeql/swift/elements/UnknownFile.qll 11ef46404a394e77d1a174adca0d484ff9c550098e380fa334b92caa6d28b4c6 017a95343308828325cf9a86b951cd9e9eb7a81475cb24f0d3950dc9352d0f62 +lib/codeql/swift/elements/UnknownLocation.qll 7522d704d11e43bab4b5869aff2db8d77c61ab164a84cbfcab4616c1020a3815 4119cca590143b747d02afb99e892ca1f21fd51eab4dc3c2d0282a743c2b748a +lib/codeql/swift/elements/UnspecifiedElement.qll 81242ea71f3a1c84f265d8a229488ad8f708906ce4efb6648beca41aa5916bca 3ab7dada683b2adead58e914243c3ae5e9c6f91865ececafbae6a7de012ac067 lib/codeql/swift/elements/UnspecifiedElementConstructor.qll f7e232dae7362d0c3f9f33f952d9106da3d273f16b124008919fba6e40a944b6 eb30f05ae09f2c7bc93d758c0870b63f16bf61d0d2446ed827250f89772596ab -lib/codeql/swift/elements/decl/AbstractStorageDecl.qll d79e4d19ac9534173d3322c82fdfda3a140f296a9fbf658e23641245ddfd7a72 1d383912eee998c68366a63709c9665bee257560d4b0c997e97f79877c6546da -lib/codeql/swift/elements/decl/AbstractTypeParamDecl.qll 8d08a5c00663ad9f1703e564aca3efa9ad4d54f8f2758befbf36d70eec708110 e1048fb35d25d742d5293caffabadef1f7421f1316a5274a6121a9c5d94a6388 +lib/codeql/swift/elements/decl/AbstractStorageDecl.qll 146718350fbe76516e950a7cfa31c3179b5d5e34337919bd82ea2e746ebbd3f4 2a0e02564edf4d5b747d62752887a9afb64e91db9723bef9a0de315fdf0c9f6e +lib/codeql/swift/elements/decl/AbstractStorageDeclImpl.qll 56e7b7332f4a55a8860c03d0d756bfb31f66048c8082834a15bf613eca9d6e12 f6a9c384f9355bbc34e8c8654fd19f62ea2592c96b8bf79dcd2915406ff54f23 +lib/codeql/swift/elements/decl/AbstractTypeParamDecl.qll cbc5234dce220bf0c9a13d4ee2b34d855cb888e5918f85c0ec8817175b885480 bd2cc193e4331e0f41c29a719e3de871d980da5e598b729afd7107abbcc8ee69 +lib/codeql/swift/elements/decl/AbstractTypeParamDeclImpl.qll df8e78561f7b66d6e843ba01b0522794299be535d5d5565b95f7a8955dd9ec0b 005976447933e9195146a7c7c8461ebce9edc0cf0304b0a6264816acc89f8555 +lib/codeql/swift/elements/decl/Accessor.qll 48360d53b0b27f4566754117694be9d55471d230e4dcb65efb14596acc618865 84d7fb742c7c8b0c6b90f2091d0d422682602d1e24defd888eb916077865a743 lib/codeql/swift/elements/decl/AccessorConstructor.qll b6c0923d01f1b2b7f5b97a1885dfe62277d728f3b57fe036b2aeb89063fc2b65 2f2f0d9397e5e34d6167c4e605e214d25059f9e911117323683561c17da539fb -lib/codeql/swift/elements/decl/AccessorOrNamedFunction.qll 76ae8f9e7fddb361d1ac8c113efbabf2a1276785e6c6cb5a5d7a4a5b0a281237 586715edecf97a624e658b7a0bf60cec1d02563a601253d7660289eadab403e2 -lib/codeql/swift/elements/decl/AssociatedTypeDecl.qll 2f78f9cafe49f10146e416a87b7d73b85a7067ee49bca0d8ca45bcf0cc972523 a14dfe50933b38bf11a539f2e02b734c005f1f1538f6554763ee7d5ed50eac0f +lib/codeql/swift/elements/decl/AccessorOrNamedFunction.qll 85f8ec551ca9218a38081954d8f840829ab03bd41a05ccb760b8eb7bb58984cd 15b18b5ab313a2c676d56607e0b72cad31e4a996bbca5b486368f0a3ef909df0 +lib/codeql/swift/elements/decl/AccessorOrNamedFunctionImpl.qll 29e03ccc6b81303e04a4fcda079b88b5a300f8c59e25d8765fd9a20c1a39ff89 aaa526b1cac97155b73f578a1f28e685a9e5758017af60e239aa239af4c0fce1 +lib/codeql/swift/elements/decl/AssociatedTypeDecl.qll b4405aa3f319df7f39661e9a0166e73d8d0601221cc82ea7c37ee7fb1fea8884 ea768a52646664da2eb86b01abcfdff33ab9fd68ab5385e0adb12ee10c5db176 lib/codeql/swift/elements/decl/AssociatedTypeDeclConstructor.qll f51555f5561f937cb9356aae938ec09c43712dd474045a5df177073fbd230a83 27608714c1fb37e37b821e94399fa710237a7da2876e268ad0b4419b8ccab6d6 +lib/codeql/swift/elements/decl/AssociatedTypeDeclImpl.qll 885d7860c3fe77464f357f032be4446f599cc23557a919fd209d7a6b2b142225 5a34c8616832719b3010c9cedd12dbf1dc4907d14babb80d91305ef2ca5a8168 +lib/codeql/swift/elements/decl/CapturedDecl.qll 1ebe409d1197154d5680e9e4fd2cce664d43c9e503cf17a88ac3d00c2c59d5a8 ac6b1358fa07df153177d00f9e58b283adda9944dda3b8bc36bfffc97c087ee6 lib/codeql/swift/elements/decl/CapturedDeclConstructor.qll 39e8ecb4d7cda881389cacb0294bc129fd3cd2c6832619a23895ac3afccca57d 1a392f4637240a89a37e0f62d4f520e3633444b0be06c4c5e50fa07a857932b0 -lib/codeql/swift/elements/decl/ClassDecl.qll d1e964ec9b3065002ff3963e00da94c368364829c4aef3f9695fbeb0f6e8ba0c b5d34a083b114221022d4532e06aa96528df3e41c2af1da5a108db8297b34010 +lib/codeql/swift/elements/decl/ClassDecl.qll 94670e4ce2b4044671b52684f47375ae39e8dc8704737a1c2c4e6e7467d01767 df4e5a3457f58412b140c666b5fd7e8790df91ae5a50553fb675428c88f8f29d lib/codeql/swift/elements/decl/ClassDeclConstructor.qll 9638c4732e9c0e99c57b93147e327fb22e64342f65a51a245d54a6cb05ccb89d af5535d6b41b45367dcd5b54ccb3fb85ffe6ab82c8763083a8cf526d8a97d124 -lib/codeql/swift/elements/decl/ConcreteVarDecl.qll bc7b38c8de86e2c4160ea8ba4aeaa06742570cdb99004d9ab7b30d7d6a7fffac e840b983c22991e1f1a56ace29768e59e952ee6e7f099ae49263eab107a8c5e1 +lib/codeql/swift/elements/decl/ClassDeclImpl.qll fdcdaee46a2b7d12ed296e5281bcfa8cf68e9ee580b0abb7ac65ff882609f42c f21f8a9dda7c29d637a20b9e174509feb6b27d61fd381ba1a9c67a51b08cb7cb +lib/codeql/swift/elements/decl/ConcreteVarDecl.qll 2fdd5e353c80f4b9ef7f8c6c720f704334904c57650a6cf455605b7d39e83968 daccfbd8db8d306150902e244a8907e74e37d649c563dccf46970b9e1c09c199 lib/codeql/swift/elements/decl/ConcreteVarDeclConstructor.qll f8ff9c89c54080396712ba3ec8dfd3cb96795b69a4d2a233e4865e8a1f0398a1 18506a1166fb477f04014a48df216c6c3368f16627c6896d36d816af20824e10 +lib/codeql/swift/elements/decl/ConcreteVarDeclImpl.qll f05e296014fea9fef0f8caea98c0d872c8491f54f81960ba577056e01b5d6ff0 4a74cabc0fa97db848f27c426b5986e76046c3c6383b557c16f3fb5e60911de9 +lib/codeql/swift/elements/decl/Decl.qll 05b702f4fc2de286432d3d6e6adf199369b9d7e81620f146948fd8a96d2bd1c4 d75c1b1312744795f6556bba49a0259043d3ef40faa7ec2d3e948302557e18c6 +lib/codeql/swift/elements/decl/Deinitializer.qll d1d4027a10518001f8338ee15a37b13a8a8c684cc124847c93d00ac591fa2e0e 839c069450f8e217fbca18c19683565962d34dc2e95c1355a2f7cc25bd44f45e lib/codeql/swift/elements/decl/DeinitializerConstructor.qll 134640eb40481ef229d7e0082af052b177bd06132cb7346f951282dcbcb0ee88 075b4c3404e6cd438cb2f25fda3a8ba5b105327c10038be7396b37fbcb84d883 +lib/codeql/swift/elements/decl/EnumCaseDecl.qll 948d7e34fba0289a0a6936cb1d91bce1531668f7530c53a087f00b5b7073dbae 2296d008fa162f6a889fe907bf7bffee1b3f263ad4494a871d3fdef5b34e64c4 lib/codeql/swift/elements/decl/EnumCaseDeclConstructor.qll 9a9a76ffbdb7b6a5855cdc9502160459119f4d84bbd3bcae586ae992dbc982d1 1b132ef38c468f60df8a1c9ad18f6bfd339641a5999a7fc62cfc6feb69ef9d9b +lib/codeql/swift/elements/decl/EnumDecl.qll af4c414416d7edae4b0a425c0f6bf115cb0ec140d0e9c4979ce9f7a4517f8002 adad821096a60ef126e1abde3eb53b78c0cf596c5a62f5d74d0710e36c90a557 lib/codeql/swift/elements/decl/EnumDeclConstructor.qll e5799305fe16c9647f5bb84c7172f7d8f3fecfc7b2a02583c7e90011fcdd22df d2ed807d11a406f0cd105a4daf38d6932cc9d91a34986f754758ae109f099e39 +lib/codeql/swift/elements/decl/EnumElementDecl.qll 66da22cf9504e81a08a4f604f10101da234f5faaa0a2cb10ea15efaed8733fd8 8ea42eff9dae249f743a1df521e755cc7619adb58657d82a533b523b4d964edf lib/codeql/swift/elements/decl/EnumElementDeclConstructor.qll bfde3e941d72fbcb9e5d195f67cf9aee2254d4952192851fde17e0c6dfbf517e f123461a50761ec73a724d12b2ffbef68287eaa9a060ccb4dc19faa7735a40c3 +lib/codeql/swift/elements/decl/ExtensionDecl.qll 69e16a04c0147dc4f92f05755ddc70ba5ed7be6b8b9874440cfe0b498660e8dd 6d03fcfd3c7be2a08b1dd9e1fa52160f84ad0997861af0a0b8eff4374df306ad lib/codeql/swift/elements/decl/ExtensionDeclConstructor.qll 0a1b26e6da4b94b789df38098c3d41c2aa42371f33cbe7f81459ca7c491ca8fa c9340f5615b1a1a3a9096a659739ae2807d30b50bbad4948af97c04c619265a2 -lib/codeql/swift/elements/decl/GenericContext.qll bbf7466aa00e4d75263423463d1869c08ce0c8f0f66a75f16c5ffd706f1999a8 1fc9718751fbf7d0d5debec7984e49359923f226695e336d1827a8a68df2a915 -lib/codeql/swift/elements/decl/GenericTypeDecl.qll 6f0722d67394a38e8f450672b80590e4e18461791f7b55ca5f4a149c860ed262 6d24dbc973bbb0268b1c49bc17adfb6e90f6f73dcdc11138f1a69c72779ab386 -lib/codeql/swift/elements/decl/GenericTypeParamDecl.qll e41075352335b34bffff950c83ff84a2833cd23276fc07d6b64b4c28f61317df 88c26672aad66432038ea9b5c50e759a7afad3faa4cc1ec52fb0cd2a423a96aa +lib/codeql/swift/elements/decl/Function.qll b232f353a74b421f1d11c5740364a8ad0c45a2666558ef704d89fb3bd7392d50 9aa7651b77cc347ef7d099af3511b6498d4bc6022d9ebff39cf038644f3d8254 +lib/codeql/swift/elements/decl/GenericContext.qll 90945f8fbc1ee3674d1da795b315c6b596ef2c39a059fc69d8326b22c5393fdf a191b3e99763615c31f28dc7127acf0815be755d66897bc2d41bbeaab0a84a9b +lib/codeql/swift/elements/decl/GenericContextImpl.qll 86a2c8cb7d09d0e919e80b3b90f63181a2eade574f487590d140a2c551eaca54 bd0f623756a9e214819777720da1254e68fb2401fbaf94842367fb858ff1b753 +lib/codeql/swift/elements/decl/GenericTypeDecl.qll 5158acfa6f3a0018ab6914e9fcb85d65a3df8766948db276abfe5b4862e2fd63 091501ab6c6c5243f370616a7d3d1df6e670b77d32e88a7c35b892c76b35c668 +lib/codeql/swift/elements/decl/GenericTypeDeclImpl.qll 25023fbc6556a8208e9359375f98274dba280cff297183d9fa264eb4d10921e8 8756efb7393ce2ca3d4782b249cbdf43efb421951ba8a5eaa1ee52a8b100a74d +lib/codeql/swift/elements/decl/GenericTypeParamDecl.qll b1e32158e828357cb2fcff0099aab1acbada3d4df6cc0e6062272b9b3024cf7f 73ebbbcb88819cbb682ab079f80622352d146f396a7af30ef639b41832692ac9 lib/codeql/swift/elements/decl/GenericTypeParamDeclConstructor.qll 0bfeb2d6bcb6917cb03b0ff06769fa1ef2ede0f18f341fd7747662dfeddd5e4f be09946248dfdb4a933293d4884e7b059c2eb9c50bef7fa4126173b64e86ada1 +lib/codeql/swift/elements/decl/GenericTypeParamDeclImpl.qll ee1f6dab6298035b6f5e3c5de1e015cc1d3315056bbe9569ac31329764854671 5c5cb1cbf825759ca98f0fe18289ab09566c6dc4e7e739bcefa385d868731396 +lib/codeql/swift/elements/decl/IfConfigDecl.qll 613ace3161e2b26825b83c98ef82de6789f80c834ac97ee2a5b38b4d3c9266c0 7ded1a06791d095efb8491e9666733962e164909b7bf95a34f4a94013a04487b lib/codeql/swift/elements/decl/IfConfigDeclConstructor.qll 7a9031d708fe33157a9ff612c9cb0a2a8e17639b18f7df15d941d04b88bb2e88 3f33579f1cd5e3a28c91b14081535f171d463d6e7e0d1f04aabb9b3291093b65 +lib/codeql/swift/elements/decl/ImportDecl.qll 1b6f096058b3b8e01686824f8d8b6391f8c502a53e3aa376182712533adba125 6a5db43e3c84d107822c048416f1d91e6571e2c73657e0884b1de74e541e670c lib/codeql/swift/elements/decl/ImportDeclConstructor.qll 1876052c283d9701cf2e2c92544e521b8cdcf86f3c77653c3488a2f3beeac950 943091aee23ce7379a21bd6b76c26200f1f665f5515b24af5ef8ea8a332d5faa -lib/codeql/swift/elements/decl/InfixOperatorDecl.qll f3028c9d9da2770b120498dc558f9a447b10e996f6f00c7b7456af2d8b31e314 218a02bb2f10bd7f0add10943a11ba77cb3e416b4cf2e68b7530f825d896ffed +lib/codeql/swift/elements/decl/InfixOperatorDecl.qll 95dee3659efe31abae8c0ff5c1213db7bf3f7ed42a19464a11465f6746524d71 c2ea93cdb054779bcf31097bf3b3cd87363457fd4971be9d5b64bfc37ca233ad lib/codeql/swift/elements/decl/InfixOperatorDeclConstructor.qll 92dc3ac72c1d7b88b61cf9faa8048e6ba3e9af8b17d3bfe91919394e252e2595 d70cc9989101ce7268a6959cbcc8bf8a1e08f69a4c8734a6d85bf6abc668ddea +lib/codeql/swift/elements/decl/InfixOperatorDeclImpl.qll 4439821a31711f69e531007be8671bb85d5a39d622951e61851e61d49a42b6da 6bcd603da2497dd77b6cc5f9c39f41ddd78ecd1d425bf8fb777eaf7e248612af +lib/codeql/swift/elements/decl/Initializer.qll 0195eee99de1925a6f890c400f1501a008d9f6246de63c6fb207f8a64d47368b 3a47e887356b39d43f1e1a5fb6772857eb546600e16f3f673e4e10c98d88975f lib/codeql/swift/elements/decl/InitializerConstructor.qll 0741961a1e5d65bf906ae5f2b8e745da30d215624faaca092dd869b33b82db39 72d0c8fc3d6c53923ae7b3f7c2d9eccb556352df69e5fd5566b8cec9eb0c4ee6 -lib/codeql/swift/elements/decl/MacroDecl.qll e33c90f10da798e26444787834bfe2754890c84202d82537a500f721614d1a73 f23dc7c70cb5f8eaffad4df3347e4eaff17a69e9e99888b0d5ecece3cd913349 +lib/codeql/swift/elements/decl/MacroDecl.qll 234c74d4517c335e87972e8cab9c0cbf895f1b889588399fac1036d8af94622e 420db073ed7a8816f3df3ca4784500aeb5100e567a73d197a436fe73d3deef95 lib/codeql/swift/elements/decl/MacroDeclConstructor.qll fa08d8ba96541d43db4c6908fff8c8f06dce8a40d5eeaba607e20daf16df0a20 b5c1bbd697b5f309afb684e224066ff499bba5e66a1172b9269f7a579420ec40 +lib/codeql/swift/elements/decl/MacroDeclImpl.qll e6f4920eeb6a925c0a691169640bd8f573461cd8354f7e83a99347cc0b30b6d6 d54f1d7bdfaf06b977abe9f935146a4649f9e7967201fd13f7ee31c27181393b +lib/codeql/swift/elements/decl/MissingMemberDecl.qll 440989d25e86c8e1854aeb74c002639d168c498c16e114d4f4a7a0ab26d1b024 e712e267ed74414b99703352c97e450679c9e6db87076f19e7ea5409f0c9ecb4 lib/codeql/swift/elements/decl/MissingMemberDeclConstructor.qll f7c299d55d8f14386cade490155cdc7edbe26ef67796a273cc7779d740f5e3a9 377f1fdd4f798506adb297cdc80545b5842acfe33a2187b9dfe2442f59b3120d -lib/codeql/swift/elements/decl/ModuleDecl.qll 11e54958739679424525e889de7f0b9f1074e7e123482ee94ac45ab261e33ef8 73917bd8a2985d1d1bfa72e3db20978b56ec30a679cf8fc6c3af3ee54994fb41 +lib/codeql/swift/elements/decl/ModuleDecl.qll e40d0a11f2da1c0295953d52a88d68d4c48e74a5f042e01e03a59829b8c7ab66 0c5e05145e1dd61f6509e7d310717a64d850e15746c0d544a7bfd9083b185af7 lib/codeql/swift/elements/decl/ModuleDeclConstructor.qll 51106eb585219a6211a354c4a4ae9ac0dfa088e412145e1218eff1e31f82bf4d f05597e555014a58381b75b44b05b00a03a99e7ce54faf606df1128c1a5bbfd8 -lib/codeql/swift/elements/decl/NamedFunction.qll ec60796f258340252f6a405e82b76ab0cd90db7afd1670ad93d0d1798e32e415 21fb8ac19b2e120873076bc0ace14d49195b70b41a2314f781711af9faae6397 +lib/codeql/swift/elements/decl/ModuleDeclImpl.qll ec98ae7a94acc7240e7bb2eb05fba049c495dcd7a4c5d9cc82c89373e3964e0d bb6f363c4f84d5870346797c0c742e199b67f22bcc174fec2bb8c6b317ebcd33 +lib/codeql/swift/elements/decl/NamedFunction.qll 93c1cfe4b93c0196e5184efb18fcb1592ced2e015b53ed1ea5588bb631224b1a 3ca9dd16fc05803ed53cae22cd1b640ff80532cfd9d956b2fd6172005659c70a lib/codeql/swift/elements/decl/NamedFunctionConstructor.qll a0f09a7aced9c7fe57759eb1c1c5a02653abd8d3171f7f02e305672b05224435 367872805969491a1f9c435707f7a353864683cc755dd06ec4df7711268b6a7a -lib/codeql/swift/elements/decl/OpaqueTypeDecl.qll 726edad61b664b1c84ef707f8e68b70c582f88a82e3ba934acc72fc99f021656 5056db3cecbea6cdbe24a994ff0913b1600eb7b3296ef9cdab51dc1c92c6bda9 +lib/codeql/swift/elements/decl/NamedFunctionImpl.qll f4ec47ac8111bba4e6fafe83c54fae4e0c66f54562ef42c8ee4651adc4a8d725 bec4ad5dbdd0cef16b2b817b8fa715bbe840e4e80e9ffe6b24fadd2850b42322 +lib/codeql/swift/elements/decl/NominalTypeDecl.qll a49445d3de4a4051407e39d6be98a679dc4fab482059c169c213bce98d667973 a32d3d3fe869a88ed8f039548b31d4ea32ae1eec2495d713bf9995b94af482ae +lib/codeql/swift/elements/decl/OpaqueTypeDecl.qll 345ca6b55a736d45aa947197bf27b93e0b46e1b76691d503723ddf4a4766a601 e10699b4b681ab8c7d142c9c19205cd2bf47ce9e4048819a18364b733c5f5bfb lib/codeql/swift/elements/decl/OpaqueTypeDeclConstructor.qll b8248ddc020846f868d7501f707b33ee2f6a85031f1de6771838de1de53a9bad 01ce54425dcb1309f6b45b457f1dc16a78ec67542ef71ce2c88b318fb88d844a +lib/codeql/swift/elements/decl/OpaqueTypeDeclImpl.qll ac01035aa5a489362d80c50be34a9fa91167b93322722e22cc6f0fc13ef85ba8 6f1c06ff5c7caf3238025156c3cc49d62fb849b593c4f9ff1979751a850d817c +lib/codeql/swift/elements/decl/OperatorDecl.qll deb502c0ccbf67c65ff86a5c0e5abd047a5f20ae6778b9ebec26f2de6d0ab422 ffda63f123fe67029da7ef49e42587c0b0d420cac7e668b0a291e906352a56d4 +lib/codeql/swift/elements/decl/ParamDecl.qll 6cc89b5aa49c7725e1599466f3379a1bf6259bd177433b70585834dfae98d590 8e4e283b5f8175779d6129cb2547c05ddb4450fdebcc0b5d9347f06183be54df lib/codeql/swift/elements/decl/ParamDeclConstructor.qll 90728828c93db8cee782af3095a8e40005f5a08184f7551d2b1c2bc6ce50f5bf 9b57b7a56d6b443f7059dcea2ec8aba44804260cfe5ba54493f0c7512b708d0c +lib/codeql/swift/elements/decl/PatternBindingDecl.qll 1bcf6b0c1892902cd1b0891e2ed9c8f781d8f3da92a0785dc3252b4de8e8ab33 d8b3dabb45fd77042996e97bba9237808cc9ec7a993a9c5bc7572c02b71c9ee9 lib/codeql/swift/elements/decl/PatternBindingDeclConstructor.qll d6436ad15bc3f932cc9af449dbae308afbb5752dd4a8b3835c28909d6de9bd71 0b4268ebadd74dae65fc4e9c317c952065ddd9cae80d50076d2d09c7dd2939ee -lib/codeql/swift/elements/decl/PostfixOperatorDecl.qll f681d689d6dd8af1e2924bf6f51c3a270f0fd868679f9291b99709741bbae6aa f8a90651e3b980aabced24731d3e97b598eebaf0b1a78e35fa5c41e4cfae19f9 +lib/codeql/swift/elements/decl/PostfixOperatorDecl.qll 4fde75a3e388d157563a83f1abc5dcb791f126ad7a4013f0e69bc5314a984c90 3f58bc763309f7ebd57e602154d9e1620c4d2586cf0b10847984dc3140f8a831 lib/codeql/swift/elements/decl/PostfixOperatorDeclConstructor.qll 41b758906002a47b9b5bc2c7b856f5b1d137f977f014d36ac522c8e03d89e931 8ff1d599392b1cd7f9bd493aa97308e0a478a427057ab5118abcada841220674 +lib/codeql/swift/elements/decl/PostfixOperatorDeclImpl.qll cd3123ba2c648ef478eaac6ab5ebe92c66faee73ba6d2a1181b9a82ad5c15554 bf1f14ed9c0d7ef05ad048e3efc97815ca5e7dbcddddacf74656eab99e226cc8 +lib/codeql/swift/elements/decl/PoundDiagnosticDecl.qll a9c3bf0f25d72ddd1acfc258a1cf4084ca611a8648e05eb2e6b072caa732a666 07000ddd758c79f4dd2c43ae48d04fabeb997cba7602116285d02f4f1b5e3ab0 lib/codeql/swift/elements/decl/PoundDiagnosticDeclConstructor.qll 9793cb2380d4cddb5d5fa9ca7ddc6fb1796853729958f4cca279a7887f5fe6d0 2f662784469ba6d07eb6511b6c23073380e1ccff90653f9b4c5af2d04e6dc0a8 +lib/codeql/swift/elements/decl/PrecedenceGroupDecl.qll ccbd9fcdd2e53fade695a74fc5e1e13db93cf1344746eb0a64790376f118a272 23ebe6152d9c8d00b7091a26e4b4d6c5728c7b916e87bdca4d0679652c3b18f1 lib/codeql/swift/elements/decl/PrecedenceGroupDeclConstructor.qll 625dfdefd05570c29d7edb4b8a86c2d8f561cf32c9e289ddaef4652fcbb1db8c 151d8b619ccfb9bcaf2ffe93c0f28d82ab65c1109500bb437bfaf664f79fc319 -lib/codeql/swift/elements/decl/PrefixOperatorDecl.qll 3102a5f055d9b16697a202f30ef64b40c667f285a0b7038b677906b8835b0dc3 414a54bce23bbd048caadddefcc5b8bfcb5140f323d2687913a0c8905e879048 +lib/codeql/swift/elements/decl/PrefixOperatorDecl.qll 176bc87233bb9795941b0793edd06eb3bbf0d806be3d7c35e20584e1c5db0b9c 996967d5aba535d044c4e13154ad0c034d562aaf4fa071161593c7b9db78a109 lib/codeql/swift/elements/decl/PrefixOperatorDeclConstructor.qll 229bbe2048f1f2a0f2e12df825c51c977017b48267893b261c81d9ae3fcfb199 826c4fb42def37583cf15a63b1978e12fd3b97ae5e1b811c20b192294ed169dd -lib/codeql/swift/elements/decl/ProtocolDecl.qll 4cfda8d6418f50720a917016278605549ed47b66596b96966c41e45ada58c61c dd7b6289c9cd27b34538ea3c1cb3fff85b2f5b7506f8941fa597ea051dcd8e8c +lib/codeql/swift/elements/decl/PrefixOperatorDeclImpl.qll b1d0f7809f39bd3d674bde77181c1ef0572d66544613f9bc835af385c807a612 60e42e0fbbd5d7c65cf9cbf151ade0d7aecc4f65ee00d752789f27969e3db0a3 +lib/codeql/swift/elements/decl/ProtocolDecl.qll 8f3cf838227abbabb4b8c68e571b3436a2ae8e42f3824620928ffca4ae9ed01d 24aaac8a5d1cd5c891646a611480ab8e1e429e15e01637dfc4512990b1757fb9 lib/codeql/swift/elements/decl/ProtocolDeclConstructor.qll 51c1e4f8c295113b1b3358499ac91ec8de6c60e9aec4d5dcb8c41a0ff716d081 c8d4f3e57544ea9fc5ac6af2865d040c35a0cb3ee0789f5dc4ffe8c4a6ac8127 -lib/codeql/swift/elements/decl/StructDecl.qll 263294b8c6ee5aa3949e49665f9a095ea15f62038120dcf2609f2e5f2a22551b 1f34a9c8a2d6bf1e3b3e0a155ed4bc1d0c27bf53d5b70c0d051849e05b648f81 +lib/codeql/swift/elements/decl/ProtocolDeclImpl.qll 4b86b1e3d2f44b13bce101b98c062e46542becf615cc758ba7fc1d01cd9a04ce 378af82aac1e3fc9d89f0935ce31e2f3a8a468efee8a66c0dd919e5f064355ab +lib/codeql/swift/elements/decl/StructDecl.qll 1c2fc4da9607926cd681f75728e53f47f95880641ba725bec5bd73b558c19001 8d88da355f2f52c4599a72c89c282424716767d1280580279455a63ee8a51237 lib/codeql/swift/elements/decl/StructDeclConstructor.qll 2f8bcd6a35c9c13b664ad3538b9598b7c612b255e2305b41fca47969d75f0294 d70134cccd25e93df9547e763a4868376cd770d31651560ce94a0bef7ad66de5 +lib/codeql/swift/elements/decl/StructDeclImpl.qll 9fc7b419040e5097233206b9aef4183675f2d0916a9e3bb8334eb3111ec23222 8e5c952fc4198f7eba8dcb8d9a5c55710664add0d2560883eb3d7876fc7645e1 +lib/codeql/swift/elements/decl/SubscriptDecl.qll 871a259dbc154fd2435f3c9d95ce6b26618aae1c13d8912501f23727b2b1e60c 101979dc4455e5395e8de324ffc10a0d84a755c9069fc2c13aca529b2bcfaedf lib/codeql/swift/elements/decl/SubscriptDeclConstructor.qll 67882596f384f4710dd81aa284b53c7b3e9cd3c30f120e98252bfbd2f5dd34e1 f336269cdfbd3ef115ea29fe39c2d04deeb95ae8f927af27a4dc7acc4a14699a +lib/codeql/swift/elements/decl/TopLevelCodeDecl.qll 2730b2fa764c7f12cb18617ab040d6ea2365f1d49b5568bca1cf54467fa64f8c 41401032ca2252c9afc992e51d6560921d1af003f49448a61581826e149762e8 lib/codeql/swift/elements/decl/TopLevelCodeDeclConstructor.qll 3924b6e5bee007fd62ae4b2352e38ae20292dbdab65fd1724ca9cd698bfc88f4 28ac8627c75cd787e6dca1a8bfed4c36edbfd13cdad19a08905a49d56b815ad7 +lib/codeql/swift/elements/decl/TypeAliasDecl.qll cd49940021d8c0f61fdb16604c074cffa28311a8b4d206ad77f604c0b16cdcd0 eebaca5369c8dabd6a611fc4beb89e99172c4473a56b98b1b227338eb5532f44 lib/codeql/swift/elements/decl/TypeAliasDeclConstructor.qll 1dc3d7ef11adf5fb9b4be1c824b8a49393137071584ed44224a2f47b3a0b8a4a 2e1e8222b851376b0d7843a93fb6affeac7f8ee52867623b1e2fa99c1ac37dbb -lib/codeql/swift/elements/expr/AbiSafeConversionExpr.qll ab28b1844ea151b2210a0a391986bc387785fa31ae637d469996dc293afa312b b684ba04c5668b78590d4af830470c2c132360488d64278d66b201c03f39ace4 +lib/codeql/swift/elements/decl/TypeDecl.qll e3aba73c8c00ddd326976b862ca254f12a091cb85065a04a1a9d7479709d2725 bd690319e3f9fb3a7ff4c542c437a5bf71670015e444d4bb5f06d52ca19fb327 +lib/codeql/swift/elements/decl/ValueDecl.qll 229973000b89d145858261e0672a156865cc2ca093ac02740594cb7572bfd2db b154b015316bf426a61f5889985f740f309569c52d4c4900ad7830c279b59045 +lib/codeql/swift/elements/decl/VarDecl.qll 973b7c6208369ff2b73f7dcdf37a1a2e3903cd0b249614eb5418a1ccc8a0cd8d ef6dac11a6cce0e452004a71b7ca71d1d4201d0c742e5a6731c6e2a8d06d87e8 +lib/codeql/swift/elements/expr/AbiSafeConversionExpr.qll 2ef2b818bdbaebe5b71d33079018378d7ccbd307b39bbb11ca790e71f40b9737 88bb4923812aa01a279e8d5a9a34a5427b0d539ba2b8f3a8d694c4ee5a2342d3 lib/codeql/swift/elements/expr/AbiSafeConversionExprConstructor.qll de9d2daf68b754e783374d017116606c8cd0710dbf8989d3606939e977dc672c 63c5ddb9da56da2c9637d7a0a6d9d069f745b4c095b07c9494a0b3a7e11be95b -lib/codeql/swift/elements/expr/AnyHashableErasureExpr.qll c167b4de7292c4d72c873f46861816b757ae826ffbab63bdbfb0f14625c53416 9e264d26b0d8b78865b18c7e317e16c68ff860f19994240213866eea2aa2abe1 +lib/codeql/swift/elements/expr/AbiSafeConversionExprImpl.qll 6b2c51a5a5dd17044c6f5510048a9a2187aac9d35a70541faa9400406e35bc1e 448c23eec2ef44bd90e6c1636e3e881ca3447198eb68b8261412f42c4995b766 +lib/codeql/swift/elements/expr/AnyHashableErasureExpr.qll 0fb6eac8812d46d4b2068e040eefa20906f2fe69897f95ce9ddfb7d8404234d2 2e4d0a85276a79bb68623558821cb4350d2683681096e87873b5f684f55c2cea lib/codeql/swift/elements/expr/AnyHashableErasureExprConstructor.qll a1a1b5b5cb85202756826d5858b336fa2c06859020084695f6182dff999993ed bc9aab20cb809516512ddca305e2d107c2b2d2f5850620fe53af021145bde247 -lib/codeql/swift/elements/expr/AnyTryExpr.qll 21756460a186413d259beebe1501a01e752cdb3b23badf22856b35f5d829caeb ef0c6a3850e28ef8da3c23c8a942053a633afeaa61618b6bb7e93071b4dfc8bb -lib/codeql/swift/elements/expr/AppliedPropertyWrapperExpr.qll ae4103d660b73dd5a9eef2561e6dc66a3502c3df176ba5e428ba369ba2edd3a8 98b93474ea735f1335545927a4cacb45ad9dd53ed2599a20e0935f6b2c41353f +lib/codeql/swift/elements/expr/AnyHashableErasureExprImpl.qll c1a0516ad5176f00347f7a5187f3c521746066235eb3f3bdd6f1ec068180d9f1 cb0d36379fff2483e30e54e75d8b63dc92669e8a129c8fcb24495cfad6456cfc +lib/codeql/swift/elements/expr/AnyTryExpr.qll 8654b948154357fb4a44d87ce46e3f88426baae057e915ed039069910ca24d44 13787cb4af436b1b54b90aaffd200613d2051e8fd424018e3214d7736a87bf4a +lib/codeql/swift/elements/expr/AnyTryExprImpl.qll 8225177728e36e4cdab514d060052b7174e99146ddfeb1a0cacbaab5bcd7f7a4 074ee2100466303ee268fbe50a3c4d4f93d920b24e17e1a2c60c9f7d3e7b46c2 +lib/codeql/swift/elements/expr/AppliedPropertyWrapperExpr.qll abbec7e6ded14af77f9c6d98815757cb5cf5e9979c60ec8df0cef402f2ea0124 39514dc5d1b3db06bd2ab6a7760fc3ada4363343d63c7589500acc550b65ed68 lib/codeql/swift/elements/expr/AppliedPropertyWrapperExprConstructor.qll d134a7725d481e35bc40f0f6a9d103ac2d796995a200f3b00ae50e6ecddbbb39 bc11f915697878b6aba44f66dc914271096bc3089f3b3849ea0b35dd4d78685c -lib/codeql/swift/elements/expr/ArchetypeToSuperExpr.qll 4fe883708b0b4863fb6438c3be594c415a813fc8db09e9ee84dbf0be91c1f5e2 72f120c06a7d707d18e8fdfd701ab7b9f46f11cd2a61564fe287483e06115ed9 +lib/codeql/swift/elements/expr/AppliedPropertyWrapperExprImpl.qll ef779441b7dd360095d145270e99e463b7c4504745955cb929949d168ace0f44 48fb62c8f18e7da9f756c9ff6dbaba1d30dafa5d8e460e14fefd1a13c1eac279 +lib/codeql/swift/elements/expr/ApplyExpr.qll 88107d8413d193342c2747192d62dea2fdba09fc6fd679d009d85b841d23a96c cb9b21647fb999eaeab729f2959c770cc991cbf927ccfd9a7b783c29ca9f5ddf +lib/codeql/swift/elements/expr/ArchetypeToSuperExpr.qll 591b80c1bac5213baf03e8661b7935d800670e8ddb4b324e0b26bb0d90b205a5 0ebbf1105ce128a7ab737c4e6373ff862ac1e26924e0ff1bfe3148defd4d9671 lib/codeql/swift/elements/expr/ArchetypeToSuperExprConstructor.qll 2d973444b4289b7444e4bac34592025f8f2f006a676714b5873766052447dd5a bf146b157580631050edd028c801fe68d7ec7a3441b3c6f048fc774ac8ac1dbc +lib/codeql/swift/elements/expr/ArchetypeToSuperExprImpl.qll 9bf4e9d2a3aa3a069611b26d157c1dfec6666fc9d30f3a64a809c78534302550 e310316cd7b552906ea8be9a8fe277161bff7bc4eccc06641df4faedc27cfd62 +lib/codeql/swift/elements/expr/Argument.qll 53970fd4028a09b25301a4e977afea83eb0759fd860c05778c48c89b1829dd85 46ef720b5e9cece34b76dded57932ba2e217790b22c280b7ae7ec4ed46ed90ef +lib/codeql/swift/elements/expr/ArrayExpr.qll 2ce90c3ff126949aab14f2b778ee5fa0f25f93e63ba87244c6a1c4738a63e1e4 ccf0432963030f95716c54f37cb81e6483864dac3ce42f073c0d51de8c74398c lib/codeql/swift/elements/expr/ArrayExprConstructor.qll f773827024333961b780d779800f90e19461449a0b92a9f7970ff853293bda0e 7ae5b33b36631464d0eed1f0513cd476b6dcd53ecc09ecddbeb4d8f63e9e81c3 -lib/codeql/swift/elements/expr/ArrayToPointerExpr.qll ef8ca39faa8d5544ed2824085133fab981233d53119cee30d3dc132f129a16f6 ce16ef84eda943144b83af3d5c0131e6279cd4fbf66d4f8e0bead9041b66a635 +lib/codeql/swift/elements/expr/ArrayToPointerExpr.qll 771995b9be179ebc4aa13d3f79f31dd75c8af0e6f232317a13de53ad99dfa62c f08a8fe1929e894df3304b128ff08f39a4dc5ffe120782800e39fc55c1d8d109 lib/codeql/swift/elements/expr/ArrayToPointerExprConstructor.qll 2e0d733d7d6042b9d2747bb95be73a832160180e9603939f8a3484573521cf0f d9d3189735dbe8cec16d8e0bf0c66eb1264add9a9b63d1ee7851bdce024bfb48 +lib/codeql/swift/elements/expr/ArrayToPointerExprImpl.qll 32811f7b39ecfd18ae608ebda3a7320bea6c33b775de1c81d7269413f36de9ae 61b8a8e1731b74d7a31be429345eea0dd577e3e33e61b52ae7031569df4886a9 +lib/codeql/swift/elements/expr/AssignExpr.qll 6dc9d861462033b2d76bbd46484f12b88b9582cefb07e00491472c06b2cb0b84 c316e8acbde9b8e6ddc569fa8c9f2deebb4a42943ebf4871849bf0989206397c lib/codeql/swift/elements/expr/AssignExprConstructor.qll 8e1025c82bdffcc2b4d67a62ee5126461bfd15d94066d4751e342cac468d08ac c3be7ab67d942866b9b2baaf147233666dddf0597e02386eff462091c6f55cf9 +lib/codeql/swift/elements/expr/AutoClosureExpr.qll 15741fc0a15272be9607e9473b48213b3fef2f898f96979b2c9d07efa07cc0ba dc9b535f051b211356a1255ec483bf521c3a393cf6c2f15f63a1bb72e2fdce48 lib/codeql/swift/elements/expr/AutoClosureExprConstructor.qll 59e91b6998840435b2bd7886f2aa2c61ea061dce500ec94a5ccb63de8dcb8e92 110da8f7450427832cc12cc52405e672173b9c76f580c7ffe4178f0d70603cd5 +lib/codeql/swift/elements/expr/AwaitExpr.qll 42e35f03c6c3bdc958c34206a5f2ca9b2e2d01c019da87bfe8057a45c42bf3b9 8846b14d5b1058f0c492f6c2400a65af4656c5f0cc73bc3f2022b8413f5c6ee1 lib/codeql/swift/elements/expr/AwaitExprConstructor.qll 55f185fe9a656db83807b90da7baabf4a4241f0560f92afafb67472df3fac6d4 2f3228ca4ec2ef8ba2d478d7e85b4ac99beca7e2132c47cd398299c0fecdcef7 +lib/codeql/swift/elements/expr/BinaryExpr.qll 9a9534ea449f85533602008967879aa24dc638c9c3a8d5b0da0c1b3a458dbe3d cdaf1c2acc06013dab5b76ba1763e8d7d4d66529a476230cdc1232a0c9a2ae0e lib/codeql/swift/elements/expr/BinaryExprConstructor.qll 173dca8da8b4da92f5c45f78c9be0ed2d84fbd36d3471e87c2597f1832033acf 07136c27dcdb35a9cd2587d459a7eea64a6b3c0ad8ce7ffc7bb2cdfe26b6e9bd +lib/codeql/swift/elements/expr/BindOptionalExpr.qll a96f04b41b093c976dc5d3a9f1d74063f0d552c5fde6c2554d29d6a7f2d45938 c1602f0825787e9d6ee932ff20a7f0da2ad3b97945b8f90cc40289e92c66cb2c lib/codeql/swift/elements/expr/BindOptionalExprConstructor.qll 839b01e4fb4d7a13d5d28f97bdb94ef5e5d645a20e4c46e710066c46baa7d042 d53ece261604bf5909f7afeb57ef1042ef28382ce2bb0c6f9790b3ce1d24749c +lib/codeql/swift/elements/expr/BooleanLiteralExpr.qll 284b49cf85e935e781f81bd5ea9b6cdf5ed850c2d3fdf2e16f3ab6c96da23f66 91ab9aee447f8e6f4c7b99770afe3bed7c77eb66b4ca3b6e0756d2dc7d84d720 lib/codeql/swift/elements/expr/BooleanLiteralExprConstructor.qll 3ef212f498734fc2441ecfde9889164abb430c25fce9871f2dfcdc25114fe670 f9c498db8217ad2184b1fff3d6b0640a4c41b0643ac59cf672d738ba50341059 -lib/codeql/swift/elements/expr/BorrowExpr.qll 82a72f81327723e847cfc6d045417210b4e48f38f1d976cdbeb2c6fd025fcc90 fd43eafa248a63014600d5b55cff389e8d1b9805d9360fada81c28a68c6ae071 +lib/codeql/swift/elements/expr/BorrowExpr.qll ba3810904e750b77d4c791e9f53b96810bedb67cd803cc783ac85887460726b8 d40ed66300b5421250b26b31bd633a53ebdf23d77e890a82400c5dcad16a2b6b lib/codeql/swift/elements/expr/BorrowExprConstructor.qll d13bd08a048dbb7a83b3882a1f58539f064376e8d96e784d5b4c6f8803aa3be7 8d8d2921ec30fa387a6adcf49f0fff4d8f96444010e36d1819792f5281d54ad7 -lib/codeql/swift/elements/expr/BridgeFromObjCExpr.qll b95f6d0cac24cf6c1f84cb904a1f9384c5085d3c97ab0b4b6e2cd1daa35886b6 a374e4f84c2fead34325d71a2fd4aa7289a9210c169ec2fd475c24fec29121d4 +lib/codeql/swift/elements/expr/BorrowExprImpl.qll 64b7a24fa5ebc3d0873bf1e0f91f5b5891e75194a1bfe1e676d62f46b2de00eb ff4bd62fda31c49254fadc6beb89c433591508a20a16a140f65f882c0f541691 +lib/codeql/swift/elements/expr/BridgeFromObjCExpr.qll 549a1f9351a56685d4af63b38392470bf4b5844a60fd91a6ca85d63dd31497ce a1b084a0e52d6ef57c53675da5c27456126ab03464d2f9abba3a6839481016e9 lib/codeql/swift/elements/expr/BridgeFromObjCExprConstructor.qll db5793d44c554bab954b7c2458f3ce148ddcfff07c77ca4e0267736fda932042 7261f6ca92d0adc4dbb04d06f7a42956646d782d250d626d3c57fdf1d9ed3d8b -lib/codeql/swift/elements/expr/BridgeToObjCExpr.qll 9bd4eee52d5f1c50cb509814dcb6d458097fb0e813c5450394eb328fc5c99e6f eed912e1f3c0a49c8f6fb449deddd062f347c89336fe69d50837d38a1747e1fa +lib/codeql/swift/elements/expr/BridgeFromObjCExprImpl.qll 00c282d2f8ade7d5cee8b5771b066a7b30cd2d94dc602a2515bfa0b6a66210e4 4f916fcc2b92c8e00219e020e3c35800b4a39c36533e3ab711f8f3aa042d79a8 +lib/codeql/swift/elements/expr/BridgeToObjCExpr.qll a2f365ef3bb1113be83abae728623a1acc63f880fa7601d75200215f0c2ff45c 6e5c92e4a9efe9d8ffb54eda9f5351048b7ba8c12d24e6bef3f944f17191512d lib/codeql/swift/elements/expr/BridgeToObjCExprConstructor.qll 41a089db366d7dbd84c16cda81acf4ccbd2040177ac728159b913c813ed1e5d2 59f5c03373e9dcb2f29a672d3c109437afdf69677a04c7396191ef29b090e34e -lib/codeql/swift/elements/expr/CallExpr.qll 9be90299dd21aca291b03814fcd7cb62cccf3727b20050481c262e80b853fb0a a9fd826a55a366bdef15b98901ff3aa512e7a2c305a3471a7fdde267a7b54294 +lib/codeql/swift/elements/expr/BridgeToObjCExprImpl.qll c0da5c300288ca6199adcac0099f3e678c94434ac22903c3b44cd4904f7c6e69 42a81326364b86af72d095090f0db80f410483a7d4cadd4104091b5fb46c4135 +lib/codeql/swift/elements/expr/BuiltinLiteralExpr.qll 86e10199ff119bb5d81590306f39c0c95ffb4910e925a51043e0a337f2cf4c88 f4f0e9ffdcf042737c3a16beb1467eb90e95e559ab2322b37538dd934a1b8592 +lib/codeql/swift/elements/expr/CallExpr.qll eedcc0281451f60ec0ee4b9131fe3fe95752777079e0ab75de64dfb1d5f2a549 29b2d206b974828de681375c3a3fa22a74c29c042dc0bcdace5c04c8d2d665a6 lib/codeql/swift/elements/expr/CallExprConstructor.qll 08051f7d7ea23a9e3a01257d8d7d5280c5ad5a8df714935d7f7ee5cdfd788464 3bcd28ba5272ab73a57f9fea470a7f2c2742974dce484953c3a97ec1e8501b17 +lib/codeql/swift/elements/expr/CallExprImpl.qll 8c26e8fb7d7c471a60f466c5efd74d876370d3425551d5ac785c05a5f0ac57ea 8fb33bc5f24e17aa02924c0c12e4ce10b86edfae3f6e243e2a612fc1916a6b2c +lib/codeql/swift/elements/expr/CaptureListExpr.qll df6a3f55f69390c99f8047e01001d54458b07a01ecd70113a54f8d839ad1da6c 7db8cce6f5fabf9d9fb8e18f001131b3afd4d17145c0c7c460eb7a4d74b75dee lib/codeql/swift/elements/expr/CaptureListExprConstructor.qll d6ad6d73fca40b89935fc934ff133e57fa05cf946ed30f0d5cd4c0f6e276f47d 5a2ee131bd2aa497937334debc1d16d4ac6805f5262b3a3c4d8001dd1dd987dd -lib/codeql/swift/elements/expr/CheckedCastExpr.qll 244e72d9948bbbe2054cbdada22bafd82ecdef55cecadf22587310ac70dd1d97 d82388f5905f1330591dffbe79cb235e4992b5dba9cb5bfe894c7ee5689fb7f8 -lib/codeql/swift/elements/expr/ClassMetatypeToObjectExpr.qll 56c69c3e4fd32acfd3b5aa3f42a6ae5b2cc83696c572ff9cbc599f8f5c1af4f0 5826843c8ef38f01389f431b6210a855866e683022cde166394d9c692c30eed8 +lib/codeql/swift/elements/expr/CheckedCastExpr.qll 77160fe4063cd744b23d9f84335d99e9f67d92b3acedb223e98c4e4bfbee5d65 699a6207b5ed53357f347b98baa80a073b55b1b26d67bb825a874745a2f7975d +lib/codeql/swift/elements/expr/CheckedCastExprImpl.qll 4490e8f2ef8a8e3eeec886d1000dbb300d91042451e7e3ca4d47f235e9006455 152743cc7748bf14a6d660273246a9ece183b63704a63d66038769a92dd86b6d +lib/codeql/swift/elements/expr/ClassMetatypeToObjectExpr.qll b93b94afaefa508db3891f45b804e8e08ac1e6908cd926b3f2dcf918b898781e 1f2f5ec9cfaf684a9c1692a7248e2dc6c919f9abab7b31b6169b561c10593202 lib/codeql/swift/elements/expr/ClassMetatypeToObjectExprConstructor.qll ebea6ac615297e9d33589c8842191d3517d09fedf97e959027ea6ee6d7ca2af5 6713fea6113760257af623b8d343b9a3c028858aaed4a62d60b45031737c1cfd -lib/codeql/swift/elements/expr/CoerceExpr.qll fcca0f8ceee8f9fc6291d4cf1208daef7a03433cd982f0ab07608d543caff555 7e0e346d8fa6a9d6cfaebf5de13fe1fa9fff20e7b6b664ab477c32fa6269a7b8 +lib/codeql/swift/elements/expr/ClassMetatypeToObjectExprImpl.qll 76ef7db987696646daa13c3f5968bf0de467a1fb92f7423ad9946c758db77981 8f35dc4a18e3a1d4609dc21cf764b439cbf92c1b465120c3c384514a1dcf71dc +lib/codeql/swift/elements/expr/ClosureExpr.qll 5d5c5aa22a7c79fbb42b871eabb1a15a4bffbbd88fee6848219a66a0624e1c30 55b4e9d15543fcf9c6505cef84e40e7c480141a0af78f8d5a3fd8de4517a636a +lib/codeql/swift/elements/expr/CoerceExpr.qll d8370b3538534790efdfa34b8a85571d7a1c9192889cd3caeeddb7413654f2a1 a0571c4663d68127cc827ef3743481e4c7e8956ce1f61be6bff604bd027a52db lib/codeql/swift/elements/expr/CoerceExprConstructor.qll 80430d4a7f3c905b09ee55ce31e8d0928ca83db22ade50d3ceaf11dedb96ca98 681271934fd0640d1ee0b2b0e77113b2cc3b7ae70b0ed19e87d8fb93f03f7730 -lib/codeql/swift/elements/expr/CollectionExpr.qll 01608d954c02d97ef83620104761fcd8b384a4bd27a232ceed8f72886c0b5475 68ff819a5476a6c2dd96be08115df60c89fc0afd687c9d4318daff60d03b872f -lib/codeql/swift/elements/expr/CollectionUpcastConversionExpr.qll f7601ffaa1cffcbf21b5ed90ca973cf268be64f973272b63be74469a05388d3b 48b7f63345299127771ea2edb15ed55e2760550bc7e343103c33162447b5ef36 +lib/codeql/swift/elements/expr/CoerceExprImpl.qll c35e863c61557bc9fa36d5105178d3e0b59c8d5851e3f7919b2a6ad0d0314736 09ad21c8bc8103487b501d04ad5eaa72f82637240ba6e97c8741c168ed6dd3ee +lib/codeql/swift/elements/expr/CollectionExpr.qll a6cdd2da0aa3679e007bfa56af42bb48defd911fef42c585b1c2f99b2ec9ab1f 997f42449590b212127f73e009c3bd7faf6f9fcca98bec450691495ad8156d0a +lib/codeql/swift/elements/expr/CollectionExprImpl.qll 3b8221c23d8c2a907e704f4f5ad78d416491c7e89a36f3e7a372c97971790922 09863e2024c09e58e79e352e967ba58640e6f8e4961459590fc344a8478fb72e +lib/codeql/swift/elements/expr/CollectionUpcastConversionExpr.qll ecb573709b923218959a3d6f80ef5330f34a4f2e975f67e3b3900e5624428ace e5311f9f3784b2031d2e2188c3d45e98b1a7d5ad7d8f26cf597c8e318bdf8dfe lib/codeql/swift/elements/expr/CollectionUpcastConversionExprConstructor.qll e535066a9aa715f62545a3fa756f7591858473f56028c3c97bc8bd0e023684da 019fc3c8d21fc3229bd7efaee18918c882038e78343e6f2b20fe0192404842f9 -lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExpr.qll bfe2e7142451c1deb977d21e8ec1dbd8902b2f607320bd0205b1bbb4ffff5b98 46072f09950c0265fb2ea4a9e516d631753a7eac6ffc8bd88dfca6266567a036 +lib/codeql/swift/elements/expr/CollectionUpcastConversionExprImpl.qll 0fcb590f79ac2726785cd3f8c6ea647258c8c720a62b8642dab2484c812659f8 aeb9a0c52829e1a698d0612ac6515b728f9bc2c8b58e0c3ccae2465ca3a27cab +lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExpr.qll b761dcf93b8de357a6f9441c3a83b51c62420ca439939edd7f1bd18d350ea0f0 68756bc66d7adcd780ea9e643a1462aae3897ecbf1f2d91098f34a26e78d238f lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExprConstructor.qll 446d2b437a1b54e0ba3107aad57ea9a12449a70cd9565cc724b395bf88fd9e8b 7f7bd4dd2f6cb717c7868993d183fcf7634c30666a1709b9d1577ed17467f1e7 -lib/codeql/swift/elements/expr/ConditionalCheckedCastExpr.qll 61290c72da5609bcefb417a55e9d4338393af057c8634459875500710ffbeebb dadc07129e4b4ed41a8afb19a3e53ac0bf78f5b077be5f09e5609d87659a5869 +lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExprImpl.qll 5f125387145507602367e9e8c52c886e59cdf91d476f28d4a3cd474b2b3df470 7d185370184d6a7c7618653ffa61a217ac6d36c914455946c4e6669f8af188f9 +lib/codeql/swift/elements/expr/ConditionalCheckedCastExpr.qll e337c798f44143cd4c0c3e577300d9c18676da2e71e70c05a767c3ec79f30121 ec412f90d0914e0e8278787c78614711890b30251ed2b8f4bb0e5099b55b4179 lib/codeql/swift/elements/expr/ConditionalCheckedCastExprConstructor.qll 14b761095c024474f6e475a66822e9893b4e65e35c4182be9fdc5f801eb2274d 7d62113ae891dff8e371ed89d698e2df225a7580fe371165d69f42bd88ce8ecc -lib/codeql/swift/elements/expr/ConsumeExpr.qll a1149d8370294534203524123ceb88266f9eefc9a21e3c0cde8e93253209e6c7 7e30f8658b78846074bacf43276245213ef5f57f2967c6c52d72b4fe8f51d16f +lib/codeql/swift/elements/expr/ConditionalCheckedCastExprImpl.qll f0cd124cfd4541892b3b5fb13fd3e1ef8b24524af7559a4d5ac19dc5025d7183 81fe8c0d790aaf8f9a4b49d49e950d70a672acd6aa1c249f073a744adc35c6dd +lib/codeql/swift/elements/expr/ConsumeExpr.qll bd4548b5fb10f858138584f3a881de7b5af0cbee93e33034b527fe4794674a31 55b619714e992d79d721a7c367ac1a0baefc6f9cf2f3f18500cab779a9a7c745 lib/codeql/swift/elements/expr/ConsumeExprConstructor.qll e2fd37095422dcfa7e01fa0e7973db1b4e0f816064a0facd10009b200c941b0e 03c9ef3df9491b4a8438800d9d8c7b6d7fe562f1cc0250748f27933abfa2c989 -lib/codeql/swift/elements/expr/CopyExpr.qll 7164e3ea1908d58bb7184224b187ebec708a98c222d9e7dcf48f86a9be330632 08a7a5c1687b000dce6e41e838fe7e1852f309b947a600826643ea8604bbaa0a +lib/codeql/swift/elements/expr/ConsumeExprImpl.qll 60064b77a7835fc49a8b6bb6ca3e31d3c2265a5899d9dc345c4e097b564030a4 1fa3266ef648b9dec11509dc3823b74fe2716a5db2a091c99725510e124a7a9c +lib/codeql/swift/elements/expr/CopyExpr.qll 3255fad08f2efb437092c458a9799747f878e4102468ee7f05693ffca30eebf3 b8fe7e11a03be44fe7ccf19dd39b39e617bc7d8c7cd7f61c911b9c078decf3d4 lib/codeql/swift/elements/expr/CopyExprConstructor.qll 2b4944e504ab0a4884a926d5532c686004147548fc1734922d0a83d23828de56 4ef6c99b3bcc0ba58b8c040339762246eb206a4f89d0ed7ca92421b964bded17 -lib/codeql/swift/elements/expr/CovariantFunctionConversionExpr.qll 7726850cac33afed7bb0aad3a0e9d1211d7c287b0c17be4e2056ddcd99d35e86 aae0109a74e369d4d1a567473e24c4aac1e68cd4d4a920f11f8fc3b9db99cf6e +lib/codeql/swift/elements/expr/CopyExprImpl.qll 06c047d37175a17999a5aa5cef4a304967d149aa32fbe6bac224f37b64dd8ea8 4175a370b65536b3baa2b47ee9053e4a3928353fbfec2506e5e9c3e7095b9a6d +lib/codeql/swift/elements/expr/CovariantFunctionConversionExpr.qll e6931b88c0a0227682b22ce975058cc432f5567d469279f49d2667584c28aba1 f20c1c57d653cb4a58f56e1e43b7ec00caaa7b5fcaa3ee2b90fb4e457f569a29 lib/codeql/swift/elements/expr/CovariantFunctionConversionExprConstructor.qll 8b186ad94027e2e0a8b8cf0b0a1ec703a121e786fa969aa177dd3638af3c9c04 39c3383cf658bc10c1e02cca4c82362553d24c743651337cfaa54fbe304c9b85 -lib/codeql/swift/elements/expr/CovariantReturnConversionExpr.qll eca04e50ec909fd18e10bcccda791c6c09468ff58ad9445b3a93b9c57396c65a 41a8fa2608cf03885ac0df8e9a15ac14356b8ddaa1d7daf029e1912436a6598d +lib/codeql/swift/elements/expr/CovariantFunctionConversionExprImpl.qll 499b77c2820d42739843665a7574e47e630d3afd125cb4cbb4952d7fe6fde867 fe7d197f25786e329235756a85a90faec82273e097896224bd64f8fb4a804bd9 +lib/codeql/swift/elements/expr/CovariantReturnConversionExpr.qll 22994663b00b64044bcc9f2609f5518ac7da843ff6791523a579fed4457702f5 3b4639c824a97d7fbcdd27d88ddb409eeadea32870a5e651de86175133f426e3 lib/codeql/swift/elements/expr/CovariantReturnConversionExprConstructor.qll 5328580363441c1d76c8ba2654448207f581bc9af4b612b78c2522dceb1accea 687f9b1a9c57f0364893df2812472de0d32e5faed37d34ca429fcea2f9fa2857 +lib/codeql/swift/elements/expr/CovariantReturnConversionExprImpl.qll 750189e344195f715d09e93e772d5cf3a611a6d1895b7e4a88db4abfe0a5dc8a 8f646de70cb489f46bcc295e4b4a3bd7b8f03e3691c444c1f80b34453b65274c +lib/codeql/swift/elements/expr/DeclRefExpr.qll 60b86c7e16985690154a99566b53e8b993eed4a6faad7cede1c70eb26297c623 629f2b9f4e6cf4a6f6978b884308944c2f8bebd32fec09ae735a56b0a5cfa1b9 lib/codeql/swift/elements/expr/DeclRefExprConstructor.qll 70bd400520a0c5f29494c320184468d36075cf24feb1f6393fc430b47a2cd336 0d3419d85b0a62cc3c8f0f0cb3a4e9a09d250f2e8b99fb11b96e18f584f817a7 +lib/codeql/swift/elements/expr/DefaultArgumentExpr.qll 28812edfb51675740e43125e52f7d4f0907b1ba92fba59be4e5343ac56dff952 8202ba157cc0cf8a402e014c548aef743b4b676076d6659cb9ed29e57f786d1f lib/codeql/swift/elements/expr/DefaultArgumentExprConstructor.qll 31f4def20cb3b60b48eae9b24022f853dc490c2282368fbd8f89e2c689963f86 45dd0dc08a1c4729178b80c4027ad98cba5258ea31e11f0936a8fa9bde8d3b3b -lib/codeql/swift/elements/expr/DerivedToBaseExpr.qll 2718bc5d9abaa9a6ecf9312eb969c39f905fd0b44310cf4870ab30a4bc0bee73 c3dbfab04a762b7b666e2e8349594f849ea10637d33511d838b2973b0e4cf99b +lib/codeql/swift/elements/expr/DerivedToBaseExpr.qll c5d7747da57270409f6a5500f2dc6920cd613cd2ef5031494083ee3a0d781d25 bf89ec81c28209a7219fe2ab37c582b9eec7c9630fe9b708e095b9d746f3f063 lib/codeql/swift/elements/expr/DerivedToBaseExprConstructor.qll d258b88fff4f115e9b4c7ef4cb26623787732cf0d7cf9b59da273d8ebcdb9460 a0a3615be242c3b52624423d685bea3b1f57ebedb2dba51059acc33e2da49844 -lib/codeql/swift/elements/expr/DestructureTupleExpr.qll 3588f59883fdb3e1cc268ad17ff7c6fe8cc6ccd0a661cfcdf393dbc771da5d57 ccd66365129a897c091a46ed30e204ae93216e27b8861db3363cbc1c07527a1f +lib/codeql/swift/elements/expr/DerivedToBaseExprImpl.qll 512b952bf48f581084c9fa3b32d5c723b40f42b330f75253fd7cdc66fd2a4319 a92eacc9e410e9de33d7bd0836a934933de2d65ce2700e4b223930c21a0523b4 +lib/codeql/swift/elements/expr/DestructureTupleExpr.qll 07670d9882ea0a2dfcf07f27143d46722a591c0a5f33b3ec7a1426eee745263f 2c5e1eae4a844e8ca26a9d7695a6238d68b6a68bf6922ed2b592842acd48df1f lib/codeql/swift/elements/expr/DestructureTupleExprConstructor.qll 050bca9788f701745e05b19b50074d23eeeda6015ed4851e3f789f2c536ca089 82228cc5530c7c07c1bcce4e9c72839c0475d62ba5dedb0d2c7f29a4e512e44e +lib/codeql/swift/elements/expr/DestructureTupleExprImpl.qll ea32669b1c01be1cef49dff7a9ee063f137ca7569b552a25132a91a306af5d84 e18e4d57952f041b787a595b8d1d8247680cdff8f1d9bf46333035f5c3cf3e9e +lib/codeql/swift/elements/expr/DictionaryExpr.qll acb0ba17bb185e88735a457c908091e52a844dcfaeb53e9c9cd8d72be2c4adbe 2f33d91ddc5464ba6bc5d066c6aa626c9eec4bc02880d797f807ec2c0f508fc2 lib/codeql/swift/elements/expr/DictionaryExprConstructor.qll 9bd7bed677d8a44d799f7f69fa8696583b09eef07d85e931731583435985d1f0 3a3f57713f014df1b207fadb883ca046028df9f7a80d3c87b567b73ad0f9a74f -lib/codeql/swift/elements/expr/DifferentiableFunctionExpr.qll 22817e8c91295eb28ac8a380dea20dd48664bfb2c1c7e1b8d06048a13aab2b5a 679c1738b3d0ae89fecbffce0c6906f2b9376e0ae4af3efd96da8f4670433c76 +lib/codeql/swift/elements/expr/DifferentiableFunctionExpr.qll 8de13e0bd0da6d3c2188333d0f4cd219926efefe01fe89c1ebe67146c6ee6078 ada6a41be11b11d0404dac0f1510dcee66308c6f8a4030b07a94b96eedeaf58f lib/codeql/swift/elements/expr/DifferentiableFunctionExprConstructor.qll ccb9d4588c4549e9102dd684aede24f01973b55bee3a71bf165ba88e94cfd943 0818b3efb745f1524be6ca2ea195284f5ad7946e7097593d593546af73a19ffd +lib/codeql/swift/elements/expr/DifferentiableFunctionExprImpl.qll 04593561502002ee1eda58a56b07fa9ea2ecd641ac1da72e8088b1391ebff33d 8c10fd6c112062e411a856b276a0fe12b8911c70ba93f5aca922f3efe1b732b4 +lib/codeql/swift/elements/expr/DifferentiableFunctionExtractOriginalExpr.qll ca8d4ff5c5c03dae8be5ff2136c40c0e5757af305f0f52d9dedb1625f56aa137 caa56b2eff2571ee24ad32004f18df071ef07fc277f720e7c14a56c32a312d40 lib/codeql/swift/elements/expr/DifferentiableFunctionExtractOriginalExprConstructor.qll a7b6e22f2a812dbb3e2d87716f37e2da3766106509e9fb7fdf2a91e1cb2e3616 6e65360e64f046caba97705a2e5adef9a9674228f31332c8d9abe13032197cda +lib/codeql/swift/elements/expr/DiscardAssignmentExpr.qll a4c655594804e5d4a9566112a7fda6ba0e409164e9d23468242e388be6ebc6c4 fde38ca62926bb5b759e7b760a72e7945c3ec4f3991d5c49e6cc99df93ad79da lib/codeql/swift/elements/expr/DiscardAssignmentExprConstructor.qll da5f5b96affe451df707015cb304ae61df0ccffe989e765d59c336a194c28516 43b411c22d407338ad7151e6d949d2f85f8ff88e5bc923f8ff713f842803e26e +lib/codeql/swift/elements/expr/DotSelfExpr.qll b1483caeacb50aa7cc03475fb1131ef3f44ca4bf5442448992318c5e582b73af dc00904532fbf29ebb77f6f7d1514d926b61139a1cba94b00b244ec102d63de1 lib/codeql/swift/elements/expr/DotSelfExprConstructor.qll 01fe3c9b34580e5b5b4a17d6ea841685800d7197af9a9c81cbbc9dec5e1c6157 96a44bea60877e7ae7cfe878733d30e20a59dac15f2dcf02c174d2e7dd9159e8 +lib/codeql/swift/elements/expr/DotSyntaxBaseIgnoredExpr.qll b0fd48a95000bb769a944aec4a48902c305f40223525a89f1b80fb95fd86c08e d09c84bf8c593f81fa18f2aa4f6d4a672a45562ee0e08ce50313340ca69b46da lib/codeql/swift/elements/expr/DotSyntaxBaseIgnoredExprConstructor.qll 154b2d59b8926f0a66f55280a54e9eb61dbf5d8537b1a148e48234379cd1aa35 f2cbb8f9a8dcae1fde553dcc3370be5580657196dfa742aed3ee01bd3a78eba8 -lib/codeql/swift/elements/expr/DotSyntaxCallExpr.qll 35512b6343c4d86f107efeabb2f8e26999d0306aa38aeaa58f237519e286a0d0 c5568903843ee1db76d9bb18c54b9e5431654bb092a101321a6e12cb9b257af1 -lib/codeql/swift/elements/expr/DynamicLookupExpr.qll 118784c752b01e8fb898d81e729bef7d877f37b64ca6461c02fa766e52ad368e d109e043931fbf6b5a1b383a47b3ce06a25048ab95030ad0c26678ba4b1314a7 +lib/codeql/swift/elements/expr/DotSyntaxCallExpr.qll dd664e09a6d5a403ebf6e9fd2e4e3ea233f2825e23521ce5cd68ce778539c105 68773531921c023dc34584c673ae2f436be8b473b525d7abf69e3a7a4f591511 +lib/codeql/swift/elements/expr/DotSyntaxCallExprImpl.qll bc9b3cb48ac1964454364f4d0cdb667c6125e86e7e00b01e1b2145e5c1984046 1535e3aa7faaf8cd54eb0c8d0d2170f4c30931c1f666c28a9c76c663f53b4c41 +lib/codeql/swift/elements/expr/DynamicLookupExpr.qll bcbfb2d32693ed9eac985239a690c32a29122fa6e8b67cf0c483ea479b0b29fd 1dd64b1d9a319360c7c92113d436384f703a4d61642a7e420b34de411aa8c0ae +lib/codeql/swift/elements/expr/DynamicLookupExprImpl.qll 06dcfa3b2ffa65afaf1c909d316c95eb3b79aa90e9590d6d3248de4cf2147466 bcd16e57c95213b646623c63c119eb425bab0da758a85b2a6681c6f7cdd9ec61 +lib/codeql/swift/elements/expr/DynamicMemberRefExpr.qll 65be50d52de43e17f9ff2116edc06495b4fd33d3261fa4fb7d1f3bd2724da7d6 3c7a6113810731108169aa0c18552eac5c8fe2968c37986b087a1aa503e5af9a lib/codeql/swift/elements/expr/DynamicMemberRefExprConstructor.qll fabe4fa78d5390d8926b83db0a81b448ff609acac694364d37bcabeecb1f3216 aa86cadeea1cd0d6ddeea7207fd87e2db960fa7327ce7be964df40727a5daa85 +lib/codeql/swift/elements/expr/DynamicSubscriptExpr.qll 19969c6deeff0ce46aae5ba2c02278fdfb4c998e22761585893a843dc602dcb5 2cf10cd44241e8f18e78e49e85cd493fdaf6cb30b63a5cf2d481b44e062019b0 lib/codeql/swift/elements/expr/DynamicSubscriptExprConstructor.qll b488d0f3b250b2acaf2434abc29e19735cf87f8f803697d4c3c69f34824ad721 27774dd280e37f3c5d9451ed14e01183b5e84099f1f30afad942c3dd26c438c3 +lib/codeql/swift/elements/expr/DynamicTypeExpr.qll bb63a783c9335a7238fb81e189ec94e34177dceeb34e4b9b76ef76d72bf42192 0535ee9179d23fdb864e082727b0da4f5a3f94bf731d0d9aca225d4b5168e0a3 lib/codeql/swift/elements/expr/DynamicTypeExprConstructor.qll 52b2cdd673bafa50815ec2439144da29816a981764a94e0f9bc0d26c9e1d7b33 4ef87ba39c66d05683877d3f2960076d7c608ec62ff9e351689a3c1259962fb6 +lib/codeql/swift/elements/expr/EnumIsCaseExpr.qll 9efc177c0d7abc77573ba428c23068a500c678044352968ec2049cacd2302360 6e28d711b36472e1a0a64d95dfa3d042be4ca3c190dbf4e94b9a24ce680cfce2 lib/codeql/swift/elements/expr/EnumIsCaseExprConstructor.qll c994b960503d23bf2c1a68011671d719be6702a77652469e444cbd29b9150647 50677ca3ba9149ef120a1316ba90c184c4554ecbed7e6d589be39acaf327b839 -lib/codeql/swift/elements/expr/ErasureExpr.qll 0e792fb5ad4c5c3f512447e08d1670d7908552e3fbe8a1703be03880b2900f1a 2dfddfb63125bb6e8d80c4f55bc8b9ddecaa69539b17e58368e9b2b54945c12c +lib/codeql/swift/elements/expr/ErasureExpr.qll 36da3110b6306014b2add8ea89676f0104fadb67102ca0b8b8a57095392d5ddc 8635691ebea796dd2e81132ac7c22302fcfccc1c2f9b5dcfd9cd93c0534cdeaa lib/codeql/swift/elements/expr/ErasureExprConstructor.qll e143c6be243789b89f0733d9b03f1117fe8820d33bd26dec13eb9ff14c6b1362 3dd73ae9f010a855fca85b857ae3dfef5c45f6fd5e2880f7d9ab1c547d81d68d -lib/codeql/swift/elements/expr/ErrorExpr.qll 4466836149ed85aee13dfda94d70a0438df877278836c179cb12b0b2b4bb86ad 7a246417e75d9906763b20677a5c338d2025da8ae4e1db77295b88c581e325c7 +lib/codeql/swift/elements/expr/ErasureExprImpl.qll 11e7adabd8390776a4a63736dd367c82de44dd33dfb6b5c1eebd4c5849634bbd deb4fdf4c2a9d813f1be8bde90e5a14d49eff8f9532277c078324259a437c9c0 +lib/codeql/swift/elements/expr/ErrorExpr.qll 14723a637aca9dc4961198df04a55c907b6926761cccce93a51342e28f8bde95 77b6e2c2b358db7bc8143e888c6436dad282c372a21e1ae272437b671c5ad27f lib/codeql/swift/elements/expr/ErrorExprConstructor.qll 0e3db3e7ede1c271f270526ee74f60726c187227c3c54e8097c3fffd6f7c1cbc 859460e2cf898a51246d49a491fbb288876ac04334665ed3cf9d05c22ed867ec -lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExpr.qll 2dc736cd00adbcf15348d82a380e41352ee7eca050ecc4e816a31bdc472d15cf a99e4cee3a205642402956915ccaf1b632aade02e14a059db65595012fa0775a +lib/codeql/swift/elements/expr/ErrorExprImpl.qll 819ddf5500b362c2b48ae9f9a84d8d622e88b44da8168978c82b8f967dc816e3 7524223852db9b1832881c5b50a4c6c500ae9beb2cb9ded2341de728693bc6cc +lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExpr.qll 30671988edc9f0c09c20c4556847b685c5866ca0ce946ed1b47acc81d41f6660 6e836695fbb7ccc3c4bb35109a127a6e82e943ee37cb341c17d5f8006dab82ba lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExprConstructor.qll 338043a69b96c85913ac5ae02efb7fa363bb97ef33f1caab4253f1146f4a0e2b 0e66776ca92ebc6ab5b3cbc2b4e7fca382436279dacd5bf9f742b6e0c2150ab0 +lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExprImpl.qll 50104bc5721fbd13e1b22639b1a8e1114c0691297c808926c73f5257e55fd4f6 38b634dc13cdbabe0f7195e2a399c7370522b7fc8a56a3a9c53e8928b0742100 +lib/codeql/swift/elements/expr/ExplicitCastExpr.qll 0a3b14e661a2ec927c94bca255be0582e311f8fdc802d60a23fe502d1bfe5789 a1d539ffeb95f959f97ce556a27a29fdae2f0bdbe55cd2e9a143ce717f8b095f +lib/codeql/swift/elements/expr/ExplicitClosureExpr.qll b09e0ac6f466511fafa258014d4adfae9539be493755c366760a1d431766ea6f 8022bb1d2d43075804e9df45c000e24a01c0e8bbd6e0194241752aea06ecf018 lib/codeql/swift/elements/expr/ExplicitClosureExprConstructor.qll fe430a5f87fdb10a4354f699437150bda543ae7b2d09879e50c0498239417a4b f8ea635fe9ab01d48a52f135079a34689a648a4c279bddaf8def56ed014868b7 +lib/codeql/swift/elements/expr/Expr.qll f2dcbccb971893a5ee6ec52406615b32ebc977a70116f70943cc830aac54a958 264cbbccc13f4f54148b6cd92cba6d9e06e2c26121d43c4113b2442db0027a3a +lib/codeql/swift/elements/expr/FloatLiteralExpr.qll bbf1093f94f4f6a8298fc5e09f3f4b25c343f972921db0df475634af0f20c8f6 7636c5b75f90f49103a3236fbc79cd6e96b34f3d62943dd88097a63e483d8ebc lib/codeql/swift/elements/expr/FloatLiteralExprConstructor.qll b6a507af69777dc3e333e1346a3f93b4398551608f6789de562c2b57f1f5bb67 fe2eb2aacb3d4c3d2fa5476199512d5e1ce6aca6d2605dc94445e127ee2f3b08 +lib/codeql/swift/elements/expr/ForceTryExpr.qll 68b84b116d81fc02bb1360de727ea18d3ed3acd37013c09a3f0b5b2805cfcb5c b0b6278cc5e38a7c63591cf4337140ddc7629473a88c8e83d5b140fc96cda366 lib/codeql/swift/elements/expr/ForceTryExprConstructor.qll 159e084ab5e6fdbcd45b0ec0d4915121e8f425d764e8787df053e8a0b8fb6137 ebd9c1eb6c5029eef2ee6bb307e15f1eaf2e5db1fa97565cd04386b584b56674 +lib/codeql/swift/elements/expr/ForceValueExpr.qll 5d6d7d6ff7b0ebebcfdfadd3f4a18cdbbc098ffea3e7a2b1450bb9e44a8ae3d5 1d9ffa03ef068bf46f648d8cdff9bc5301f19ffe2c402094f9e5f4d357722744 lib/codeql/swift/elements/expr/ForceValueExprConstructor.qll 1c85f4d1d06f46f8c992ca13e32de8bc2c682d04a550ccec026ea301307ce2ef a89cf5fdd2063318244d42e73ddbe0e235bd76dcf35e54ace58f098d217e94d7 -lib/codeql/swift/elements/expr/ForcedCheckedCastExpr.qll 19abaa1f374f364daa696a735b252e4387e52ef661c3fd937d42b5abad011efc 78d421cf245fa669d3639eb7bc3f86ddba9fa227b0fa0d1c23563d4d5f19a548 +lib/codeql/swift/elements/expr/ForcedCheckedCastExpr.qll 28da4c02878de9d31bfb444bfe381003edd36f5604c40f16c61c30b9bc7f4932 adc72cc015923f66babfa4953cbf63a58fc10f94211f5f905509e2a3e65a54ee lib/codeql/swift/elements/expr/ForcedCheckedCastExprConstructor.qll 4fe60efc3485acf8d40c6a22cb7357674b09a0b3de2bced84111bdd869e2e8d5 da40790cd05ba28c1d7b64b184e22cd4deb01b2865a5f519bbb19f6f97e2efbc -lib/codeql/swift/elements/expr/ForeignObjectConversionExpr.qll cc643b9eb88163f5b8e0618dda1debbaec2d55a499f0745d767f646ca1781d22 daf36b2debfc4b46a6a12c526a92baf0c1115d93f1c6166cc0cd9ec8a6f93aaf +lib/codeql/swift/elements/expr/ForcedCheckedCastExprImpl.qll 130fbb296159a58b94d1e317b4fa63332010a486028270e914db7b138d7091cb 88c951ee57f4cc16aca0c0e97716734eb2b6cc78f5b8643c0cadd0d28b92d203 +lib/codeql/swift/elements/expr/ForeignObjectConversionExpr.qll 2a5b1625ce8b7fe6c6e46638873564a1b0204fda7c5a18eb505ee869980459d0 836ba2bfccfb762ff6e22c80e9c8109e4326788bd5ed4caef311212e6adbd8fa lib/codeql/swift/elements/expr/ForeignObjectConversionExprConstructor.qll ce08c0abd325dd14e0f619c6ea64fc0ab5e9b071a513b83583e99733fa694a43 7f58ce7e4351b956ccd16d1e5e06a36157e2cb9b1bfce6ee0c8cbb652ab4c485 -lib/codeql/swift/elements/expr/FunctionConversionExpr.qll 2aa9281f71b517e66ed1c727163568312c467dd83329b22eeee4ee75ee52e4d9 da55e89a919d60ffc41e32cef254ac5dd650cf89b20dbaf09424e4a382ea5412 +lib/codeql/swift/elements/expr/ForeignObjectConversionExprImpl.qll cf8d09d6b452e60fc11082fc455624daba37f2f632595e23baf01c7b3714c71c aa72c07d7574df984f989a9b243d8e09783f843ea8e9ac455177530d5d139bb2 +lib/codeql/swift/elements/expr/FunctionConversionExpr.qll 4479daf0a72d31d6e8642568ebd32202ce830f4e8522661381063f613e628c2d 12a204e56e32a5409f44f09d186e453cc20f2d7a4ef49c26fb13787d4480361c lib/codeql/swift/elements/expr/FunctionConversionExprConstructor.qll 4acccdc74c60949d54b0c169b0f081d868efe72a2647ef4bcb14b8f7959c4bee ddfa1c798ff246db2134c57ba6dc4c624185f60c577b1a221a0171a723a3408e +lib/codeql/swift/elements/expr/FunctionConversionExprImpl.qll b41eb724d9c352afc03113dfb8d71937e643760f40960f5b98288a1c43456254 93726be84291b21f448a69f887368639148811009d32d15a87c1cc536d8893d8 +lib/codeql/swift/elements/expr/IdentityExpr.qll 35cdf999df3b3ea6d0ae4da2879a665807db2eb5f75fa7da54466062ad8eb050 827d172321334462c8a8155da443324094b14406189e944640f26efd31a684a0 +lib/codeql/swift/elements/expr/IfExpr.qll 904cb711f8fbaffd75b9eaf2f5695103965efbf2e8af8dd43a01200bf24f35e1 ea3b84bf758ec41b96f5bd472b4b036d45360f2d6942b1d0104894a9e51d42e9 lib/codeql/swift/elements/expr/IfExprConstructor.qll 19db7b1ada1eadc9222b9197b01e946f0a3ab47760450b8300a35030d163f47b 997ddb61565716c057d2913e7747023e625fe66acd8ce4d26e44c5e81efde48d +lib/codeql/swift/elements/expr/ImplicitConversionExpr.qll 8828d39fff3f6b115f744714b8328b8cf3b1d67285246670787cf095e46f6f59 9773247c32e9034c4b6bdf383b913db352e4e60ffc7609ddfcb7cdb1d6a9e2ee +lib/codeql/swift/elements/expr/InOutExpr.qll 8386409c08741ec715acc93fac95ba2fc7c854ae0be3da65732dc8f8fadfdde1 d678592f0f625fefd82e21320aa29f3b1bf086651669643e01441f3d314ff371 lib/codeql/swift/elements/expr/InOutExprConstructor.qll 22f59945ffa2b32107801b7830f5558e795ddeb3b7b84ad841647989e2326c16 907cde9a2ae22a8cde9de6ec1ad2f1a56cf8455ecbc8562c6375b1695679aa4b -lib/codeql/swift/elements/expr/InOutToPointerExpr.qll 93bb97e98ca26d2e5edbc188f84664c6325bb75951eb04e1df9058a6e9869c1c cc3e07b789d8196bb8bef8d85d1957168a4d5599c4e9481c284d61b9e4ebdef4 +lib/codeql/swift/elements/expr/InOutToPointerExpr.qll 87891c6042d1d62aeb6d2af704bb3ace16a59cfdcbeb482c8dd5e386a0bd8350 349b38b5e5a1c47dd52060da9afc1fa51fc9475fc6ed09bd4aae3550ebdddcae lib/codeql/swift/elements/expr/InOutToPointerExprConstructor.qll a1d4a719225259ccc6870d71b1b00d9e7cc5dc5291e6c3134b26e0bf50dc8ca1 61ad8913d43af36843027c52598f0ed5a406523f67234be1a5c31f4702a67376 -lib/codeql/swift/elements/expr/InitializerRefCallExpr.qll b2881e1dc5823da63728def4f4bb45f7069bfcb9a7e858b477ba226d49acf8fd a44073e9daadf9b347958b1bc4997e9a0bdbe342753aa6dfe9790a1ab51b5e7c -lib/codeql/swift/elements/expr/InjectIntoOptionalExpr.qll f45fb9e782e868c164df21043b89cefcd7f55d85f017ba2408b1b696e214e621 71c37dd964fe71d55af9540b7b79fabcdb94d35de31005db1ec024157dfd3697 +lib/codeql/swift/elements/expr/InOutToPointerExprImpl.qll e73751c24a5bb74da0f781f00632222b37aff7c591a4eb5c47140c508fb43927 350a105c7cae56b07b82c8e504c597b422c0f75e190766ddd9f1f29cf1ded7dc +lib/codeql/swift/elements/expr/InitializerRefCallExpr.qll 62f81190e233d0bb6ca67a864d2af6a3549dfcb2a1c21d4610110277c5df5aa4 bb7c6bedbc1a994572ea171634e55eb568865bdfba7b55ada4aff856b5551075 +lib/codeql/swift/elements/expr/InitializerRefCallExprImpl.qll 1dc7a8d549fd4638efbd42573db212d3b054d8596a29a4a59c8a6c9bb3106617 100a8ac02119ef9300c31d85821aac3e94997f180109f55d3bab716ceb1df7a7 +lib/codeql/swift/elements/expr/InjectIntoOptionalExpr.qll 9e88f1445db11465774db854722b27bf5379a9bba5e52ceed6d9eddedd5f24dd 35b529aca8f0454d69de4fb44f538a80433184ca28d2b917e25d001aca7a689b lib/codeql/swift/elements/expr/InjectIntoOptionalExprConstructor.qll f700c46060dcc34182dda95692dcc8ae1240e113a3b2bdcfb02c7fdb5be07191 8ff9ff6ed10e91d920f3c93b1316c4567b545b8d2289d607233b4f35318a2a32 +lib/codeql/swift/elements/expr/InjectIntoOptionalExprImpl.qll 07324f42f3147ed689f89e4df3add78e3362c30554658102e06470105a84d140 f1178be9938f2dea96700cfb0072b84b66b5e4bb00d371e5988da5b8622c73e2 +lib/codeql/swift/elements/expr/IntegerLiteralExpr.qll 2b506f25ed497aedac21e9a34917cd643e24ddbbc7fa4d72dedb3a5e7d96ccfc 50727753a7b99a2f8c1a8a9d0e21c8a9df2cd0f697c0c68514bff9b23645c415 lib/codeql/swift/elements/expr/IntegerLiteralExprConstructor.qll a5129ec2adf907228d6830e8ca6577596dbbf6711c358767b99d1f28e5eb70c2 e30346f405e64f68d433aef284300ecbfb5a885e65dbb8b08977cf1e396dd3dc +lib/codeql/swift/elements/expr/InterpolatedStringLiteralExpr.qll 68b32d43a2e9c2cc22e8ab090de427a0c18a88e8a582973f4ad01e606e64145a e171084014805e866d0c4071f72ab85c454f326e69e3947686b7df29ef1187d3 lib/codeql/swift/elements/expr/InterpolatedStringLiteralExprConstructor.qll cc7316308673eea27dff002858d6e80f433b32c6ad09ca45ff43ebd70ac40b16 11aa8375e67a160ae62df313f22fcf8fc034beab44ca6b3ddc1a0bdbf47cd97c +lib/codeql/swift/elements/expr/IsExpr.qll abb739f67960ef75b036f5970733b052e058ad733949446625281013027369ce 7ad4783f6805eaa515fb89633572ed54ef55e243f2f8f9c3dbe23175be83f57a lib/codeql/swift/elements/expr/IsExprConstructor.qll 4352e49e8b1294d294e9580dca1a569ac41e688482123921f507e6bd7ab593ce 0d672419a60c697de62b0c944c3377bc96a247fb0b6d84a7916ffa1cff515be9 +lib/codeql/swift/elements/expr/KeyPathApplicationExpr.qll 5a8c27213941a2a3efa26d0e28e943b09fb08f289df2cf2848c801812af6cdb3 2cca96c485920d259c58863a365578cf72bb0a3eeb18b02e2321b083cbc86fe4 lib/codeql/swift/elements/expr/KeyPathApplicationExprConstructor.qll 0bf41b9be8ebf95e7cbfefc5439e40c2e6a9b32f759b9181fdcd64c2a2f79631 45a413c881222bd5aa698e1bd477f89bb55be367a815aa5ec5233c00e1864a26 +lib/codeql/swift/elements/expr/KeyPathDotExpr.qll 50970261da11a1d9480fe5ee077d659ee3aae46f02ff8aea95c9e9b9bf01bfdd 54e172d939282baba0b398bc6e47b8ed98831e75ca9ee7b298607efa645bf002 lib/codeql/swift/elements/expr/KeyPathDotExprConstructor.qll 60bbecbee97949fc55755954a192e92e1eea58718eff16b67b0dc95c41edc377 682d3c25232193bb2b87faf569047fac750ce4eb75a09f3d5e10342882e6ac0a +lib/codeql/swift/elements/expr/KeyPathExpr.qll b06d1b079dfb1e71bdb83b316929286d596d4bdf3d913cdee18632bcc6281493 7a2bc37b0e1bb2efcf1d7efc89184ffa397fad9d0c57e9f4cd356b22bb8cd853 lib/codeql/swift/elements/expr/KeyPathExprConstructor.qll b512e93c1356e72a8b7c72d4dc7c525583a6736a15c6b72260af4a9f4601b79b 1ac918ca17125df7f2ed9bbcf55533381d3dcfac4ba7b3461c3c1c1abfbe26f2 +lib/codeql/swift/elements/expr/LazyInitializationExpr.qll fb39b2588d3d4ed7fbfd6a22dcf297ef6291de11d4e7058aaefe1e822e56f448 dc4a575aea2e7cb29e2ccebcf35142fd5f602879502d76e2ffed43eb4c8b6503 lib/codeql/swift/elements/expr/LazyInitializationExprConstructor.qll 2c98a6531593553a51850c7777d2c3b094a241457da52b7bd4cd6b67bd8c14f2 ab8ee51d52910c716bbf00155d5403e99c0cc4301a82ee250cac6928d396e4ca -lib/codeql/swift/elements/expr/LinearFunctionExpr.qll ae40584d2a474a067d28be0e315c0a2a007029b77a45b20c8705a093e42b703f 246e93022e252b1fb0d5543cf259051c0f86b164c1ebee4986c37c1b1b2dbfd1 +lib/codeql/swift/elements/expr/LinearFunctionExpr.qll 4898a8196d3f5dd3040b162586bed7116f46dd004b988a4ad86d48a4bd41f505 a4ae086d283b9e8408ad34944256937f937102c2ff673882e980d3e830fa86c6 lib/codeql/swift/elements/expr/LinearFunctionExprConstructor.qll bc070d49479377dfb91485127f4371b496c40185b3354251f4d2ed9c9f22e1dd 895afaf7cf904ff760adb5fedca945165f9ff392c65015f7b9163a19fed26152 -lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExpr.qll 42abd80e6d97585e1ca24e9770d8c4f8d42886eba6c06e5ce939de6a6c5f175d d274d16e1eda45817d460ed5ec0e73f18a46808cc14a5248ad552c6b6d790dc3 +lib/codeql/swift/elements/expr/LinearFunctionExprImpl.qll 8a040e28a011be0c0e0176a4a860ca3252cf20d7444db2112df8da9581ca9aa2 eb19166bc43e5165dae8159b60f6c7c376b076b2f5377aa025bd10a00f3496a0 +lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExpr.qll ad02ea9b1233180f5e80e8ecf05985dcde917fa4f2da07a90e0cfbd4b1c7a9bb 165b99fe6bafa91afe0f441acbd09d26096f956aee1f39907781a83da54bbd54 lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExprConstructor.qll 4d1fc7ebae7ab9596771085393ebd21a1e9d398b7c14792b27cb2b6410702d68 a5bfba96a697e4bd70c03a0dc8ef544d110d098a6826d40c89dc0bf84a513f86 -lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExpr.qll a6118df273d66b35411011ebe41fab06f710432237daaaf6ba21047e4b119b67 5fe3b22ba730d3eca87d55dc22c80e67f2bfd9a991cdd6b59683b10663585a21 +lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExprImpl.qll ed151683b09870856976258c93ce87cf80c414496da0e12d00071e7bcae4a438 a7b5756c8c3212d85210554e23aa308494de6548a2558cf0e92fac62a5b277e8 +lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExpr.qll 34da45330fc91c4e14319aa43700501fe6635b999432c95c2bc5d5dd852c9b15 1321bf282e1e112e5b3712dd49c3b30bfe9f18fec49e6134318da69c6eb76d95 lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExprConstructor.qll 793764acc836d9e29b027d764ee68edf878ec02d6dbc1dba13f39f10ef837ed2 80bafa0b1aa45881ba3eda0c6d18301bafa39056add3a72e7fe9629b51b11322 -lib/codeql/swift/elements/expr/LoadExpr.qll c67aecfdf75a969d15aec4ec8364c5c8be6574e9e99519c1498736f1cb954da6 734f4b4ca41748a998260dea5166afd6b5b14023b8e633fc76f5e404e684cc11 +lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExprImpl.qll 5644c0f976675c55813fa441557cfb25699e2b97a362386cc0a93395fb557001 191beffd54409f8a003ac72e811b80d9e7d456a3fb01d203592a62bbe50b819d +lib/codeql/swift/elements/expr/LiteralExpr.qll ca52fd497cbd6919a6c1e6cd828a29f75e550513f1309bfe7b357fdd98ca4644 57a0de6f594f167be1cc1137993b1ca183837c4065690c26a6cd00d13b8e6d34 +lib/codeql/swift/elements/expr/LoadExpr.qll 815a897cdbd5ad44188a24bcdebb34f4886f06b992a6ef881f6ebfbb5a15f774 4df2a5830fedeadca54a3a1630225edac65c5aa3371a72de631e21d3f2d04f4a lib/codeql/swift/elements/expr/LoadExprConstructor.qll 56727367026e84469b8ee2e0b82906106a61eb89aedcaeac832dc7fca9e84a8a b5b05334e4c35236ca84e782baeaee62f7220cd546b1aae876efbffba8110661 -lib/codeql/swift/elements/expr/LookupExpr.qll 7fb2fa23233abcd1f2cf4cdde60d6db13e31d41bf3f77cdbed6c2e46a2a0408b 553ce4073d2aaf13e92fac564bef631f77f11a79ec626d74182cf95e02ff9a55 +lib/codeql/swift/elements/expr/LoadExprImpl.qll 0bf01d02620d441b6eb0f85d2b3205a19576fe7fe4cb9527bb8b9b913e12e9cc 9a7fc28baa3cd51ec2956e6d5009d88365c60a035fcf3890bb08242ed10b3ef5 +lib/codeql/swift/elements/expr/LookupExpr.qll 70f3b801f2e4436891664733d37ccb42f52c7e255b9accde0ab5bcd7f7264595 58e9ff52725b55398d69e3242342387cd8eb51af9f7cae4a052f01d560ca4e67 +lib/codeql/swift/elements/expr/LookupExprImpl.qll 0adeadf4658f5c8bf2a99ad4629c6b4c0b148583a68d8609ca3d19f55ede73c5 57640b998a3ff75e0e51f1b4dae5851b4ccda087611556264d79bec11114e875 +lib/codeql/swift/elements/expr/MagicIdentifierLiteralExpr.qll 8ec3237f7b6c25447de5c7c8f6420dc278e42f98cfc74a579c61af86c744a587 63e43f6d56a00c0b6cd450e473abfd5cfd6473cb9fb804118443d7a91694a747 lib/codeql/swift/elements/expr/MagicIdentifierLiteralExprConstructor.qll fa4ec214889913ebfc5f3e987245905285ae2d6a399e153b087dd5528efac68c 95980be351868456adbafc6c7a78be83f3c7d5ed2305f6ee1a2e6b6ce72bcec6 +lib/codeql/swift/elements/expr/MakeTemporarilyEscapableExpr.qll 0845c1506d5e087b509c70ed81be510ad336da42c47f31212b3bdbc3a2cd344e 07598d42d19dc831115494f1c70d64307a9dee13000fb5f01181d72c774020ae lib/codeql/swift/elements/expr/MakeTemporarilyEscapableExprConstructor.qll 9bb400af8070add0fc981abd35908c5a73790f9c003a32b0e8b02b9032a1530f 93944b8b4f1b89e3bf89fed13593c2def22d5fbcf74aaf18a0fa83c620706f11 -lib/codeql/swift/elements/expr/MaterializePackExpr.qll 31d679e86efb6488114a6b53c594d6be75b3eb431ec172f5f6b93e7b7aa4f2b0 1607775f840452d1cc4e0c9b1460c95b6f686867a295fdc27eeb0b6cd99121ce +lib/codeql/swift/elements/expr/MaterializePackExpr.qll bb9de7799d248c9816770aa0a3448aeec99bca99e19156e645aa5490d23833df ee9e75ae3a9ba05403f0e33d48b629879211ee9d491d8131709cc105a3057974 lib/codeql/swift/elements/expr/MaterializePackExprConstructor.qll ef8e1f20d5ef63bfe0c8e53657e3e2c7ff29c4601d956b3e2ccfc7b0b0a8bd09 dad7e4fc171c733bf5e547f1ba1a2028986bef52c5f7a3990ba5335d15f113ae +lib/codeql/swift/elements/expr/MaterializePackExprImpl.qll af05c5171c7a40b7fc34905a36feaa5405d88b9aa81dda66cb09c6a6dd7b436e 3774f229896ea988bb61f42ce05cf0ca96fd78c3e1b06ab446513f85e65cc527 +lib/codeql/swift/elements/expr/MemberRefExpr.qll 1fc7504b415f9ee655264fc7ee9795e5dfaa33a8f9cce9e4e7967ee8896c295d 7f5a8ccc44bb4b0ec7a6cd3f67ca8a842b641cf96d4e4c3dcc4a54c73fb60c82 lib/codeql/swift/elements/expr/MemberRefExprConstructor.qll 3ce4c9f3be7cb01f63b835047ad2fff025004fd88b84d6855b8dc61ec9c79e8b d79da455bea22a1ec236e8b11eac3620ef6049620e26ac0585b4c1cd223adeb4 -lib/codeql/swift/elements/expr/MetatypeConversionExpr.qll 89f9314c791beca8b0c3f8da79afd535cfeee64ae917e73e9adfcd66af0c8d89 02802318fb288960e2af184778e187e1401e34755be878dae1f97871c0849e49 +lib/codeql/swift/elements/expr/MetatypeConversionExpr.qll 5d4cba91bddd8c55952d3467b3c4be8941d69a813bffdadc16f385450e8c7939 2853d2797a810ac6b528ce77b78aea0daa52ca6d3956b7a903d06ba90c43ef92 lib/codeql/swift/elements/expr/MetatypeConversionExprConstructor.qll b69711c629d43a53a1eec3b299a6fb5a60e5eb71d751694e89a42fc5b18acf5f 851eda459f0c53c7c83af68a1b2b6946e94a60b13ba54ee674657a32514dad20 +lib/codeql/swift/elements/expr/MetatypeConversionExprImpl.qll b687b7e02a6e331b091740d9500c74e6256ef348404dbc76653c78aaf57cf3e2 d5803f5dfa0cde2794d88ab2322ec8b71c0efde668809730eb9327530d923b18 +lib/codeql/swift/elements/expr/MethodLookupExpr.qll 560ac96d17497c0e4a72d6d03ebe70d43e79e8f118380db4715e56eab0c6b66f 2bea40f8e5bd85e3a38cc4f9a78a8478a0c9f9023e86325d0dd301357d883b7e +lib/codeql/swift/elements/expr/NilLiteralExpr.qll 30a722523d03b0861f963df0842f85e7546a9300531b1aeee7eb9d8bb91fcfd6 aabb0f7de026dbf006a3a3674332554b6ecd4335e4ab7e812000120f594629c9 lib/codeql/swift/elements/expr/NilLiteralExprConstructor.qll c9941e7f729ebfed570c202199aaecb8ccf64a0c0cb43770c5c24c1dc4190c4e 4150728b33b3debb4512cca7d1a66dfa1ff2a198031706af219845462cd1e865 -lib/codeql/swift/elements/expr/NumberLiteralExpr.qll b8b18bdac0b25137725e78280ddae1c76ab55df4af9d29eee42f4748d1628af8 8c68961cd44fedfeebfb8193227e2fbc866e8f8a1271c6e29db9d64f539a3da3 +lib/codeql/swift/elements/expr/NumberLiteralExpr.qll d0aa7e94a108810cfd88cd455d9bac960bb79800a008195aa20e794fcfb9d661 8b8e67cf08fccf8d925e3fdde6795a529b06e8efa06dad9c23bf9fcdc72fda32 +lib/codeql/swift/elements/expr/NumberLiteralExprImpl.qll 224644c5b36eafe474a863bfb6e94d956fd6db1bab384e6488c44c6f4842f7a3 9797c8dcdde4ffb97365fbf3c8237e8b5b4e7b8da9396ba12f66eb36d70540fb +lib/codeql/swift/elements/expr/ObjCSelectorExpr.qll 16fe3285cb66e94d9ec5a3be72368335b031424525540a9d6c0ca7853b0dfe31 0b1350587f1178a86a6bb651803410c73f2365653030ade6aa64cb5692a2c614 lib/codeql/swift/elements/expr/ObjCSelectorExprConstructor.qll 0569736e484318d485ef737f3081bfed641915fe2dba0c252dec2b7b2189211e 1ace3421016bd9d98c5219b0f0101dc9c21cce0bd765ffa184795b2114f67b9a +lib/codeql/swift/elements/expr/ObjectLiteralExpr.qll 7c71ea8e6c440dc94a7d89de0b45aeb055eea0e316aa434f0f6a4029603cd3fd 9d1a79bdb5596f017a00f750cedd6d89c789ee351a19dd48382ca2073b70bba0 lib/codeql/swift/elements/expr/ObjectLiteralExprConstructor.qll f49e4c09bdda7882825fe6148491f5c3c9cb425ebb84fb40e80b36ab7e6a962c 9f404b362975ebcace8c28abf2d0e2f5bae894595dad9cd2a2692bb354394e9b +lib/codeql/swift/elements/expr/OneWayExpr.qll 022f95ac0f1d18cdd0b902a078f730001177aaa4d4473a484e4164672bff5e0e be2081957ce6a3db649e56a802c581887c159d12511e7c73b68078be21efef2f lib/codeql/swift/elements/expr/OneWayExprConstructor.qll 557bf87b7fc4ed2805d9e0c1f7e4614b98d4b92509f4fa84b4f161cabe776dfe fbb1722318fa85aa89c1f42a280c7a0e1c94221479662c9c65aff389235e393b -lib/codeql/swift/elements/expr/OpaqueValueExpr.qll 24a6279713c474f0ea73dc8ac3151ebcf0c35fb6c8ce198d4c878c53181e0a91 f33973bb8aa7c43c070c3c009800689b7cb1a7270e8687f1ce6924e3842a7cbc +lib/codeql/swift/elements/expr/OpaqueValueExpr.qll 1cd180dfdeb0bfa4d2e4b5db4410351301441a78ce71ab554908fac13e3d2dfc c19270abffad041443716d8fc7544670c4146c88cd8ca8f46909f08489adc55f lib/codeql/swift/elements/expr/OpaqueValueExprConstructor.qll 2aad0e31974f7d00827b646cea73d8001aecea929be08c6efb0b8fdb2e3b14ce 67a3b527643c43b9516d5cc29d6feda411d562122a285d0278147eb9280fd049 -lib/codeql/swift/elements/expr/OpenExistentialExpr.qll 682b76c47b2907afbf4071962643a67590585612893c97f04a4c3c75906b70d5 fcdb817cf6b328aa7e66e6342b094a8b33230f41e5ce45a19ee06ffbf87fe175 +lib/codeql/swift/elements/expr/OpaqueValueExprImpl.qll 2c55670e6e197053130a6b067cc951b1b071c83a31f95c5b8b664d17439bb777 2c4b5d5b2c7bc859849b0c39bd79d87ef82ebf5437cf05a8d21c46adc46d0507 +lib/codeql/swift/elements/expr/OpenExistentialExpr.qll 7af0dd884b83762873c3513599f472179b3998f5e620fa3b9be295ea542772f0 89229056445b6b30291cf2aa088445396e526dea7d696d024caacc9f25074d14 lib/codeql/swift/elements/expr/OpenExistentialExprConstructor.qll d77c20430ae4e426e28e2113afd8f00d946eeb45bcd09af7d79ede6178d15f46 b7bc908db184f6753c71c41dd5d77fed1ab9492571f4479eff35e657cdf1deb9 -lib/codeql/swift/elements/expr/OptionalEvaluationExpr.qll ea2c02314b2713915e9169a4ad33b4714904665fc7002f9b822eaf919fa93327 108bfeaba2fabd9bf044a698b877b98f4b2eedd0429fb186ef93b075d39c040c +lib/codeql/swift/elements/expr/OpenExistentialExprImpl.qll a1518e28e7a5bcf559f16f0881bfdd79bec736b048c35e229e08bc0f7bbf4a55 51e6faafd5ae06d8994cc7b6fe65d403eaafbc0e501d0e89f95277e311b240a5 +lib/codeql/swift/elements/expr/OptionalEvaluationExpr.qll 536f613391dc5ae720ced89ca4c8d875e6feea6d68c30bc41762c26c26e10ee5 3521e092b68dcf04ae4895bbe0c7a93f2b39233c1f5f3a1e23a658bbd7710da3 lib/codeql/swift/elements/expr/OptionalEvaluationExprConstructor.qll 26db10067d719863e6aa73a0ed4c77c7859197a9cb7945f6fc89bcb0104c6a4e d281be9d679268e10b82396855b4f03dfa2b88a5041a1a4cd40432fb14f0e147 +lib/codeql/swift/elements/expr/OptionalEvaluationExprImpl.qll e034e7941961c4fb023f2c8704861468fc223aa28a374c6a98b58f5a6f2dcae8 c55bea544997006837f20bdd617e8893ddee276ebd2529e8b2653f05ae970e85 +lib/codeql/swift/elements/expr/OptionalTryExpr.qll d5e9e88cf40606b4cd451318e40c054591410c8f2e1c37caaf80282dd61693e3 61a79e546f08c0808558169477a5f47498aeebd27e8cca06f5a8d571e3b505f6 lib/codeql/swift/elements/expr/OptionalTryExprConstructor.qll 750601dd562ae374d1017633f18a1982243d459d99450e6f2eba5d2c950a275f 1daa3665fc061f67e5df65b6688cd594a364e4dbdc984dda845fe3ea180aecb3 +lib/codeql/swift/elements/expr/OtherInitializerRefExpr.qll 0a2241d0402ab7d1199392650c8c965a074a4b572022607c6f46941ee5ff4c20 ceeaea4819a49132d5d5984a6f203aaaeede5c4227930096733300e09a4e480e lib/codeql/swift/elements/expr/OtherInitializerRefExprConstructor.qll 0e83793435d321a66b71247ab4527bf4ffb91489ed7d63f265a1d04bbb76784e 64b071e317aaf5c56c8234137e006cf3fa54ae0ea7de9db2a22328eded51e439 -lib/codeql/swift/elements/expr/OverloadedDeclRefExpr.qll 01951abbf61281d711e1292949b6a9749ef9ab4d31eef1786b27239f3d448ef6 e9f0b64618f0247fa4712ee56f052f6e7433cdd19c001a69035f34494cffd5b9 +lib/codeql/swift/elements/expr/OverloadedDeclRefExpr.qll 64718c791c75fa389ac5ff7941d82dbb8ad888458ed67ff3a91ea100201e4ea6 8d28ee5076b6e0d741c7a8b31b55dc006c3b80ffa2b9a0bd98edc62c2bdb861e lib/codeql/swift/elements/expr/OverloadedDeclRefExprConstructor.qll 708d21e199ca1cbf9286d9cebdd1fe32dc49aa24607dcaad227cf58e041fddce 1108216769f70b4145108750c383301bbcbb9923e2a93b18cbecb9f16eefe111 -lib/codeql/swift/elements/expr/PackElementExpr.qll a771e691541cdedabcc16b7d853ce71647eb3482f22f1586506fe88dfc015e96 03622a124f3c922e10554a46f9db1226b23a72c65a7592e63de47fa93888b5b3 +lib/codeql/swift/elements/expr/OverloadedDeclRefExprImpl.qll ed4287c2196b246dc57b111e100ae1f3cdff0397235689a25d9cde831ebc955b 6d2bd82b415d99c43031fdef4d41a87facd63395016f7bbeed68af4b37b68e8e +lib/codeql/swift/elements/expr/PackElementExpr.qll 8a9df6b2dba4c39650776ec40d6dba1a18db74f25076ce404b45061786b22103 3496ffb0c761d6142aa02307aee077a512ba49ed89c1986ff0a8d83e82989594 lib/codeql/swift/elements/expr/PackElementExprConstructor.qll 935b6291a3bff156b281f69cbac14180cff52a02bebc43277d8e5b954bc46317 5d84cec9fc385e4c3f73c96137b0225cff577c4a4ebad57b01809478ac3d0b74 -lib/codeql/swift/elements/expr/PackExpansionExpr.qll 750d5920dd2537a1727143e0aefbfef57fe86039be1d0e05f221662c8059ac9b 1e9e70803422866584d78d08a2c971372e384af1fba3a4ad4ffa985d52dedfa3 +lib/codeql/swift/elements/expr/PackElementExprImpl.qll 2ceeeddf31c179e8669e24a019ebfb5c99733dd32dd74d9d902cd6977a90cb71 21ed4d2a8d22041a38622b978ed2da5df768a7cbab33a26a2fffa1acc7899c20 +lib/codeql/swift/elements/expr/PackExpansionExpr.qll 3b48a99df119fcf07b04d6f71c640f65717a54951a8005c6f91ea921d8a1c623 da95fadf5f53a727c09bb23b73403786684d0045cdaa45857492e671f037f6bd lib/codeql/swift/elements/expr/PackExpansionExprConstructor.qll 17eacc2f5aae97d57a2c332178404b076e2ef3170bb5d72205b693823a67e5f3 897def6d150414b6d33b284f8cbf31bfc4ad62c9ceac3ddc930682afb009aa4e +lib/codeql/swift/elements/expr/PackExpansionExprImpl.qll 449745d0766040168c26c2c3ffa696226e7e03158428248c5751a509b527d51a 86ecaffb23050f51268c281c0fb44a6d98157b3f43316510eb69525eeb95a76d +lib/codeql/swift/elements/expr/ParenExpr.qll 4d394e9366f1b0111189ab62a24215536642103f4712e94d66f54c6a782e60ee 1437087f8f01bdcd86f7c3e172cb087d94264ddc92d4436a95c4772010291bd8 lib/codeql/swift/elements/expr/ParenExprConstructor.qll 4e335d3bcf9140a00da2df4850d894fa1ddfbd1ff9585f8ce03fd2dc78cf7616 507bb6b8f0980f87552f9cbaa7b2fc566e9756fac81fa9ae9b8cfe52c2e20bd2 -lib/codeql/swift/elements/expr/PointerToPointerExpr.qll eaa402580a8a1756627f3b58bf820ccf8bbaad9c13f3a5e8b3984b9f47f5f78a 6dfc9d4aa5724af1dfb0d407ac46539c8e3f46cea82d8c3ffdc9ca51c48b3e50 +lib/codeql/swift/elements/expr/PointerToPointerExpr.qll 916f8aec5a098b49ab21868e65c85c9f90444f8a612ee95889a1232218b5fe7f ce1cbd7ad6c229af4952fbb631154cc7d07f34f84b9d689b91b02c85d9cc7c9d lib/codeql/swift/elements/expr/PointerToPointerExprConstructor.qll 264432cb994355fe784f0747a2aac425d9cb50e45c7909f2088912114b41cf5c 22b94c03e9f3c0f071a21cab5eb8c3f4e2cfab455fbd83fdf69156eeec394a4b +lib/codeql/swift/elements/expr/PointerToPointerExprImpl.qll 81d7e2447ca7853e9bdd27ad3fb9f3c6be987c1119866883e3c5fa1cafe77ea7 3e795dee02f028fdf7bd92205c76656c5950f4722422c6789995c5afa73e51d1 +lib/codeql/swift/elements/expr/PostfixUnaryExpr.qll aecd340b1af709b03050c4ce937c43ae151e7b09c1cdf7a9c18d6f75316493fc 5a7bb55886af79e26639e373062e7e6735e00b6f81dd1b7264cf52c7a0fd4b85 lib/codeql/swift/elements/expr/PostfixUnaryExprConstructor.qll 451da30554b02d0b6a2f642fef74766d04bceec4f71d60cc526abfff01a19a53 7ff361cf13b78dd14e262c9df9100edf25166b3c161a23c6649c8f145805f506 +lib/codeql/swift/elements/expr/PrefixUnaryExpr.qll 8d3d9ba20cbda35af0991da1e614c561463c8f9bc9c2316d0424b5d340a7053c 54db9b540fbc43a95e9f61c04ab0d525681386c2657a47e12fba97cb9668ed89 lib/codeql/swift/elements/expr/PrefixUnaryExprConstructor.qll 0858013bf35bbdfc18179e3dd50284bc57acafc58d223216eec6438653a01631 ddbc4596b37726fa25f7314487b3cf2a36d02f5aa2bba7d3e5a9aae11e4186dd -lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExpr.qll 3f93d38daa710320182cc203512d43c1b4fee68331b6cdd68fda0c3888584c78 eb5cd456a933c0f1e389da9fdea3fdd79e9099f55bb6aba394d813de80813091 +lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExpr.qll 9bc041dd762f7fde294cd9953e5ec3411f919286c6c7f79538d4c498678c4ce8 bae826167b29c624e5be60bab200995ccd9be9852b841d10a6a4b1cc379e752d lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExprConstructor.qll 3993652779f2ba2eeb5d0accc330434900ba19882d9b91f7ef81b70108dad36f 995f082db1b6f09a48ad766932639f2d87a8b38a7981c991ad1166f0fb997fbd -lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExpr.qll a146a7d2616dc65186c3320d2249497d16e7fffdc6a6679549e48785e321d09c de9ada432d415727148e2264ee215fc9a650f812d531452cfab7b453c998201e +lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExprImpl.qll 2c990555a21b4e17af90ef106658fd9e565b6ec5fddb0b3cc2a7f1defc1d5ed4 16b9188fe4ec5be668f91459677982d8158f5eaa0b97aa26ee2fc56994cf5b89 +lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExpr.qll e03ddb04f7c627c078bc23652dc0c2f2c519877d3894a72c5cda6381f8da19e1 7aea1b8600dea58c833ee1fb78378d99041b914f51cf203d10ae02adc9776294 lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExprConstructor.qll 6fee3ca39b925d11da5582702d147a8bbc1230d4b22a26788873f7ad3630fa4e 1ab7aea377213cd48fecec44268a05c3b74290f50fc9d74a2fc2be4078bfa070 +lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExprImpl.qll 4b70f3c9a6bdf8e6f6e27dc935dd9709d4337f1f750f1295d69f8a004bcce561 9d8e9fb531944580de921196b472d63ef1e9edcb2e98bcd4fe164ea3858f7283 +lib/codeql/swift/elements/expr/RebindSelfInInitializerExpr.qll 4677956dbb7f78d66b5ed92f8c87280b63fa3747ed772217baec8a3f8f5282a9 378bb72224b5456ebfd573ce2274d2ff6f28577b2c6c315f8050d151cee70c86 lib/codeql/swift/elements/expr/RebindSelfInInitializerExprConstructor.qll 3c0d02373ae393dd95654685d4d1bc26d9071cabbdaa15009c80f04bffcead9a 61a625ebf97a2b8b7c2c7cae77b65258910ffcddb1be6c93fee347a8ccaa0951 +lib/codeql/swift/elements/expr/RegexLiteralExpr.qll d45b993eea88c9b4bf7e6c0324764c3ee87ff8862b7e63d169be6d1b2a3c8d30 c91af307ff34e2b4206ec4eb1b62bd9a928eee48b70de7556619cf760301c511 lib/codeql/swift/elements/expr/RegexLiteralExprConstructor.qll eed0c4e96369f9db89984b2a29e6ce06df7be953964857cb9cd57c59119b0860 d085bfb23b381acfd21b6d9004cd729f5b489d9bc992801ec744e84a7898e68c -lib/codeql/swift/elements/expr/SelfApplyExpr.qll f3ab4fa6e6de84833a0c9eed494b9af55b9e45b8049fc80045b92043cb885e67 c1e906dcb4ddda30d6cbab2ddf1ec4bce7ff0710421e7a311d1491d5ad4886ef -lib/codeql/swift/elements/expr/SequenceExpr.qll 7a354f84ba4d935e18884d14ce9029b5cabbf15d679a553608f4bef57d052b32 71deff01f9c3a7e07006f2d331526dfd99de384a181e0885b157263e70c91c0e +lib/codeql/swift/elements/expr/SelfApplyExpr.qll 1492ff55565a57a823c26cafc84b3ccae24ab0c1863c8691dd208ee35fac51b1 86299be19cbd7e57f8c38a90993f15f6aeff3e04a3292d9b83ecc8509e9f1d17 +lib/codeql/swift/elements/expr/SelfApplyExprImpl.qll 9cfd922b6d2dfbab91c48701383db9c4c45331c134ce75113ae6526192b0cdac 96fe0eab3f6fedebacc2e3d59137ac4ad69afd06801c457f25e4710f0b3a692b +lib/codeql/swift/elements/expr/SequenceExpr.qll da5ec2af1bd166de6cab4104d0d4b38f20fd375424ba800e16fc368834b10b92 2d7b80cc148aed4e5b90afc18257024000778c4e04202f71db44b9edabbf412e lib/codeql/swift/elements/expr/SequenceExprConstructor.qll bf2712ab013e292f51a8a9b7ec3a84e3681f3aecb11ae2f639d542c0ea1267c2 4a93b3b5b7c163915bb47b8e51d3b1df1023b122ed36b5a31fbf1940b8017cff -lib/codeql/swift/elements/expr/SingleValueStmtExpr.qll e214574c5fd946841521f553efe88e416ae0939bbda7841d0af8497d8da85c57 4efcc5e53e55faae860ba1237abe58a6f3b5970ffcbdf78c412f1c09942f8384 +lib/codeql/swift/elements/expr/SequenceExprImpl.qll 40ae37ddf04affdd97b8292b2a0c94adb763623d7ab6781ccb73df8309cc98ae 3a4628c77b0e0ed39688481fe5efa3b1a14c01e424146d64b7efb694a8d0292d +lib/codeql/swift/elements/expr/SingleValueStmtExpr.qll 12f66756e313b8b46da12d653ca3b8e9dc9f6675b8cbd6ef5d744d30ed74d30f 2b9afa7161129e3eeb27dc72578003e1fad196b78e1d9bd5e2a649276f1b7e5d lib/codeql/swift/elements/expr/SingleValueStmtExprConstructor.qll b297252867735dc13f707ea33ae36e3091f539badcbefe81b7ccbf3d96ad92d7 ac9bab9c282276c70e910cf97505e639c1319afd7a77f1fd3b175f739ee4fd54 +lib/codeql/swift/elements/expr/SingleValueStmtExprImpl.qll 0ef79b4f26f996680faf9be8e90b629884b2de59f4dc5e9fe76e8e5189ea6438 e083b06a9f1ca9eac8ced176162abf14430f26cf993c6752473b45b5939b4fcc +lib/codeql/swift/elements/expr/StringLiteralExpr.qll 4b01ca00facc92e6d635f09d6658fe56b5358ac62ce55eb340d610b58477f400 c848b9086474a631faba9f874b8c040cf5c3db42f2e0b6b63c1269521c9a7bd8 lib/codeql/swift/elements/expr/StringLiteralExprConstructor.qll f2b4e492711fb1de6f8534012730047b2b26a6f6ab018447ab482d5824c05c10 516fb10926e7a6f616e45fe27b865c0fb06a258db084b1ee65d8a86c5f815b77 -lib/codeql/swift/elements/expr/StringToPointerExpr.qll 031e19be3cb6ec6d0f2adb667e7c84a27f13afc77a4d97e4cac94d303e9b5077 ef95523042bdcfaf30c3868c27c7f6bae69472a09ad778f511293312052d56e8 +lib/codeql/swift/elements/expr/StringToPointerExpr.qll df4453af969548a839831a2712f028a6a30823f3456e0c3843e358a891ae4528 067d14537f1846d7d931c180936c680790092651c99c2338a2ffce658d4e2183 lib/codeql/swift/elements/expr/StringToPointerExprConstructor.qll d66a326f60535941229788d0e6d319ee41861ac3e3d14f841eacef525526e4a0 5323d638b8573e19ff08052e88bf4522a3357cdb61a57d75ce09a69210bb9b3f +lib/codeql/swift/elements/expr/StringToPointerExprImpl.qll fea0dd7706850737ec00b398279100c173a54c998ac00f6dc67f7c08ab66cbbd f2387c46a963503735e8a1869992eea8795cf52320d3384c754bc539def5167f +lib/codeql/swift/elements/expr/SubscriptExpr.qll 445b1526b764fa8531525133b7cfce9c77a84024de856268d328abba550a5725 f3ba49fd140cae9817490ba8aab925a0a8825b5943e0959f70f2b6f2b632cd8e lib/codeql/swift/elements/expr/SubscriptExprConstructor.qll 5893d2a6241ef57d770af61e4d6c11eeea5ce1379fdcfc018fd80afacf195cf2 a14346d8c10130e10276e8c5db47c4509b5300f2445953aa9461ddc577c2747e +lib/codeql/swift/elements/expr/SuperRefExpr.qll 281a72d2b8d29ccc207d8de46ad149c419b8deabb092ddf827f5c3c8593f8bfb 8b84ea3130aa53e1913f69e9d23ea7da43a91f65df05a2dffbbc4956dfeaccd1 lib/codeql/swift/elements/expr/SuperRefExprConstructor.qll b75ff067b0ebb99e992455385b41b6436e1f081b97746d22f828700e8705d3d0 75d646f7999d27eca9cf0328efc93cbd8cba6a9fcea5a3b5d19b9ac5c6037d48 +lib/codeql/swift/elements/expr/TapExpr.qll b766b5c9bffe03802990c8a17baa9489211fe24d43f3733e4a32aa3ee71b8310 3ee9f3a6acd84d004fa014e542c009ea07a9a583ed1c74bb389f5502fecf794d lib/codeql/swift/elements/expr/TapExprConstructor.qll cc83bacddbfee6cc7866a73f9a411746e4c9ec62eabd5549e23fc89df575f181 7399b071a0c0f26b1503289e8385ed78fb7bb8fa7ab274989aace3d95525a737 +lib/codeql/swift/elements/expr/TryExpr.qll 8674916169a4effcc5c445d43c0fc561b3dedbbc95f3e5f041dfc8aa4268e847 0e789e5c0c5cc72bd239eadfb08862c800607f7fa603dec2df1685a4190787c8 lib/codeql/swift/elements/expr/TryExprConstructor.qll 594b8505862487212c04aa061b094814322f12418cda1ea79c947c3d0bf3efea 195239952441b15c19c602cdbf00ed0e0213210a07f6fb9c7c35f9715a8813b1 +lib/codeql/swift/elements/expr/TupleElementExpr.qll a7a6347f7864630f3671a801ad6bb68b0c760db7fdc728026fca5e976e024190 7a1d66a86107e5a7a1357d8ca4073ba9d5ab88a362d84b8e4ec2f0b7cff6b04f lib/codeql/swift/elements/expr/TupleElementExprConstructor.qll e9d0f5b77adcdfad3e4f3aad8674dd86b86d81bc4aca534a6a30172364d5ce81 ccac3b0ae4ebc028a9cb58f6f71a07330fb235180109c1f72ddbb10992af976c +lib/codeql/swift/elements/expr/TupleExpr.qll 8412a21fb1a366277b230e2ad03fa6d817a4ec8e7db897435c2045411c24ca51 46d570860c2aecd2a1e1b874d16201ddb25ef9c6612272787daccffd9727d596 lib/codeql/swift/elements/expr/TupleExprConstructor.qll 14c402dd2c9dc350270d406c8d71b4a46080fd321a60b49e7eb73f46dc371d07 165527b92b2302e098002cf888254a8f4af208cd3aa8f441c740b59ac50ddc15 +lib/codeql/swift/elements/expr/TypeExpr.qll 55fc7c556dcb998f2fcd0a407b6a0e1de04b3f1b3e755edca95bd26ee7936eb3 d9198b183b0b25a57b0806357353bff3409793942f1c1cee303322f2b2539e12 lib/codeql/swift/elements/expr/TypeExprConstructor.qll 8e23bd56763001fa82b9642c36c54785fd0a544c8eb9175fd12fd5b8053a039c 3388ed62f69e5d45a5d6753400cae3532b1da915186b9bf5d0d29c9cb0e71e8c -lib/codeql/swift/elements/expr/UnderlyingToOpaqueExpr.qll 7c04974529b13d2a967abc826c0b2decc9fb06571f6cd6f3df9202b2b3d9e636 4ba51f6f8b6987beb6e3eff7f279c70ffefbe677194632c5b4ac501a297682d6 +lib/codeql/swift/elements/expr/UnderlyingToOpaqueExpr.qll 796de8e927d7e41dde6838cd538bf207a34064fb08617745f70ab969ad9dd5a1 1a614a5314e6a93b27a17e7cd018faf6414c0262d84e1e4ecfb88c45bf6c5692 lib/codeql/swift/elements/expr/UnderlyingToOpaqueExprConstructor.qll 8b763964bdda1af1971fa737980780d7a1b57afe37cafc6edc594bedd767725f 0485956adfc2e9a31aeeef1c8ed1d53781967445e3ea0f76c843fd48e33f021a -lib/codeql/swift/elements/expr/UnevaluatedInstanceExpr.qll e8c302c0b813f13c78d5609a7a300e6a9434648e9d7213557faf8dc31f200407 219e13c587fdf83ec1ef509750213cf167e52a1616c3a41ed772be9f45fe3cf3 +lib/codeql/swift/elements/expr/UnderlyingToOpaqueExprImpl.qll cf2637b44a96fce2d8e618469692305181490a28f3b2698b6f9db2d58e7c474d 9b062defb7c19e217bea6e5bd65ccf28e1ff25fb1e784405eb92406806a3349c +lib/codeql/swift/elements/expr/UnevaluatedInstanceExpr.qll 23a80ed5c10855c26dcdbdecd60423f283bd3abe215bdeb743ee38165eaff053 28839658c8b3f7f3e17ce204d752e29d790662790095d25e9830a11560d1eb2f lib/codeql/swift/elements/expr/UnevaluatedInstanceExprConstructor.qll 4560f4737cb47512b8348fd2a37599227df4a05bfad84873f6666d121a524e0a b49bfdfa550330bab087c5a6b7a3885fd22360e557adf984ce7a35534d882510 +lib/codeql/swift/elements/expr/UnevaluatedInstanceExprImpl.qll 35107b79b01c1304167ce211e081991a2a8e05e9831da7d6523363d59a9dbb7a bc4811a0b40380b1a065f64dbd4b4f756e80cb11ee3b5c4f6ce035c5629db852 +lib/codeql/swift/elements/expr/UnresolvedDeclRefExpr.qll d1f94fdc1483bf496010d3c6166d84d08fc0a116da8cb6bb00e5e520a24135f2 9d1f78d1a4d2ad376aeb747440286855401b2a1c3215ebdeb6e682b05bf4bd57 lib/codeql/swift/elements/expr/UnresolvedDeclRefExprConstructor.qll 344072439e0d95d1148d361ff764c17eaa47e5c0be82a3320cd9ab3868ac415f 25553a602da130b30e69ae9844e9be9da73ee579ba74c3bb84a9aa8e24801b46 +lib/codeql/swift/elements/expr/UnresolvedDotExpr.qll 44fa33d9b04a11dc117521249252cf35bfd03fdbfd7de036bd3fd6f12ed7eb7a 8c2fae2d5498e288e47350e5fc63ed4d2d932f66afd1844073e0d6c5c26a7b14 lib/codeql/swift/elements/expr/UnresolvedDotExprConstructor.qll 2945ae07a65a7262e97cb28d35b9c3a9dfee662f2af54a8d9aba5f0c49216190 297485aa44da7ce69c7e33bc3ffde66bee79615fa947159b76e6ed73d1886b25 -lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExpr.qll 160a94ed90dc3620c68fe8f618ad6bb6d9cc8b7b31a851d68228771aae582421 2ffa466330ee1c42b8970c16196883e5df3cd70457f45f2f6be0245f47c2b797 +lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExpr.qll cb3c6bb1caffb8d4d7f7fc856ef3cbb9e65be0831c8921c377ac50843e309910 e271e4626027b3a6cdd6220caaf4a91aafb642ac61d55e96821b57c1995987e4 lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExprConstructor.qll 1086b09aa950efd4e8ed1ce4723f6a6e6b43bbc147085375f589654f2dc04008 8adf6b2f415b69b8eb235c7e76eb5f0e5320939a0904d0b6823b28293eaa3b57 -lib/codeql/swift/elements/expr/UnresolvedMemberExpr.qll 93e7bd94d3a65e5543ec3ca9d0308ee9f327010cb38a818c5d1daa3c57ccbe79 618eadd413cf3bef436b056682e064c9de14f9abb1443a128508da76fe2f8399 +lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExprImpl.qll b532999abf8114aeb0792fd5a749f954209a970695fead2878a187287f339580 1754d46c54e769eb4bcad86bf3e5c69ca5e8803fe31626f70abe1de50bab8760 +lib/codeql/swift/elements/expr/UnresolvedMemberExpr.qll 880fbe8f2b4b5cc433922e97871ddc6a9931cb4ae3297e34629679fa6b203c90 200d866c204c428acf01e7c354fbe1d0b8f87e62bc821ebfcea5bbfa87e523d5 lib/codeql/swift/elements/expr/UnresolvedMemberExprConstructor.qll 06a03707880c933681bf284f0bb0c5edbffbbdc9de539d19a91c2f9a1414932e c6baa97b9545fd840ad51ca6bfea6ef1d0fee935cc5e735863941c3d2652cb9a -lib/codeql/swift/elements/expr/UnresolvedPatternExpr.qll 4687cf7d4a1e99ccb8c5d69b819bd400b5174d8f7142856784ef3993bf7a4ebb 5d415e3ced08da605469c76226fae6d77b0db1d4a01075e846bee86d3984c2a1 +lib/codeql/swift/elements/expr/UnresolvedMemberExprImpl.qll bd1fe2af6a4d1eafabf039104f57018f072a8c8a76bc27c55463ebaa419ba08d 1faeac3919a8f13f7e54ceafc5a6589473002ff942f577bb3720d89f92d20d47 +lib/codeql/swift/elements/expr/UnresolvedPatternExpr.qll 37015acf472efcafe9b9d17f73991c0ea4784a316af7e2a3c61d5a4f052db58c 4e18f63f26a012e2e22ae05622fc0c7245cb707c60b918e81d243d38de7407fa lib/codeql/swift/elements/expr/UnresolvedPatternExprConstructor.qll c532f568ad1d402b403980518b126b38bbe6d17e17f24fd8be4c1ff1acc22175 93e9648bb70e60d1c352103d22bc0a0570349d9a558327531cdab59972173b29 -lib/codeql/swift/elements/expr/UnresolvedSpecializeExpr.qll 17fdfbed3ffc7d2dbb5ddf202d25b01be6750785e3f22393558837abc80d78cd 1d993531c639b26fed2a81db294f51b130dfaa348eafcff6e32c46de33081613 +lib/codeql/swift/elements/expr/UnresolvedPatternExprImpl.qll 1524a38752a9aaa449d9db014c2831bc32445c574256260c8b389ab013cb1f53 178106fe716808d71217d8197ccd257f7e0ffeb58168ff8ff47ceed5691e857e +lib/codeql/swift/elements/expr/UnresolvedSpecializeExpr.qll 53fac38e1629d5911f6afa42afee7e0c27e1b8275aff458b7170a9b675f58ac7 c1523c36c80325e5472dc76de508c660db3bdf0a0aaf6a7ca8c4f7e0b4064faf lib/codeql/swift/elements/expr/UnresolvedSpecializeExprConstructor.qll ab3ff81aa7d3a9ab3cf96f1bec46062e628b416d49722b57f87fb23a489d5980 0d9f939f245c05a5ac15ec9e4209f62c7d3ddbb80c470b94cf135095f12bbc8a -lib/codeql/swift/elements/expr/UnresolvedTypeConversionExpr.qll 66f420227fdcf5b240b1ae4bfa01053ab50eeb624669699aa28b98bb519fae99 90bb8b90505dbcbbdaaea8c7e542e4cf320d12edf7a5125e3989a008e4d1fee7 +lib/codeql/swift/elements/expr/UnresolvedSpecializeExprImpl.qll b1dc437410aa4a509ffc92cc0f63509e7bf698a52d79fc44a06230f185f22a97 a994738135b4118fadeb1a00c976772f777e7eeb4ecc0ab55e00676e0e1d507d +lib/codeql/swift/elements/expr/UnresolvedTypeConversionExpr.qll 38a04476f82649c54ecde190d0ffbebd3db3c119c018956d65d81750417245bf b61e7bcb1d60650046dc745fabce99788a9ab6b0ab22f7efc91334367ebaea1e lib/codeql/swift/elements/expr/UnresolvedTypeConversionExprConstructor.qll 2d5a737ac25f4657d7fbc3be8ae927a44c01262e56fe49c161e73a7c015072b2 db3f463afb834181d618e8cc3773f0b174f17a0b29674cc8b1c3f5845c1317f9 +lib/codeql/swift/elements/expr/UnresolvedTypeConversionExprImpl.qll 3511bf1bea3e3cee95c0793e40000493537076d76f235bfe91866e1e0caf97ab b97de4c795e873acee89d9b87d8c58b14e05f0c09e3a0385a479638adcf32966 +lib/codeql/swift/elements/expr/VarargExpansionExpr.qll 055135a077448f367d257e3ac5ff83d9b0ff08f9ef69887668d63e3b66f5a670 9466b68118ad3d60cbd225777ecc2e0ebe6eb8794b9026377ce98e3abfae53c1 lib/codeql/swift/elements/expr/VarargExpansionExprConstructor.qll 917701083da11fce895c53d5f3e0a52b8e3142e9aacdf1d8536a4216ef377b16 b72ca103ced9cbb45f2ef9387387b8aaf3134e358ae5a03fa3ea242896954c81 +lib/codeql/swift/elements/pattern/AnyPattern.qll ae831c86587c27147ae5ec07d8302f624f87f72954e5c95acac20daa79fca4c6 75cec92aee419c9eb1351964ce15a37bc2adc3af3a65ba9fd10c10e6eda0887a lib/codeql/swift/elements/pattern/AnyPatternConstructor.qll d6f9a8c7f347c4a7de7b770ddceef74245ce67ca9d2b4aa2b2ca6a661fd8f16d e4b7bc7d2a351c9fc75828ea9df8a38d502d5090e7a30dbd0d710b42d3226723 +lib/codeql/swift/elements/pattern/BindingPattern.qll 8528857afbc8f47d1a187ea1e7e456a3f6acc475fd7a73c909f71512b06ee134 6329c8999d8bb24aa669f36a87ae8606fa9725a3d893d482926ebd4a9edcddd8 lib/codeql/swift/elements/pattern/BindingPatternConstructor.qll c9ed6a9e994218d674b7e62e985267748fbc468b0aeb3e392a14c6d25f953b8b 28e97c3e9fa7da265de0a77dfe609e5602720fccd14923c9b612dcb107ff46ab +lib/codeql/swift/elements/pattern/BoolPattern.qll 2e76295b3caa6e5bb288dfebe1a76eefb43eb9c13b8bf2b58fb64a71a1a0586b 5cf2fc505ea1fbacbc9217e362e6e5b3057e2e74d521da2596750ee9e3248906 lib/codeql/swift/elements/pattern/BoolPatternConstructor.qll 6aa1abfee6d476340b5bec79416ef0c6e8671e56cbfdbc9e4d7906acbec9c162 b5c750969157fcc6a6773e6917021a583b1a36a3aad9a605bb3199a7aa4a7036 +lib/codeql/swift/elements/pattern/EnumElementPattern.qll a7b5c17da93a9ee064778666cd60fa0dc8729ac7b26a0f4e51a98ce9c6d07747 5b4b20ed9d6242b2b7c11399c52a5f2efdbb1bac7cbec886510620eb47e308b5 lib/codeql/swift/elements/pattern/EnumElementPatternConstructor.qll 6c56fa12b5175f55c41f39a91af60e810b6504a22330467f9d0ce5a6de2176d3 ff9c267dcec4d4c10432a88fe267a438e365f2980854794c7c6e39e8811a1ee0 +lib/codeql/swift/elements/pattern/ExprPattern.qll f25760f97a81df8c710cf770b0dbc9d6a746bfecca42d8e20d3dbca167ce2be3 a550afe998a1cce1e338f1fcd156f46ea9b9e74385b8f2783d2d799fd92ccb62 lib/codeql/swift/elements/pattern/ExprPatternConstructor.qll 3d0b0c687669f2d9dca6169dff3584060bb10308db1cd4ea4b96ecba5e39b5ec c36d041008a4c173df62199fe6462037879695bac1b9e0ccd282fc0360064b30 +lib/codeql/swift/elements/pattern/IsPattern.qll 17c3ed5462c5a556848130a2e41d3b6237f0d5096042be21f9fa64e8c67e098b 3dbd49e99c0f30f454b8bd9e843ef13f1f7304db9608b769c3fa6c2ed5c1f348 lib/codeql/swift/elements/pattern/IsPatternConstructor.qll 632822fa4866dcaa722d9db1aee5b3b1adfd7b5f4d664b1e55ca9f1e9367b576 92d52b1dce76dd9dbf77eaed4d49ca47ea372602ba9ba397512795cc9bd153ac +lib/codeql/swift/elements/pattern/NamedPattern.qll 77f8b4a1b356e6bc9ed344c19736c6b3374a34fde6ab3b7b1c873f0b14f18359 9a61052512908b6f3c22b4439aaa78e5b72133fc0c2dc3b000684b979ab31ee3 lib/codeql/swift/elements/pattern/NamedPatternConstructor.qll f3a3097abdce06903cef29931876d0271472af55e6a7dcf83b9588427f818b8b de94fbded324d12b57f89e6f9136707a7f3745838653e2e862b93a49811ffee7 +lib/codeql/swift/elements/pattern/OptionalSomePattern.qll b254a7940bff1d4f4cbc42a57288f767ad22355343181d4b6739f79e98d12e8f ab00cb3142a21735df9eb1a49e69f8163d4d364d2e002313f98eb7e61bccfb65 lib/codeql/swift/elements/pattern/OptionalSomePatternConstructor.qll 34efb5c7ce7218ba4184fda8ca1ab0f75d1613fa63b93b1ec6264a9b76474342 279fd577de0d26a137e7c2cea0cb8808785e8f65056a94a7bbe15645a0ce9b2e +lib/codeql/swift/elements/pattern/ParenPattern.qll ec5678da85ece268cd79c591020855de95ed2f87c32342c86478bedbc684cf47 47f1e8a922720f20a66befed36dc0fe7cc58e441abf9b7594d234fcaf52b3830 lib/codeql/swift/elements/pattern/ParenPatternConstructor.qll b9db6edeb070fe9eada27742a91bc188daf6ccffe359f3146f6e54d5cc1d21fb a697f4e65b06109532fa5237cf1feb53a9d42706be7c1929bb9932f73d73a296 +lib/codeql/swift/elements/pattern/Pattern.qll 8c82769629e56f03a42bb06a2592c6c8a062a3a5d0f495907b9cc0a36e6d62ca 670ca3af68cccc6639326b221420d7d6d13df7d7168058b16779866deb331d0f +lib/codeql/swift/elements/pattern/TuplePattern.qll b9dbcf847d6ee7b7b19d7e9e3d48a868cb0ae68de1fe8b8a1a0cacc626804b77 66287cfceb3d12b440699cff435314a15ef70a96ac19b0a0eb34908998ecad2c lib/codeql/swift/elements/pattern/TuplePatternConstructor.qll c5b7756da7476110f7a8a7fd1fd03d04f3ea2d40dc478d936c1808ff1eba6582 424af260772f207ead8decc1eafef02b2fce28a76a1a1aeb83aba803cdc34cce +lib/codeql/swift/elements/pattern/TypedPattern.qll 80057f0e9ef5b4c4efa0a68a4be2846a4d1465a349e32f595d40441a1fb6b27c 0ef3d5e5fd30da09418ac4b176836059534161ca3ec98c4807d27dba68394ed2 lib/codeql/swift/elements/pattern/TypedPatternConstructor.qll 32c84fd9e383329dd4adcd870ae9f8e810fe822c2475d0c2f4c07160ef3acc99 c8f5ec0a8541c566366246435f98c1e1dafaa23d3a4f069f179f7ddf5fd89377 +lib/codeql/swift/elements/stmt/BraceStmt.qll a5f9009614f6b57b863a3f5c4c3b6a1898224cd94bf5dd1deef36025e826dc39 d59ea4c2c80ea914bce7c8dd767ef36e234156824c752fbdf43eed073a2ed4fb lib/codeql/swift/elements/stmt/BraceStmtConstructor.qll 1520ce80566c11e96eaece761a77eee94dab289a814ca509ebf5796fe4d2894a 333feea42661cf709363dc416b863319d1d4c5f5e91e80d3355958c291188c23 +lib/codeql/swift/elements/stmt/BreakStmt.qll d7fb86ffc64b1a434673dfb2bf52c418f0ba642cb27791c4e4bc383eb3fa6e76 ca9efc951d7b33d97380898e9e9c7a3c021f7338fa18ddd9b4eb5eb879995855 lib/codeql/swift/elements/stmt/BreakStmtConstructor.qll 8e7d9e6db546aa87cfb44dcd5189b62f715efb67572dbe4894a94efbeec33f14 910ae975e5e09a619796961935ce47bd79719d76f27e0dac929a1b7a0989fb4d +lib/codeql/swift/elements/stmt/CaseLabelItem.qll ce8b53efa4e3e57d251a4e7bfba16873446b78e31bbcd5dc5eac212dd619e921 a1c80accd9cecf3acadd88a835c0c4fded9d78e37cb1883e202085d2fa12f1e4 lib/codeql/swift/elements/stmt/CaseLabelItemConstructor.qll 01fede550111504874e570292b8520a8b16716c7b777a2b18140a177cdd0f628 290b893116f2daafdaea0092e2465b4008a71e4e6b3d0592568bb175c4608423 +lib/codeql/swift/elements/stmt/CaseStmt.qll dfe649ea9df025cc9bdb277743d75b04947e6753f524c544d7d7f788eab4658f 4d2b3ae567a13b3650a8073a221f23481f230105dc0d67dd5e5e4e566696957d lib/codeql/swift/elements/stmt/CaseStmtConstructor.qll a15229190cf8f081c14879bd11b1e797a48f8f1e87e521023929a7bcea4ad570 6131a2c4ce348cc315d5a5db2acbffeb9b2c02c669c5aaf3df35df69d8529f0f +lib/codeql/swift/elements/stmt/ConditionElement.qll 4fa49b888b19531ec64e701e5a5c846df9ba59161ef9e3e57bc4447fd46ae0de 5c51740fab577120fb3b150d59cad489108943972f5c21848965f119b5f00e91 lib/codeql/swift/elements/stmt/ConditionElementConstructor.qll 1eb1d95d5ed432fefebc8b7b8155676486d329ae2a287475ece687d8b1f22933 fd7b5e5e26b478680a1550138b4e857774091cfd07e73bb765bb58c167d03212 +lib/codeql/swift/elements/stmt/ContinueStmt.qll 2f044e2a06fe2622f63a29bd63d9dcc5442d000272a4957111c12710087009e3 198b2dd27917dc91d416cf4aa650b453bde4a4f4eba2471acd1c33fb207f5a67 lib/codeql/swift/elements/stmt/ContinueStmtConstructor.qll c6f135ad0f77dc4ad63074ccc36bfff7c4ebc2d9b8c11e07fd20649a0cbaabfc c214e701b76e7d7362e2e7da1bddb6b59a9cb0e54106b0923b3694c358fdb3eb +lib/codeql/swift/elements/stmt/DeferStmt.qll 38bfc7b8d9f17f690d912b8290459af80b84193b5da7d3519beaa2b737a97643 62a4db909971226ee348dcb32961d07550f2a99b8b513fc38c1c149c22e7c46f lib/codeql/swift/elements/stmt/DeferStmtConstructor.qll dba11476a09e53f1f8bd9b1688f94dced836cef43543622b3880592e8fb18cee 192ce27dd2cd4b147fcba99d7741c816fa8cd9a1bf912e7588bcf32f0c5e6a7a -lib/codeql/swift/elements/stmt/DiscardStmt.qll 10429ddbf4a89e089c13b697ef88e0231e1a0e1783f875cf6e4d30081e6add4e 88ba363258ba9f6306bbb562604423b1f395608038c1b7fd50873d0b39314304 +lib/codeql/swift/elements/stmt/DiscardStmt.qll 7e0773de9270a88043895268a00b7350c08f7c8aa6765e3068080e8f45e6366e 53af676088e72f1d789be78959f5513c3cc23d11492cbf9fbc45a9a75bfb9dd1 lib/codeql/swift/elements/stmt/DiscardStmtConstructor.qll 932b5998727c85d54a2b66c38c43f27de5961ba5d7a977f6b8b79d60aa190638 e3714d7387c2b6184f252a15d9e5214c1f24be20a7f520ba6321f85ae180283d +lib/codeql/swift/elements/stmt/DiscardStmtImpl.qll 6ea264ce0af69e9f0bb1aa9adf27eb344806b9f73824414a86187250e985ee5d b7835303f32c6e99ae02ba3e1449ccec632001aec1a41c40c786abe5624137ba +lib/codeql/swift/elements/stmt/DoCatchStmt.qll 99b81fbdbdc185c84bf3177b6cc0f2bee8a2bf046a622690d4e1071b3ebfd538 7c199b7beba95e9739479f62d8f86c73a9e74e5f2f270f9a94e281c6c2324fa6 lib/codeql/swift/elements/stmt/DoCatchStmtConstructor.qll c2c0c70421bbab121b62c636c55cf11cf549a79be88a657190045c6d934238fb 2a8dcfabe50207c5ae62a958c3b246d4a532d812033934e4d6b33a80c99b4808 +lib/codeql/swift/elements/stmt/DoStmt.qll 79e9ee3600cbec2248305dd8ae9f2ea7eae557bc308c34e50035974369663832 5ff4aae09a63f5ce9ace9e9b11a3678388695a1b13862470e2abe3e0722e7e5b lib/codeql/swift/elements/stmt/DoStmtConstructor.qll 17190698940ae09221316c162b091865e61b314aa1b269c0ecca5b8f7a71a61d def0e73f98e5c756fcacc7ffea06e1a35c0da50729a726e3629ce78604bbaf39 +lib/codeql/swift/elements/stmt/FailStmt.qll fa8ce1b2e408bb194e110415f4644628a2e413c80329148e9d80e673110928cc 077fd75690c89d08db7c000c9d69af16dfcd1b3e7a6e51065b0ca1d6fc271ea4 lib/codeql/swift/elements/stmt/FailStmtConstructor.qll eeb8af9a8638166021be1b4c7b9ba99d00b2675e5af7104c303f8ae2ace81dc9 f6ad97c404fe37adb0dcc02b3c65f3dc8af268109af71a62f4aa74b923871aea +lib/codeql/swift/elements/stmt/FallthroughStmt.qll 91704613349b66f859b83d433e7f1b554720b2a6bb573bdbf59b5561e110b1c4 bfdf68c438e3f3118e00256374e181585f06320685cf7c39e5600e426a8d9e6b lib/codeql/swift/elements/stmt/FallthroughStmtConstructor.qll 4541284daa96476820ee3eb655cbc3884c138c4938512f8fb713ebd44ad129c2 39544e6078fa7c2a50448925f978b15a3f4c0fd70c75aac3b83cde83087d91b6 +lib/codeql/swift/elements/stmt/ForEachStmt.qll 8866d2403f05b2fd6667619436359f0f11a7a8a53ce19134c82a6b9ff0d97344 543e3ea5922efd05a44896c8828edfe65062a099d740ee34bb84928982432b85 lib/codeql/swift/elements/stmt/ForEachStmtConstructor.qll 871078e3397032678c7f33be1e6be96e9023a66d9a1cf246c50a4df37e0275f3 e13e4e4fc04a6eea8639514668b22bf4fc0ba6fa068caa8ede0bc21829f0c7a7 +lib/codeql/swift/elements/stmt/GuardStmt.qll cab4bb2b5cd46cc8b3c9dfbca456747766f88a8d9b2c03e36a67286788d6b6bc d27bebfd417801b9cac504da6bf146c70a756a9b35d1e0927d0e3535d16c2321 lib/codeql/swift/elements/stmt/GuardStmtConstructor.qll 78ae6fd78336648e1605406fd6e0cc9801aa21f1223183145e3434a1ec89070d 7ecef0a2a711c6c93a0b3889ba95e8f9c8dcddf833e50248b1479059f2c1f74d +lib/codeql/swift/elements/stmt/IfStmt.qll 9142090aa49027ff0e8b53c8b5dc338d14412f719ae543b1a5bb30ee6553a589 fc398d608eaf0ed396e24bc7ba4f90b4e41af35762ffbb3825924fcdd950d8a7 lib/codeql/swift/elements/stmt/IfStmtConstructor.qll 6eea68d2f16765b4ead09af6b93101bc42b8ad254a38cc8cf455d143578dbed3 86f7b62a63d1235a9dc187cf3aa1011c6cc3c7ac857663d1591cf94187d52bd2 -lib/codeql/swift/elements/stmt/LabeledConditionalStmt.qll 4f4af60b9cfacccc88aad94c4a5f2d492beca51e99a4c735356f6acd915e8498 ffe630e9674712397a6e4e4664dfdaa7b6ff73d1de8805a1db1166685dd7a167 +lib/codeql/swift/elements/stmt/LabeledConditionalStmt.qll 9896a6e073f636896c0d3eaf9251e17954684f2862567714fd034fbe5be887c0 596b74f16130282533a2d21fa9d2417aa1494c1b64681caf0754001211f632fc +lib/codeql/swift/elements/stmt/LabeledConditionalStmtImpl.qll 1948a7ef6f49b72a9adc56af921b77b3d8c8e1635b34beb7498e99067d7da169 11be7d3f615c7f400a110f5439f693f28606d53d6ca0da03c4fe5383068d7b1d +lib/codeql/swift/elements/stmt/LabeledStmt.qll b890c50c932f076d7ab2147a5b142b6da787190e1b207dd0064b56a8b2865fc9 01dd6cb59809c1c787b98b63ff78fef0d524da6679708dd14dd407412f8a298c +lib/codeql/swift/elements/stmt/PoundAssertStmt.qll 1a2893b56297aba931cb1ff4e36b8b350362d58e9a37721a2ac3f50385b23b02 03c50d5cf34efe074d61012559140ac99ed6974cc7b852c61844082571d2a9f8 lib/codeql/swift/elements/stmt/PoundAssertStmtConstructor.qll a3bb16b424ad3ec3531d0ea13ec1d7e8258bf63594379d6c5ce9b1762ae4c7c7 62e9cc18eceba9576438954fa8faf87f967b14b754af28cff6911a94c6018724 +lib/codeql/swift/elements/stmt/RepeatWhileStmt.qll 3d919df760803147efe6a10c87692996813c8e8e09b4b36fff750ce9b1562272 1bc380ffd13044879f03298eb779e5f26d81849eb9acd4bb9d18cdc708ffb26c lib/codeql/swift/elements/stmt/RepeatWhileStmtConstructor.qll 622e6ac2f11be5a89ba6c35c810abc675c27692bc2873b95695c20432cf7b772 ef7fb358c5223470d06589f9eda28844618c1cd3cf49cf12749f9ab3516f3513 +lib/codeql/swift/elements/stmt/ReturnStmt.qll 84c68853d064a4dff89b63bc7d494b8ced7bc09412ec72074e30e8eb83329066 83b768eceafe48c5ac3c2a8af6e943f94a98de4f15931ee408269f259f73b09a lib/codeql/swift/elements/stmt/ReturnStmtConstructor.qll 2c66c1b1ece31bcfee06c87319f84ed8895882a214527eb1c8733f63fe03602a 6d9952ed654a4697dc63349d138c7ef0e3e8ff0b5980b5478c7caec9b7eb4497 -lib/codeql/swift/elements/stmt/Stmt.qll b21643c4dd6a7e22c422df36c66d7389918c71cb05e71b58c2086f998035ca8a 2fd87fce67d61461dfd40f1430b67e2611729eb3205fd508a79c4fabf6cc51b8 +lib/codeql/swift/elements/stmt/Stmt.qll 7abe9dc0f21811cd7613ad3a1c4e8825e5f00d9d88b8ab43f267284350845d04 f92827767ee0a8acf933850b9a53712c239be35cc8ffd462d68f2c1ff57bc788 +lib/codeql/swift/elements/stmt/StmtCondition.qll f5a96873b061f5103f3077435c26358b1867cca1d9d6adaff3fdc9e885ed126a 938bd44db7e622829e8b82df6b2fc1efe378720cb90475ffbc934467199bb7cf lib/codeql/swift/elements/stmt/StmtConditionConstructor.qll 978a7c1dd6cc51194c847a6ed4785200515d90d484d013c367d7b86a177656f2 4a0dd278470676232b29e2ed02fef5b88061d9dd3ca082238e5fc4e978dcd66f +lib/codeql/swift/elements/stmt/StmtImpl.qll c3410e0196eab1601fad483e977212faa0db0f12f2e79b238ca3cd9f30e90375 62cd200235973eeaa8f75c20b8cce5c7d8e7a41f52f87dd5ba4becd4384203a9 +lib/codeql/swift/elements/stmt/SwitchStmt.qll 12b58d7570b1479232787e6ab57471b207fa6427e5ecfb9c4cc6d6d88d7dff54 37b44aacc329a87e85f4460c2509f06cf92ee6a122eb3dd1ec1d01f097fc4a12 lib/codeql/swift/elements/stmt/SwitchStmtConstructor.qll 8431feb4b68505ac0072be07a6ed07d71559daf5443e5164d0aad38bc8c5cc12 98a9e32dc3774e47070ec3b0f7f4febfe2ec298858955275e22471682da270bc -lib/codeql/swift/elements/stmt/ThenStmt.qll 70c38206142fa0bc5bbcfe3661dbfb4dcc53416160eef3e6f301504cddb4b0ae f7066479d4319db057de7d49d723dbfa9a6bc221738f8ea6cea795f5ef1e341a +lib/codeql/swift/elements/stmt/ThenStmt.qll 7732df95b9ba0e6c46f325e591efbcb30d59d19ed7e78e894721d4fbf1829017 8a5ecf75c603e4d5a8bd8ad1cb14900d71f7360ddf0608dbc38df17faa712f94 lib/codeql/swift/elements/stmt/ThenStmtConstructor.qll 88823800957584b9a5f9601f85f75875d45d262718d736851b0e40d4028c5dc1 98c480d82177e5d223307aa0e2fe82bf859915b050ec66a5d959f7d0e58ee068 +lib/codeql/swift/elements/stmt/ThenStmtImpl.qll 6290ee319513c6324ff777cc6009e29b6c5537587a8a9bfbad1d0f8d18624411 6b0a36e1413aab4f1ee51495dae1ffb3bd971708adc92b800e05a29535c78a24 +lib/codeql/swift/elements/stmt/ThrowStmt.qll a0064deb470ae280aeec5b40e0d8e2a01c881614f0cb5823014a92d1e9ee8576 33c4e4ee44e6abff4142db51458e1f3e7bfc5f6bd2793bf911be8cac6ed7a48d lib/codeql/swift/elements/stmt/ThrowStmtConstructor.qll 974ec76e814030df10362a516da9aa0f90dbb1040ef3297a12632b0654d95dfc a02f73cd6f36d96d6093ffb4608be6e5fb15d8412f3c4ff0f4648b82b909f582 +lib/codeql/swift/elements/stmt/WhileStmt.qll 7b1398c8ae16c19550063bf2d78c2c9320fb33e82d5210e41627510d6c2f561c d9c0f1a417444da27869065f7f47a7db7128b3cfaedbbcbdb73da0abf0e86262 lib/codeql/swift/elements/stmt/WhileStmtConstructor.qll a49c46100da57dc6e8b3cfcc665bd2d6cfa1b49efb0f7d66f49ed719b42ff34d d527c8f6d08b91917d209554c76aade2b35b90c09caec6aa21c3ba951e8e8bf7 +lib/codeql/swift/elements/stmt/YieldStmt.qll 0c926d5e61d592f82331e55c4a295321d0740765d24008f0db2c59387ff48707 c6c278bb43c9ecfe48ef79cbb24bee60cdd5ae6d551b2e5cd0a47fa75f9c4019 lib/codeql/swift/elements/stmt/YieldStmtConstructor.qll ac2047e02add0796b5eff4180c777dc4ebd4bc52c2083036b959e3a1caa41bad 78209a97874bc3bb2c4c3b919ff4b9e68010b0d047d2b455881b980f5100767a -lib/codeql/swift/elements/type/AnyBuiltinIntegerType.qll 564d9e669850d4c1f1cf88667e9df077aef5830d0daa4168889252682182debf 290539e3f82e268ee4c1c197a48476e0b85059b9f5d3b69c613aa5e39368261d -lib/codeql/swift/elements/type/AnyFunctionType.qll 56495116f46e1787407ffc1270c1232dfe2777e3318a6c44491deb52363435fa a7092d2e38f6220f9b23362fbf3d48a282f6afeeb3c666664ee7ccfe56f68feb -lib/codeql/swift/elements/type/AnyGenericType.qll 5016eb40769530499e57333d0e3f277bd33e25c0cccf64df0dc4610b2e7c273f 8baa870748b523c18a631ca179ab6071c1acd121d76f69a218c2cfcee50a9dca -lib/codeql/swift/elements/type/AnyMetatypeType.qll e21239fc2a3a45b7fc1d400233982dfe13e4d909e236d262b32f46e5de872549 4ed35212e2db6ac619fa2e80bd8314d7ed14da64bd9399e11d697e80c4144093 -lib/codeql/swift/elements/type/ArchetypeType.qll 7783dca4c8ce61dd43e45d3c8b73992bbd785809719cca385f517e8b305bc5a9 6df36f1c29e63373271427f719e2508d1596af2170e14fc13a864f28a0c7552f -lib/codeql/swift/elements/type/ArraySliceType.qll f3a72bd8c53c73845a02843b7a0c22811bdd0e53f1070154423aa3511066b0e7 573046d4ef3e26e44119d6b372790051c5a6445c09a5cfdd64564afb142c28b2 +lib/codeql/swift/elements/type/AnyBuiltinIntegerType.qll dc996c065895055ed38c94b71d2e0e2e2fd9d373458f34d9892befd500da738b 71f22f6c5f0f831e0b496aecc827d77d4627edca326806e3174f198bb9c05b85 +lib/codeql/swift/elements/type/AnyBuiltinIntegerTypeImpl.qll e836588f81a33d7ea25a071cf3056a5689791ad49722945bd19fe202fd8be046 f4799ffca6bc43815b6da9136e681bf06175189c99fa450b74ed15ae0e490780 +lib/codeql/swift/elements/type/AnyFunctionType.qll 68c540d66693e056f44f305baf6ffde1b58f4b47924fcfac66433b4a38363afd 72412fcc9235a4e13c5dc223fc7816e53347532961ac78fb87395ee0726d68db +lib/codeql/swift/elements/type/AnyFunctionTypeImpl.qll 1315b34fb3d449491b7479ddc2b574c828754669abae55895448c3ed957d76cf 35bdb8929eaa73beb4d2782a063813233f7bd036452f39c2fe200db57d12d413 +lib/codeql/swift/elements/type/AnyGenericType.qll 5f4eb3ee98b63d8aaf900b5a8f1bfafd3bc406325d9a0e2a32a9ab9dc327aa59 b435bd27120383d8d8f76f412eaa406571237039c71ca529b98e868f370df634 +lib/codeql/swift/elements/type/AnyGenericTypeImpl.qll 2975858e01fabba36cab6bab597a5eff2718e6057b77be7e99a2126bd317777a ec4df4f9284cca8ec6608fef1025434c8ff99cf766d272b41d057748abe567af +lib/codeql/swift/elements/type/AnyMetatypeType.qll 5bc8824a69f24773bd3f74c86ba37ab5e6612371b352e50a0bf4afeaf6cedc74 a15138fd3b487a3702efa9ebc3798f9c1dd296a6261fae6a8cb2ce07192563a4 +lib/codeql/swift/elements/type/AnyMetatypeTypeImpl.qll 2c9e5c0ff44e6f7fefccec372ba13a7cc8bda29deb589e06f2fcbef110f914cc e9a0ce50f0593eb6df7b6f2cf143f70185db0bacb1a2e46b9cb14ad7a03c45ec +lib/codeql/swift/elements/type/ArchetypeType.qll 6d761722ebcc2460c2be03c31cc11a441cb484e17461ef3f7a2ba2284db1d4dd 610062c65983c89a44337bef40a49baab6e849910eb64eb386780f58062dcfaa +lib/codeql/swift/elements/type/ArchetypeTypeImpl.qll e97180f145be6bc07cc7f9b309b6f4d2f86642bf65ef1666c27dd478600a8f85 175daede47f6b6513d2a3d6e36df98e4951175ad445abd4f87baba6d6399ce9d +lib/codeql/swift/elements/type/ArraySliceType.qll ea7095372f82280f99084d3eadd1c5aff5760b21646faf6181a75d3869202c7c 687dc31ed682f761bd868bf921402418bea4f4e011568d7ce5545d29c3b85d15 lib/codeql/swift/elements/type/ArraySliceTypeConstructor.qll 98892980b7839476f83cbdbb630cb5ab0ba806c838299631fcf178c18c942dfe a8f2cc8ceeb1da6027a507136c0faffefcdde68e7fdea38c18bd1720be9a1ffb -lib/codeql/swift/elements/type/BoundGenericClassType.qll 9c8ff131a83db349e689c9225af6420d5f927ce225988398aac25e9a4b548189 5db2b004dcdd6f65d5324287c82a91270df9df02fe5a30e23774394e6a615905 +lib/codeql/swift/elements/type/ArraySliceTypeImpl.qll c441b9b67600a3c7f488f6a4d77267db49360f0c68974687c894fc2791d08e08 2282abe5618ca80f22b3ca703a70ce0363f37b10e31783f4d7b51f219b8ea3bc +lib/codeql/swift/elements/type/BoundGenericClassType.qll 802643710c23f233406da2cfca53673e8f0f2d27681ce70842c4b5311c88223f fc1be00f57982e3eb27edd809e12b63f3a51434f1edcec6ecd7198b995b6ccb6 lib/codeql/swift/elements/type/BoundGenericClassTypeConstructor.qll 6a20f0cfc09464b44c77e97bd771d77ed63214081a915007ebe1efad25a8141c 68f22dbf2777f7596f02862044c64a037565aa95586c210835381391ce0ab68e -lib/codeql/swift/elements/type/BoundGenericEnumType.qll 8d349b40679bff9bad44c4ad8addeca724abc3d583713822c99da96270bc3f01 228f0cd6bc5d2cd8f6c3f676bf73983e683b1fbce233c82d8777c0e99e4b1c41 +lib/codeql/swift/elements/type/BoundGenericClassTypeImpl.qll 88cb4e769b7ecb6cf245176956342d4145b65b777354360b8a7fab43db777e47 fe37b8bbf891cc9a8dd7cf93dc9e5c2e09b321ee41a9cd21bfb9869eb89b7c37 +lib/codeql/swift/elements/type/BoundGenericEnumType.qll efa850eef02d8118696ce3c45ebfe8c983fda4e39e77a7c550fc2ead1d8dca02 06d7d5c4631cc4ef8cb13918b680d7b828d2e30b04b20f0a631562176b0c8b29 lib/codeql/swift/elements/type/BoundGenericEnumTypeConstructor.qll d71a452f3a05164db13ad1a72d882d4d55dc9d05f52a54dfcc74642536078f1c 749bfb6581b03ce87218544ab603c417d58e35c000dfdaea7bb6ad5fd4a12168 -lib/codeql/swift/elements/type/BoundGenericStructType.qll d826b1ce95db4c171c970a63bdcc7983864da87d83100f893c99ac4f0b02c0be fa571eafbcae97b0e84f74d15c52c7f05e32392698215d76092d3f1f509e1f89 +lib/codeql/swift/elements/type/BoundGenericEnumTypeImpl.qll f4d1597268508fffde6adb7214394da66babc414503d3aa10ca95dca8738976c 4705e0cb099867dc68c821093bbbb5520588c0e62a11564362ec6c385e3e402e +lib/codeql/swift/elements/type/BoundGenericStructType.qll b374f908b2d609d38043ac634e10d1936be599949a9996a8af49025a0601f95c cc1dcafe8ab1d0cebbe3ad7aa8be019ae818b5e1846d2fa02696c38edb2bb9d7 lib/codeql/swift/elements/type/BoundGenericStructTypeConstructor.qll c5b444177e6d18a98263ee2cb1baa13b560efd26760ebf5835033f69459e7885 5ee7559ce2ac33ae986c1271e3390c8429b833fa4cd7fe4cc9c5c13348da4031 -lib/codeql/swift/elements/type/BoundGenericType.qll 4544ba326588d053f2fed21cd948c05b971f642c7ee827cac48534b3793f8eb1 071ad0cb3d93ae1d4a3cedceb513ad9f95b0672ac32724dbe2ade72554edf11a -lib/codeql/swift/elements/type/BuiltinBridgeObjectType.qll a161bcff5a6c4a88264d458f4cb686656fcea0b71e3b4a936459e73ca4a342ea 1d51c6be04213a1fef14e635a4479eaedda6f4930931cd5a2ecd6d082ec27c86 +lib/codeql/swift/elements/type/BoundGenericStructTypeImpl.qll a81d41141d7ee81bc3c7e22401b9d9f571a0e46a493fde4ad8fb189b4e3ff3af 4eb70bdb31f97b5d138c21a2003c92fc6a649338a0597f9031aed058e793a64a +lib/codeql/swift/elements/type/BoundGenericType.qll 8127ade0b10a32b2217d64f501a233f489aa76ea5df332f598062c05ba73948c d32c4d0953107381995350dd459bff757805f4ddf4ed210aafec03f266de5d98 +lib/codeql/swift/elements/type/BoundGenericTypeImpl.qll cec2ede5ccdb4d0f625e58bd72ff4e614fa92cef37e2802c96537e1cae91d73b 321d4a05c3de5b1b318dbe8533fa43bc71c56a06dd2853eea12c73e289a96b25 +lib/codeql/swift/elements/type/BuiltinBridgeObjectType.qll 946c83084865ee6e9964f8268db6c037d7ed61fe6ff586cfa53d007d1cce901d c3d63ae2eba449f6e8fbf62413665392ef42997a9b4798526ab2de2d95382206 lib/codeql/swift/elements/type/BuiltinBridgeObjectTypeConstructor.qll de756e20fe6e1548dd5a6fa53d07b2a32cc231e5b8ffdc54a112ed48e1a5a8a7 6e0436a09b6fc380b41b231a39c6813fd3066dfaef31d21222b44703650d41fa -lib/codeql/swift/elements/type/BuiltinDefaultActorStorageType.qll a4001db103811348b2f3eefb93a1e49c58e384ceeafc4a8c02f15176b1596df4 3c87ac912dc2126597ca06462287353732656cae3b255aa4dbfe0290371b565c +lib/codeql/swift/elements/type/BuiltinBridgeObjectTypeImpl.qll 40142f4f8cdae38ddb02466aa7c61f462e7603866aead4d91d3e1d141754f295 ed70fbbd5895b067e93b67008be3d58ca35fb71d2e116f134a80eda634e02a1d +lib/codeql/swift/elements/type/BuiltinDefaultActorStorageType.qll 1cf477e34118742135b0ea117db686f6411789c1d9ead8e5ad9ffa548ae0127a 80f36490d16dd12cf7009877fbf7d22b8ac34f310acef97e9261ff38686fdee3 lib/codeql/swift/elements/type/BuiltinDefaultActorStorageTypeConstructor.qll 0812e4e27b15b6407fa4bf04622d525f400939751936042ae8397f298a65ef79 0eff2610587e051b76e059b4218b3f6a2cb39c6690fcf6dce35b8a160049ca30 -lib/codeql/swift/elements/type/BuiltinExecutorType.qll 27e93dc350ddfb268a01f25bcecdcc1c6d5da2410aafdf504e93ad33e34bfe9f 9b5152fc4604b5474138f55e467805563e39469f59f719d49e765117066233ba +lib/codeql/swift/elements/type/BuiltinDefaultActorStorageTypeImpl.qll 1bf51a54fa58bbf89aaecbf631e44f7be014594c2a595e51c8ac54e790b3c05d a715240732615d22623a70b09c6c4d48d7b1d93dd0dc5a30d207136b3b4c4efc +lib/codeql/swift/elements/type/BuiltinExecutorType.qll b5313698c386d1a24aec084b42e850f5b2c79b780d985a94482d5dc12ee12ef2 96a0834cacce95bb7197b76a73a816530ea589053142673e377b3f596b0af1aa lib/codeql/swift/elements/type/BuiltinExecutorTypeConstructor.qll 2f9aea7e019b4c696294660a89b94d254b6d7bbd5b6d54991a1fc2e3306fed50 28c28b2d2a05a0e415e1b56f743d66b7f5e6a1aa2e6087d8a2743b7e34a602c4 -lib/codeql/swift/elements/type/BuiltinFloatType.qll e7fa806981787076c5930fc17b6bbf62602f74b13c52c02b18c24963f2e3e5ab 4d6d362cc576b555a85b775d7e8909f958f05e2cb6458ccf334b120d43d735b6 +lib/codeql/swift/elements/type/BuiltinExecutorTypeImpl.qll 0a5f8edd92f68cf8a8f0036f52f454f0279771d3bef5e748e61f1f3eaeb51758 92624449d217fe69c6c9e40488039c59306db5f22066ff245ba7d4957a705043 +lib/codeql/swift/elements/type/BuiltinFloatType.qll bd70a2db7b343ea37dc0de894fd5d3c7d9b77160e584300b0c59fcb6c77796df 0e7d332287a6e8dec75b973f239166861533723242fff4ab3d6fbea2b4728696 lib/codeql/swift/elements/type/BuiltinFloatTypeConstructor.qll f1dab7b9d36213e57083a6effec1b2d859553831394c0e746c592c96a20db6de cceeaa864cfc84511b3cdad6a88d44fc14ea1c8e38db72b0854c3f217a3f9c44 -lib/codeql/swift/elements/type/BuiltinIntegerLiteralType.qll 71ea32c44a20815fce28fd4ee8b7affd4533367fe2d4d20b6b849256f3faa29e c2dbc2867d65b1191e512ed31f60df12922eedc4ce9c7dcb8ca8e23a351149c6 +lib/codeql/swift/elements/type/BuiltinFloatTypeImpl.qll 1dc7f7817c4a238751875b0cee98d060a1ea975a22fd90ceef0f9874b85824d6 d98f743c28174fb3294f0ff60232600a4fc80aeefe72e5cc15bb56e09880ec1e +lib/codeql/swift/elements/type/BuiltinIntegerLiteralType.qll 432c8a48f9c83d37cfd2eb84cff132d83ea937b3acafe0fd46afa5ddb64942de 6ec1d285b2429679b35069224de38757231c44b39624f60c6c34e98b3c6f1356 lib/codeql/swift/elements/type/BuiltinIntegerLiteralTypeConstructor.qll 3885775f78e18286aa8dc99ab5b6f386a278b34b47f93da28d67faac918e6087 93be2ad0b7235bab613b74582bc1de0ca8b2a4da7a387d09a9b8ef9b38095534 -lib/codeql/swift/elements/type/BuiltinIntegerType.qll e87163a0902348563edabf194d074ee650ed4cf8559b6245eda0d1c8e2214d5b f3ed315e6b3fd3b4b4926576110abc1d82274ba6f9e3ca9c291ed629b9368364 +lib/codeql/swift/elements/type/BuiltinIntegerLiteralTypeImpl.qll 7f078bd837acddd0e835f78b0ae6e0381c9c587e82edc61cf78986ce0081e314 f141415be39f8a5f09d4a90cc5d841f90385c3be8781c0bafbad0871681ec8a3 +lib/codeql/swift/elements/type/BuiltinIntegerType.qll aeacacd4c1a14baf68d32ca622327dcbc6eed306e6fd4c003e346304472a253c fd8d0649383efd943158a0aeef74a73855720cfbb00ee99bc33a0f0a185980ca lib/codeql/swift/elements/type/BuiltinIntegerTypeConstructor.qll 2c5a7884c5c8c852d81b6ce03f9c6cc036944428731e3a73208c0d2047b72611 abd29915698109395a4751999aa334ba3c020f20372a5dff213acdd672d024a9 -lib/codeql/swift/elements/type/BuiltinJobType.qll cf52b01d7b48dc4beacbb77cc7147964398fcb5aae3954e5604f67274099e77d 3534b4e1502cf6e5e4f6b2863fb59daa17242a02ea3f3315c08633cf103f9f3d +lib/codeql/swift/elements/type/BuiltinIntegerTypeImpl.qll 6a6da5bb3632bacd4942dd93b2c298d8de8322317b31b40acb082a8646c2b6f5 f631af62b4f237bc340922a5e40dcd10a3fdfb0b92a2db1c08c959a8ab4a458b +lib/codeql/swift/elements/type/BuiltinJobType.qll 27dcc4533d8378ea64352da27294f93ad4fd05818aedd300134b9eee51a6374a 1756ac67f3cd3fee1fe2fcc261afa9180f68ef6b5628ed4fe78c13f76a7e0d4c lib/codeql/swift/elements/type/BuiltinJobTypeConstructor.qll a46cce5cf8a96d90a2063ab74af8920ec9232cc2c6f3b5f3d106623cb738c6f1 a4286382b098ef6cf685e5d9980f21d423cf6bd61c585efc37e3de88a7819db7 -lib/codeql/swift/elements/type/BuiltinNativeObjectType.qll 64eef4a37c8fb350512de0e8bad6cae7fa9b89931c06f6e89dcf5e918ea69c28 4b4c736e5c59bc767462db0c332a44ef2661c0498a8db63f15cff5d4755ba40b +lib/codeql/swift/elements/type/BuiltinJobTypeImpl.qll 52b29e3c595845c035a95a04983a800c62125798cadead8f302adf0a17e53884 d90cba2a5a35d7bd616f7b76b22b2b438a0c9f3d4f55eef8a883eb58c1d27332 +lib/codeql/swift/elements/type/BuiltinNativeObjectType.qll 100d1b51c23b14a6a1dd282a87e9dff2bd714b3ef3697afb1f32268029f17c8d ef005e2823e2f60a08355e0f3389ba43b4741cec2c8c4775aba70f1a291f2c21 lib/codeql/swift/elements/type/BuiltinNativeObjectTypeConstructor.qll 2f2395f12d23fabba8a2b55b1de6c43547054a64225ed3386888f1caf5c90f09 12b77f69cdcec87611df1a5f554d5aefa4c313ba97bf94dec0eb758bc8f54fef -lib/codeql/swift/elements/type/BuiltinRawPointerType.qll 927822264e1f17f0b14b8a97326c86a6587c8aaa085077c004e1e2c67ea3789a 1400d1bbc81ed33e385858fc35ca9b8fd49406dc1aeb52e27ede4dc8bdc3d126 +lib/codeql/swift/elements/type/BuiltinNativeObjectTypeImpl.qll 7b1ff05dfa1aa466d7047c8b8c47ac5d6b5e7d9e9c27fb60b0462e3d598ecfcc 0bca119c348d4d983b3131a476511ed733c87f3ca1c402a6fbb78076ac560310 +lib/codeql/swift/elements/type/BuiltinRawPointerType.qll 85ecb198deee6999f599d4b6da9d46a0ac2ed35a307f585939fc68e869933f6e 93e31a2aad67c31f6db89ef599a8651a0ec031388a325efa86fa01588adf761e lib/codeql/swift/elements/type/BuiltinRawPointerTypeConstructor.qll c7757a7a2e6b68a2309b0318b5abb525cc4d1c80588c9f1145186c8b8dab394c 80497d4e1a8d6501ac1d9234b3dc7a8cda1edb5f9c7592d75504fb2810484cd3 -lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationType.qll a560fa89c0aeba336eac6fd07dd1e1d0e61f032e5386160cd82bf35e883f71d1 3f3e4bceec2e9991f07d403c0ae35699a5583eb4cb6a3752161a27566e633b76 +lib/codeql/swift/elements/type/BuiltinRawPointerTypeImpl.qll d54595c224d723dde78bb6f125dc25b679e43f8767c750cfaa19d89c59dbf1fe 36956eb36f0966b398a41068892bac2eb5ab7ff64c0480eeae560341ebd6bf92 +lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationType.qll 531a16272c4c646019270381ad6ffb81127d48abb0aed8c29aa2f165205500d3 55cac36f202f8b98daeab974bafc5603b839e38609fc1340ef920c11067283f3 lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationTypeConstructor.qll be23264f2091fc9110e2b828213ed3b22a60b542ba46fe72675af17947a1f4d8 a1160ea7b494fa8f377c72d2b12aab4512309b117d2d9cfe24a8127c6e4f35c0 -lib/codeql/swift/elements/type/BuiltinType.qll 23403d6a6dfa3e35f974c41d988cc3438a01eb4e4efa7084de1e73316f984cd3 58872a5f5e23aaf728a8d8c4f22e25f1f7f3cf7ec35d2a1792cd504ae35dc0da -lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferType.qll 55501ecbedd6ce21e672fbd31f5126749e7136bd39eb026efacad02510a2b887 e66454b9e044cbedc7cef40eda3f88eb0697e2d6599c9b5a21ee85d235b33c1c +lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationTypeImpl.qll d14e436677e9e3056dcd3dbbe38898d4b8863711d32cd126ef9fe10c8a9496bb 08f5e691bee181083f915b044de7c0e3e756dab7ca1635b3c3ad7d7dcd69cccb +lib/codeql/swift/elements/type/BuiltinType.qll b694dfaa09bf5b736091dda29181dcdb635de0f14a0351c9bdc077cde29ddda4 74d260ee694c35495d1e5e0f6afcf8c9afb029a153d89a25cfaad240d2e7fad6 +lib/codeql/swift/elements/type/BuiltinTypeImpl.qll 10977295c9cf7f3d84c9788d01cd650029254d5f934f846f50d597eb2c968236 669ed86490d2325ec693a6a38ef39972e28f14c06236d5104219b942e6d31adf +lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferType.qll 66b87ae9a89ead996acf2235672c62e0a52ea3e0ba9d2b96d2923972a38d4114 be3dfeb012b2694c7f5675f91f0ef37c1a039682c481036671e14176d43e36e8 lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferTypeConstructor.qll dbe44265bb83fee9d5c2bc4634f71f2b036df87adfb2eec51be1cac4223a3111 27bb53e9b689bcf073f0a90f81ec0bf67712c8c6302e741d7dd5915c54b0a151 -lib/codeql/swift/elements/type/BuiltinVectorType.qll 035ed33b5bf1051b0eb580e3e5e4c005fdc5e4f4ff5ccf482f01faae8b2107a5 e3677052c1342c18cca10e3fcc62bb002c38686172e0df9a1f7dcd1d76a50220 +lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferTypeImpl.qll 0fa56a90540e0d2e45c904016b63d09bfac20f5c77b803c7092f0276191416e5 b698528f3e9f66962c9eb9c7ed6843d9d6c063840c57098298022962db71ea56 +lib/codeql/swift/elements/type/BuiltinVectorType.qll 5cad5b70b74022d8975390f589601213f19af96e202b55fa97a995677fa7d4f3 b592db6041fac59d3ca63819dfa22d31102b8f8a9c31b1c7d054ea293aa1c2d1 lib/codeql/swift/elements/type/BuiltinVectorTypeConstructor.qll 7925b6820a989bcd2489ebb4fc918a966c0472a67ce4fc5b15a960238ef96b0a aceceab6dd1f583db3a03c54ce5c855db2079adbae1c46a465817a0d3dc2a57d -lib/codeql/swift/elements/type/ClassType.qll feeb8dfa2472303aa29126c368e519d7aed1bae894104dbb3504cf0027dd165b 5f0bde82f6265e8480be55ede9694201e409db20a1cf038c48e74e839a00cd99 +lib/codeql/swift/elements/type/BuiltinVectorTypeImpl.qll 407a5dcc4c878ec151a1399f469618d6a7971b5bbbc27c0440c3e6af270adf17 f191634d8eba2672f499ebbf360101fe9160f72b4a444da1702cfcb50e80183c +lib/codeql/swift/elements/type/ClassType.qll 8289ca105df82c3d201c9d42748d84a60a2dd93048291eef652eae4b7eb8393c d6f6a4ac0365ab997b6eec1c8f6094f2641e8ae1be6c626f2e9cc32a05bda2c1 lib/codeql/swift/elements/type/ClassTypeConstructor.qll a028b4c629a61dc9a908378005fbb66c76c66570599f235b42379b8ac3412fb2 6ed9bfdd6101bd44afc0af312d088bf1965652933ef2111ae5f29f3249ad4080 -lib/codeql/swift/elements/type/DependentMemberType.qll 1cba87d795a068956dde0a0f2ea5a23d3049f4ea0c041236298f1e8b6dcdcece d3d8fd18114cc0cffa0637786f32fc8f4c89b82b5fa75bed4968475ead97d4d1 +lib/codeql/swift/elements/type/ClassTypeImpl.qll 0779f04ecd7e28c3fbed8f45fac12fca38a4d6925465011aa323ef31989d72f3 0d517488efbcd0ae557c50ec5bc16b607a06af86e1021b13c167644697d384a1 +lib/codeql/swift/elements/type/DependentMemberType.qll 7dcccc7866ab606872244a7c3de2ac3ae1ab77068f8fc0f2102ce1342459ff78 956097a8b40a06abeb7a5cc6f62ad19c544f80c56b89dcd1c6dfef479749ba47 lib/codeql/swift/elements/type/DependentMemberTypeConstructor.qll 45f45f997cfb82db3a2469e7d95a676444ad69c86051c2c0474fc6d4e22f4265 e80214e4b0203ab3ddde9272836603ca5f5c2b883b9bf55260400801b8c8a22f -lib/codeql/swift/elements/type/DictionaryType.qll 9404a6710b73518222058f82eccb67b6ba78b882af5258005e639021992d3e0a 07071c2cf22fd7c0af4780dfb3e4fb61300b1e2dc40c6722a01aeebfc5f49a5e +lib/codeql/swift/elements/type/DependentMemberTypeImpl.qll 9cd878e47e84833822780c82279a9366c4b2b4153594ea4c057491f4e99f07d6 bb573530a8450589b17e6b8d2de0cdfb73312f5215d0b50a1c2d055a8fe0b4aa +lib/codeql/swift/elements/type/DictionaryType.qll 531581166fbc3baa89b0a8fa5678923a42be49f49bb8291a2acd31567a98f94d af234f980ac32e3fc6b1dc15cfa3722c5e3793a7009377111c4c2a02306262b5 lib/codeql/swift/elements/type/DictionaryTypeConstructor.qll 2d85029082d8a5dda34ff3a3939ce5e908026ed7e7d3438f43de5e9dc20510d2 d8e3f431c1624431fb656f733388e692fb10b755dfcd856faeeb5d4c8e6d269c +lib/codeql/swift/elements/type/DictionaryTypeImpl.qll 3e6378f3945088bc88ca5e248d9d4731b4d01618a1e090a192e163b3c22a21ca 7c13fbcf5a23f223349d8df17607e8a96ae710d71967225d946aa1debbc12bc7 +lib/codeql/swift/elements/type/DynamicSelfType.qll 1aa060973db3a83df0d17f143686d25e4479a29d10bd2449c841393c5a1a6376 35d81f450d28d679985f250427a058e363b48369c4de09038e63386fd7518522 lib/codeql/swift/elements/type/DynamicSelfTypeConstructor.qll 5b3da6f88918249f0afe7da0673c0333c53d548c1a8eb40c1ae4349654f3c272 1940db8f33a83e686345d9cffd9114f852d7caf951932b33cb9d93e3a9ba5620 -lib/codeql/swift/elements/type/ElementArchetypeType.qll b141477fcc39cb4c428edff8ebc54d057ce556ca54170142604b3a2498777d6e 06811899eb4508de855fab04f6d0edf2b6e3e31f2041a66a8ac842312d0aa4e9 +lib/codeql/swift/elements/type/ElementArchetypeType.qll cf274b7789dd5d1b46c2382d23e6c43915683f9bc6cb2be0a77a60ecc1ed9659 c368a638215560b12fed460b28913df460758dd4e95d4ecd7d677708831e0eed lib/codeql/swift/elements/type/ElementArchetypeTypeConstructor.qll a37e38f4b824dd96c04e1ae37776d3b04001dbb9f9da011ac11bb8aaf2c5e9e2 31c1a8a6ff976efeceec2edcd7090e20911d0c691cad6527b81f1650e68ef2c3 -lib/codeql/swift/elements/type/EnumType.qll 0f34be791e7feaaddaa2512e12e6078f9149277bf69233809f354e59fc8ff373 e7f2bc38959e8b7b108677fedce7818a41236d1ff19b80851e554e3cd65562c0 +lib/codeql/swift/elements/type/ElementArchetypeTypeImpl.qll 9248467edb0c0cd8b4793c2f980728265db0fc0226d64b9bb5d0e6dbefc89710 42037dd695884a418f83446ef7413a590c861ecc1922eef74328369914ff652b +lib/codeql/swift/elements/type/EnumType.qll fe4234dcd067255993c7b9d4a4be22417c6537b289b65ee5dc2b6e95ebc56fb7 e93e93155b9afea398ac7c58ead54d3c7c03690c813db1557d69eea1bf6ae968 lib/codeql/swift/elements/type/EnumTypeConstructor.qll 42082a8131a1d23a3fc57f03470a2709fdd01fd492cc3ca53637ad0a1b22a80f 0eab43c0f7d7f415493ea776f857e91d64df60442737cb818361c9634c74ae48 -lib/codeql/swift/elements/type/ErrorType.qll c338876a8174715bccd532b9457daed307ed91dd045230e0472cb1d8145e1ccd c126bb7e48bb3508a1f05c780145ab11a16cee9626ce7bbdcd40f07eecb54351 +lib/codeql/swift/elements/type/EnumTypeImpl.qll e1882e9bf4a5758d931066d21af82b10de241593fc632844db4220dfa1b40051 7903e471170bad4ac51971c614c3d5aec81453630f9d74792a6a782f76aa6491 +lib/codeql/swift/elements/type/ErrorType.qll 37da998b33829ce03d99c17b4c3d6f7658f8a01ef42ca6580575555ecc958de0 50442c747a91b4aa73558afdab14068afacf1ecaf85aa4d85dbae8e0bdd0a792 lib/codeql/swift/elements/type/ErrorTypeConstructor.qll b9c8b309ccc948b5956355b3d3398c1e52317b3c0dfbef0683b2dc62fe2e5054 e30fd9785602b50081917e82b03776bd98774fe45ff35734497cc0816f284cd4 -lib/codeql/swift/elements/type/ExistentialMetatypeType.qll 3b90b3bc68a1f4f31c0f610ed6a9c9e02423a51c5dffa10edd1419fbb1146948 626c6c348c085f828afc7b93dbe9935ba5db88e68488189e7ab358493db9dac1 +lib/codeql/swift/elements/type/ErrorTypeImpl.qll c04c074586ee94c721c8ee4c75f2213098a004a69df08d5585d9b3c2a52ae44c 1fcd9cdadbddfd1f89d9cb0962fd767ccf920b26975a9557c4d758933ebd27b3 +lib/codeql/swift/elements/type/ExistentialMetatypeType.qll c3655f4057f79803191727749dd6f6b28f32a4e883410f39a13fe488868c4533 1613c751a73f82172677b0c0fec472c87858413ca0147f38eb5fcf50c31eda73 lib/codeql/swift/elements/type/ExistentialMetatypeTypeConstructor.qll 4055299dc6cf43e7a12f325913fd84b58761dcbfc14aaa27dd494eae1c282a99 c28e1ef4c8da26eaca30726bf3a81547bf3996cdfdf4b35cfc062d574e791d86 -lib/codeql/swift/elements/type/ExistentialType.qll 9faca7c195b2a2a33e83ab0e4d90979d90c77f634aa1422ef9d9aff25b48e356 b1a8bc743130e0ff653ef3fca31492dd43d011d8d36f076db1f793f8f4fb394c +lib/codeql/swift/elements/type/ExistentialMetatypeTypeImpl.qll 5aeaabe063cd7d9950a46fa4821f8d950c7583a4652f7e2741d81e19281aa873 c5ad2564888f6c10ac2478d72c5a436cec111824781b992adb9bddc723f13faf +lib/codeql/swift/elements/type/ExistentialType.qll a02f355e1eb1fe6801fd11fdcf246e47e6a8c2dda6ce4719123fd8ed31efa2ab 5f6f72c843f4a073f13ac94288ebf2013e4cb78b5d59e9679ed62b215546fbeb lib/codeql/swift/elements/type/ExistentialTypeConstructor.qll 65aeccb1d9b403e4efee678c7af1e8bb1359f6ffed7a2e75945330a19276b25e b2da77005c4cc9dc8dad8864b222de781863f93996b0128346a0464a7cacdd8b -lib/codeql/swift/elements/type/FunctionType.qll 86ebc93a74076bf8655f8bb5a0fbd88b52522b76eb3298aec60bbdb2beac469a e81d6f0f4b64a1403b427f2a2004263056a9d7aa876dde58e747ece595035a9a +lib/codeql/swift/elements/type/ExistentialTypeImpl.qll 26d3e2369d60904b429922dc42f361adce9d0ff0731d3299ef11f8572f304133 87dc0b8d658822303d6d7b7006e43bea2ea1f0ecc00eff4f197f69c2e55dafd7 +lib/codeql/swift/elements/type/FunctionType.qll 5aaef607e24b610b4cb5b5bef84befb65edbde7c72cec921c333fd7befbd8d5d 04219744e8f099f280564ae8c497cb3700d2641e7d0f167234cfd9447bcfb8e6 lib/codeql/swift/elements/type/FunctionTypeConstructor.qll bcff16dbd2411b5db4d43bef5797e93f5a82091d01411b87ba6807314230b7ba db4a0e98311ebcd63be7a7c8e172084003cd9909c005827cf58531eff21fabd1 -lib/codeql/swift/elements/type/GenericFunctionType.qll d4ae4f8f6f1f700ac4f0b4b188b5afa3f31f190a2949a2cbf854fed488663838 674bcee1151d4cbb37f360f31a20510ae99a386884de19c76abef694666696e4 +lib/codeql/swift/elements/type/FunctionTypeImpl.qll 96ac641d9a48cbd8e42409fb9499e0133dde14c96ed5262ee751a57474150dbc 8ce6ae7c7f54d30528a18af3adeec8b4ec6d75ed599f2dac78ca76fbd02e716c +lib/codeql/swift/elements/type/GenericFunctionType.qll 14bfebba6569f5b1f4efa6174700b4c6164067a235f085fb6b12b7ed6ad1e534 20b16a0b50af671c3690bdd8aeb234d9d9ca7c8628d0098fe6f42463a198ea88 lib/codeql/swift/elements/type/GenericFunctionTypeConstructor.qll e2ed81388159e836d20eb22b7716288c31781c996f53056b85a0c5f14f70472b fd42804969860553c36ed8384e01b1046ac6eb1534d151af63c47b246b9d71e3 -lib/codeql/swift/elements/type/GenericTypeParamType.qll 61271614607468b3fb7ccd359159aafcd04db14dadf8245e69c27878c47e375e 071bdddc248103fafd06c9cf847c401f6df4c01f3bd7562ae2e0b8e19505ccfe +lib/codeql/swift/elements/type/GenericFunctionTypeImpl.qll 25ea757775c9853f9a5b0d5a670da183092f0d5d6f72e2e57c37c72c9ee7752d a05052227d76d83f768bf1fbbfd387e11900b8c34b8f3a2b37fef5772f4e2a0f +lib/codeql/swift/elements/type/GenericTypeParamType.qll 867c77bba91b572eb334f680c7b1312c77a744896fecb2b4e468dc0c47faf4f1 80994726e55de3216cf7a88c9be44e148ff572ac9124a954b3229ad8e7b1e10c lib/codeql/swift/elements/type/GenericTypeParamTypeConstructor.qll b126ac4e7efccecbfbd6306d196a6296a85ac11b1967ec44c82effa66467f39f f326323d8c4d0188e5ace176e0661b7d504ec4341642a4822187d98c0393ecd8 -lib/codeql/swift/elements/type/InOutType.qll 5c2a61486308ba06d596ae18c81faddfe21d480800f1553c50527301428472bd 0f77e3ae3d1f79ce46b035c57c98348dee042f8c320804c502b5e748257506e6 +lib/codeql/swift/elements/type/GenericTypeParamTypeImpl.qll efca259897a044fc967341a9fdb39497fc5e9bcb0b4ba33fa76cb926b98b3eb7 aaa621c691813a2f70f4071e3592d7760cef319904209770442ca0d0583f65a1 +lib/codeql/swift/elements/type/InOutType.qll 69d0376b0b360a434b36968e377950b7ddb227b37303b09596dd5d4ec0839a00 009e09dc8acfd40bbfa538ef0a050e93dca9d8d0ec7027ae5e4597fd083f45a9 lib/codeql/swift/elements/type/InOutTypeConstructor.qll 40550fd07551bc7c1692e08f1cb0692defca613c3c6403719efc5998eb1f1bfd 775f16224a455e336da239a179f84581b345803b9576aca119aeb3eef583d739 +lib/codeql/swift/elements/type/InOutTypeImpl.qll 28fc2931a424f551107b0ee49663d5d5307146c725353c5e484f0dd289f93dc0 ff12e91e30ee53bb8acdcf9e31261b6b1b0ae966babb4eacacb344c22aa1cb6e +lib/codeql/swift/elements/type/LValueType.qll 4493c6b80355d436fdf50f44aec17f0e1e17fdba7cfb9fca1af32b22a7c8a149 f2a8728d44ad072470386b6103c98864d7e5db98b79d30e9624962629cfb9ea4 lib/codeql/swift/elements/type/LValueTypeConstructor.qll e3ab6ebb6191a2553bd4a483067acf7131862bc7235af2da74c35e2250300da8 cfa65d0f22416408ee1e5e5af440166fe5f5b39ae9bf1b9ae92bd9f9f2954b76 -lib/codeql/swift/elements/type/LocalArchetypeType.qll 2cd1758b796425c7d5b59061dc54462b989e849087c50501178eca8a1d5b3cf2 79f6e00c912ad846def29cb94835937cb73b05a95587f50dd83fc56f1599359e -lib/codeql/swift/elements/type/MetatypeType.qll 5cad191a66cf56a87d9877747af431dee7b3a8b365a15749f73c100695675d4c 5fdaf2d4ff3f88d59bea1f00b9e36d7552afd0a9470e4d3c2284356e0322aeae +lib/codeql/swift/elements/type/LocalArchetypeType.qll 39d79c1e22159d781b503feaf0bf1ec2d30cf07ad0484683b225ea5838803ce0 a3b48057017239bb1450201bf4a990c01416922c2396fd86d6ef11a46a789151 +lib/codeql/swift/elements/type/LocalArchetypeTypeImpl.qll 8170baafe8e2845a3f7f11894244c6b1cfbeadf7d3c86de676fe17deec68494c e72508db440afe58c2da26529c362f1f7eeb6f360424f62c7f6cd841c4a6f3bd +lib/codeql/swift/elements/type/MetatypeType.qll c4faa4025eab32277a2cc00b75c4e826306da7c2cb065649217645e0f9bac1d7 3c96fe94410b74e327ec424b9f390c16576746ca745192054c2e59209b0c3d0f lib/codeql/swift/elements/type/MetatypeTypeConstructor.qll 7011a1307524477b7e3b43e2efb2ebcbdc7fec258455c95d3c2525cb8857bf3c b56938e2d9cd814b2fa3de569f091f42e716b399e73e024e405eb211f65a944c -lib/codeql/swift/elements/type/ModuleType.qll 30da0005552aac311337d001bb9d3026f1df920b6974eb58818afc8a536a2803 48663fe7144942c8aeb45fe80102877ce887a62fa42c4adf428f9c263bdde97f +lib/codeql/swift/elements/type/MetatypeTypeImpl.qll 74a1cbbc93a94f9e186faaa7b9e4b0d2367f5100ac1dc7da16412d142286f463 9d538f4ab0872d5abbbb26dcb39fb13106eaefa561af7e66dd8aca9c834bc4fb +lib/codeql/swift/elements/type/ModuleType.qll 227c0c42bef0cb1a72cf11f6933ffe903bda725cdfa3f528b3e17061200487d6 696a505660d9b7d90d3ba1a8905293afe407cc595c9c2cff333f483831223c6d lib/codeql/swift/elements/type/ModuleTypeConstructor.qll 86b605402d52a72fa438e548247b08c066f3535ccf09751955f1db422fe08620 24ffd4796bc011f4b2961965cff013dc8be3eeec4e5c9ff226b033b90e50c6c2 -lib/codeql/swift/elements/type/NominalOrBoundGenericNominalType.qll 2c56f1ab70a177ef20cbc765bf727a0ef33c51ef5f69ca45d7c0487e42f1bf08 6b343dbc8e15b9304dfe1f19fe75320e9328523eeb1f88e00a6752b906dd8882 -lib/codeql/swift/elements/type/OpaqueTypeArchetypeType.qll 2bc7bbb4bfef1ca029abd929dbefe0997d2cb33cdc628848b8b8745b98822ea7 85f65a8807be27ab3e69b6667ac5f0aefdc6231cb1b50d23250ea002ac9fdda5 +lib/codeql/swift/elements/type/ModuleTypeImpl.qll d13df337e9b7873c3db9c3d57d58129cd9b7ba1d851fb75b42f98dc9371c309a 0e3ec2afffd2a917c33611921ea6c8d3af95de513d0e7ebcfe43a1ab6dc269a3 +lib/codeql/swift/elements/type/NominalOrBoundGenericNominalType.qll ec02dfeed033f56c9e2bc1218392c59d36f11909ceb53049e6853af9594367b6 d5e8e88f4512c2333b6a0d0d63392fc282c0fd4544e90a03451be31882360575 +lib/codeql/swift/elements/type/NominalOrBoundGenericNominalTypeImpl.qll 6da77c694a1d7e3e3ab889b9fa5bbc0c5940b7ce3e2ea1170f78566589b8275d 5ba1224ee1a942e5d5453effe5434d5b3d7dd5e68979e7c1ea3bab7ff3030484 +lib/codeql/swift/elements/type/NominalType.qll 99c2de19708464df7756a86a0eb00644562f19b41639af2a8b4858d5480a53d0 41044e847c5b7e8e5cbcb4548c60d973dc700c781b4c1ed93fdbf5b61cdd538d +lib/codeql/swift/elements/type/OpaqueTypeArchetypeType.qll 5fb776e452e6080c9e578ab4023e2c1b9cd2a294f5efffc37a3e890cbe8a1637 8e7c855ebad059aa3f7e9167e7e379a6724d9353d5fdb3892a77a6253ec31dea lib/codeql/swift/elements/type/OpaqueTypeArchetypeTypeConstructor.qll f33bf566ae7881e6b4c5327602bfd4275bd5344d0f9fb764ebe02b9673ab29ed 88ad64e4c114f34a952701fff67386d43982dacd2845eead408230447d3c0506 -lib/codeql/swift/elements/type/OpenedArchetypeType.qll e5802469d4428262c52967deec93b8d327bc029b4bc645f34021e6b84c2975ee edfb5f2fbac74dc7c06d17397150a49bccd63ddac36959b0e1fa02a70b2825bd +lib/codeql/swift/elements/type/OpaqueTypeArchetypeTypeImpl.qll 402568a45ebe986f2086c765649414b218a262e103ed19d73de3754cc84327d8 b7ef0cbfdd74083403ace6e0d8e6b0502fba1267d04a16c7465fa8b5dbce4138 +lib/codeql/swift/elements/type/OpenedArchetypeType.qll 5a76b8e8ed3b4feb19e9d1cc4de285fb583fcfa3cf032f4c6df0a7efed8df2d5 2b26a2e03d96840f69d95c6d508acab1845196e6b522c85876658ced5d2960cd lib/codeql/swift/elements/type/OpenedArchetypeTypeConstructor.qll 729a7f0545d9aa3449e92f60f1ff780188135c861cdd119a678569d27684f4c0 e6f51320aec9202d97695228b684cd35ed5f26cdc8576621ad74ca0a5f707fc6 -lib/codeql/swift/elements/type/OptionalType.qll d1d1465bea4bac4d1d4fb0b499b858daf8a23fcd1e60d82ea813a3d864118ddb 1ba347068c75fae0f12923273fbc4d4a9feae5c57857ea406904d116b94513e8 +lib/codeql/swift/elements/type/OpenedArchetypeTypeImpl.qll c8d7f2493f1fd23f2e5c1707ff5209e7345e939b8e9a499f8df28dd4fca77bd2 616ac345e28f858cd1f3571662cda187e2368cf19af6456675dcdac9eb30b714 +lib/codeql/swift/elements/type/OptionalType.qll 3c7762e30d57315d3e3195285ad14d0fbce4efb92c59af90e3a362f3be6ef417 343b68a77369ad7240ea4b686c8e66624c6b71103d9014024502027fc9572966 lib/codeql/swift/elements/type/OptionalTypeConstructor.qll 648493a385d8a95b665fff776f52e23ecdc2a4baa355328fbb218a1510ff807f 4249552ad87c3e474e32c89e6bf6302d7de5d15980c550f97ec8576a5801770b -lib/codeql/swift/elements/type/PackArchetypeType.qll 269a20159e3d3bcbcfa3ca35d5376b168dc7af7bc6a36c91f57a15e573a4dc0b 404552042803b9f8b2b28876683dcba1ecc0f0b600b0244658b943df59865d61 +lib/codeql/swift/elements/type/OptionalTypeImpl.qll ac452e2c2883cd9aa7e460032a6f920e10c34a7e04a306b0c6b7a9c637f5b9d1 2513c2da982ed0a11687b5d3938de9e029742ecc1b6942b28e443aafe951f7e6 +lib/codeql/swift/elements/type/PackArchetypeType.qll 0028633d30587d7d044a10efe40b1e9789552d0000d7fdba5449b2c496da3753 1a5d2ec5ec15c408e9fc9efe21c7c86f3de56d9d98dadc2c0633be59d73a4d96 lib/codeql/swift/elements/type/PackArchetypeTypeConstructor.qll 11ceeb4d0d337cde182804dc1b56f24ae624b74b55f62979c166172b53497a11 b46528bc0673a80a3d5ce29c358105b876967b73ae4a5596e6d7cf82e2292144 -lib/codeql/swift/elements/type/PackElementType.qll 8371be2b3aab80d3bdb60d258f491d622744d3f7e68fd07ba6cdfdcbfc614e36 412af362a042f5d1f2aeceff0532d611048900526c87cff2e46fd2cc3590cc29 +lib/codeql/swift/elements/type/PackArchetypeTypeImpl.qll 57b81f7ec836b614be2be40ad93d32b1e62fbfb75c63b85b0f09564008968b79 1f3ed8d2d69195f552e04b4c282251003aca9cb00d638c3c23d7f7bbdb247c4c +lib/codeql/swift/elements/type/PackElementType.qll b84aecd3cbb75d0939a572cf5612a03ebc5febf1f63cebaffb1dc4ff43f9274f a0642d168f8b3dd6017cb2ac42ef3b9e0c17491af532e3b7e64c8acea838b72a lib/codeql/swift/elements/type/PackElementTypeConstructor.qll aa8aabd646e9167a55d1fc830ae16199d0a2c883eb5a635f8c2058baaede6360 3e6285bdfbc3cd4c4a583515b7805cec458db2e0f80572656b735e57f3bdfc4a -lib/codeql/swift/elements/type/PackExpansionType.qll fee4b631d5b171452d4022f0692e7ba2051ffef4ab3bd619cf6b1190a752d54d dad6080ee8d7d75b9bd3a6e323a1321bfa348a33909a6eeb16ef532c81ef5d26 +lib/codeql/swift/elements/type/PackElementTypeImpl.qll b8b90588711c1f06c413dab3a466d8392a11002feedb7528bc25b0f1db3bdc06 104a1a69589578db31f4a8e3e44106f4dc9bba13410312d8a6e789a6302b2fcf +lib/codeql/swift/elements/type/PackExpansionType.qll e8994852ac484a02237b2bdbbe11a1a0a31a4da3541ea93444e2586b011b1813 6dfc3e9c61ff71136ef5dd87823ac426643dfd786e2d625824cb6995d64222e9 lib/codeql/swift/elements/type/PackExpansionTypeConstructor.qll c8b73f03d6e3a8af0363db3be62cfef755a51285d0e1696e1fb72b0b0238595c 72b8509a2481f3def5cc4f47a7d3feae9cc44b2599b09d645fc21569a00a4f60 -lib/codeql/swift/elements/type/PackType.qll 5871b43beed2f214c2f5166f2baf8058f85ff3afd531a86fd46e9349d51a3d94 6cd310746fa3e047edb4c0f33b9ebde395108cc07f9d8828df5e3d58f40d589a +lib/codeql/swift/elements/type/PackExpansionTypeImpl.qll 2e65bbdcd50b25a8088a793d6921d53ee229ce4a6760060cd1e482cce62e169d 9b293a404239d5577ec4370878f162b9326380d8bad46e9f85e8350ec37fbfd2 +lib/codeql/swift/elements/type/PackType.qll ca676927abb763e9a49dc1d22c472cde14e11bfe748081ac44e3ad18e1b12c3a cfd6e13df113fc7be42b543f8d59d5dbf581c729a2f23195f2a353e1ed55896b lib/codeql/swift/elements/type/PackTypeConstructor.qll cafa01460fc2eefb816105a65954b48aaf042507ed358149c0b4a0fa9d160099 318b11d4e2582187d0adc2386ff8e02fa79cdcf62dfb88285943e41d846bc8b3 -lib/codeql/swift/elements/type/ParameterizedProtocolType.qll 7d90ea1211e4f947a33c850ebf2da725ade62f98102d69de4fe4c640d0c50458 67a34e34b926156ce02d9f2738181efb305cffcd0de64e8daaa01e1e4bba79ce +lib/codeql/swift/elements/type/PackTypeImpl.qll 2b0ebf154c4b0ae0e1ad28d95c0366ab794d952d4f838fe664560b4833b3fcc8 b2131617632699d1981aa9f2eefd47c2854e31893a3777b8c1d5c92786b8f3ab +lib/codeql/swift/elements/type/ParameterizedProtocolType.qll 2eb6d0d20ed09412f1388f143ad7c94b5c3de52bd06cf84bb327211830cdf2dd c28ea44478421237c780b2f8eeb932f673bbfad3822465e056f02419aa6eec8b lib/codeql/swift/elements/type/ParameterizedProtocolTypeConstructor.qll 989c2a4bfe3739447f1d177bb35e9322ee4246c49f5e78f9fb51090eb5446c73 6cb94da1c1a6b301a41b08e7f60148550578caec1093724867c0efd27463e28a -lib/codeql/swift/elements/type/ParenType.qll 8f52dbc5fd5e872344cd42beefe7bc7bd9a3ced04ae8b023b93eb85ceb9d62a0 5684664d68e1c52f16389ce691fc36456f92b057c5923ec525b02b10f7994ed1 +lib/codeql/swift/elements/type/ParameterizedProtocolTypeImpl.qll 5021d74612fa1d5e7aea9ee22e4dd79089db3a1cd960364a98f67b94894f57cd 7247508dbc0e4796f258d09232f602f67fef86080e11352c8a500bba6529817a +lib/codeql/swift/elements/type/ParenType.qll c10d600bcad5357dcb4bb6a44b3613d97ff9d599e6076d15a7a01f25688281f3 700806442dad5838fbb44f9a67ccde1cda49e146589b91ebdafcae9618f64103 lib/codeql/swift/elements/type/ParenTypeConstructor.qll 5463ef3ab4b344f5895b05dca62317de36832463b71f94adbb1f7986653fa87c aa0e593ebb5fc3e7e1b787ee010a11b8c9dc530fa24038f1e02d7b95d28f5c38 -lib/codeql/swift/elements/type/PrimaryArchetypeType.qll 827d4ea8e82ac8cb51e5e0363117be380c329d8dd1abd4e184348a5e06c9b77d 8f7a19628424399a228723e4f462f1b0fccb93c2c59108330708bc9271b8b44c +lib/codeql/swift/elements/type/ParenTypeImpl.qll 3fc9c8011d9098f4c77b39c9b85cfd31d9a76ea341262df7269486b772efc0fb fc08dccb6fce49d3002133eb2e3c5e661886f844cd6d7650d2c3898426bee356 +lib/codeql/swift/elements/type/PrimaryArchetypeType.qll 545ffde7d4b1518d14f6edf96c40d931839fa05b44ac2db739174f022fd3436a 17dc7dbfdbbd26b7e1788f90ac3245fd6c15ac1d50f7106bba4d590f9399f254 lib/codeql/swift/elements/type/PrimaryArchetypeTypeConstructor.qll 2404ea8bcd120933ce609e1e5adea4d2262f35702743cacd891f7153d18d6871 0e6d9a34d97fdabc417f84b3921f59794054ec6fdd2e54546f0ca5e39c51ee3e -lib/codeql/swift/elements/type/ProtocolCompositionType.qll 576d5f1079154dbb600f562205d2cac23e5e65c73a0529882bad1b92972d6a10 dfcb6f1c2c9d0d7f48c32ce80f73f4de25346213253d121df2beb9fc418459b9 +lib/codeql/swift/elements/type/PrimaryArchetypeTypeImpl.qll f449d0d0b9b5e5ae5e72f3c7ad1f6bb6e138b1c76c7de8cc1c8c3ea9ce7e2337 fc3850a8f7a58b2a6e4a6a75a48a2e89de940665f0e07d6a5fc52aea72e4d0ab +lib/codeql/swift/elements/type/ProtocolCompositionType.qll d0ffd8740590b655f1142bba866b5873dda2553c5b9fba14944b100afa02b23d 5b155014bc6502f2ae3b8224283f8e65180e8fa852d4e2d991d2ac3111463a4b lib/codeql/swift/elements/type/ProtocolCompositionTypeConstructor.qll d4ff4216d9a87f2de7d021f4d702c729e9c68646b4b8e8fca5d073d5153a49e5 b432f87de3acac37577ea71daadf83eb33d0bffd14eb4015ce5a424ecdab5545 -lib/codeql/swift/elements/type/ProtocolType.qll b581838e0cb3e85477c50ce03db615e2e48f57fb8c76f4f29080d39895512f97 039144967a2a6361f1a5ab4bba0721477468636069ad2c236d664d63b98c36ab +lib/codeql/swift/elements/type/ProtocolCompositionTypeImpl.qll 665e00327da9ebf322c391c0b72db81a0849ef183f15a669cc2f16c56a9b7327 094931c07111fb93962c705e56652d8cdba4506a5b3713833732d9395efed019 +lib/codeql/swift/elements/type/ProtocolType.qll 2d074c1cb3d26623563eb8189aa4677cfe542e5a20f6d422eff090ffe1c0f52e 3ecd3afcb4615d1c90a6c56ce979db38ba3d1af8f26537588d8f697765d1753d lib/codeql/swift/elements/type/ProtocolTypeConstructor.qll 7316fd9491081b7e36d85e4ca1cda55cfdd06206cf8c615d7a1c879c82bc6c7d cdb769868f749c1a04a732d73a5547215bcdee80aa5826f3e0b8bab4e45a0e7a -lib/codeql/swift/elements/type/ReferenceStorageType.qll 63fb4487906d0d971727e62dd1fe80cfeee06498249e414f02c7e7b5687caba8 4a510d77bb91b7896c9ea02a8dd60ef5d6e1bdb45820163eb0bec86bd341f925 -lib/codeql/swift/elements/type/StructType.qll 62156903771607caecbc9ae58e4c066b945c627157a1dac00b1eb4359378ec29 d68c15308f89ab297a16237c9da22c7ef089f7a888da00808f1ab95c14b3474c +lib/codeql/swift/elements/type/ProtocolTypeImpl.qll 8d66fc960f1e117a3bcfc59495f8e39fc48f6c359e81464763411f1d8a09bb4c 6756d56629d3edfcc284b9b8a98f8db4c712464cbcfa1e7e283dc317ba268b49 +lib/codeql/swift/elements/type/ReferenceStorageType.qll 1fab361af7721d1e2572da858fbea8d531d5f890b6fe782fef6f1cb6bf18bac7 7b067a5ad682e89ecbfa4dce37a996826180139104089ac762e52ea6ecbdbf89 +lib/codeql/swift/elements/type/ReferenceStorageTypeImpl.qll ccec0d863693475d5f20587fa605ce267174783763779aef82557f5ae7c15528 efb3a4021262faab1dcabba7155e2e821f4f892f65e77e47fd97f2c1ec3f3352 +lib/codeql/swift/elements/type/StructType.qll be705ce85cfc05634b02489f84b5a08c92639fc3c636492f0654ac63c5e50946 cf3680f63775f8730d06aa3f305b8bba2d140039a84ee0e48031bcaaba2ca02d lib/codeql/swift/elements/type/StructTypeConstructor.qll e5f6bbf073179a90dc5e4a87f2f6d6824944e40b30c8148f1ff0481217eafe59 2f8e1be4cc070c7029da4407cc7be8fe0aca4e9a95b7a74d610df61d23087d30 -lib/codeql/swift/elements/type/SubstitutableType.qll e2bf1bc4542796541d2b9313cdd77ab4e5a07f6698e149a2db5f99da4aead939 4c00d98d523a9f3409dd6fd1948850f85a7979ccdcea6ef01ecee070371031b6 -lib/codeql/swift/elements/type/SugarType.qll 1d609f80e51205f018d34d04be23d75d0c5ab81b8d156e7c0f1e04978dbf6f77 5524c32c617573ceaab7ae3fca4f68e63a1acda54c2513d1473e1b5cb50c8d80 -lib/codeql/swift/elements/type/SyntaxSugarType.qll fe92f9380da0790a3df985287b7da42bff211a8eff7123af0990ab6f8cd6b3c4 c215de8996c818a072a122e1bcdc7d0fc8ab59de13519077452f8894cd01aca7 +lib/codeql/swift/elements/type/StructTypeImpl.qll 65b24e829ccb73028f62376ff592c54d8211a5fa415c0a4e1885f3fb4d9b6838 5791a8f06938411c336c3ec922ca2de59a1972699079c8e6214d29c0ab93fd60 +lib/codeql/swift/elements/type/SubstitutableType.qll 1ce2a55c7254cef63d4ea3c505c4dec4c11b4ef0c19bd6fc18000bd712396194 a486702073c2fe04b5715af5a2b024917cac83108c8be3ffce2428a7339a45e5 +lib/codeql/swift/elements/type/SubstitutableTypeImpl.qll 16b286be38c9da96feb7f88d34c5f8ecbcdba3aa894a59c7befe96db5d9a1a13 93fb27832905ed954af6990f71226461d1b6cb70acd891171c2d8daadff20114 +lib/codeql/swift/elements/type/SugarType.qll b8c38f872b65575290ef4a8b4117623de5da846c48aa8532a2ed55770cbf6e65 6e852564757a0ea3e44aab66dcba4a89582afbf0753f1c15c94012a358f61ad6 +lib/codeql/swift/elements/type/SugarTypeImpl.qll aef6126a8efffbc99f2efa284245bf10abf1c2d0963020e3c1d5aefb29983c7d 1165b55a5f1d7f4d23b69cb87de23ae8dc1dca3f218ec05f2069b81fe35acacf +lib/codeql/swift/elements/type/SyntaxSugarType.qll c44dc8d4cec6d285d40e943dc1764571a2253cacb94c9e6a1fa9eb2f11cb963e 0dede4f571605128ee623fa09f336c99d39177797aee6a77859a23bb76b72724 +lib/codeql/swift/elements/type/SyntaxSugarTypeImpl.qll 811076817c1a47f2efaa8e71bcf6c232d2e6c5ccf01ced74723a437d5285abe5 162ca52a8da789357ec852414a9d726a38058c04d06a435c8cd769238a9e2e68 +lib/codeql/swift/elements/type/TupleType.qll 6d8de912f319b66c6e9d6b4f3b5e117b2b358a1552ffcc84750a24899979512a 4ee9696ddc43b6a5bc57e35b1c1b88eae72d004a838808d4f78e431fba1d8b6b lib/codeql/swift/elements/type/TupleTypeConstructor.qll d3d876913968d15a3290173b0276957f7ea0d1d491b82f10748f29eb4b4c3e73 fe255f451bb9fbc5a272e023e397e750f39397c8368307b326e8c7455a90bf80 +lib/codeql/swift/elements/type/Type.qll e52e29caa28fcc42ba954615e4933c094cc45479d3cb2fd2a9dc1ab9aad183c4 01c1cc7086c391a75f2984d50896aa739c674d0a3112f135d92a81d705dba5cd +lib/codeql/swift/elements/type/TypeAliasType.qll 4a26c8ce48b10381a0b980744e1e2a6e7445a1dee7bb3dfb2c9a0749b91849c6 d5cae3858ad4fc25bf712356d8120a4d2525f075fa150a04f8a37e57271fbc88 lib/codeql/swift/elements/type/TypeAliasTypeConstructor.qll 09fdfe492e92a0a2b93e96d46c3ab5290b936067c9e374a44f6dba5ed5974f3d 64bfa4dada4f3babdccd76b415c4b994811e3a7a39ecf6cb7a6277bc24cf9bd7 +lib/codeql/swift/elements/type/TypeRepr.qll f99f5d4e279898bed8fde4707b5cae7fded535c6f6f5de06c98caa8b1eb17977 0f5c7df23882c71f19354dc272bfa3d829e1636f906b6bb296c672f111e53d78 lib/codeql/swift/elements/type/TypeReprConstructor.qll e11bcdbc5378efec199bb855c51bce00e9609171e5e2b2c3e74f6915f88f122d 71a91e8436034c553e2481ee60ba52f824cf399d625fecb726311cafd61c9e70 -lib/codeql/swift/elements/type/UnarySyntaxSugarType.qll 4731c6abf5d53f19fd71b6b43d667e1cc38ef0ef355371224f77c9d64a9b932c 19429fb6bbba2c8bd2193fb31ca37d2fde0421a9b44b8f01d4546454cda51b46 -lib/codeql/swift/elements/type/UnboundGenericType.qll 7bc8491f009090230a8317a259ecd506ae047562ba2a82aba0b042776fea56be 5739763b1eacac6a1ae1fc47d83e6da596a5ed42479de945b8d2b2712c423bb6 +lib/codeql/swift/elements/type/UnarySyntaxSugarType.qll 5afb5006b0b832190a418e37a2265010b881672c60e3fbe7b141046904bcb095 7880da786ed0de3a7ca52e05c5d265dda01f4aef64cd394900433305d7436f39 +lib/codeql/swift/elements/type/UnarySyntaxSugarTypeImpl.qll 9fc99ecd738368b75043a329378ce042a8364124b63b03ae84bac7f5389eccdb 8a6589a625129b6d4dda94550dea301867958af21b85987dbc7781c10815356b +lib/codeql/swift/elements/type/UnboundGenericType.qll 6f434159f75ce8070ee631ad26298a7085f91a6bfce16ac5c1af2af33d9a2c66 b9d55364cfecb3c3f2eff40b09283fb20dcb0d50701f6a81b784af924d6d65f5 lib/codeql/swift/elements/type/UnboundGenericTypeConstructor.qll 147f73d9ff977e6238a40ca52e3027243d138f22581b3c0c3347b28c58fc612d e13df95480eb908fdea2001c38a8ef45b7ccb7bc559deac5a37127990943a421 -lib/codeql/swift/elements/type/UnmanagedStorageType.qll 646b4af924579ebd021e27e5ec540e5fa35adb46621cf7110b283f00eb026cf0 55142ac2a6ff97c59c311e9d01fbeb80f8eadf83c3bc68837da6c17f87e712c8 +lib/codeql/swift/elements/type/UnboundGenericTypeImpl.qll 162fd13899490876150d5c38ed80aa8157cb0fe4295e00a83db970addb4f213d 61977bb89bb8d6e4b4e5537b380b03aff4b6a5b5a73f2f74fdb8053b860bad63 +lib/codeql/swift/elements/type/UnmanagedStorageType.qll 2f85929c6ce4e93370a2b8a8d74e0617378255cc4e37478ac8a748f4987ba598 ec62c90850c5afe8d2c0820485a2aa7dec07050bd0ed323db2f1efc7ee18a5f6 lib/codeql/swift/elements/type/UnmanagedStorageTypeConstructor.qll 5e97912072095409a600f4baee628cd0ec60f34c6ee5c4779796bab829ebf28f 6b09e8df82abdb5d3055f4746a322b16e32da0f2f4add78a9562cfd153f824ec -lib/codeql/swift/elements/type/UnownedStorageType.qll 3f87c48d454270e2d8d112300572b86349fe113bdfea562afcae8499dc8870ae 1cdfc54750f448044bcf0f79173f34db555c01d7caea67f9678b3bdcc46ac3c1 +lib/codeql/swift/elements/type/UnmanagedStorageTypeImpl.qll 8dfa33c53d5cffc395d204c5aba9b0470a5c75e6c6691be17bc9a42c2522ae45 66bdb76113cd60dab12a854261f9146965005f1ed9341bbab843fec7dc50cf01 +lib/codeql/swift/elements/type/UnownedStorageType.qll 83b04e9e8f6a5f164401590fd7ba634fd163d1ede0ab994b38f46ef865f4f09a e03d0a19e1e159713c063244e30e16d3c7f7ae0e35ff05331080f33602e59e32 lib/codeql/swift/elements/type/UnownedStorageTypeConstructor.qll 1fda35b1c61fe1b60d0d956d73db118e1dcf4849be9b6c30a1cfe5e2559a1e50 cbc017b29ef1ea9b9cb6087f65ddc2d953a257c512908c6eb850d1e63138abcf -lib/codeql/swift/elements/type/UnresolvedType.qll 132a90020b0994080c775dbd0f1b3db18c1efd5a6f0c687f8386be6cbeb5e10e 786777cedbb101e6156ab581e89b73ff18401bce52903e46c08cb4c2a1b26914 +lib/codeql/swift/elements/type/UnownedStorageTypeImpl.qll 079ac320714d534de67ec1d87d1e43259ea509a45193f25a3e7de56a3e594cda cdab90a1a7c427706cc71d41e6d88c348d634d6971ce24c152a1b51c20e84adc +lib/codeql/swift/elements/type/UnresolvedType.qll b8c6f2152e286f1f7adfcd14f76977dcdc50726f2a3931db405ee984cca2c6ab 1a39867063a2036e84e5c4ddf14f740d0a040e605dbd63e67193f5ad37f24e59 lib/codeql/swift/elements/type/UnresolvedTypeConstructor.qll 7f75d489b4d7ce65caeb6ed4a15f462c4bd597fe72ce2265e5b76bad785fb8a3 62f38496bd6784e0c1b5be3836775d92edf2ae7a9dbae5850373eb2451cc7c04 +lib/codeql/swift/elements/type/UnresolvedTypeImpl.qll ee1499dd56875389823882623e1098a38210a1c9c44919ff57af3240efdc57d9 8490da52acc256d29041e596c54db6ff9a64ad9313cea4359c88f9343caffeff +lib/codeql/swift/elements/type/VariadicSequenceType.qll 62d5ea9257aae5f070a80b89e3f34c016346691086ebb4d85c3bea5111feb4c3 fb9a40f18aaa52f5463022c2c39c64031f0eb8de19752727dc4e85cde4cf2cb6 lib/codeql/swift/elements/type/VariadicSequenceTypeConstructor.qll fc74a5a2a2effa28ef24509b20ee4373d97cf6e8c71840121bb031c6adedf584 c9b2effc1d01c13c5e6a74a111122fa79a2f6554dda3cb016d68ba397e566ec4 -lib/codeql/swift/elements/type/WeakStorageType.qll edd13dd97b53040684409e187c1f975bcada6807c919e1345d8977144dbebb6f 9434c044d264a7f5f503a6422c106c9b8fedf74aaae314174473a29ea6ed17b9 +lib/codeql/swift/elements/type/WeakStorageType.qll 6eafcde97939cdc58fe5ccaaf4990317639cdd19830c79cc8d486b45c9f6e764 3edbc9ee27293cfe40e3649515deb5a57802fbd003f0de7b4bac9a3eb45afdcf lib/codeql/swift/elements/type/WeakStorageTypeConstructor.qll 5fdce3716aba6318522174a2c455a63480970222ae81c732fb19c6dd3ae2d271 60ea79d6943e129deba0deccb566cf9d73f78398b0f7f0212674d91287d6b2ae -lib/codeql/swift/elements.qll bb863ff140bfaa0bf887708f421a16c85816886f4d061bbc5af752a4e4d810d3 bb863ff140bfaa0bf887708f421a16c85816886f4d061bbc5af752a4e4d810d3 -lib/codeql/swift/generated/AstNode.qll 68877daa9e14b462247ac6b7b724f5e683288e39953a8ebb02a362b7d1df8e4c 54d3512744738e1ee15645f3af116437053cb5209687f4106361a1943b38b666 -lib/codeql/swift/generated/AvailabilityInfo.qll e74e218a1ab00416cb8823610ff93642101aa784aa61cbc2b4deef61471a5bac e2c6c19860dc3e6e211041c95d8e6d52c3505ccff7018b80a849735cc98141af -lib/codeql/swift/generated/AvailabilitySpec.qll a8afc5071887a67b4e0dec27356ab8cbf3e176b5358cb34c785e3015b2cad5a2 c7f88b0d701612c821359c983b3102f31b23edc211c3dcfe97de5adec61af386 -lib/codeql/swift/generated/Callable.qll d1a674575ec2edfeada622a5b34133101927b40714bdd6106f5f8b0708119c16 177e44bab51c105bc34925b06b18564b71a2c112e6fb700e47f1cc62fa03b483 -lib/codeql/swift/generated/Comment.qll fea1b1eb97adcb9a1e5eee0a516240de7b0f0ffef55068c91dc13d29acd3a9a1 f2c8cf8ab5cd5daa67aae51bad4cd34a80a81c00220950476b2e91fd0808628d -lib/codeql/swift/generated/DbFile.qll fc2f1cd370a6e67d0e0aeeb9ccd585ce6875064101a1385c2e456021728cfd53 fc2f1cd370a6e67d0e0aeeb9ccd585ce6875064101a1385c2e456021728cfd53 -lib/codeql/swift/generated/DbLocation.qll 929f015202c9c5a8062c913c38ef069482e4f459606ce4e917d021c643cfc11d 929f015202c9c5a8062c913c38ef069482e4f459606ce4e917d021c643cfc11d -lib/codeql/swift/generated/Diagnostics.qll 6be35437b2b0ff98548e128923e3dbfe7a49bdc6cb0ec9c62ee06df4a121583e 3cdc8246cd20363e954520c3661c98367d48d529f41fccf7a47805f050aedbec -lib/codeql/swift/generated/Element.qll 2137689fb8d685e7371949ce48183436c949b357374f1ab0aeabf45d38ffa16c 71f6403cfff25d6c98036f954a9140d00f85ff89309280be47c5aef0726cd8f0 -lib/codeql/swift/generated/ErrorElement.qll 9f736bb87155674af0013169873e2f7a4ace90c17adf1da8c8f0cfd32d3d6566 503d5b407c3ccdca8ca6361900adc0fbde4024103e0654c90e65eda9253dc780 -lib/codeql/swift/generated/File.qll 27b43d817c9335a3d11686b7a09369f5cbf4b1f6a5b73f41dc93ec0b037f3006 fa5f86a2755c271d0d2a18be5088af67501caa0a9a47c4c90636561863773e68 -lib/codeql/swift/generated/KeyPathComponent.qll cdfd7123f6b03186f36204eac00a0e5a1ee323fd42c3e8997da3390cb4989caf 96fa51fbf43b690c10b13201446af73ec9c4d57187eef80b4f70689323bcf35f -lib/codeql/swift/generated/Locatable.qll 6cb437dd7ff7331429ec6586b0af50b1af15e4f72be47b5c89278923d4a9cea0 a93ac33767e077fa5a4c65b2110111de1939c9bb73fecdaf5aee80dce54469b7 -lib/codeql/swift/generated/Location.qll 3f3bad413be87d05a596fe7b8004f415c2caa98cb759021a6aad20b589b7d700 ed30ed646962b3ffb6b47c97c6434fe47a6b1ea8e3f2e0589577bea5cf96c88e -lib/codeql/swift/generated/MacroRole.qll aaf5631c49de81e046854955341202d6d3516713cd09bc2e7b870e40c261cc9f 6cd17d40cbf1d8fa4ef01dfb8b3462b7cee902e6058fb76417c2035be12481d1 -lib/codeql/swift/generated/OtherAvailabilitySpec.qll 06393a08e8da36106c5ec6efb9f1bd56a5c7b3d3f3d0bcefc6fa07fa96860c31 06393a08e8da36106c5ec6efb9f1bd56a5c7b3d3f3d0bcefc6fa07fa96860c31 -lib/codeql/swift/generated/ParentChild.qll 9c93c47197f4d510dc0e6a619e15938dc9b31907a300fde2fc27906448422e08 b153266ec86d64414c0c5c6a8f051209937594d40964715e2145982173ef6854 -lib/codeql/swift/generated/PlatformVersionAvailabilitySpec.qll 5355be9da8b778d1d8ae60d25d9c3394477da24f94e8a6ab4484c6a16d07cd7c 075438c1762ec0a7775004b39032dcf85aada038a4269e6f428c34b8282786e9 -lib/codeql/swift/generated/PureSynthConstructors.qll 40f5c0c573ce12f16322d9efb12306750f672254cbc36a200c298cb08e504229 40f5c0c573ce12f16322d9efb12306750f672254cbc36a200c298cb08e504229 +lib/codeql/swift/elements/type/WeakStorageTypeImpl.qll 74f79b458f3204ec2519bd654de21bc4fb6b76816bd8ca01990fe897563a1383 34e1810f74cecda5b580ed050438ae1d914b97a36b8f4e2de1c25254c0cac633 +lib/codeql/swift/elements.qll 8a9719dd149f539a01c4c8cbe93a15f221cc1dee388a500adada8facd6a92f57 8a9719dd149f539a01c4c8cbe93a15f221cc1dee388a500adada8facd6a92f57 +lib/codeql/swift/generated/AstNode.qll 85a6f0c273a6ba35a8a2dce6e68f5d7212095e93c8c25e1494737cb4b237e1f4 58875a0a3596e0eaa50c54d1a540c1da135ba888cbf5899ec5340839976b228a +lib/codeql/swift/generated/AvailabilityInfo.qll fc228e76b18503a1305301cdf4e4c6fdf00ab16c58a61739d44a56ae46ac7374 6d76c0791b8e808f58fa67587fe65f1f374cc8bf67b0b91a32ea3c00d418fa93 +lib/codeql/swift/generated/AvailabilitySpec.qll 373fbbb62c9e401c394dd6a758668d03b6c09ad996712f63fd7628eadbb8edea c82bcfff8b22c7400e5cf629636078edbfc828cc74b7922b8e666fe2e6b93532 +lib/codeql/swift/generated/Callable.qll a5b5267223d4986235f84e8ae6c1e2358c143e30e7e31d0ea8b65e76112ad659 5531ce0f4a2fdc002185b4c670bc9559b09aa57e2d7cf4249cbaa6b66a27b2e7 +lib/codeql/swift/generated/Comment.qll 2aa3b316b295b09eb5fe8042e448f40aa5769202abdf393c11fcfb13dd8c237c 4789a34cc1fd5bcba1f7ad9dfca18be3477c2582f8f518887d38a959ff6cc0dd +lib/codeql/swift/generated/DbFile.qll 27bd24a950906c9134cd6681019daed52340b097e76214414cfbd93d746468d7 57c8e602f80ee53715d23ffe7b559d4fedc75bf22a4cbc66fc0bd1036550a803 +lib/codeql/swift/generated/DbLocation.qll 138768b14a06480d7f3eda6bcc9524b0800779aa22e4cb55ece89081bbdeea3d de720e64551948ed7b57b8b0036c94c90a22d21c7d6db7ab1064b780478b3b93 +lib/codeql/swift/generated/Diagnostics.qll 3a091f7df02cd7a8e325338927100f960147f680215fc20eef8b0a17c62fcfd5 f73710c4f5360da16ce86fcdaa351d42c67c6dd683693489fbe8d65dbb973cdc +lib/codeql/swift/generated/Element.qll 129b5fedbb36bf9157fe8fa9388e7afeb11f73c3b850b100a08b564f993b067d eebbbac92d5ea5116cd575eb9b8e26d3ff7e5e35de648f37cab586a3191b413f +lib/codeql/swift/generated/ErrorElement.qll 908ad770109048cef4881f0825caee6154acf3eb75deaa14dc6e1135805b3192 37d8f4fbde235ebddea5c625447b97ad281c31da04872de0b65befc9a1346e9b +lib/codeql/swift/generated/File.qll 266b48814813eec4f8df3c2c444b0b0b2c5222b834354aee844b97b3f0b18bc2 df644826fdd8bdb6634d4e94dbbcbc9b05d70877e13b8ebb0e41a1d4d3d4d844 +lib/codeql/swift/generated/KeyPathComponent.qll 88d2f9550914c74c8e3ac7800f57b588b51f1c560c7a364cf2b29f56a7c3f958 5843cff72851ad537558df0a27d0ca1874fed177f3902996398e32b6ef8c0123 +lib/codeql/swift/generated/Locatable.qll 7e7725d98bb7923cc51dcf499fd1c71c2bd57ee18097b901815c606dfa92dc41 a4e5dff6c2d313e751346bce1398e8ad5490a3f64b4deb560cf77fd164b497d7 +lib/codeql/swift/generated/Location.qll 29397604fbe27c18bb92e045c68c1af50b7098c802ca232c822d1f4e998820be 36379f4f6dc183bbae736c1dabd25bfcce241aae9c27705ef8538718c2505957 +lib/codeql/swift/generated/MacroRole.qll e45e9ab19e8c3d7d9e89a36e5ab689e9955a8c84a55d89f03b1e1a4614a44c2e 732bcdba3f81a879311973c38b9724af6e9f75a8a097485c4e90ea9711653f3b +lib/codeql/swift/generated/OtherAvailabilitySpec.qll 29a41004a204506c472ab6b68881d58ee327c918a27b1755a868797e2234bb25 b229acebf214e2cfe855905c82141288c86c88327aa5ed4577cce4a692ee8800 +lib/codeql/swift/generated/ParentChild.qll d8a00c57bb9c78a20b1c7eaf5104a3774161220fe7c262f13e5d994069fdd97f 152270d3aa9d8e31cfe39b3344dd4c1d5a76b6c82d41a79d1cc85cb026aa0746 +lib/codeql/swift/generated/PlatformVersionAvailabilitySpec.qll 42296599accfc5988e63e59e7b96d9744451229654c07af63873e1e3d367b64a 9db77a617d5a8a0f7860a5459311cfddc4939094725e9824b01f866fa39fc265 +lib/codeql/swift/generated/PureSynthConstructors.qll a648a66eeffdd4d9771943492fb2303fd596cffec39f3e602c92c1f13e6938e2 a648a66eeffdd4d9771943492fb2303fd596cffec39f3e602c92c1f13e6938e2 lib/codeql/swift/generated/Raw.qll 118b43fedd4265b5aa15c33ef01a2f5a5db6e5597f95bef1078a01c3ff8da983 075aec2c8b232f0361ebf63f07ae9b66163f3975e6023583fb0fa2e40b979a33 lib/codeql/swift/generated/Synth.qll 221f40afbc2bed0f5de1961877fd39dd025574bc72622af0e9f47f278a8324b7 05b8aaa9ac6236b0c08d6afc7a13e58361b90524cff6520a1ac6d422eea4fe40 -lib/codeql/swift/generated/SynthConstructors.qll 7edffc30d3dddc4d73241f4e0d3df4501a99eb38d056f82043ed69e481404342 7edffc30d3dddc4d73241f4e0d3df4501a99eb38d056f82043ed69e481404342 -lib/codeql/swift/generated/UnknownFile.qll 5325944cf96a72d5d224597745e15960fb6a9448b96b6644ececd6344dfd9d74 5325944cf96a72d5d224597745e15960fb6a9448b96b6644ececd6344dfd9d74 -lib/codeql/swift/generated/UnknownLocation.qll dfdeb8eedb2564eccaac416695784ea04fe9754a3e109e8484c695021af4e554 dfdeb8eedb2564eccaac416695784ea04fe9754a3e109e8484c695021af4e554 -lib/codeql/swift/generated/UnspecifiedElement.qll 8ecc275cc131fe5aa61052299e10c49c3718f96416df9eeacabf5aea34d97982 b02dfcf0df3859551b176e065291da943670ab4da6ed84d02a0861ff689001c6 -lib/codeql/swift/generated/decl/AbstractStorageDecl.qll fe3fd4893569fdc3f39745ddfcfa7b23cc87c2cb8d902fc1d11a5dbaf2d801e7 4a4e24160966b3007e29fe35d2f1af47461e35046c6dbe387d04ada082c464cf -lib/codeql/swift/generated/decl/AbstractTypeParamDecl.qll 7734191a446f16c457ac80304638b99e71aea987ee6c118f4033076c9164a400 0ee797c6d12c2acb1912cb46ddb40aa3a4a2db300f621753b6ea4ad1f81298e9 -lib/codeql/swift/generated/decl/Accessor.qll 6d63187465d3b01dadb3a6d394473ff1c13e4599f43cd376da9ec77e7f539d44 66ba687818f34a0108696e0ba77224389b8c909b08bc95534c42093e16f0704e -lib/codeql/swift/generated/decl/AccessorOrNamedFunction.qll 8184f7127aa2696045c09f0377bd70fe7bfb5e540b0fdb34d87df3122637e249 014d201be33157205bf9cbe8ba55f9d1068a8fb1c3834a62d7cfd4fbcedfe5a8 -lib/codeql/swift/generated/decl/AssociatedTypeDecl.qll f4ba7528e7ca7d6616015edce78483dc22576a8eb6c97658c9b579fe2006946d f4ba7528e7ca7d6616015edce78483dc22576a8eb6c97658c9b579fe2006946d -lib/codeql/swift/generated/decl/CapturedDecl.qll 82ef3596d7981ff18f3f698842dcfdb818af9d93413ce080397d814f5422cf34 c66aa5006417ed9218c0502d41eb4acde1fae8cd9b2c8893a4fffa8d8257397c -lib/codeql/swift/generated/decl/ClassDecl.qll cd90e6592ef05a76e93d77d7db0c718964850d0dd7a9eb6ebc0ddc8f1dbecac9 cd90e6592ef05a76e93d77d7db0c718964850d0dd7a9eb6ebc0ddc8f1dbecac9 -lib/codeql/swift/generated/decl/ConcreteVarDecl.qll ccf859ccb4646cb4faee87e2545e22f0d096820badf794d81453b7dfb9f29df1 5a85cb7dc468d448c3fd1213318f9ba9a51e28b57d9b76025b4ad36e579122af -lib/codeql/swift/generated/decl/Decl.qll 8893ee285f8cb1774254c970fcf47f2b01018e4b92e7d40524ee2714f3d52dcb f2de5e543074b5e02f6e0e0e9d7d0c314b03447db4ef5efc9050c3d813e81414 -lib/codeql/swift/generated/decl/Deinitializer.qll 16a26789b97b749f46a045b8d76c05f11fccad633185e10676524af41aeaabb7 16a26789b97b749f46a045b8d76c05f11fccad633185e10676524af41aeaabb7 -lib/codeql/swift/generated/decl/EnumCaseDecl.qll ca08dc03630d88308acab47441f1c650551e7568b9a2d89dd3a59efc8bf1f00a a4ebaba74d6d1153e1d50ae70aabc13b85c84968815eb0b0e85e3ea344c92d7c -lib/codeql/swift/generated/decl/EnumDecl.qll d854687a2437b7463fbc98a9561e35c14f4d72ce0315628860732f4236f5640f d854687a2437b7463fbc98a9561e35c14f4d72ce0315628860732f4236f5640f -lib/codeql/swift/generated/decl/EnumElementDecl.qll dc2df6539d735a6f9ece7931d3358980a7bfed63a40dedfa19d1ae470a0f568c e7f5b7b15f43b0a5722f41d17e01c0001901f588fd7597f7de8203f9b9e6d7b8 -lib/codeql/swift/generated/decl/ExtensionDecl.qll 0fb1c0780ea1353fe40618fe9e0f18d4863807f3584c79351fd3236d8882f409 6b17b829078d87ff0df09389497931d0d464641fa403aea37b321e60424e538b -lib/codeql/swift/generated/decl/Function.qll 62d70ee79eba52b622d4110692551b84e4bad001d8ffbc5e77c85dfc8e089ec0 d7d87b0650464c5151816a6cf5b0b0d69574e53ed7970c452c9cb3f51b0021a5 -lib/codeql/swift/generated/decl/GenericContext.qll 903a679e404a778fcdf0c0d638d2e3f52aa58263c9edad7a1ae0849518567fc2 e052ac3099e0b4cdbde3aee3abaa3cfbe971e7d628a983d7607960a5b75888c5 -lib/codeql/swift/generated/decl/GenericTypeDecl.qll 388812971ffc552389c38361074b57a5384038d9ccacbf68479e642475f51223 bebdcee8cc35f46a2f04e0663b07f3a978d57f1fce8eda63b9af946884bde58a -lib/codeql/swift/generated/decl/GenericTypeParamDecl.qll 8df2e109bb2361b3df417ed7cedb87e5462632e913971ba21670102d5c4af2b2 8df2e109bb2361b3df417ed7cedb87e5462632e913971ba21670102d5c4af2b2 -lib/codeql/swift/generated/decl/IfConfigDecl.qll 53082a36da6effe865bf9c2df598998c107695e9e02958f3227f800161e6ee5a 9abcc206dd3e600b9884c461c03774f5a4fee1f32a4ceed72133f003a63f08e1 -lib/codeql/swift/generated/decl/ImportDecl.qll 540a53652ef1e11ef61c405e1c3d4b0eb198b9bb2152a88439622a6d35db6a31 1bcedef7c9bc0b02b7314cb67558d537481f9619968319ada5da6f09e59aa53a -lib/codeql/swift/generated/decl/InfixOperatorDecl.qll 2aa1db0150f53a5d04c491013b4f65562ddd9aa3b8fa83165145663407cfbf6c 78503fd043cec744557b5398870f45eada22a67a864437a675ec4ea70d613aef -lib/codeql/swift/generated/decl/Initializer.qll ae9f059cc6f36e6e4c571ed934cb61f4d696663f1b12c6aa28bf53069735a6ea ae9f059cc6f36e6e4c571ed934cb61f4d696663f1b12c6aa28bf53069735a6ea -lib/codeql/swift/generated/decl/MacroDecl.qll 5446a7daac2e14410abd69245b629060a9b679d740fc42919c98686833dddb7c 9c2a72f9e77d0a45cbb3dccf9c30501d8d3b77329a1112b627e6b1135f1d113d -lib/codeql/swift/generated/decl/MissingMemberDecl.qll 5a1c0fdfc8bc8f6d8ff2f31ae2fe53e7f44fefb14ad37a4012ad8e69de933d06 3bbd3c5715c0e0c8e9bd35b59d1617b7d8522740bfbefe52996113198a5d20ea -lib/codeql/swift/generated/decl/ModuleDecl.qll e5104509117209567cb3d55ed63d8e44847b8e1a9480c7ce9c2f475a0129bb42 979633e839719795d4db8331056b38a33f5432a57a4d7c1c8530bf3a9a88a7c0 -lib/codeql/swift/generated/decl/NamedFunction.qll c2e342643c2b2fa9729a3838cd592bc9127c0c74bf359533ebc837686e18c8e3 c2e342643c2b2fa9729a3838cd592bc9127c0c74bf359533ebc837686e18c8e3 -lib/codeql/swift/generated/decl/NominalTypeDecl.qll 1b1750c28ceb65a43d6873d8ef5eb7cb483c2767bf61a18f774693a2d6261a14 de8ede5a5e21d932bdb99f7d4d39b94fd1776b2c246ef8387c0e339d32e56fe6 -lib/codeql/swift/generated/decl/OpaqueTypeDecl.qll e4e09bca6da368bf49d4ca705f4934a1e2e09f31b3ca30b42f58e5a5bf1d072a 445751de97a42dc4e1d90593a9073ecd1da63f42d9aa6ee256d7e2e6f6e940dc -lib/codeql/swift/generated/decl/OperatorDecl.qll 76901a6aa7bf34c925b93e1466e36019589347e46501f61b1bd3e03ffb644434 ff0d8fcc8f057a2bd257a6ce2532acd6c8e4bfbe60e069c724b288e85cb83564 -lib/codeql/swift/generated/decl/ParamDecl.qll 9774c4aea3fa140c90a00018c6991947b0ac7b7d847d4319f1ceac5b8ab0b5ac 971d3f63ab70975812cbf80f03a63516bfff113a15f53c720bd1834c82e49ca4 -lib/codeql/swift/generated/decl/PatternBindingDecl.qll ef627fd2f8a19f587b5690ea4d608f6ca6aca6be78ecd930f0b150df6c6c9a92 456c823ee71d7c81dd887fbe5b77f64a1a53d2a84e6266ed18aadca62a4bbbcb -lib/codeql/swift/generated/decl/PostfixOperatorDecl.qll f6a26b6b6632c9eaefc5d0ee9aeb99ddd56fed792afff9037114d92c3a42bb23 f6a26b6b6632c9eaefc5d0ee9aeb99ddd56fed792afff9037114d92c3a42bb23 -lib/codeql/swift/generated/decl/PoundDiagnosticDecl.qll 6e1ef7f47d1fb7817a472724f025fc498366dfed7a31692dee66d60bd5dbacc1 9fcd2ed7afe5ede92a50d17036c1ffb14dcb5491bccac3e7218c5919f7c12efb -lib/codeql/swift/generated/decl/PrecedenceGroupDecl.qll 40adef005cbe080485867888bf4b71c10e67fa5a3c843d4d3d79f4dd13c76605 40adef005cbe080485867888bf4b71c10e67fa5a3c843d4d3d79f4dd13c76605 -lib/codeql/swift/generated/decl/PrefixOperatorDecl.qll 853f3a15d5bbe629e5fc7cbb2b9ad2946af74771e00369ba97b66370827033cb 853f3a15d5bbe629e5fc7cbb2b9ad2946af74771e00369ba97b66370827033cb -lib/codeql/swift/generated/decl/ProtocolDecl.qll 2de9a6b5b2fab8a3bb517ad2cf424ca9f3d29f7bd15b7c8861c0caea7d28baf7 2de9a6b5b2fab8a3bb517ad2cf424ca9f3d29f7bd15b7c8861c0caea7d28baf7 -lib/codeql/swift/generated/decl/StructDecl.qll 1f72ef8418baecae640174ba7518f84b53f50909b31300a39e990e7ac507f1d5 1f72ef8418baecae640174ba7518f84b53f50909b31300a39e990e7ac507f1d5 -lib/codeql/swift/generated/decl/SubscriptDecl.qll 898761f1284e3d47c79b97c7b20f945c0d99f547d15a0049ae11c132e6e52b64 b0b6f683f7b2bcb230c3bdb8eca8352e69fd797eee99f0b9ff617321a79caaa4 -lib/codeql/swift/generated/decl/TopLevelCodeDecl.qll 2f7cb50038a4c15761a6d831a565488ad04b6a1c1763cb5708612d3d80853a81 8e922ff043867503f1f71efb9b076335e90e4048e8539786a29376ec5ac58c61 -lib/codeql/swift/generated/decl/TypeAliasDecl.qll c1d6327283dbf5c3b5786eeacc75bfecb3bdb33124721270697e514dfb3c301b 55b3b39c5ad1077059fb6a73fec38ab0acb0805a5e0a1a671f2706706d41ff52 -lib/codeql/swift/generated/decl/TypeDecl.qll 70afd89035969b6857a989fd958edad0cea872904b45436500f4b7db476ced3a e20b70855c715ba2ccb6b945b82f320bb5527e8f8b9378be0142d49c2c8e0b8b -lib/codeql/swift/generated/decl/ValueDecl.qll ab238605b89a06954b12885479c9b34d742a3b01ec501d3f81c2e3ac71a489c3 3efab2ed5b3fb21168ea5a4e4ce646e7384ad408c95e1726a14397fb60bb9e2a -lib/codeql/swift/generated/decl/VarDecl.qll 6e31813c9c200e6c11dba212c73edde0c8504b92d42c7d3233efac89a7dbf6b4 624f4f8247c2cc957685fddb4ab398dbb95edeb1188317cb32d7bfeb1cd85951 -lib/codeql/swift/generated/expr/AbiSafeConversionExpr.qll 1bc46c5befcfcb6a6f4f228504308ae2ea6c75f616bf48c4a68149347d1db8eb 1bc46c5befcfcb6a6f4f228504308ae2ea6c75f616bf48c4a68149347d1db8eb -lib/codeql/swift/generated/expr/AnyHashableErasureExpr.qll 170915cf7c993bc3d17e3970ae67cdc39a29c2795f5640288a92f7832b3606bf 170915cf7c993bc3d17e3970ae67cdc39a29c2795f5640288a92f7832b3606bf -lib/codeql/swift/generated/expr/AnyTryExpr.qll b43a73e0737d4b33f4268eb12303d5754f481cad28cbb00f0f23384902dcc571 cea5254353448afe59a9066bf57053f36082261957b5de7ec776ad8106de0324 -lib/codeql/swift/generated/expr/AppliedPropertyWrapperExpr.qll b641151f5d799c05a170436080d37d76d47519ae3bc534a68a17b33f29c540d8 3445d038a79bc4b70e5886806efda28224480b234ad6d77087d5dc0278ab0c01 -lib/codeql/swift/generated/expr/ApplyExpr.qll 196113bcb1b1e69f8795bb2651a047842b816bdf474274524943332e59ad40d7 cb38b6a6ca25b85e25b917e9d6a329dcdaa2ba28bd6c3dfea0a1dfccb631c406 -lib/codeql/swift/generated/expr/ArchetypeToSuperExpr.qll 724aaf25e8f677619ae0708a37fdccf0d3ead6a6ce782a2acab24889d52b6657 724aaf25e8f677619ae0708a37fdccf0d3ead6a6ce782a2acab24889d52b6657 -lib/codeql/swift/generated/expr/Argument.qll c364eba225376f8e3f7137a6521c075b91baa24d959313fbf50f4e19437eb774 73f50ec383eebc072ae3163f220a23f31ee0ca6f668325dc8144ed3ee7d318b2 -lib/codeql/swift/generated/expr/ArrayExpr.qll 24d477d8252ed64abbede4d40613ed1b288ee30a6f584fef4f9eeff280b03e22 a147455ef5a474f3a6f3a45250dfee85ed446e8375e79df3ca95530bdc4b95ba -lib/codeql/swift/generated/expr/ArrayToPointerExpr.qll cfa397d469eb35bb7962fcd0428a6f82f53314321c523558b303c32467817409 cfa397d469eb35bb7962fcd0428a6f82f53314321c523558b303c32467817409 -lib/codeql/swift/generated/expr/AssignExpr.qll 1938887e984eb97645c798e8154224d08ec1c0c213cc89af447dcba77d57b4bd 268b23d1be7e9a81d287af692e2fc4664147e5809fb8b6d3bbbfe5f0dcacbc7d -lib/codeql/swift/generated/expr/AutoClosureExpr.qll b1a2337ba6d0c8f35d492eb0a6a6924f017975d527fc0ac27f3a1901bd88b27b b1a2337ba6d0c8f35d492eb0a6a6924f017975d527fc0ac27f3a1901bd88b27b -lib/codeql/swift/generated/expr/AwaitExpr.qll 524bedda7bd6bd8753bcef71cd7595b589e0a49f6aab4f3fe0b8566feeb78b6f 524bedda7bd6bd8753bcef71cd7595b589e0a49f6aab4f3fe0b8566feeb78b6f -lib/codeql/swift/generated/expr/BinaryExpr.qll c6560589d7c5d2c5cd99419540f02fe8acf2a6688579a3f7f0066863e663332b c6560589d7c5d2c5cd99419540f02fe8acf2a6688579a3f7f0066863e663332b -lib/codeql/swift/generated/expr/BindOptionalExpr.qll 38e984030028ba35fdb11665439c6e804340ba2f7ff523753ba038e8804d94b9 ce33585babe73eec6d8943ec7500d9283b0cf7a34e757a3bd16ae78d8fc9c635 -lib/codeql/swift/generated/expr/BooleanLiteralExpr.qll ad1df75814d146bdab7576ab7c42ecc1f1309b2d13df1acfa402889b0b4ea098 41cec9a78fdc66afdf2649261ea1418f8ff25ed614c2e5401c49f559e34e8955 -lib/codeql/swift/generated/expr/BorrowExpr.qll 12a84d37b64669f9a08b1b9d0ed044babf8270bd3ad33a9351f244913abf5049 22a78eadcfd0d6fc1642227a775c311c097bbb30adaf8a8dc4a7f6ae30c8de14 -lib/codeql/swift/generated/expr/BridgeFromObjCExpr.qll 4b26803bea8402eb08c14b2f26853c269158e72323facb4aed1ab195f3da49c1 4b26803bea8402eb08c14b2f26853c269158e72323facb4aed1ab195f3da49c1 -lib/codeql/swift/generated/expr/BridgeToObjCExpr.qll def7d55f4d1aa40f8af3cfb4412ae2e9b7b2b68f21679e8786efcc6ec49262ea def7d55f4d1aa40f8af3cfb4412ae2e9b7b2b68f21679e8786efcc6ec49262ea -lib/codeql/swift/generated/expr/BuiltinLiteralExpr.qll 196cb8e3f034c99d320ea5764677a637722ea92c03957f7003eb6097ac0c9556 f095817a91b0c88e73138363fcc99eaff4ef002e53bdddeedd4e440b3c6c6838 -lib/codeql/swift/generated/expr/CallExpr.qll 4f1d98c5aa214808b3e9964ee11246bce314fdbad7969ca21b26cf063deacb8a 4f1d98c5aa214808b3e9964ee11246bce314fdbad7969ca21b26cf063deacb8a -lib/codeql/swift/generated/expr/CaptureListExpr.qll e337d22fe18e77b657150352dc737916eed7ffddc73749c5aaaacc24206b5288 08cdc5c63711067260302b5b2f1aabe4d13374479bb08c1f5aec271920d6b8dc -lib/codeql/swift/generated/expr/CheckedCastExpr.qll b66b8e812cb90b83a76398ee53373cd85a38487adaad98ba4965bd130d2b4afd 5d21adcffa3d27a40bcee56cd10efea2ce8c4435a46a3b43521ae7a24f85afe7 -lib/codeql/swift/generated/expr/ClassMetatypeToObjectExpr.qll d5509fc07885069d7b1322598eaa31652d9bfc77c0385d8ebdd503cfcec0e2ca d5509fc07885069d7b1322598eaa31652d9bfc77c0385d8ebdd503cfcec0e2ca -lib/codeql/swift/generated/expr/ClosureExpr.qll b995b453f5384f1365216922261522615ec8c4afda2828acda8589f653c65172 3772d64079dcb7df330150523907888bd0cf9ca039613faf7ce9d222c91bed06 -lib/codeql/swift/generated/expr/CoerceExpr.qll 5e836c70688339433080fa69f3ee7a69242d5c08273eb90c1068369a1f65a5f8 5e836c70688339433080fa69f3ee7a69242d5c08273eb90c1068369a1f65a5f8 -lib/codeql/swift/generated/expr/CollectionExpr.qll 86d8c7896c9be7e501579f4a03d3bc1a6e0e50cdc09506fa44a9408ca88e5955 4bd15d739da9c3bf2d540e466a2536cdd117fcfa2711d1e374c49e67457d41a8 -lib/codeql/swift/generated/expr/CollectionUpcastConversionExpr.qll 5a749aecaa414691b31d14b491efd75ebaea0e16e7deb687aac708e6fe8d787d 6411411ced420f8017f990b5dd54abcc8911051227995b2dd8aa5657684128e7 -lib/codeql/swift/generated/expr/ConditionalBridgeFromObjCExpr.qll be40f563d381f99852668e2e43eade378cc1ed9027d0812ad2348a55471fc0fb 7f82f8f5b1cbd7b2c597051260c8b64ecc6cbd9fd5fcf7b152401f9d47a76715 -lib/codeql/swift/generated/expr/ConditionalCheckedCastExpr.qll 3e33d801bb1471f3f7e7f5bef89532c61839ddeaca306b614aa4d4092ab3adf6 3e33d801bb1471f3f7e7f5bef89532c61839ddeaca306b614aa4d4092ab3adf6 -lib/codeql/swift/generated/expr/ConsumeExpr.qll 8f14cf14184d792a960fa1566492e79073e40c0d031ffbbfd548af6b6937fc00 5b7adea86e7126c49920c9a44d2e3e25bd34df9c708549620b72b773f00595f8 -lib/codeql/swift/generated/expr/CopyExpr.qll eda8cf2476bc13d134d1e1fad79e7d1f5035a6282830ddc827cd3d0f4dbf2693 3c71e4574b1cc4c3528fde97e49623217493668dc8cc776ce66808148365e001 -lib/codeql/swift/generated/expr/CovariantFunctionConversionExpr.qll 6a981daf704ef824d51eaccbc4f96abd576e253b33678844e3c3b4c73ce44f3b e7c9c00a2c137f45f81e9c93228d06344ef237c058e2d7cac38b9af0d438b42f -lib/codeql/swift/generated/expr/CovariantReturnConversionExpr.qll 4c179a05ea1f0399b13419ae4b31cdf77d53a69694c097db6294a7ab349d7b5c 087c8a4bc4a1c9195b391d48e01a15f1261deb626d1d68f73c583e469c0bf6ad -lib/codeql/swift/generated/expr/DeclRefExpr.qll e670e111b323ca9933eb239294c9702d94c3929626d50919b038c60d69210e1d 6f92acb798b01177da5ee5199cdbce45ae27939322b33fb73f09d0f0b6d8d8e5 -lib/codeql/swift/generated/expr/DefaultArgumentExpr.qll 2fed9a398b86241564b8a9134f9cfade69146335a4385cc150e705bc44ca375b 45b7c0a00dfe5749631a4d4b09bcd1707d64607fc5b9ea4f8fea340a413c9bdf -lib/codeql/swift/generated/expr/DerivedToBaseExpr.qll 08a124e802b8cf9a31337ffafadb91bd1e6b829669adfddd84528d61f6b02f28 08a124e802b8cf9a31337ffafadb91bd1e6b829669adfddd84528d61f6b02f28 -lib/codeql/swift/generated/expr/DestructureTupleExpr.qll 78736a586590e473ca8c6c412ae9920a9f6e2d403632e99c02f48566316f8ba7 78736a586590e473ca8c6c412ae9920a9f6e2d403632e99c02f48566316f8ba7 -lib/codeql/swift/generated/expr/DictionaryExpr.qll ebfc2f8b97f0b9ca5b9cfe68aa71ceab5ee2ab87fdbe98099504e2fca90a71c6 aefff78c45aea0b2974ffa80b8483db6a01b4914337fbbfad3c94b93f9e9bbed -lib/codeql/swift/generated/expr/DifferentiableFunctionExpr.qll 4a868c9111e08ba0cb35f35fc4bcadfe50cdc89ac59c57a67515e4da667c777c 75e0507f981cbfc4dcd4ec582d6bbc046b1776846cdd219c2c5280ee471cbfa2 -lib/codeql/swift/generated/expr/DifferentiableFunctionExtractOriginalExpr.qll 1a30aec01f7b8e852d583cdb77c226b660a3cc1fe70b5adf2228494612d1ddaa a8076f56bc16b5ae0dda1314ae69a3e8b1b5487d22d552213b85da8126cecf68 -lib/codeql/swift/generated/expr/DiscardAssignmentExpr.qll 412b77397ea542446ae028165c428eead64bad9687a409c1dff0fac01f5899cf 412b77397ea542446ae028165c428eead64bad9687a409c1dff0fac01f5899cf -lib/codeql/swift/generated/expr/DotSelfExpr.qll 6d188fa1f6de10fcc8a5a977e2f376e1e99ab6db1f904a1fc87fb192cada17c3 6d188fa1f6de10fcc8a5a977e2f376e1e99ab6db1f904a1fc87fb192cada17c3 -lib/codeql/swift/generated/expr/DotSyntaxBaseIgnoredExpr.qll 73baf74b5e8d647701c09ff2287b86f63ad365b186dc6a1d173e4e259bc4dd1e 0509421e97249763f4f9597c0854862f19673966092e1396ae3a4815be0f90e3 -lib/codeql/swift/generated/expr/DotSyntaxCallExpr.qll fe9188fd1704635d2b68889a33e50b3e4a0f2de5671afb7b2c0fb5f2a22dd655 fe9188fd1704635d2b68889a33e50b3e4a0f2de5671afb7b2c0fb5f2a22dd655 -lib/codeql/swift/generated/expr/DynamicLookupExpr.qll b9376069b3b4c05f2572546fbacc3f4a5ab85d2c0eafdfd852f28026ee75d306 39538dfec647618d0be361be3992b39ce967c0c1bbd3f1be7bf7eb4ec6235931 -lib/codeql/swift/generated/expr/DynamicMemberRefExpr.qll f8dc9552c2c73792395f06cad5e9648de216a8590cd3ed140e162905279e783b f8dc9552c2c73792395f06cad5e9648de216a8590cd3ed140e162905279e783b -lib/codeql/swift/generated/expr/DynamicSubscriptExpr.qll eb020f12604fe1928170b2cdcdce2384596e90073daf3dc2744424693c3af55b eb020f12604fe1928170b2cdcdce2384596e90073daf3dc2744424693c3af55b -lib/codeql/swift/generated/expr/DynamicTypeExpr.qll 957b1b4010a55beb9199fd35f424c0761bedf01c65027844d5837e4a7812803e 1de6a2f8fb7959e50a67136d96f535c0c7ab285036e109b6c17a0e4495d58ba7 -lib/codeql/swift/generated/expr/EnumIsCaseExpr.qll d88111ff2251f6a15186de9e6a61d449a109747c4dd72e4f608579824e828172 3bfad746c66c58d7c087998ea82030dd0f910dacbc78ae5bf90e904a78674b04 -lib/codeql/swift/generated/expr/ErasureExpr.qll c6644dc0743cb16e3a64c243afd98dbab4c2174e0e57d79e7b8483d780e226fc c6644dc0743cb16e3a64c243afd98dbab4c2174e0e57d79e7b8483d780e226fc -lib/codeql/swift/generated/expr/ErrorExpr.qll 605e3ae27e41d4d21305bf2589fe47be764d34c8d0e4853b43bbc7ac1b8be86d 605e3ae27e41d4d21305bf2589fe47be764d34c8d0e4853b43bbc7ac1b8be86d -lib/codeql/swift/generated/expr/ExistentialMetatypeToObjectExpr.qll 055644cfc580bf9cdc4ba5837acf68e44f6c68775555bdc75aae2475150b3910 12bff8235f8c7569826602093998bfeaada9402b517b7baf4a07576c9f00a34c -lib/codeql/swift/generated/expr/ExplicitCastExpr.qll b5ad2bb82e03bfcc4bf81c6e49034bae2e65dda623542585bacaa437b0607367 1a46eb6ab18d7a687faa8a234672be5f55e1337abb21f61d3855b8d8f9fa8113 -lib/codeql/swift/generated/expr/ExplicitClosureExpr.qll 0dba886dd4f3dedc532e42dab983bf6c339f1e70bb303d1b4a6dffcad342b5c7 0dba886dd4f3dedc532e42dab983bf6c339f1e70bb303d1b4a6dffcad342b5c7 -lib/codeql/swift/generated/expr/Expr.qll 6b3279ae3bbcd838ecdaa3a200f0d6fbf4744cc942f784890043d4af3f5e7b2a 3dd294ce6a44830167aebe0cd968991b1140304cc89b308d53c854b100428516 -lib/codeql/swift/generated/expr/FloatLiteralExpr.qll b5ddcfa20c4cd5b7c3b9325ff62b916aa2d49acd5c29e645a6a110e19689810a 034f5e7fed730b2304eb7ed988aa53aabde1d3deb8f8df563b8545c50aef3e4b -lib/codeql/swift/generated/expr/ForceTryExpr.qll f09ab028dcffd386d7aca84633fea1fe2bc89578da703000b978d68eb61461cf f09ab028dcffd386d7aca84633fea1fe2bc89578da703000b978d68eb61461cf -lib/codeql/swift/generated/expr/ForceValueExpr.qll 6cf293bbf057594acd49d5269a8564a82c25c56b594321f1f72a8a9ba28ded1b 35cc53886a9c70081e8f60234a3e97db8ea999ba7940cf0c390b9951d3046d60 -lib/codeql/swift/generated/expr/ForcedCheckedCastExpr.qll 70b757bf3dc49f78eff76a9a9b087319caaf88c732c82bdd144a6b6d3cd59b97 70b757bf3dc49f78eff76a9a9b087319caaf88c732c82bdd144a6b6d3cd59b97 -lib/codeql/swift/generated/expr/ForeignObjectConversionExpr.qll a9652d75240a55b2757b6f59c7bdc005ef5395a28c33ad2800caac974959a883 0ac9d583a02cb462e5d2973a3e2151a109d714559664949754755a9c7236b0c1 -lib/codeql/swift/generated/expr/FunctionConversionExpr.qll 0499b4a469c01d4aaa43536021f2f38b203a8748b6e65086d4280e1cee573d1b 0499b4a469c01d4aaa43536021f2f38b203a8748b6e65086d4280e1cee573d1b -lib/codeql/swift/generated/expr/IdentityExpr.qll 66530463ef7a944d53b3459fba4e53fd657b23bb4bbf77d2e34b4590a8a9b17e b7854caf109bd84c52c3e9391bdeceb38922bcac274bc3a57380c7c053d9ca82 -lib/codeql/swift/generated/expr/IfExpr.qll 6615fe72a5436306bedf3ddad6bb42926867cc5e5577370a137e0f91cdf9105e 85f7f033a17488c4fbff62f06ff9342db6090349ec6c1a299e0fcb30aeb252fd -lib/codeql/swift/generated/expr/ImplicitConversionExpr.qll 04f9c3b362103ab6bf92fce708340ca34d0126187b71604874869691c187bdd9 731a455ab4da622dcd7c7d024298becff422f4f787f9d6b1d49c178f2406b206 -lib/codeql/swift/generated/expr/InOutExpr.qll 83a8095168705e6dafab3bdd17feb05c8e548679ca7067a59be012d453f4168f 23258695f63bb135f1c64e2f4bef5ca1c6f21c9b1f139fe1592e0a40bbabb7ee -lib/codeql/swift/generated/expr/InOutToPointerExpr.qll 8c2c7575ceb9e96f452e69a77086bd274d2cca13a8561e0694b4bdd6ed72a43d 8c2c7575ceb9e96f452e69a77086bd274d2cca13a8561e0694b4bdd6ed72a43d -lib/codeql/swift/generated/expr/InitializerRefCallExpr.qll 3e7eb74d34de8d99d2991dfa423b8318e45645f2a8a2e7dddfe33c412341fb3e 3e7eb74d34de8d99d2991dfa423b8318e45645f2a8a2e7dddfe33c412341fb3e -lib/codeql/swift/generated/expr/InjectIntoOptionalExpr.qll 635145005faa33334f4bc399d135a2fc81ecf1f8589add731fd2bc480d3baf46 635145005faa33334f4bc399d135a2fc81ecf1f8589add731fd2bc480d3baf46 -lib/codeql/swift/generated/expr/IntegerLiteralExpr.qll fe269f586620ebdc126bfe58f9513c785eee4d07a2135850fd28cf988fc00d73 b07da3145a5d0c763241b88c1ea32dc0d8e2fa505c7b7407e90b9606c2046e58 -lib/codeql/swift/generated/expr/InterpolatedStringLiteralExpr.qll c34737114e89ecb5f9f1acc9c894617a689306eb04ab27fe7fc916823871cf95 b6c6caedfa4f4714ec966025503d16d2832bb315f9271ecd5d891f4b5a47bfe4 -lib/codeql/swift/generated/expr/IsExpr.qll a7d10e47092fcd75452ba5648cb1a23469552aaf7f88c6d789fed0a9bef5e287 a7d10e47092fcd75452ba5648cb1a23469552aaf7f88c6d789fed0a9bef5e287 -lib/codeql/swift/generated/expr/KeyPathApplicationExpr.qll 5a32915e92f25a4816248520ac037cbae8234e1cb54f0be991c8e4d36e6b1189 067a78c7f5ddbc8f660e77e3a93571208155dd58598d2ded23a779c462384a45 -lib/codeql/swift/generated/expr/KeyPathDotExpr.qll 3ad15a00d09a4739d041117822359a34d440a05a4b3c253e6889104c9dcd9372 3ad15a00d09a4739d041117822359a34d440a05a4b3c253e6889104c9dcd9372 -lib/codeql/swift/generated/expr/KeyPathExpr.qll 165a69642cb4df81bdb03496dc984734d67d5bd5e9a767cd4e87a8fc733e7bc0 6dbd6cccdcdcc98b734d59ce58038019d65add4205afc967fff7cefe7ed69f55 -lib/codeql/swift/generated/expr/LazyInitializationExpr.qll 6f59f8a8dbeb157206de453027945ce80abfcb6844b6b36bb928f11f9915b4ee 03d681e43a0a9af5328741e4da00c7ec8d83404860a0d01c1c05c6c451fd2a40 -lib/codeql/swift/generated/expr/LinearFunctionExpr.qll 8211d5538f590cb4c1f47ee827fe6d5278f59015baeb4acbaf90f663c1ea26a2 8211d5538f590cb4c1f47ee827fe6d5278f59015baeb4acbaf90f663c1ea26a2 -lib/codeql/swift/generated/expr/LinearFunctionExtractOriginalExpr.qll 2ac1b6dacd1ecd002bdcc20c846d30ba5c5e94e1d67f00ceb91e410fde6d3e12 90c5f49b87a998c7cbb4bcd6ec33bf2e95bc6c8221b96c15f79f197b9d928a72 -lib/codeql/swift/generated/expr/LinearToDifferentiableFunctionExpr.qll facc62fb833e068b818bffe2f75beb8ca7b2d056a770b4b3c89674478e9a8aee c326b7ea7b9337377995857b2ff5babc8296b5ef4d460302f55ee7b5dcc062a2 -lib/codeql/swift/generated/expr/LiteralExpr.qll 6761db6caea2e5e6c832bfb0ec47847c711c2a240dd4f1e7cdcbf01313cecbf1 6bf3aadcf4c7d9f1006317780873f53f011d6430fe71c00432d638a608050af8 -lib/codeql/swift/generated/expr/LoadExpr.qll 9265a4f06e272480e283461b258469c5b3625620689c83c5fb9f3933201c34eb 9265a4f06e272480e283461b258469c5b3625620689c83c5fb9f3933201c34eb -lib/codeql/swift/generated/expr/LookupExpr.qll 5b208bcdd29ba178792577407bcb23d4eb4d2fcdfbc3a3bc30c0b941af66afa9 2c527bc4532d1dc6fc2cae5ac6c1f0ec2fe995e8b6fc14ca84c71cc6da795d99 -lib/codeql/swift/generated/expr/MagicIdentifierLiteralExpr.qll 6d546bab38827f6ddeef37f7673c407c477a5078c2896f31267b35089faef4d2 3ed3c377d0b00cbbc6651e73b55a136f37f0775a214677d27e7897217a62d70b -lib/codeql/swift/generated/expr/MakeTemporarilyEscapableExpr.qll 7b47ab5ae1fb0e8e3358772d9859a78b50a71b1bf0169d44a456525dfa52edba 888ac156f58271997aea04f4f446078fe53110dd77fc27c206837e096fa8c1b5 -lib/codeql/swift/generated/expr/MaterializePackExpr.qll 4b83978e6b057b2184e80080a8492cc755261034939dc85dee62ab83cca86aca bcde91f0de245aae9c7b56c4d09680c3415725bc1713447ec9d395554488e8de -lib/codeql/swift/generated/expr/MemberRefExpr.qll 10649102fc1fa0f4dd2b55be1f39a7829122326a4aff721689d627ea09b57668 2058f2a9e45393ed090b824e30b93d46f173b2e6cb658dded9f859ba233e88fc -lib/codeql/swift/generated/expr/MetatypeConversionExpr.qll 7f9b6fbe2f323db1a42060b3de13a08b2076520755cea3fb789cbca1afd9042c 7f9b6fbe2f323db1a42060b3de13a08b2076520755cea3fb789cbca1afd9042c -lib/codeql/swift/generated/expr/MethodLookupExpr.qll ddf900d711863aae63d886f64b3b3442000a600c810fd8742da2f9dcab90e2c4 1bb1e033a7969f562a83b827790e6b27b39ae5180bf3e4e35ca9c9388a244ffd -lib/codeql/swift/generated/expr/NilLiteralExpr.qll ccc6f320be20fb8a63217c41e87d794476d2d282f41975cd0ca4369498e7a17e ccc6f320be20fb8a63217c41e87d794476d2d282f41975cd0ca4369498e7a17e -lib/codeql/swift/generated/expr/NumberLiteralExpr.qll 34ed6f1b61687e997858a6c08a9af2041ceac3d2e8ad7f02e65428face7fe462 53530acdd9be9372c603646b1edde845eac13eff7a0b8a807e89fe3f39dd3f53 -lib/codeql/swift/generated/expr/ObjCSelectorExpr.qll 355e6aed340b9986c3cc6baa399985a2e19ea2022639ec2d565b26cfd3a729b8 796814f65de43bb01dac89bc9b5df48059d20585f187beb33efcb5ffa47f156f -lib/codeql/swift/generated/expr/ObjectLiteralExpr.qll 8c97e984730214725591cff4983391794944ec4e0024eca44100297afedb07e0 5c967b615330c28470ae6e4c8ce2d03591a5c187d633e2c848680e68fb0509e6 -lib/codeql/swift/generated/expr/OneWayExpr.qll d9c6255d49085a38a54b2a6fa9304800fccbcb7828d8cdf5043906a8eacacc34 7f9dd75e303142f4075c7b1290019c6ff10edb79e74704b0894cfe50e00c59e2 -lib/codeql/swift/generated/expr/OpaqueValueExpr.qll 5aaeb761e09d2e8602579c9a9133cf1a665156f7fb2d95e628a6708ed26b9d3f 5aaeb761e09d2e8602579c9a9133cf1a665156f7fb2d95e628a6708ed26b9d3f -lib/codeql/swift/generated/expr/OpenExistentialExpr.qll 34840408f526280b592dabbf143a1fd05db376dd56e47f66610f8af027b5a077 73daa7353c4e83c143fcaa58bdf40f7f2851bf071116b9d91fb987996de3c440 -lib/codeql/swift/generated/expr/OptionalEvaluationExpr.qll 9355282a1e222b8ad206fe4487d73c285fccd581f43f8a92d36ad597a706c98c a90a09a9adeba4ed062b06e9f7ad4bd83957b0ad94907a4cb85b5579ba4f1fc0 -lib/codeql/swift/generated/expr/OptionalTryExpr.qll 3729409533ddad635a31424777199d32df836767ab93a882f0824a8df5652a1d 3729409533ddad635a31424777199d32df836767ab93a882f0824a8df5652a1d -lib/codeql/swift/generated/expr/OtherInitializerRefExpr.qll 840660d43bb41b1879ff242968006a94232fccf3ef5997fa489180eb40f9a602 2bd28cb8787db8811f0d0d30d5986aa506b9b12362e446087972e3b7ea730c84 -lib/codeql/swift/generated/expr/OverloadedDeclRefExpr.qll 8e033c6305034708e0bc9fa479734e84bdbcc31c462646e140f9eb8f7cde9a5e 690232b3b046cb2527d736e1a0d4bd4d58d04640a19b1ec92097f6fa46e3bc1f -lib/codeql/swift/generated/expr/PackElementExpr.qll 9698f1cc962ef65174ec4451d335d601a04cc33be9ee68ab78bebcddc6c4dc03 2be2c5afe9356f8f619579d10646c6737e134e459a2d3d0bab8f2a3f0715cf68 -lib/codeql/swift/generated/expr/PackExpansionExpr.qll a078b49bd0b3b60855fe75db98bb4b772e597d865014e7502f04eec30bc3c02b c1b8feb263d656154eed37f7698e2d63d8adadeeacb6c230c921fca4142622b8 -lib/codeql/swift/generated/expr/ParenExpr.qll 8fa1e00bde8309442964ac7322e48a0daaad179803b86ecba3eadd61f72bddf2 8fa1e00bde8309442964ac7322e48a0daaad179803b86ecba3eadd61f72bddf2 -lib/codeql/swift/generated/expr/PointerToPointerExpr.qll 0a7fdae47b166cce10f34b355825d62b6afbb24f7bc029790e1e6a28c553cb56 0a7fdae47b166cce10f34b355825d62b6afbb24f7bc029790e1e6a28c553cb56 -lib/codeql/swift/generated/expr/PostfixUnaryExpr.qll 42f15c76346ebbaaf38ddd16df66ba9447226b840ef1372312be7def304d1eb3 42f15c76346ebbaaf38ddd16df66ba9447226b840ef1372312be7def304d1eb3 -lib/codeql/swift/generated/expr/PrefixUnaryExpr.qll 007c40efbd93ba3c76b039345d4bd0b8c69a37bd1c932136b96410572630cd35 007c40efbd93ba3c76b039345d4bd0b8c69a37bd1c932136b96410572630cd35 -lib/codeql/swift/generated/expr/PropertyWrapperValuePlaceholderExpr.qll b7667b9bbde9f31374599c55beb362e5c95ef2e1497b68e33050998d7a195501 a22963243703efe72307bb59e87569cb978140981ac28ad88e8bf4e0f0764e94 -lib/codeql/swift/generated/expr/ProtocolMetatypeToObjectExpr.qll b10f3d86773d59ce7e597f0bb8ad29baa5c1e59a1ea87fb56c33ea9d7b3e48b9 029d5c9042393d7609fbd627579ab2e4910b0bee9ea5a4d103a230863428619d -lib/codeql/swift/generated/expr/RebindSelfInInitializerExpr.qll 77bcb497cbb2e8c1a08f300ad42bf5a1255aee11d691141d7da7db5777d62ccb 6df554ce114e813772c2efeccd5ed0f8c47c7e61eba084946a000d88864bda90 -lib/codeql/swift/generated/expr/RegexLiteralExpr.qll fbbda6eba8348689d7d06001fa50f9a71d2f6a2d97ce9098f3d1b015595b565f ae41da90e3cb02d7477d43257327b85d7434185e8c04a470355526b0af59d19f -lib/codeql/swift/generated/expr/SelfApplyExpr.qll d677a5d7a3346b5d1daaf3546e5653acb28c5786271c33a6669c5c810574ca7e 9b38b5d8ddfb63e318980ebb14c3ed24451a63309bcc8adc7965221d9ae0bb68 -lib/codeql/swift/generated/expr/SequenceExpr.qll 1e892c62eb3c0f1ed78d768959df52c4ddf8e0e05cdeef8b173aba2b788f3151 170ebb16f47d66b6b0c23c0794b649d222640a667212722048a917a421e8b506 -lib/codeql/swift/generated/expr/SingleValueStmtExpr.qll 29a79e624278ed3f3cc9aac1b062ef09802fec7a1abb9a441e8f571a6f4a4235 813ecb03219610421a59df327d04fff15446bdaa8b923e545daf6639a1fc41f6 -lib/codeql/swift/generated/expr/StringLiteralExpr.qll 3cc3f445c3dd12b2683f6231712c80c3e5540e8d5ed419e7605f167da5afc7f1 59a7400d0bddef8ebad1d7c5b300420f1741f8d62dff7e559dbf9af9ff9896a4 -lib/codeql/swift/generated/expr/StringToPointerExpr.qll 2017ed900e430edd3cc5963bcbdd0735067b74894abd07e5437358f78670ad23 2017ed900e430edd3cc5963bcbdd0735067b74894abd07e5437358f78670ad23 -lib/codeql/swift/generated/expr/SubscriptExpr.qll 162aa0c47ccb0516628e3404feedad3f924d71b513bfb06f31d303ffd4caa1b2 dc4b22a7997f10516ed6116301ede621fce28329cf167cb87c915d0fc53195ce -lib/codeql/swift/generated/expr/SuperRefExpr.qll 66c6af37037d5dd2f2606f90fbc3e84099f52cefcca46d446852cd45e5e75ccb cb4c6de3f294308aefa9991fd9fa15dd185bcd00b77a8d078f7e80057ad7e9f1 -lib/codeql/swift/generated/expr/TapExpr.qll 8480e6df9fc204f80156f3c08b9a630c5b6ed7a2131bd16e57e7a28a60a1dae6 64f7da3c65f3c9810d4fc07ecada607a211bc2b189476311cac5ffa3b316cc83 -lib/codeql/swift/generated/expr/TryExpr.qll ed7622ba707ad761076f88db9eafd462c7364b137baed69537571f323e6ac5db ed7622ba707ad761076f88db9eafd462c7364b137baed69537571f323e6ac5db -lib/codeql/swift/generated/expr/TupleElementExpr.qll f6ccb14ebd6b6b20accd3a4ca4524d0a392f6f8ab527f06558da4490fc5dd5db fcc46cda19d98bba283ee4e1c20a39c8a9b22cb17f99ffb2c719c29311177825 -lib/codeql/swift/generated/expr/TupleExpr.qll 62b2ef90f0117451db39fbeba1432ff45364e78f7ff44a6156c8131869a9bcd2 afbc67be8c9bd62cf330bc14b32c030de42fc656825063793d351662bf7c653d -lib/codeql/swift/generated/expr/TypeExpr.qll 2636739b0b7440e75c7dd42d8ae445e30bbe722fd15c152686a6a331c03a201b 7d4c6f724d0d19b816ea367401904799b3fa58a324e3fd3f0c73a01015b925ae -lib/codeql/swift/generated/expr/UnderlyingToOpaqueExpr.qll bc5098a86d3e600eb377846bf7d8c7fa8c46b4a9f8d19963ada54ad25a974214 bc5098a86d3e600eb377846bf7d8c7fa8c46b4a9f8d19963ada54ad25a974214 -lib/codeql/swift/generated/expr/UnevaluatedInstanceExpr.qll 3cfe8cec4be2d11ff50658a1b3e9c8f15cbbcd7c41cb4a2b8114abb3555daadf 3cfe8cec4be2d11ff50658a1b3e9c8f15cbbcd7c41cb4a2b8114abb3555daadf -lib/codeql/swift/generated/expr/UnresolvedDeclRefExpr.qll 9f791efcdb5673637ffb9ae791c5eeaa2d8859a94a34c941884afd26ab7bd720 d57638235c7cde608fdf412a74e907a437447d135dda5931828961c3999a25c3 -lib/codeql/swift/generated/expr/UnresolvedDotExpr.qll 681668a0f872ec3fbed3310f0813dbc5ecb3214eb7e7d14dc4fbec1790df940a 6c9c1cc25f1861c54a1203233f85a6564ac11c77c85396ca369ecf1062d92607 -lib/codeql/swift/generated/expr/UnresolvedMemberChainResultExpr.qll 53b87ee3cda4e7c022bfa166e97da0853334f787376585c1344ad04aa1560657 2e008a5b65846424b0572cf10e9abefcea578717f0fe0e201d8cf5f7d0a4d3ad -lib/codeql/swift/generated/expr/UnresolvedMemberExpr.qll 55acae033cfcb0815c048e3be426bdabb1e94e0d427fc7d6ff4f431e7daef00d 5f4237d929bd13ef244c2cd02568945768db406653f75eb3bab8b4151bc03e07 -lib/codeql/swift/generated/expr/UnresolvedPatternExpr.qll eab13a6d4f15d8a676b59f372c8cf1a9bdc8c04e48b3920aff8125cc59c66005 b6aa8393da4575660eb6aa3f57a1cbf3b790e5b2db2c666ec5daaf6edf152006 -lib/codeql/swift/generated/expr/UnresolvedSpecializeExpr.qll acd6e3959df20954394e295b7f79be5c9d05d565da2aa33860938f1271c33466 b7b303f8cb5758ceafd71176c77aa38973fa08716a5cae177ada474edce5cdd8 -lib/codeql/swift/generated/expr/UnresolvedTypeConversionExpr.qll 67bafc8a3bcbbea5a466cf90b6fca1a9e74a4b18c5b834514fbb99e5be0fdf5b fa3dc964dc66c17a1d8d64ad84b90373a5195efa2aae86acafa83d418e7b7f8e -lib/codeql/swift/generated/expr/VarargExpansionExpr.qll 3cc5f7b03e1363b25f07446a8ee7df138dbfb2fdfa92ff282416d3ab98097574 eaec8eac706d91951c15cfc7ff14203a081a470f8ec71d4e421e3507f474a1c9 -lib/codeql/swift/generated/pattern/AnyPattern.qll 6d1285249258586e604401ceb096c1668ca26cd9e6b44619ca15bcb285138f60 6d1285249258586e604401ceb096c1668ca26cd9e6b44619ca15bcb285138f60 -lib/codeql/swift/generated/pattern/BindingPattern.qll a4507d3516c9f5389c88c2148cf5c5bba596325e59cb24fde37ea38bc8c5eb2e 9bbdc9ec9187c436e83d3fe09d42c00abc0d11a22a1e38cbb656d40bafb78021 -lib/codeql/swift/generated/pattern/BoolPattern.qll a8a51e9ab9745eb038388a9b11a2a83b75f4460aedf3df86f73c321014cb93ff d6342806c7644aec5678335abe3ac60c49b13fa5dd45f2913983cd94d420ec18 -lib/codeql/swift/generated/pattern/EnumElementPattern.qll 6ad665b2dc504d6c68c9186c34df6fc0e20ebe047078305158b7c836727a2f8e 59e79e20e14866b94b2e4da99c633557acc3176d31df7b6cedcf1d71cc3049ff -lib/codeql/swift/generated/pattern/ExprPattern.qll 7e92f79efa7134cb3a59b434d476b8e6ce5c13ea9dcbe6038c59d707c0a75011 62bade649957868c5a04e44c237312dca302621fc9f39d71f6961b548474d324 -lib/codeql/swift/generated/pattern/IsPattern.qll e7f07b8788fa9146222bd2a11ee95ff86b43f8623ad26ebd79d923b129b208b3 0fc03541cb6a0d8e66e52692205feef58d3458ce74abcdc95516a2ca102954c3 -lib/codeql/swift/generated/pattern/NamedPattern.qll fe1a2a14423410c58bdfff496c50bbaf3990420ee72f3924d7bc190c9aee8dec a4acf22a77764575e1e7351dc99c682e9dba3df79adaeae1c716d4305b1e5fb9 -lib/codeql/swift/generated/pattern/OptionalSomePattern.qll 91dacbff67ce93fac560eee6991729e12f00b768f3d55d8423840478f0aa10f6 3dab75289fe8e90eed5ddaad9b8064ffd4c5d74c25a6fa929d4406212f7371ca -lib/codeql/swift/generated/pattern/ParenPattern.qll 91d0cfe2cc1b1f321e252798469fb8f0dfcca91c8b1e1a120f3ffef317ef1391 ee1ceaa127d4fd5826e637f741d3a90fa9cf474ee8d4a4fdf39b4e680b7d7111 -lib/codeql/swift/generated/pattern/Pattern.qll 4da3547291a5078cc5c9d607440dd814a123302517087aa85b3c2f8da0437dbb 0ef78e49d9ec683559bf42fd5b3335a66a063afb29db6fc61467c703323cded4 -lib/codeql/swift/generated/pattern/TuplePattern.qll d3477149a849f6e6076967d8369de531f9047ad0b8fa50081b9575337a8b97ea 8ae46d5e763e23e88a24b95731caa940f7b476a54d41f7fd35856266209a397a -lib/codeql/swift/generated/pattern/TypedPattern.qll 5831d67d800c60619de0043f61ba316fa8f3c6b6c135c7efbbabd918bf30d455 e6867d3501168c2953db83f3a69fd327b366a5e4038916afabdc7997b0c743bd -lib/codeql/swift/generated/stmt/BraceStmt.qll 8ba805c9798a7b5c83b30230f9eec5ad991fdbb0dc6060a15e7dd36579433cf2 7104211507d4f64056cf698d282778d68224240e79674085d1165fd25197fa92 -lib/codeql/swift/generated/stmt/BreakStmt.qll f80e0a0daedfd7e9a91e3b268dd957ad5987966a01bbe74e9f2a55c668b3f82f 7fa867e19e86d2b2607b0b9630fac207a30fa9ec7015d8166fa249cb056c9806 -lib/codeql/swift/generated/stmt/CaseLabelItem.qll 445497285dff5d60cd70c62e0eb371871927bacc4064f5b53e370233bcb0847a ddccabae49773a20abb5f67d3a4de6a35c223b68b82cb0165dad0d9f8e84f54f -lib/codeql/swift/generated/stmt/CaseStmt.qll f47e7f2ac015c900b57c87dc00e767f9609992e124e475ff173cc88d0afa1b4d 9b937c1126aeed9e1c2e9b1a37b13b2c4a8926ef91b9f522008e8d262ca6198d -lib/codeql/swift/generated/stmt/ConditionElement.qll 63d4f40e296ee0fe0b9d11cad297c1ba100d7edbf85b807701d28d611b1780a7 94b88f5e3130989749bf39186f74ed6c518ab575fbbc0ef198493a0774f02faf -lib/codeql/swift/generated/stmt/ContinueStmt.qll 8cf27c6e2053f4eec274978b8ddac65de8ace578f7d8f7a4db51dceb600a1c92 795b5c96323539e03bbf0b948ac9d1eaa0a418ba8c63475ece3eb8dedccdbfe9 -lib/codeql/swift/generated/stmt/DeferStmt.qll 8f0e00ed08fd2c88f4b7caa25478783162bfce5c21538c972d2907244755f574 a2f8bd8dbe6d8ba7e972a62e2f508dc0ad0495bbf90ee4800f3337fc9597abef -lib/codeql/swift/generated/stmt/DiscardStmt.qll 5bb8b8f4256600b687c637f452747082b4d11f2a1b25801c19f2ed114980aea4 73f7feb221be79b803f1dc94f14b0f3e8dbc6be4fe4f6a9b4a3a4ad097c3da39 -lib/codeql/swift/generated/stmt/DoCatchStmt.qll 64a1b2a612adc743ce0527b474dd3c81e5ebd02bf27b1289f127b2809fd807a8 629ada84f4f75785d295098fc9e4feaee629efe76de56f68f0e40f32bf790604 -lib/codeql/swift/generated/stmt/DoStmt.qll 221f1da35e7530bfac6ea171a5c7ac89f65ec30ee6842580c422fd14e75cb4a3 cd0214af648dc87abebd2602016dfc9a9c388a7bb2bf78698f196e884d823db0 -lib/codeql/swift/generated/stmt/FailStmt.qll ff9a2ae0f0bcb7b97504d9baa9f01d7912abeb017f118f32e98bb38460872639 ff9a2ae0f0bcb7b97504d9baa9f01d7912abeb017f118f32e98bb38460872639 -lib/codeql/swift/generated/stmt/FallthroughStmt.qll 2029fc3eb501310e673e9f1de0ca3a6f7a9d56305b192da697f68ae06fe5e821 e31462435bbe21efc6b7856a7793495d2ae4eb9c06e146d31f223c6c85088776 -lib/codeql/swift/generated/stmt/ForEachStmt.qll 56d857de43aeec3a4ff980eeb84fcd9eb27b27b503ca821043acc59acb60cd44 e3cb2dd52a632a3c978896203526c114edeecdbe54213b96205fcc6a48101fa1 -lib/codeql/swift/generated/stmt/GuardStmt.qll d7f6ec1837efa48db62d88e86204e184eda927d6e303ecb76b1cc1046debc36a 49200ca9feed9a22c27049bf3b46e38ea32f44b538d79ad934590a6723cef622 -lib/codeql/swift/generated/stmt/IfStmt.qll bc5f7b171336a4dfedf6295e6114ecf0dea452434d3d12829e5eebd18fc01557 cd5aaebe3486d645ab723198047297ecb7e2210c5d2a6da33ebb885fea09a5e7 -lib/codeql/swift/generated/stmt/LabeledConditionalStmt.qll 3a9d4a628df8a4b671f77658ed038ca32f29d5a9394d33f07fb8a98bf83a0647 37ca094a2c2b02ce01c4cb28f1234ea54f76b4ae095e344076d77785ebc38fd5 -lib/codeql/swift/generated/stmt/LabeledStmt.qll 881214e82c54fec1b22927c2366f6be5bbb6b289127ed463ae23bed3ab0e25fa 6c6ef0bfd4be39af0ba4b06ce0b182cc6828ab1e2cca78cf86b35b7dd62373ec -lib/codeql/swift/generated/stmt/PoundAssertStmt.qll 7249b269a2877ac0ef2438e7c2621bc61558c4d5d7da2e4e80558f02997eb262 8abe17ca24b6cdf5af9713362fa900045d434de5a5205c69f7df50d5b9850350 -lib/codeql/swift/generated/stmt/RepeatWhileStmt.qll d5550d799fb6fea31867a7e13ac70c668486e9fad256f5f0a3ed5b9d98045bd7 6433f091f349f14cdbb6e46fb4460a5e633e7f971ae0e658c9445478fe6560fe -lib/codeql/swift/generated/stmt/ReturnStmt.qll 82910f3c8360b39a2b5b649d41d206372d778679a07cc0f8c3f608c581e700ed 835831ad83f4677854a029d9fbb8b2c708238ffb9e6c7c89616d5a2679454d5e -lib/codeql/swift/generated/stmt/Stmt.qll 3912b8b28aaf01624ac377bdf8caae2c20741c9ef98cef75156e1b0c3a8b5163 9805adf45af0ad4a0734477a5d80b5bcbb2bece8e83411a76aba96042d0c7f18 -lib/codeql/swift/generated/stmt/StmtCondition.qll cf03296a32292d836ff9050ffc6d3d5fc56c90f9473e7f70a67116417590ee76 c5694a39bdcab60beaa04a275ec99616dd868c12c878513f783a0eb52f328ba9 -lib/codeql/swift/generated/stmt/SwitchStmt.qll 4e0ee2230d295e7b592e837b3ad94f122540f06107139a279302f67cff5cefe8 5bd92a4997e7308b046d985f04f21b1f4284c6f782b56563c1020021f34755a4 -lib/codeql/swift/generated/stmt/ThenStmt.qll b0fb20f9ebfa836675912c385c133acbfc57f48b431a58ede48099cac131491d c78838d9084ff18f813e9cad68a56f8a838ed4ac59f046411442226bb41ad763 -lib/codeql/swift/generated/stmt/ThrowStmt.qll 888825d19ced5a03dad6a20af8f8d86e8d8eb8fd8f69eaba9c0d0b58cbefac90 517d4aa93a9ae1874ac64dc1d6a170b4cde8e51c8f842dcba058ff2c61086ffd -lib/codeql/swift/generated/stmt/WhileStmt.qll cca25bd25aaea758dce474354d5e57d92eaa5ca5abb918f8d677feb2be6d3b0d d7ae1bdd69c25d8eb882522053b07048f3a0f1bb5ed8dcbd5b3efbfe0f72631b -lib/codeql/swift/generated/stmt/YieldStmt.qll c4619558f406dcf3ed1a0171b6c4b93c415fb5419745391c4df217d45e76b3f0 ca5c954cacf21233a35b88fe3e6de2eba0017e4e08b3f51b9d2bac6b01d8a219 -lib/codeql/swift/generated/type/AnyBuiltinIntegerType.qll 586e84adc2090e781747a7454e54f0b94871dc5d31e000b57b16998042c67b6f d60183fa4363d18d514e791bf9ae17bd5706e0164e4f55fbc2664a5b5f02202e -lib/codeql/swift/generated/type/AnyFunctionType.qll 517f3d2b66f7745762f0f72bd9cb9aaa1772710191733dbc2f0527508abe99b1 2aa69673586fa7a90e2f9415d427fd7a5a8211975c6f4f5225d5ccbd1003d79e -lib/codeql/swift/generated/type/AnyGenericType.qll 2f456ee731651ecd4d16fa67ca7f194d87db5845a08fc1433cce430110a57a05 7ed4ba8165508e24ec622fef0a01110680d6574ba2419a61fa66288fd48005ac -lib/codeql/swift/generated/type/AnyMetatypeType.qll fd9af2a3d94852e65136fec42312e37f47bd917c30e8307565a8f0cbfbd8a7d9 88a6767b01a9fba346f8472c6424a4f45c37cc17991167ee75104607594a460c -lib/codeql/swift/generated/type/ArchetypeType.qll d1abd94f4cc09b623536ed4f6aa1c42176620164bfb2da11e24957578c616bed c5420283edb4c1e2b171a060c7f8a059593b17278871a8a1579c4f429804da70 -lib/codeql/swift/generated/type/ArraySliceType.qll c0ae1b70c8fe17a6a7cb5bd63c7401bc0a24f0687a86a6770939933ba7618498 c0ae1b70c8fe17a6a7cb5bd63c7401bc0a24f0687a86a6770939933ba7618498 -lib/codeql/swift/generated/type/BoundGenericClassType.qll 8683dcb7a2af4a25664c3e1c65a02cb66ebf74cf897419426540957edb7b68bc 8683dcb7a2af4a25664c3e1c65a02cb66ebf74cf897419426540957edb7b68bc -lib/codeql/swift/generated/type/BoundGenericEnumType.qll f8c6c0bed7124504e847dbd6be8356152751131714ce37d789cf3c9e802cfefd f8c6c0bed7124504e847dbd6be8356152751131714ce37d789cf3c9e802cfefd -lib/codeql/swift/generated/type/BoundGenericStructType.qll a0b769f4bd0e6a76a58fcf2a47084724c09759542cefa405baf431d1a3123edd a0b769f4bd0e6a76a58fcf2a47084724c09759542cefa405baf431d1a3123edd -lib/codeql/swift/generated/type/BoundGenericType.qll 40320e1e6affe2f9204b6cb258797472f056369b89b254e79765039f1b1c3ee1 912d4a2c169d3d8c7a312dd67fc8aa59572dc78019e4a82da565e70ebc9abca1 -lib/codeql/swift/generated/type/BuiltinBridgeObjectType.qll 8483d8a55ae7d756f6ea00615b50a0df709b6a28a9776b6df961c895e6d46a3f 8483d8a55ae7d756f6ea00615b50a0df709b6a28a9776b6df961c895e6d46a3f -lib/codeql/swift/generated/type/BuiltinDefaultActorStorageType.qll 649fe00f2a29cddf2746989703d9bd34c4cc2b2ea4e34d78ccdd8152bd959a8c 649fe00f2a29cddf2746989703d9bd34c4cc2b2ea4e34d78ccdd8152bd959a8c -lib/codeql/swift/generated/type/BuiltinExecutorType.qll 575fff6340b17ad28e5fa060834ce90b4582a9e381182be80247e8d5b29ff51b 575fff6340b17ad28e5fa060834ce90b4582a9e381182be80247e8d5b29ff51b -lib/codeql/swift/generated/type/BuiltinFloatType.qll 6697d1f67fe9bc048f029ac9044a27408c3bb8ef477bca9627866a96513595a0 6697d1f67fe9bc048f029ac9044a27408c3bb8ef477bca9627866a96513595a0 -lib/codeql/swift/generated/type/BuiltinIntegerLiteralType.qll a55e7159c48dff8fe05e3786925b357ad330367313f7abf9ea6e52d17e736f40 a55e7159c48dff8fe05e3786925b357ad330367313f7abf9ea6e52d17e736f40 -lib/codeql/swift/generated/type/BuiltinIntegerType.qll bfad3e9dc7bffe64cf684245756841e88da2278c01b43446a6c997abc9ea27ff 8540a49f8eba0ed4fa179049c723ec9c2b7dc08e1383c83f8db8b6ca58a329a2 -lib/codeql/swift/generated/type/BuiltinJobType.qll 6050b477ec0c18545a2c45c9552777ba2c3e4faca97272a499a9eac6b5e52c71 6050b477ec0c18545a2c45c9552777ba2c3e4faca97272a499a9eac6b5e52c71 -lib/codeql/swift/generated/type/BuiltinNativeObjectType.qll e17de285c2a0a745e70b2059fee3f56ac101a4079a3d8a7cfaa779a3869c69b8 e17de285c2a0a745e70b2059fee3f56ac101a4079a3d8a7cfaa779a3869c69b8 -lib/codeql/swift/generated/type/BuiltinRawPointerType.qll 50c5fd3a92287705f3e84d9a16472886c1df8e77c74e782b37028355207a956f 50c5fd3a92287705f3e84d9a16472886c1df8e77c74e782b37028355207a956f -lib/codeql/swift/generated/type/BuiltinRawUnsafeContinuationType.qll 24b9b907d10909938b6c6489031d63a64d2ba81c64b30ab7ba3643f85a6dcd29 a213a1259de51ec49713389affa0e69ed62128e6dfc6ddfb637376649f05ca1c -lib/codeql/swift/generated/type/BuiltinType.qll e8d9f21900dca7282d84f1af9ed2c106a44e890e1659cdd8d27daf1489297624 f3d9cae5b92b463da1631b6a90595beb7bb851c429cce314685b225675ca3ace -lib/codeql/swift/generated/type/BuiltinUnsafeValueBufferType.qll 92b5ec5d8f85377c2c14ba6844a4b162be1a15cd810d9f3c1de86b4159ccbf3f 92b5ec5d8f85377c2c14ba6844a4b162be1a15cd810d9f3c1de86b4159ccbf3f -lib/codeql/swift/generated/type/BuiltinVectorType.qll 42e816b2eeec7d1d24745d3510244377899dbb40a866480b0ffff7467998c321 42e816b2eeec7d1d24745d3510244377899dbb40a866480b0ffff7467998c321 -lib/codeql/swift/generated/type/ClassType.qll 98db957bdc959ddcb1f8958e5ecdad8d9d960b4eae2cc0e778186262f40fa757 98db957bdc959ddcb1f8958e5ecdad8d9d960b4eae2cc0e778186262f40fa757 -lib/codeql/swift/generated/type/DependentMemberType.qll d93dab15f854ed42e52a5253ebf7802a52443fafea253ef0eeba5f5fb8cc36ff 2b6505fd082ae92ac4cdc3bc797e1385f9b3f6ba468c3ea9ff939f937651fe2a -lib/codeql/swift/generated/type/DictionaryType.qll 82a0d5459e28efa00f315aa5d37bf9f294b5c5740ac27c4f5b8fe942aa037b2d a0628e1ba9b2df4f53bbcf86f549a586828d34d714b64011707388c3a2ae97ae -lib/codeql/swift/generated/type/DynamicSelfType.qll 86b18b84b77f05eaebe898dd46b244435c926bba384ed50b2b83e63f5528bfbe d809804db4acc09d65ef6c68d211336e209ded3da228f47a26c500b6fb6f8e63 -lib/codeql/swift/generated/type/ElementArchetypeType.qll bdfb4a9969b2f7983f9f3a43922774841c68901db54350a689c05619d77c0b7b bdfb4a9969b2f7983f9f3a43922774841c68901db54350a689c05619d77c0b7b -lib/codeql/swift/generated/type/EnumType.qll 183f39f2663f0fb88ff207076c3f7c89a0e8706fa960d2be3ceecfa2a74a0f53 183f39f2663f0fb88ff207076c3f7c89a0e8706fa960d2be3ceecfa2a74a0f53 -lib/codeql/swift/generated/type/ErrorType.qll 79731f7966fae741bc2a07aa0d0185bc1feee40b585fd0b24e5d4b6befcc266b 79731f7966fae741bc2a07aa0d0185bc1feee40b585fd0b24e5d4b6befcc266b -lib/codeql/swift/generated/type/ExistentialMetatypeType.qll bd872cd874e52403639036a3924bd16a853c26b138ee5ecf1b72ee11801752be bd872cd874e52403639036a3924bd16a853c26b138ee5ecf1b72ee11801752be -lib/codeql/swift/generated/type/ExistentialType.qll c2c0ba004a5194f15aa03c3955413c6460ab37214d03d64053c0ca1e0c0f399d 6ba1fd878a8e035c6f63397c538cb9ac9457bf6f2c328b0a8f039665f6b0ab73 -lib/codeql/swift/generated/type/FunctionType.qll 820c12f50a9bb2cc0a46fff236434b07ee59e89a5b2592f8183e5340b2d916e0 820c12f50a9bb2cc0a46fff236434b07ee59e89a5b2592f8183e5340b2d916e0 -lib/codeql/swift/generated/type/GenericFunctionType.qll 696a69ba43b811f482e7b9642a795e9fe02a2d7b84b4ce6297ff551a63f00a6b 412a07c3e6a1aba398e57a391e3025c9bce5e442eef32e703d6a909de70b81d2 -lib/codeql/swift/generated/type/GenericTypeParamType.qll a997827ced0cca46ba8aba4accd9f7a1f98f4cf47afad210efd38d9bd407510c a997827ced0cca46ba8aba4accd9f7a1f98f4cf47afad210efd38d9bd407510c -lib/codeql/swift/generated/type/InOutType.qll 38ceabd3ff837089d32f7f7b2e3784c4f157db0545e6584114ca72f05549e9ea e1f9d33a1316d4371f8f81c32fa68e6d7ab69b5ff65628e479674ccbcaaaa5ea -lib/codeql/swift/generated/type/LValueType.qll 4a1d199a40a8936f87786c9fce0d41cc3dac13b1f2d464eec43f8a0dae57e8d9 9926a46d4801f6de35046454b3994eff549167c3c102fd50f015e85c109e779c -lib/codeql/swift/generated/type/LocalArchetypeType.qll bc9b450ec3d4280047e017c560394284af05726eb9be9fbe7705da597f959c9a dfa3d34ea3a391409ce85476b6155f87d9513aa082ebf9d4e68137d9b9b68c81 -lib/codeql/swift/generated/type/MetatypeType.qll 0d65d809a98fa4df1a44a40ec6bd4967c15ad5247b2366a619e66f78f4ec8b32 0d65d809a98fa4df1a44a40ec6bd4967c15ad5247b2366a619e66f78f4ec8b32 -lib/codeql/swift/generated/type/ModuleType.qll 59299a270eca9ebd490c93637ac846022428d8bfdda7ed278ad4594f4e7844aa 6e6b75a1461c836460b3849573c8cb9b66be3b11bbf82c6c59963fe082672e30 -lib/codeql/swift/generated/type/NominalOrBoundGenericNominalType.qll 9c0d2b1e8f82be02f3de9cebb9184a5e74927bfff38c95de068220207de8201d 2cc4466cec5867262121b9b49b6ca9e6f63ae69e1536751a4d52f7f1ecba16c7 -lib/codeql/swift/generated/type/NominalType.qll 57640941250050113ac28ad661eb3fe7511b1204f38a4840258c68f56cec3468 2caa389f5c6944d8aec0610577d6fbd97655d3431f0d6ce0328081f514c3ac6b -lib/codeql/swift/generated/type/OpaqueTypeArchetypeType.qll d88fecb8c8e2b345d1d448db122fb436b95f5dfaa5b238bfcece97c0a7c1ee14 8e6e8301953d33d0e75ea6123422f4bc206cb7b64d291231720974d49b710405 -lib/codeql/swift/generated/type/OpenedArchetypeType.qll 3d009720108b8aa2e334bc4fbb7e040d08a6d58b7c7975b788ce0a994459d3ca 3d009720108b8aa2e334bc4fbb7e040d08a6d58b7c7975b788ce0a994459d3ca -lib/codeql/swift/generated/type/OptionalType.qll ba3f288b81130aac4aaa0da1f337224e81c534064615264033bc942a5c8d2f30 ba3f288b81130aac4aaa0da1f337224e81c534064615264033bc942a5c8d2f30 -lib/codeql/swift/generated/type/PackArchetypeType.qll 04bf1b130fdd7af9c64beb89313e80c5f9234e10dbc27bde984f42a82ec9cea5 04bf1b130fdd7af9c64beb89313e80c5f9234e10dbc27bde984f42a82ec9cea5 -lib/codeql/swift/generated/type/PackElementType.qll b9818efb55391105d94f6d9e487dec7a6435c0ac1aa931f233cc96d2369acb47 f52fa9324fe867b65e51397ace21a78a147146b80d897418cc424043e7ed7777 -lib/codeql/swift/generated/type/PackExpansionType.qll cf600c21fea7bab02b22798b569044ca601e1ced00a975a0fa53561e583fc640 1cc03881a0cae89f030d193beaaef023bf162f6b6bd83a8a78e1ac8630f9d6e7 -lib/codeql/swift/generated/type/PackType.qll 50dbd2c1c5b1a9e037ac51b065f9d638f076a66ac435e9e21b17c4fe8fb1b9e5 8aec1274164471633cdc880c141182ca2a2a3a5ee296804d520668237d2cf742 -lib/codeql/swift/generated/type/ParameterizedProtocolType.qll 754027f788565c6e0d4b4cc10b8bbc2112b214187a0dfd73fb3aaf80b6d4575a 8de39638d281d4befb8675e53919a67d61c2d7444056e1df3faeebd08dad65c0 -lib/codeql/swift/generated/type/ParenType.qll c5cf8b648ceeb7fb4bb926451680984721bc2efd6644953044b46be7de3ae72e be182f7ab32936a64933b6554257e50bfa796e08abea8faf6d858fb7de964b20 -lib/codeql/swift/generated/type/PrimaryArchetypeType.qll 68746e6e0d1d8092113906abde1c6ad70558a8a4638a6571f84f33497b6ed81b 68746e6e0d1d8092113906abde1c6ad70558a8a4638a6571f84f33497b6ed81b -lib/codeql/swift/generated/type/ProtocolCompositionType.qll fdac38fc547279ec82e486f29e5adff0109f53d6fc9f4f36e50ebf9a600e65aa 37983891b01dda94fc032cb58fd6d1bb0905691b9367c124e9d08effb1412987 -lib/codeql/swift/generated/type/ProtocolType.qll d44688d02689439df7d18656b2b7f615ec9adc91955e0524e5d81d11dcde4e8a d44688d02689439df7d18656b2b7f615ec9adc91955e0524e5d81d11dcde4e8a -lib/codeql/swift/generated/type/ReferenceStorageType.qll 1be154f445b3ee0a3731b24025934beb01e2d2e9b29a13c7728de2aa0a1964e0 225b1fbdc022afae3ea5fd6a49d7c647bc3a83a146517294c3dee0ff71f4b967 -lib/codeql/swift/generated/type/StructType.qll f57a7b9227b4cbdd8b1b4fc1be4245c930cf977847866ed76e7ad4b626ee5728 f57a7b9227b4cbdd8b1b4fc1be4245c930cf977847866ed76e7ad4b626ee5728 -lib/codeql/swift/generated/type/SubstitutableType.qll f449772d1ce52a3b11c5ea833b83fc48e3c3ce0f8cf5a889cf90e8319c23eb10 71b61bf25a47d0916447c19d58ec0220ea6efff783a8de2a69c0f2fa59747709 -lib/codeql/swift/generated/type/SugarType.qll 92bf0bc6c5c1879787c1ec2b25feb9906e9976ccfff01cd7a525240e11c73837 042eda9f03fbaa1a1e9e85214f8542ec1dcb896722b76b7b93b49aaf9dd5ec93 -lib/codeql/swift/generated/type/SyntaxSugarType.qll e964cd0faa737f41848ac1bc3613ec2859acd6b4d3c55d0428d2ad0497724f69 96ff1e991038a0196e6d2b6e6f95842de6af599ba4cce6c84d92a0e25338dad8 -lib/codeql/swift/generated/type/TupleType.qll 5d15f51afe0adfc607e813808ddb4c357565f0042e4dc9e692ef8b00b6a763d3 9a41f25af7a21ac1978ffd3fc90f6079a6f143cfe5935eafa4027435757427ae -lib/codeql/swift/generated/type/Type.qll c791178d8b8d5f4277e33c292e0f5032b0fbd9fa5008a17f4feb0f9542a50a8a be588d17957487ddf0edbab56fc884d6c4a96388574cdf574e15d5f3c5235244 -lib/codeql/swift/generated/type/TypeAliasType.qll f5c615310dfe56bc5e16b3bc26ce1c2c4151c495d239820b96adec39cf95c098 68f01f4813631fba84aacc4fd7237ed6c356c0530ff7c467159bafad86f28c70 -lib/codeql/swift/generated/type/TypeRepr.qll a149c2fdb8d6ddcaf17f80eb735bde22525047669d2631e27e1760798155e4d7 d10e89588c7f23366c394ac9fa7b036ce714850db2564a8c1c0a5f44a54fdc30 -lib/codeql/swift/generated/type/UnarySyntaxSugarType.qll b26095e41e90b1861d5b68513e3d5090d6c5fa2661330b88696713d70b1d12e4 d5bd8936e02dadbfbb9350adb51fb6f5448aaf2cf869131a0fb6676a5cd12940 -lib/codeql/swift/generated/type/UnboundGenericType.qll 8afec2604b6d40ef7b86732e64dedf37665507e4976adbf811b695a586c50c64 8afec2604b6d40ef7b86732e64dedf37665507e4976adbf811b695a586c50c64 -lib/codeql/swift/generated/type/UnmanagedStorageType.qll 0562de7a67870326fc5e856f50d069110e88f34ffa10c7a7415fe50128ac7cdf 0562de7a67870326fc5e856f50d069110e88f34ffa10c7a7415fe50128ac7cdf -lib/codeql/swift/generated/type/UnownedStorageType.qll 6bdc95608439737caa182266a19f6fcc4b60ffdd0d6a67333fdc5f7b90c49e20 6bdc95608439737caa182266a19f6fcc4b60ffdd0d6a67333fdc5f7b90c49e20 -lib/codeql/swift/generated/type/UnresolvedType.qll 6fd66fa6aa63bea940fb1f8bc1a1c3ab301f72134c7c5350c806ee642b757b29 6fd66fa6aa63bea940fb1f8bc1a1c3ab301f72134c7c5350c806ee642b757b29 -lib/codeql/swift/generated/type/VariadicSequenceType.qll c92de74901055d29e1382a4a614a467a932dcf0e5945759f137cd8ee8c4e46be c92de74901055d29e1382a4a614a467a932dcf0e5945759f137cd8ee8c4e46be -lib/codeql/swift/generated/type/WeakStorageType.qll 8f089b423d35ab5bc29d4b4097aa4a1a88a523511b71dfc2e40d2ae9416316a4 8f089b423d35ab5bc29d4b4097aa4a1a88a523511b71dfc2e40d2ae9416316a4 -test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo.ql 6e06e222636d5e3451afdce4d5e1b801206a0abf060cc5714350d25e784f8eda 3274ca1b3d85142037d0f12ecf9e15f77c3eeb285621adc9312a6691806d08c8 -test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo_getSpec.ql 44ccccad28d8648aa3349d9290bd1478bb021797c26bc2f8c1e3de14a42be3bd aefab61b6fa1c06c5c79d337cffb61335dca74ef9906deba12f7eaea42f9ac14 -test/extractor-tests/generated/Comment/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/Diagnostics/Diagnostics.ql 6a4a9480cc929381e0337b181e5ac519a7abc6d597ebe24fb6701acf79ced86f 199c5bf8bd38e161d989e0e4db1ea1d3ddcb4d7cf571afd9112ce3ed8d9b8d2a -test/extractor-tests/generated/File/File.ql 17a26e4f8aeaf3d4a38e6eb18f5d965cd62b63671b84edcd068808b4f3a999df 009a1338750bf95f715b303ac3e6a6e827c82aec2068299a97b0585ce76e9239 -test/extractor-tests/generated/KeyPathComponent/KeyPathComponent.ql 3d34d994ab5d6fada0d8acfb0dc514ba5315f094cb0a94dadfef12afebed9496 82c4d91df2a32f46b7aedb6570fd4e63871f32317b2d3e8dd5d2a396dbd92254 -test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getDeclRef.ql 1f51b17a6f7fdd0a6559ce0b3d8ee408a3ccf441f13f7b94bfba14e73ad6e357 24fd64ad77942909ea82a309bb6f56081363beaa7f557547b5b3b199dd79a69b -test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getSubscriptArgument.ql c062b22dd4f705db394a07b6d274dc019baaed619cbcc31eebda8e3583bcda97 48542483f9b3b2a5993036845a640711ef50c3b359202feedd69a9e1bd0b19b8 -test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getTupleIndex.ql b7a60a79a6368f410298d6a00c9ccefae47875c540b668a924ebb37d331564a5 798760446f64d552669c87c5c377d41dcdbcbcdbcc20f9c4b58bd15248e3fb0b -test/extractor-tests/generated/OtherAvailabilitySpec/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/PlatformVersionAvailabilitySpec/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/Accessor/Accessor.ql 8fb08071a437da7a161c987feacfe56d424a88159b39f705abfb1273f830d70b b816cdf9dffa8149fc9747cc0c863275680e435149744176334395600bcb0b95 -test/extractor-tests/generated/decl/Accessor/Accessor_getBody.ql ed8bb0bb96160439dbd22744b6ec0cd9b9bbb0b55eafe4656148e1f7f860eeb3 4660c0f6e58811a1bd6ce98dfc453d9b7b00f5da32cfe0fb1f9d5ff24c4897ac -test/extractor-tests/generated/decl/Accessor/Accessor_getCapture.ql b12a0a2fd5a53810cc1ccf0b4b42af46cc9e2b1dd3bb5489d569a715ee6231da cc9f6df05e3ad95f061f78ed9877a5296c17ff384a45ec71032ab63a866e173c -test/extractor-tests/generated/decl/Accessor/Accessor_getGenericTypeParam.ql e1fc97033e0d37f482562be5ebee2f7e37c26512f82a1dcd16ca9d4be2ca335f 19fa5d21e709ee59f2a6560a61f579e09ee90bbbf971ac70857a555965057057 -test/extractor-tests/generated/decl/Accessor/Accessor_getMember.ql d0b6260b9d63e11fd202c612b2e5ed623457ffe53710dc5cbfa8f26f0ff16da3 770c480a389bc5d7c915d5f4d38c672615c0b17cc134508de519da7f794806da -test/extractor-tests/generated/decl/Accessor/Accessor_getName.ql d01afe57e4161131b4fafb9fad59fc6d0f6220802ff178f433a913d903d9fc49 c9dbae26272c008d1b9ae5fc83d0958c657e9baed8c5e87cb4782ffa7684c382 -test/extractor-tests/generated/decl/Accessor/Accessor_getParam.ql 818a352cf9ee3a9b0592f8b668e0ca540e3ee4351004d38323ca8d95e04630a1 ca8b5b7cdbd5c7c4eab30bdb7dcfb60e7c59deb5d37a8b021b36fb0f5efec79c -test/extractor-tests/generated/decl/Accessor/Accessor_getSelfParam.ql 260ce6a4fc2a650826a5c372fa1df63d28112623a1671189ea5f44c0d8d45bc2 6f45476da7cf37d450c07ab9651e12f928e104ba6d7f4bf173a265b9b72c89eb -test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl.ql a3a2c651b0a25ccb2ef245e5ed271fb4884901673e6c83443a6d895a98afc351 f0429f289b38968ad943883c533eaa3e55958029f62fa31a9bc17b0324a54a6a -test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getInheritedType.ql 651ca27e51c5281b6892f0256e7c043c47648a4d8839e4505a5cf4fed97fc4f9 c1a46a7de16d4592eadeced97aca26b9566d1abedb17c010f37a23f798932e0b -test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getMember.ql e662e651d84bddcf49445d7bf5732d0dad30242d32b90f86e40de0010d48fd9c a6b7028468490a12c0a9f4c535cbd5e6c50a6c3519c9d2552d34f9411f904718 -test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl.ql 950e94dc10f8a8589a6b6ead39faaecfb5739c1e40f381e09c5e015d14507a25 38ab48ca3e647c60bee985732631c6e43116180c36d90132a25fe4f620087482 -test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl_getMember.ql fcb4dd4da4d4b13db46f20458513334fb54bcfcec3ddf8cc86798eefe49f31e3 545096ab96006aa9e9058b9cd0c62d2f102f2fe6813880cf9c4eb42374b7ad9c -test/extractor-tests/generated/decl/ClassDecl/ClassDecl.ql 57a7249119f08ad63f5015b9319a446e46117daf22c3b78266f1f4e2e66b4c9f 176618e7a58bcbeeffbdee2025f16f1defeeed48f9186c49d3496adcb6c3d97b -test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getGenericTypeParam.ql ca0b73a4f31eea47def7a1de017de36b5fdaec96ae98edb03ff00611bfcac572 f9badd62887a30113484496532b3ff9b67ff5047eb5a311aa2ec2e4d91321e0e -test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getInheritedType.ql 5ff7bc8bd0e076c71071093044870bb5db3611f6ddeb3e4528b109750819a20b f4c69715f834c7f8a5b5f23d2b5637b3ab9b54339079c992ae6ae3b9c8103908 -test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getMember.ql f73881b14bb4eaf83dacf60b9e46d440227f90566e2dfb8908a55567626ccdda f78a7261f7ccfe01ca55f7279bd5a1a302fc65ba36b13e779426d173c7465b84 -test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl.ql 66c20b9245c7f6aa6dabb81e00717a3441ea02176aed2b63e35aa7828d4282cc 4fd1cee669d972dc7295f5640985868e74f570e4ced8750793afb8fa889f438e -test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAccessor.ql 22ed8e1f4c57fae2e39087837380f359d6e0c478ce6af272bcaddab2e55beb26 8b1248b8d1da45992ec8d926d0cd2a77eb43f667c41469227b6ea2b60196d94a -test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAttachedPropertyWrapperType.ql 0fd114f752aae89ef80bc80e0532aa4849106f6d1af40b1861e4ba191898b69e fdf28e036a1c4dcb0a3aaaa9fb96dcc755ff530ab6f252270c319df9a1d0d7ac -test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getMember.ql ab8061f4c024d4c4ea3f39211ccfadf9216968b7d8b9bf2dd813dea6b0250586 973bf8a0bcfcf98108267dd89fe9eb658a6096c9462881716f5a6ad260217a97 -test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentInitializer.ql c90aa3ae4249af7d436f976773e9208b41d784b57c6d73e23e1993f01262f592 3b1391d6b0605011bec7cc6f3f964ed476273bd5ed4bb5d6590f862aa4e7a2a3 -test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentPattern.ql a46347331698857119cd74495a25ea6cff6d20f8003741dc94e9d68b87e7ed1d c60aeb108f56485200eafbc677662869f4393f1d462a3385fa334926adff233c -test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVar.ql 370da9dd7a6bcb02c18246f680ec2af9e12c81504285b43cbf6ffd8963fbd6e4 d9e86f574111e15d42c0eaabe4e65882ad55d3604d9cc281baf28d4817e438a8 -test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVarBinding.ql addbf4e32d383fc35b7505a33c5a675feeedd708c4b94ce8fc89c5bc88c36f1f 549c8ec9cf2c1dc6881e848af8be9900d54604a747ded1f04bd5cadf93e5ede3 -test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVar.ql 502a76b34c78d3cf8f38969671840dc9e28d478ba7afe671963145ba4dc9460d 6125a91820b6b8d139392c32478383e52e40e572e0f92a32f0e513409d2c4e11 -test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVarBinding.ql 40274aac8b67cb6a285bf91ccdc725ae1556b13ebcc6854a43e759b029733687 44e569aac32148bcce4cd5e8ebb33d7418580b7f5f03dfbd18635db9965b28d9 -test/extractor-tests/generated/decl/Deinitializer/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl.ql 0a06a7923e20b2eca83c5beae58227b63441a0ab1bc971ed03e699c0fe970dbf 2a4995d66f65c402f03482eb2ed205a21b17d49a43c7343f191a5d5e90e003fd -test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getElement.ql b8393876ba8b24a0cae892ab5545971fcdae83f3bcae1129176269c0257d665e 09070c34d69667f761d6d2c4496f42322721188dc614f95ebdaad8abe5d70ba9 -test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getMember.ql 1e235193d7e4cbcdeb4f9e07448c391dc612bd97d58d9c6ad4d8880c6cf74a81 06840a76c0dd22c94aa51299d1f6d014ccd19dd6fbd82eaef1b01e2998b2c694 -test/extractor-tests/generated/decl/EnumDecl/EnumDecl.ql b0befc31c0f68c850cc00ceb7e1c051d930d5cfffc03b5f871de62103425b6d1 13ead91987d0da290a1e3f3e3c9e59df6aaded94e8de2f486c00a9c76706dabb -test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getGenericTypeParam.ql 3a0927f87a21d69bfc309f5f7faedb3d0cc2956c071b16c38b2b4acd36f24ea9 aafed56a1744579f05b3817adef6a5fd011d1b5cb7da2db230a43b6f55a04649 -test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getInheritedType.ql abb969cd2200a8a7fd39b25ae6a7b6f75fdb6b359c1565e35b18dbe550cbc815 e7b69579675d3bccfe08f1bc1e0bbe5379fb7411597a9d6387f4b7afc8d7dba3 -test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getMember.ql 621870b7dbeaeefa93cbbfc102e97810b15d39b49db685019c9e3cbf2423ffef e110630f0ba8f588e7f8ebc56a1a31c2ca2f22f2cc763baa76854beb3b3a4ece -test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl.ql 9cc76d4ca7d92bc7d3a25283671863cf3cd71424ba84e51bc640a87b4ef98a66 b77a2d5565e44655d10d2162ef5fa4f8053567449fb8200fdd6dbe4ddfa6c8cf -test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getMember.ql 316dd1e14b391a242312856143268d8c2f7936b4767f1f2ff2392abeabce2f5e 47813172cb466cf2ec5a321f3ac90b2560b3017f75f329a75b64613ef224775d -test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getParam.ql 0f1404a17c9238eae90edb4d13abf6bca4d58ddbad68ed28759110989ecd45af 42a67bcd861f19eb38dc67a4e6b1dc693c2c49477aeb3c91d4e8c505dd1ee1a5 -test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl.ql 71523b034d2abc6225f433f140841a35a466e82c04cbf07bdb3a9e384024fedb 919c66eeff004324b48249fd746c38891f6f8723f1281ad60126cf4b3c1febe0 -test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getGenericTypeParam.ql e8c9815756cd3d82abfb421b1e38d6381e48938a21f798fd9abd93686acc070b 2574ead6e511f41ba416e831e176ecdaac27dde410157a4ee472a680f922dd20 -test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getMember.ql 8d1c6a2b7cb381a81d11775f0d1cfb13ee04dd27dc742e00a72d676f21481dde 430e5b9ed7eccd90383e362ffa5e512704883304c711b13c9110a57ae282bb40 -test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getProtocol.ql 11fc53f70f6e7f29546337a9f06157baaecd9c7d1d392910e94d18b71a0a9ae2 3591d4ff4108bd3399cecdf444161d770c01af20c14f23afac167beead564998 -test/extractor-tests/generated/decl/GenericTypeParamDecl/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl.ql 5322f06ce9efe44baa798f31039c2955b31a8c1272580a0db7182ff1a3082509 3b6f34bc90b337b08eb159142bd5c8cbededd5e97d160e1f7342a7eb6e72e0a1 -test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getActiveElement.ql 914165306a2eb5c8039750e1e03bda156a684946abc8709d786b4144d9c9eb3b 5e87dfd99858ae257506415369bff937a731b6309dac2242b03ea79ead045fc1 -test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getMember.ql 2a2f4e89cb045c0f67c18d6c25e7f8cdcee5ce416304783c25ba2efb2afb45d4 4930c38baf0295399478733e24102a99307fe398986060d29e437bd65720f62d -test/extractor-tests/generated/decl/ImportDecl/ImportDecl.ql 65c03a28d5f5638b3ba15a02bdb33f214ab774c718e813ed29fda4dc59ef5ced 42b741d24e89f79f6a516fb272fedee1d2e94d6d3d5f437d4d0751a979206339 -test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getDeclaration.ql a76c6360ed7b423229ec64dc4d03f586204fbf5107408b7d07c06ef43b30526e bc8569ecf097f0e6176da4f42379158137f70dcfb9b6d60f4c16f643b68f9d91 -test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getImportedModule.ql 0339867ca4f414cceba85df20d12eca64a3eea9847bb02829dc28fa95701e987 8c292768f56cecbdfeb92985212e6b39ecada819891921c3ba1532d88d84c43e -test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getMember.ql 6d48d3a93bc96dba3bda71ec9d9d6282615c2228a58da6167c169fafaedb3e17 8560b23d0f52b845c81727ce09c0b2f9647965c83d7de165e8cd3d91be5bdd42 -test/extractor-tests/generated/decl/InfixOperatorDecl/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/Initializer/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/MacroDecl/MacroDecl.ql 16900baee88fe4d7d4f88369e7455783b8c2058ee48a2af2136d1d778098854e 6dae3ea092d1810c301ed57841c5c93a5ee0d8f8187552d078ce26a74c1e4630 -test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getGenericTypeParam.ql ae35558863fc444ca6a034d74e90583a779a2edb755c523d33693a8ab418718f 2031af476afa267b71fe22071f7e9ec97d4872812d333ff733055b7b29ff8386 -test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getMember.ql 4abbe22e4c2b94b8f5d009386c93710e7a003d7faef7d044481fcb47cc85e85e 9a57fab9011773cfa77db44b1eedf7e2277380640161d708af9d4df6280df3d3 -test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getParameter.ql 449716b575d0a4caa69cabafeba289d328e12054a1f7aac77d0dd5c47904971f 9649a62096d5fc17e71e527bc1299cbf6a1f38d21f685c86469bc6c83a62268a -test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getRole.ql d861b3ac12e38826d6e9ac72b7e6f2b82b4328e6e02bf26ea496635501cd1722 c2b606a39dd68dbeea4709d4c868a66db7ffae720f4163540f6d1e0aaeaafc11 -test/extractor-tests/generated/decl/MacroDecl/MacroRole.ql cd8c70998a177f14e1b10eb214ffefd62b2c4a7839dc845bf155ddb0888dd4a7 cdad06e902ab61005dcb552d1340754a12fc18a9256f49dd6fb3ccbd34605ef2 -test/extractor-tests/generated/decl/MacroDecl/MacroRole_getConformance.ql d36aeb229667a5b0153534872523ed84e28cdb9f8400d1f3051c15227e05c793 dc18b70f2e65edc86f12179ba3756dbfc3802dc87f875c2e11d97359b180c767 -test/extractor-tests/generated/decl/MacroDecl/MacroRole_getName.ql fa339f428f572873f76ace1dea80e643a198bd435a8ce6cc0f38cac870e590f7 fa1a87d0f0a71684c927cb7049efb627eeb42f4d436bcaef196b01e12d0e4aa7 -test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl.ql d096e82574438b1e6d646b8762217dc74f9f9c40b01d642ef6a0286a55ecad9d 3eae6049885efcd3ffd6117af31cd12d792492b1591a88444a8e4a7fa31ac187 -test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnExportedModule.ql 321619519c5cffefda78f11f2c85a199af76fccbfcc51126c7a558ba12fdfd80 30e48eb820ba9d7f3ec30bf4536c0f84280c5f2ca8c63427f6b77d74a092e68b -test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnImportedModule.ql 65fae5b1a7db3a11fd837ed78c663e8907306c36695ae73e4e29559755276fbe 3ddef1a7af7a636e66674fadb3e727ad18655a9ecb4c73fd3d6aca202f1191fb -test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getInheritedType.ql 2de3deb0a2a19d534ef158a1a4813eaf0e427ec48138ba23aefc9ec5ef577172 c510faa43f4cfaeca1032defaec976d220db976d6deb0b083924badfeabc4c1c -test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getMember.ql a4663d47cf0a16a07167b9a64d56f8ba8e504a78142c7e216d1df69879df9130 3f6a4080e33bddd1e34fa25519d855811c256182055db4989be8150fcddd541b -test/extractor-tests/generated/decl/NamedFunction/NamedFunction.ql a56ea8bf7080ba76cee7a1fca2b3e63f09d644663c15e405c8a62ee9506335d3 3b18f5200b09ccbe3087c57d30a50169fc84241a76c406e2b090cf8d214e5596 -test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getBody.ql 91688f59415c479a7e39f61eeccbac09a4fe3fcfdd94f198d7bdbef39ccc892c 760497101fd872d513641b810cae91ff9e436f3c20f4c31b72d36c2d49492ef9 -test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getCapture.ql 886ba37f06245ad27d0cdfcd40841af7e833115be60088238f3228f959f38b4a 5fa4f55ecf42b83386e7280372032c542852d24ff21633264a79a176a3409f81 -test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getGenericTypeParam.ql 7ffd1471731291cc7a4d6d2b53af68ce0376ccaf1e8e64c4e30d83f43358ed6d da8811b63c608cd7270ce047571ec9646e1483d50f51ee113acf2f3564932790 -test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getMember.ql f44e526e4a2ef4dab9e2979bbbc51ae47ad25999b83636ede9836e0f0b920ef4 0fd66c5fd368329c61b7ca4aaa36b4c71d4e71d25f517d94ffb094d2e593bcbf -test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getName.ql c7cf5b81a8db16ef44c84eb861d4a7f41ce2b9ad733f8853b66d6dc64ed315a3 8000fad2b9b56077e8a262ec2899d765026bd07836622b0cb48327e6d6e9c0a0 -test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getParam.ql ae3ba8026861c4f79e1810457331e838790cbf11537d1b1e2ba38bf3fea5a7cd 10e7c69956784f01e3455d29cd934358347afd4317cf08e12e0385559eb4fd1f -test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getSelfParam.ql d7d05f91e9ef0c083780b9215e761efc753dbef98789bd7d21c5e40fce322826 ec8e6262e15730532e12dcb6faaf24b10bc5a2c7b0e1ec97fe1d5ed047b1994d -test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl.ql 1e5dc0bedae6ad10d785c44d2137ef976ac97a59e3282ebf2cdc1bd0c7d59737 e9eb956d10fa0f6c73222100b3a4aef9560fe179506ff839612d297f390236a1 -test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getGenericTypeParam.ql c147420a91c157ee37a900dd7739bdb386fba5eeaadd84e609d2642d3fdbf2e0 cf1c981b6cb7b84944e9430cfe361905dcc396d4356d7f20a0ba993352bd5b02 -test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getInheritedType.ql 60417e02e2d2b7fceaec90910e8a2fbf2ee1b4bb68db79c8038ce5927d80a861 66176cfd7f6a2d230b8da444f3cf5ca95a8fa7ce77f9614cacb308f30cbff6ef -test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getMember.ql aa601966925c03f066624f4297b01ccc21cfeaba8e803e29c42cc9ef954258b6 4559e1d5257dcfb6cf414538f57fc015e483c06381048066c28b31324a2db09c -test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getOpaqueGenericParam.ql 2b4264a68817f53ddd73e4fd80e9f7c3a5fcfa4d0692135e2d3b10c8a8379d98 c2efac460b655e726d898b2b80cbfce24820a922e26935804ddd21ae9c474085 -test/extractor-tests/generated/decl/ParamDecl/ParamDecl.ql 44e04f4d8753f19be04200f6a6fe5f5e8ed77c1a7c4026ae0ff640878ec19650 2a4d994754aa0560d12c15ff39bbc4b7d83116e7b4a9ea46f432a6a267a661de -test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAccessor.ql a29956d6876079a4062ff48fc4475f9718cfb545cb6252cfa1423e8872666d03 a048d661ad1c23e02fb6c441d7cca78dd773432c08800e06d392469c64952163 -test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAttachedPropertyWrapperType.ql 3642cfd3ecf47a6b81a1745dc043131df349b898a937445eadfdee9f69aec3fc 97137c6673c45b0743db310b0839426eab71f5bc80ccc7bab99c304b8198159f -test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getMember.ql b811867588bd320b9dcd116451a173c40581b36ba40b1ecb2da57033967d50df 523c22740e366edb880706fd11adcb1aaaa81509090bd2d0f0265ec5d2b431c2 -test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentInitializer.ql f0ecd0352a7e34e13040f31440a6170b0661b625c65b35d13021731b6db0f441 9fc89925050c9538ba3ba0b8c45278e30dffba64b53002f675e3f7a9ef014539 -test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentPattern.ql d6cbe58a6fb294762d88cbad55e2a8a188573969c1c691e73a9d6f598001f01e ddc4c06dccebaa4e92dcf765304278ca10339070955ee6616dfec6c814074496 -test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVar.ql d8b0a5264ebfd405d7a400cb56feffe66b73cbeb8caac92d96a5ee9acfc7a59d c3fd21ee69682592135fc2c88633dba36f5a5c4b07a3ad756977afdc055b9d6b -test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVarBinding.ql 71ad0741b1db153c02506d324b4211526209884a4206a2fc12565aae9426f5f0 e90e963ba9b709743d2bc973027e7f2985f072e2f0dd2e92db9a9053e136de63 -test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVar.ql 97255410c46dcfae6b454eb71b377ae4a14b2c5ce5bd40e4ba57f351476e87ee 277094dbdde3018cc24d660e7dca9ecea732ce22d2a7c009f36644d3e9676f68 -test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVarBinding.ql 14f50b706a2dba7123888868d93fa72a4871e6e04949cc87a7df52e27b7197d1 680242c73f78a64a1687cf59b0a80f715c98b994b32ec90044bcedd2c258f786 -test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVar.ql 406436f415d5a6895be712471e7ab2d8b945539ac01b845ce191c4186e1cd275 4fdd0bc67207fd5cbe30743df46fdc61eeb5e58d877ef4aef5c7d7f0f684ef05 -test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVarBinding.ql c79a13e49d3375edac8e51b27a58318afee959a8df639f7b0d7d77de1e2d60bc 8c3b9dae1079e674854d15f4bd43f1f507b7fac6900f0831d92f2140aae268b4 -test/extractor-tests/generated/decl/PatternBindingDecl/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/PostfixOperatorDecl/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl.ql 17ac00f962db0e003c5845660b0dbad4ba59ce6e1def6384084ec937158544a5 df27465bc073fc4c031f75fa6b53263df2b902a8168f5d5c08851cc24bf0a647 -test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl_getMember.ql d670ff4ea33ea15aa5f0299fd5bb6cc637e8a16faebe19433d250627732f4903 9a2482a469797248aaeed33caa226c92c97392cad3aa9608554d8ad16cc5cb38 -test/extractor-tests/generated/decl/PrecedenceGroupDecl/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/PrefixOperatorDecl/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/ProtocolDecl/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/StructDecl/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/SubscriptDecl/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/TopLevelCodeDecl/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/decl/TypeAliasDecl/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr.ql 88d7539565c64d29ffd99e8201a0b47954d13c6ca7df6141fab6311fc37588f0 2ebaaaa97b492762273516355004a6cbc88d75250d856ed5e21660294e150ca0 -test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr_getType.ql 1caa0b9c70afc6f63fb1cb05b30499a615a997849d5128006f9c7147b7f1d4a4 64474604bf6d9028bdcbbb8dd2a607c65cb74038e2d6e88e86908f82590ba7a7 -test/extractor-tests/generated/expr/Argument/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/ArrayExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/AssignExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/AutoClosureExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/BinaryExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/BindOptionalExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/BooleanLiteralExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/CallExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/CaptureListExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/CoerceExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/ConditionalCheckedCastExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr.ql 82c89019ed578c83dfa7c7bd04e52bb795facacfc2163c4757a5f43dbc8c7e0c 21a0f3b831daf6067977e3ad150cef085a72c775182e2e280e9bca22432640a6 -test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr_getType.ql 18017c131ec3425ec850963fde2239648b0fcb54abc498017bbb36d4f6c2f9f7 248bb50866bc75dad94d15a19aa30a00231abd996e613d4ba3a7d361707f75e6 -test/extractor-tests/generated/expr/CopyExpr/CopyExpr.ql 2e80272756531b3d7c65d9efd9474927e5cea719813acb599b61526e1957b220 1982362701e058bd32d3f9dfafbee3770a5016008cc1330237eb102f8459b506 -test/extractor-tests/generated/expr/CopyExpr/CopyExpr_getType.ql 33698df9758f9399a0a7492a8432399582d2d52699572ca550c0fcdad839336e 330bd731f686d534769f7fc08d04e60dec83bced96cf39845c4374fa0629eb53 -test/extractor-tests/generated/expr/DeclRefExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/DefaultArgumentExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/DictionaryExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/DiscardAssignmentExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/DotSyntaxBaseIgnoredExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr.ql b161e81b9eee4c3ab66776542559457c02f30da68e59efb98d6388425e66d2e3 d7571dbca05dd36185c0eb2ad4ad9e821433362c10045875fb433fae5264346a -test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getArgument.ql ab0023396a31a9fad384ac6ab2819fa3b45726d651fee6ee5d84ea4fbdb55992 410afe1ae14ca17bc245c9fa88f84ba1d02e20a7803910746316ddcacc062ace -test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getType.ql ea3d25737d4c02d6ecd405d23471a587945362dee1160f6346484fffa166835d 3edcaae4cd47839dc716640ac9c098a9c65f365a69fb5442d15eb1955c06dcaa -test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr.ql 3c08d6e00606b76499ba1a04547cba9918f3be5b3baa4b3fc287bd288c467c8d 6685c8133d7c34346a85653589b3ae9cf2dbedaaff5e87f4dd9e94719a31b715 -test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getMember.ql ab1669430da9e60e3b5187bd4f45e7a9b501348cd0c66e4d8570c6facc3a82a3 a2e5e9781c9af9c52fe9d5735f146dc4a2e077096f2baee8db75f2a2f82b0037 -test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getType.ql 216b9caa3388b85959b19db012c6a7af40981ef92e4749b9cc644caee830041c 32691b624baed5c89fbef438214ecb893f9c1d1a575194133b56d79877e3feec -test/extractor-tests/generated/expr/DynamicTypeExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr.ql 9a4505f330e014769509be594299bcaa046d0a2c9a8ce4ac3a1d6d6b050af317 92c8392ded3fb26af7434b8aae34b1649b4c808acafc3adbd8ecb60ada5f6e72 -test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr_getType.ql edc2e175c971465f5667c4586bc4c77e5c245d267f80009a049b8f657238a5f4 5df26b5bdf975ba910a7c3446705c3ac82a67d05565d860fe58464ee82bafdde -test/extractor-tests/generated/expr/ExplicitClosureExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/FloatLiteralExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/ForceTryExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/ForceValueExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/ForcedCheckedCastExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr.ql f87db45ad56628ce62200e1034d1cfd2ff1c799be5a24681fe939bf80108937a e8484eaab79f3be6b53ecb258eb9a3cd8cdcba8534c0ee7d275b8b67b3d2f538 -test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr_getType.ql 7a8520abbf50642f886a3cdea37530b0577d509f31d76224467ad5d435bb0e39 a6fd63a7964cf778cc4b23ce5112138d7d5a5db96956e9514741ef9789bd1f19 -test/extractor-tests/generated/expr/IfExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr.ql 7ffb80368c4d80adccaa0267cc76b42b76304d5d485286f82e22ae51776812f3 51b38032cb3d392be56fa8bdf53379a174cf3de39d4bf6b730c611ae3ab7cec8 -test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr_getType.ql 184ff1dec5d65024c8a0c2b316706ac58c68c62c715c266211e947168750c89a 486fc8d65c0db86bdada2d540f665278caab43454a69ccc8c2e702729397fef0 -test/extractor-tests/generated/expr/InOutExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr.ql b9fa70b73983f8b2b61669fb1cd5993d81cf679e3b03085c9c291cde459f9eec 6bd70ac2b43a35d7925d9eb156b8063f7e30535eeeaa669b289c8256ef4ccf80 -test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getArgument.ql a5ce633986488b8b3aafe593f71ffffe413adb94201a2099f05806d94a5a456b 2a7e25c0141d84b364b8f17cf5d8fa19cf48b690ebbbd773c7a061ab66e16dd4 -test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getType.ql f913bc92d5b225a2da441ea7c1b8c1ffc24273c25a779dc861bf6eaf87ed00fc a36a4a963c1969f801b9bc96686aad64e303bb8ac02025249eda02a4eae84431 -test/extractor-tests/generated/expr/IntegerLiteralExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/InterpolatedStringLiteralExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/IsExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/KeyPathApplicationExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/KeyPathDotExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr.ql 3eddbfac203a76910d234572f51092b097d4cc948f42843a4532e772853451ba 1d1cf6f11c8221de9f07a789af788a473915b0e714502561f60c4b1d4e6dcd1e -test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getComponent.ql ce38c747737e13f80a212576ae943f0a770fc87a15dabcb0d730515aeb530a3f a50138c47e61e9eab4131a03e1b3e065ed0fca1452c6a3d4f8f48a6124d445be -test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getRoot.ql 61d8d0f50c62e6bdf98005609861f6f4fd16e59c439706abf03ba27f87ed3cb1 403ee884bb83b7a4207993afbda7964e676f5f64923ce11e65a0cf8bd199e01d -test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getType.ql 992497671107be454ffe1f42b513a5bca37bd31849587ad55f6bd87d8ac5d4a7 b51109f0d9e5e6238d8ab9e67f24d435a873a7884308c4f01ec4ecad51ed031d -test/extractor-tests/generated/expr/LazyInitializationExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/MagicIdentifierLiteralExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/MakeTemporarilyEscapableExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/MemberRefExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr.ql c0c60154b070a8a7ad333544a30f216adf063ae26cac466d60d46b26154eccde 360c9a3ddd9d02a82d0c9de81b8742137d76dba74942f09c9172459565cae19d -test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getMember.ql 859ce0b1f54980e6383ff87d7970eb8a7886d9e1fbe12a8a0a35d216850c6775 24faafdb4a88b0019073c06a1cda8e037154b232a364aa47ae151e95df8a868a -test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getType.ql 3e749535dbf7ae2cd671b3e35b43ca4f6a5bc68c92f89a09a0a9193cd3200b9a 176102d8d9d5a7bf14ac654d98556048996f2311be0bfe67d16229fd22362ba7 -test/extractor-tests/generated/expr/NilLiteralExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr.ql 6c6b146537773b4b4bdb0e530bd581f4d9ffee93e784a8fdfcabe35309bdd09e 47b2a275af169a031faee39e73c67a70ec47969b731f1cc80a8f76e68d934402 -test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getArgument.ql ab308c1fa027136070a6ee9ebe5149c69b34bb9ae910f201f37cecd8b6341ff8 deef69f4a1a94386a32ec964e696972a2c6a91c34d7e99c7e4a3811980f5ecc4 -test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getType.ql 07d59d9962f3705f8f32302c0d730c179ca980172dd000b724a72e768fbf39db cd146e19249590316bb83efec19dd41234723513025cf9df45313f78f2b364dd -test/extractor-tests/generated/expr/OneWayExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/OpaqueValueExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr.ql 48da42e3a2d44f4ca6b159bc8ba273352984b34fd14a3d6ca15ec9d6c38a2608 ba6a769c8c3c8cea40d64e0339515f59aded493d2c8f9c2447b10bcc43bed5f7 -test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr_getType.ql f8d4ddc40e4bef7760446bfb90f3d2b7438fd5a0a2aa092efd59493fa8a98b23 e54f77a98a38c2c68414a5e6de8de18189ce7f0e68f9c945ab387e52d7e04a12 -test/extractor-tests/generated/expr/OptionalEvaluationExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/OptionalTryExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/OtherInitializerRefExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr.ql e7629f03e4235d911a186cec0861f782d8f2f67e5662df07fe9ea0757d69fe47 2dc23a2280fc993b08770fd4212f6f279a3dbd8bb9b9a64bce1eefde48b3e7df -test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr_getType.ql cd2313750edc2f21ee5e811f4c207da538a3975d544d8ab6c8daae2684992db3 808769558d857e55d32b57253f29bdf0a98f4835eeea3b6eb0f3485c469f3891 -test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr.ql cd0a90689c84e4c0b0ed0b2175e269d9f7b3cc5ec37dc6dc8911000561b40d9d 7f505eca22c08b51af8f0b3722e4cfb5359d5b85f152845c6ee8049cbd0b8708 -test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr_getType.ql 44fd25a08560015c6657bf345d945ada3c22eb661685c48132e246302d2f7a3d 8b2ac56ea6943fa87da59ca4c3bc0ef3cbf2690c263277b3583dcf9032a1edcc -test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr.ql e6d88ab4016e070f620396d9a66b601761bf44182dc3691b8ca362475abecf2b f740b618d2daae07da25ee4c8618c0dabbf806c9c48aa71c9d342da14d98b4f9 -test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr_getType.ql 0c6d5c4faa424c1c134b191b334acf091bc3466c0d4be7c9757d0cc0212393aa a6a82c1aef73658e58bd67416cef111a8a7901c72931554fe0125bef97adb0f8 -test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr.ql 7687a79d05efbbae7ce68780cb946cb500ed79c5e03aa0f3c132d0b98b6efe80 f23082710afb2bc247acab84b669540664461f0ec04a946125f17586640dfba8 -test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getArgument.ql 3b0e6f81599e5565bb78aff753932776c933fefdc8dc49e57db9f5b4164017f6 43031a3d0baa58f69b89a8a5d69f1a40ffeeaddc8a630d241e107de63ea54532 -test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getType.ql fa909883140fe89084c289c18ebc681402c38d0f37159d01f043f62de80521fc 4cd748e201e9374e589eaa0e3cc10310a1378bba15272a327d5cf54dbd526e8f -test/extractor-tests/generated/expr/PrefixUnaryExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr.ql 9ac73f157d11e4ee1c47dceaadd2f686893da6557e4e600c62edad90db2eb92d bf353009ee1b6127350d976f2e869b615d54b998e59664bdb25ea8d6ab5b132d -test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getType.ql 0972415a8ac29f460d480990f85c3976ad947e26510da447bbf74ee61d9b3f4e 463b8ce871911b99c495ea84669b4e6f8eafc645df483f6a99413e930bc0275e -test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getWrappedValue.ql 208153f062b04bec13a860b64ea51c1d531597140d81a6d4598294dc9f8649a2 dfaea19e1075c02dfc0366fac8fd2edfae8dde06308730eb462c54be5b571129 -test/extractor-tests/generated/expr/RebindSelfInInitializerExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/RegexLiteralExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr.ql efbfaf798a86c5a7d8053a22f61249208db31edcdaf750f2671057ad2f376806 d3256d2315d5bd5420b40a4be9522752bb57897807ea3853a7a4c61e9a05e478 -test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr_getType.ql bfbeb24e57078b1bbaae331a6f3e8d13d0efbdca2228dbbca53b86d5e287efd8 864351b87f7981825e148a479e997936c653a4581e8a893eaed96ddeed891eab -test/extractor-tests/generated/expr/SingleValueStmtExpr/ThenStmt.ql 0bd26223160e846cfa64fad75672eab18b8ce27e24d802bc711f42a540d13ac7 6a5b7760c44ee34c6e33a517a52622cc70dbdee88eb20eaea787be0e1f888996 -test/extractor-tests/generated/expr/StringLiteralExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/SubscriptExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/SuperRefExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/TapExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/TryExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/TupleElementExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/TupleExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/TypeExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/expr/VarargExpansionExpr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/pattern/AnyPattern/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/pattern/BindingPattern/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/pattern/BoolPattern/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/pattern/EnumElementPattern/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/pattern/ExprPattern/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/pattern/IsPattern/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/pattern/NamedPattern/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/pattern/OptionalSomePattern/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/pattern/ParenPattern/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/pattern/TuplePattern/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/pattern/TypedPattern/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/BraceStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/BreakStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/ConditionElement/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/ContinueStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/DeferStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/DiscardStmt/DiscardStmt.ql 58aa6865388fb78d53fa67dc9c8afbe8dc20c47095c987799301a13b6c591a7a f352f731f16137b84f0617c3ebf374767ea679b4bae13e607a9354534c93aad8 -test/extractor-tests/generated/stmt/DoCatchStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/DoStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/FailStmt/FailStmt.ql 75bf8a697d3a610caf25cb0d25748f2d1620c20fdd84c278c3e2f2502bc3f418 6e2377b8d2a63deaadbf8661dc7da70e8523637020e7d5fd601ca6893f10a573 -test/extractor-tests/generated/stmt/FallthroughStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/ForEachStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/GuardStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/IfStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/PoundAssertStmt/PoundAssertStmt.ql dc72e3a7ff4c5dc39530322c343931cdfe63565eb76b29deef64bb311bfe302a 18eb3dab5ae8cfada5d42f1e70be9cb464a61ab5ce91897ce5a44a34387915e7 -test/extractor-tests/generated/stmt/RepeatWhileStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/ReturnStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/StmtCondition/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem.ql 6a95c434a2cc23714e888582db5c72b423ed4fe4f41f39e6382fa72cb54e1b25 1cdbb9652d78f2d46f9238dc47982dd3b3c2e8183f1c560686af0bdf232ff161 -test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem_getGuard.ql f561d4d0583c7c978da66a2f45a5a3cdcb6c21d431d69435bb2d223449b68e2c 3663f0cab05b5993c6e22a24756157297a3704acf68670a73547ed66f9d29a49 -test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt.ql 1660daf75c6a1a20bd2dbb334c05395b76e01ac2d21e400df62d64ae77032d04 74bbb0c7abe299484cfcc0e433f1ef09d7c608859e44f18c0bebec64761423d6 -test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getLabel.ql d1e93510f4fd55937236714c8fb374daf90b281390a8cd23807f096229e4f8c8 90070b50cf06abcd26286ef40a23e8fc2ff6b82d413fb010a5dc20eaa0a8d116 -test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getVariable.ql 3afec99b34d0c29051c0043a2a24b03e5b0edca65b3657a639d2888b518ff3e0 36a2d7a8202a595e6f8c21b70b48042fd7cc5d271139fb24dd999d7e07c61f5d -test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt.ql 6b16bc2b345520905ba1923e5a554d6599e7f16916fe4e50f128970f89d3e8df 95d60c9e914068cce977ae27048d190ad2ed68eb3c9e7357ab3dfc64a0503612 -test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getCase.ql 6958d28a8256e213108cb356af9467143f2ffcd31c45b08c177fc858194f8f3d cf9dacdcd68269d7218bc8ca9cb0ffe9c3cdcf968833393f00e65ca486a5b5b1 -test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getLabel.ql b96b047146c4f1dd09f819ca5943f13ee0dc5277398eedd89b96dcd177d8d9cf a94cf29c6b7e19dac10443fb29063b4f0ac81b8853ea7c39f3b43265d2180eab -test/extractor-tests/generated/stmt/ThrowStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/WhileStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/stmt/YieldStmt/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/ArraySliceType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/BoundGenericClassType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/BoundGenericEnumType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/BoundGenericStructType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType.ql f85efff665246a0fb345def44cb60ae2415f82c6ef82b9689a61e08e7f1754ae 4c1c50193bfad688a708b4bc0dd08979e561ff764e0786ec37fbb6a654a404d6 -test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType_getWidth.ql 61e99a3987c5a4b10d5d105184c60dacc1c08d8106cf41b81d491a7f0ac36ef2 b02395a219768e0f41cbf77e4111da3a271e777bfe448eea1ea5d6f0910ff1e8 -test/extractor-tests/generated/type/BuiltinType/BuiltinType.ql 48f3b997bdb2c37dc22fd3dc2d18bc853888503d0d8d8cb075c6cd18657553e2 278d18e1fae3d8693a4d363b67c6ff111c111464f104d72ccad37793bc425200 -test/extractor-tests/generated/type/ClassType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/DependentMemberType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/DictionaryType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/DynamicSelfType/DynamicSelfType.ql d2c942b55f3a9f5af2cde39999b736ce2d50ae4514f36cc1e3f750905b03c49b b7ccdcf083da1598eaf4b5ad22e393253b8d58577580048290651a20f6e6df2f -test/extractor-tests/generated/type/EnumType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/ExistentialMetatypeType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/ExistentialType/ExistentialType.ql f7894f01a440b5db281dfaa9c083be0898d15b67e1b0047be3f9c959b97bdeb0 725a54f6ed26d53603a3e25cbf78c90b1f16837c1c0c39b56e7d3bdd51a78265 -test/extractor-tests/generated/type/FunctionType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/GenericFunctionType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/GenericTypeParamType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/InOutType/InOutType.ql 35b7c048fbd053f6821ab1d996fabf55dada014873f25c5ed7141b59eb5e0fb6 06ca9b5be9a999cbd7e1ab2f26918a5923d7d351dd9ec74137550f1947013b7d -test/extractor-tests/generated/type/LValueType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/MetatypeType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/ModuleType/ModuleType.ql 8f798fea381d1b502f262b5ee790758b38008cadcdee848d0ddba1bd9f8ff4f9 4c3d623607be1a5f6503500f3331ee3b3e5200e9e78cca8a4ef3d24c83d0e7ba -test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType.ql e34e98f70a987fe9a5017c897a507f9de4fffff837e3e2cf6c13287bb6165381 e60a5754173210f3af543bea15eadb2a3349e2f71653249cc421b33266adf344 -test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getProtocol.ql fb9baf55660e0eedf1a387267d170ae066a8d1531156eab5447feca92f05b751 139529998fc2060a46a70cb645a9aa36240ab225bd9fbdb3decc3eaec3aa2261 -test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getSuperclass.ql 3556a07117f10a070638f3049dff85dd41c042ff3d13be275e19b995b3e7af81 5f0f6d66d9852eff45c25451dae087117077aa7b11a7908178769489f3726e11 -test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType.ql d902b873db34a3b7f0bc4da82ecf59b01d283d4ca61be3b090cb47358c8dd6c2 656a938735cfa5bf5ca65a7c0e347fca993e966d568404ac204f60de18faa03f -test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getProtocol.ql c208618d6bd7d4759581f06fad2b452077a0d865b4fb4288eff591fc7b16cd67 3bd6b8e1d1bc14bd27144a8356e07520d36ea21b6ea4adb61e84a2013e8701fc -test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getSuperclass.ql bb7fc71b2d84e8c5492bb4c61492dabbce898bfb680979aadd88c4de44ea5af7 acae343087222e8eb7e4dfa0e256097d9592a9668afcb5706bcba5548afc0770 -test/extractor-tests/generated/type/OptionalType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/PackType/ElementArchetypeType.ql 443fb5f7b0c2a44a8330b0be19fcf50ac0096e8c49958ef1d39ff10382f23b58 159a4091066152d7e004b1f83760a1ace8687c8ae4f7fd6652cc290866f4341d -test/extractor-tests/generated/type/PackType/ElementArchetypeType_getProtocol.ql 42d8b99fef2305be5ac4da035f9cf3bc97e8a1233b55a363457d2bb4be084c3f 5bfdc26bce14b93d8cd022a207c5fedf8ba88675acbb5be7d23154b7f944128f -test/extractor-tests/generated/type/PackType/ElementArchetypeType_getSuperclass.ql 1b207ac5c655099e466a5282d86d79b1189d3533430ce612b2fca490f202d7f5 289436799aae5f8fce3fbb93aa9a8a4bbf5a4b430f5f798f08e8e7e69512e942 -test/extractor-tests/generated/type/PackType/PackArchetypeType.ql 98c97dc0cde7e9ab3cb3f0527f653ef0bad8ad1f1579aa3d19a40320397e0cfe 62779a553b24839a7ad4bc128c3b8d2cc5c9ed4f2c24ad62cd681df1a587d367 -test/extractor-tests/generated/type/PackType/PackArchetypeType_getProtocol.ql 4e61f6dc6396f8477b13a4c67a795074c1d7a636765895364d771aabcdae6c04 08e0a65b94e9d95593019159d892f4685c329d22ae32de315f1fdde1075b3640 -test/extractor-tests/generated/type/PackType/PackArchetypeType_getSuperclass.ql 7521c115885b3db747a59210598d86e1ab3d40f4639fec9bd4e7345153d3f540 ba9aa0337af8962f78b320ae7dc36ddbe48dba16203093689e9e42523e0c21b1 -test/extractor-tests/generated/type/PackType/PackElementType.ql b95e486d70aa8e11f06eb60d21f7b5d95be6b323632515a98d5ac9b7df5a537d 7608c97191298077921fe73992ec96c6a6bb53d8ab19767881984aecb987f5ad -test/extractor-tests/generated/type/PackType/PackExpansionType.ql fac2913e5e10240e9f3dc964223414418b0809b2bc62a6436f6be5b0eeddcfe3 f1e8571aae588717bcfce6d6fd78bf6ccb2d5b91815fa0fbfd868fc1eff5613d -test/extractor-tests/generated/type/PackType/PackType.ql f5c2e10bcc8e5c3c9fc81d2ec777200c320ab71c3a3d4b378845cc0d3dfeef1e 308874e103bf1b01f89e5a311fa553b37e7e859312d5e6d7428e5546ad239ef6 -test/extractor-tests/generated/type/PackType/PackType_getElement.ql da17d8ddad4f584ae2fed2d284522750ebe754f957f30ef86839f47308a1af83 8be7b8de45dbfd01497fccf642ed63e53e05fb23deb22189f0c64ef5bedc570a -test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType.ql dad743465b62dca457d64ff04bde24027050edb6d80054738f59e6026fbb00d7 119d085d65930b0b286ccdb8dc3aecb7eb46133e9f4ea18a6733751713b8ae5c -test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType_getArg.ql 8d10c3c858dedba47f227ebc92745916a248cd040ad944b80bf0d7a19af229d3 a29e2e0df269034c4f1fbd8f6de6d5898e895ad8b90628d5c869a45b596b53fc -test/extractor-tests/generated/type/ParenType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType.ql 1d733e0447587d52a3b84ca19480e410c487c02541cd070ac80fcd2dbef5b57d 6ffd1e7ce8ec9b9fea0680805700262e472711b4d9a2b4336e57445e8f1a6d48 -test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getProtocol.ql 8af9b686cb9c3d988aea21cdaca42a0b625985111caa71d3eebaba4aea883e9c beecb31ab8fccb05c853926bccec33e298bed519385a25d6158646c94a019af9 -test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getSuperclass.ql 3b752a38eac8204ae6d902d03da8caeaad4072f30206420c97056e4bf3639eb4 fc5959969d5b229fa5d90dde7d997aa0d1b91bdb9d77cc6811377044eed4a6cb -test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType.ql 007c64d8ea8f69addc61e8759ce9cf2e32f5e8f73de6e35541a16ea19d4695ab 156ef6560aa5d866e6ed70237cf0335b2df0c75f87d23cc4d1024ee80fe0a543 -test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType_getMember.ql 8c1e8e5932cd775f0d0812a64954be5fd5b3eedd8a26eedb0bd6009cbc156e24 5c43ef8000bb67ed0e070bbd9d5fc167dcb7b6334ae34747d27eb8060af1a7e5 -test/extractor-tests/generated/type/ProtocolType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/StructType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/TupleType/TupleType.ql 3ef454f940299726c035f0472ae4362d4b34fbe18a9af2a7d3581b1c734fad66 b5756e68f4eef3a02e7f1d2a7e16e41dc90d53fc631e0bd0c91ad015d63b77ca -test/extractor-tests/generated/type/TupleType/TupleType_getName.ql ab5c578f6e257960aa43b84dd5d4a66e17f2312b5f9955af0953aaecbe9e093a 1ff62da991b35e946446ecee706ac0e07a80059f35654c022ffe06bf7ae32cfe -test/extractor-tests/generated/type/TupleType/TupleType_getType.ql 3f861729c996b37e170adab56200e0671415663ff319bbf87c7c46ec8532d575 96a9735d69f250f3d67716d6a1552909d2aaa9b7758275b1b9002dca19000d22 -test/extractor-tests/generated/type/TypeAliasType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/TypeRepr/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/UnboundGenericType/MISSING_SOURCE.txt 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 66846d526b0bc4328735c3c4dd9c390a9325da5b5dfd42ec07622f9c7108a7d7 -test/extractor-tests/generated/type/UnmanagedStorageType/UnmanagedStorageType.ql 3047ed64cbdb03d719d096fd3b2c4c54c92a2b65e46943424e84eeca705ab2d3 a8ee8ca4bf257c7472fa8cd7e661d352e8856b9e5855ebb3681f4d313209141c -test/extractor-tests/generated/type/UnownedStorageType/UnownedStorageType.ql 11e205283b368b9c9dbc79636c6007df501c952e6f715a9f07e65ec452192b38 ceb1e9c1279df07c77f9b23356b71c3e7672ec4cd5253898e09b27b2b24e4b00 -test/extractor-tests/generated/type/VariadicSequenceType/VariadicSequenceType.ql 8c44ebc1fd1fa0b5caad5eb5b280f227f002dcfaddba45131b2959dad0b458f6 5f497990e2bd57a3ea8e2eb7da598af0c4ba7c7b4cc89b549e45de0ae3712e60 -test/extractor-tests/generated/type/WeakStorageType/WeakStorageType.ql 39f1d90f8884d98235618a0bb955840daa0b1626b5f100a8f8d3b507b3b4fb84 2bd89193e20cc756a774bee940733a0b1c09f103d106d08433274eaed318a256 +lib/codeql/swift/generated/SynthConstructors.qll 696ebbc1d85c99212a6317e802651d778ed75cdd0b915185d62bd48ff1413ef7 696ebbc1d85c99212a6317e802651d778ed75cdd0b915185d62bd48ff1413ef7 +lib/codeql/swift/generated/UnknownFile.qll 1ed0e691d1b26b38b695f954cf08af3323adf175893b33fe5333582867daedb3 d9bfeb0146b1cc7f0feebeefce79ee000a9e5fa2b568755295f5fc957295915d +lib/codeql/swift/generated/UnknownLocation.qll e6491785a75e91cca0a3944626383bef484f24f047436286e1ee05f8d7469a57 046b2909d33bafe4af7a6c0db75a1d0d802168c0f48f2408bd3cf39b906766a5 +lib/codeql/swift/generated/UnspecifiedElement.qll 5a6c7d8c88a56d96c23596f887de1b0142224dcd7fd0c7c9feb3aeef17dc1b62 cfe0ad1d91f01294f935c6c22a452d8f0fb3271b1033e0c05c2db1fbf5a7b0bb +lib/codeql/swift/generated/decl/AbstractStorageDecl.qll 3ee50ff9138e3afc6a128ce7e39568d4571b3eabc9a62effac0a6950bd8c2dcd 4493b799742ffbb82c2bb6640c5675ae8548df2f1e2106570c73fb89400c21a4 +lib/codeql/swift/generated/decl/AbstractTypeParamDecl.qll 9fcabafbc411c74be8c62ee48c91d7be573d40ec761bcce978d0b19d075fbb12 eb06f52e1e2739b09a683489e3d5715f6270e43472aee594bf050866f338b59c +lib/codeql/swift/generated/decl/Accessor.qll dd4c83ae6922db3b4d3c243c35fd8ba10763b2118af8c2dfd9a64d7cd7bc4c23 1a5d3cfc433c5640f2cf5a10c9c4751c50d3e8d56c6d489bd997c2de9dc81422 +lib/codeql/swift/generated/decl/AccessorOrNamedFunction.qll 997f823dff624f7558a24b1b47aa38c6e2e0c3183f650da8218df709074d9df5 1bfca398bd542daa06a10a4df8377683a8708b319176bfe89ad81c3c7f582bb7 +lib/codeql/swift/generated/decl/AssociatedTypeDecl.qll beccc85c00972072c38698fae7dc712e9cd1ce9039bf53e0c5696b228e6b35e8 a34f472f294315156878089a22da545c22ebb518be9177e31c9d077295ea0c2c +lib/codeql/swift/generated/decl/CapturedDecl.qll c71af5dc31e0ae8f6619151b8db7aa8575f44b8b258ef04ebabaf4928d25197e c3274a67c1c53ecf7a4428c2761eb94d2f5b48783ed09e53c3404622ea0360e5 +lib/codeql/swift/generated/decl/ClassDecl.qll 622a4d4e521de5b796acabf5bb862d9d2e0775049753731360293a9978e5ed42 13539d78ec2f4d6df6de4349dddf2a8e46099b3191a97033950ef2ce40193d34 +lib/codeql/swift/generated/decl/ConcreteVarDecl.qll 255fa1928482beece6c770a1c70dc1e5fac45b49d09ba66209d9ba2b515c9e1d 59ef9d04927aed98a008ff5472b70ac483f0bd563bb229269fcbad036279aef1 +lib/codeql/swift/generated/decl/Decl.qll 37829c9ab25deaf4a8d9820b8fe1fff572068b0bb5eecabb35f21d13272cdd6d b215728a02f58f05aa8ee3a57242f7451953fdad519a256bb474db152c904ba6 +lib/codeql/swift/generated/decl/Deinitializer.qll 9ace290e70719e047056710f8853028ce229be5e8c0074be4ce52373fe9e962e 08104e54e650e5fda1108f899d823de362f3d36b147e954a3eb463649d71c253 +lib/codeql/swift/generated/decl/EnumCaseDecl.qll bd3ecc5d8f013240eb9abd7ec3b73573a82cf40ffccf276158005289e4c64dec 1d5e905c478ddcb29754e09700a704d1f980fde51a102e1137cb9f669e118e0b +lib/codeql/swift/generated/decl/EnumDecl.qll 7c6f1662b0543065c2b5a0ed78c42daee01f1ae851ec5d17cc102948c2763d57 7a3eaee7173cad284101db43ac3b8a4ccbdae824d638bbd2b40e5712201382a5 +lib/codeql/swift/generated/decl/EnumElementDecl.qll 8bae61338d25be6ef4725c41e23d50f6a7a107d65f48e3fa379c46ac32633fb4 f514960cc519ecddc766067e0e9cd06b4a0f2f49d02ed97a0c9f184684591a97 +lib/codeql/swift/generated/decl/ExtensionDecl.qll b7721fb5f62aae09c0a7a7de628b64c8d595756bade5aec5111d5d4c0e214113 ddd0e0714e2961832faadcc000649feddf27f4c60eafbc64bedd592f2078bf0d +lib/codeql/swift/generated/decl/Function.qll df674905803f50f300330c1b1e39328ce044412948eb27c863c22801caad3f32 adfd29cb1ed6a463b0130ad1dbac2585a0d16e1dd69b0d6c8fd9eff422ab3e34 +lib/codeql/swift/generated/decl/GenericContext.qll 865b3f6c7b5df07ec8c3f4a1243cc656afa93cbde61d8b2b1f53693274d1dd1c dc554e9982dd9f8bf496419836fffaeadecb46fe380e42a2a09345157f6f956b +lib/codeql/swift/generated/decl/GenericTypeDecl.qll e02c353e404334fb99e54cbe75d98260612b2c1710541b81c2de77de4e72f194 00329c568769e8f6a755c2a0c18bc006f39fa52510a7b78edbbe71e7d8390a57 +lib/codeql/swift/generated/decl/GenericTypeParamDecl.qll 1d1fcfec5cc97d84054b56ef8482a9f68004082384607ac1b4270096ae09053b 675b2cb340168d0c6ff42798e93a883b286a33728831953a03a11301472de3e3 +lib/codeql/swift/generated/decl/IfConfigDecl.qll c2b1dffef5c9eace22cf8bd4006e2314cde9672109cf0e45d8dc8a79e4c12f32 4efcc211ad912d3ed622612c68e8f6e2002e19525cea36b4f3556976be59bda4 +lib/codeql/swift/generated/decl/ImportDecl.qll afee00fa5c76ac854321b5837a3553d0dd58ea2a4a8b4909491df199ec838492 d7eb5dc2b9493e2a81606d16fa42a0f82c33588fa40b6fd19655104eb0541b4f +lib/codeql/swift/generated/decl/InfixOperatorDecl.qll 56134f32bd248b591ff9aeee678a948f31afc67e33469797dfc8c2637419364b ac3a11b653d37b577053dc03c0c3a6785440a963f64a0b29c83beca24fc76d25 +lib/codeql/swift/generated/decl/Initializer.qll df4a811d756eb7b715da3c0dafdc86d2d33e93c8e7cb06aecd31b99d7d60817e 8c0e9d7a9cc28015646aa2abfded482ede74c307930bc26b1d475a2c3a0e5733 +lib/codeql/swift/generated/decl/MacroDecl.qll b6bcb10dc6b49c9e94809d1387beb41e1c4da62ee5d853681709a4c66b642651 16c57aed98b311cfb78a2cb4a46610b6d328c401e36c1c89f38ddfc77b6eaf07 +lib/codeql/swift/generated/decl/MissingMemberDecl.qll 49650899520201ec022ddbf193efb32d05d3e0316cf4cc855a5982f9ff4f9312 f554d8ab38bed1a595e3d76ec4950cdf3016778511a53e80fb3133f6e9454b3f +lib/codeql/swift/generated/decl/ModuleDecl.qll 2d5ccb0ca29e1daf303e952d98e9639bff6e2285ab543919d16d66a192b6f34d 19c4ab14a4034e7ea2842c1192d6aa8043f07bd324b08aa2cca9152abc2443ff +lib/codeql/swift/generated/decl/NamedFunction.qll 33cc2fd02f795c6db8899c26d9036043b519967a01a3499156bd314350fff272 822e720fd65a4bd3c281b4059b0afb1e0e8a9f8eea6b14613b4f7b64a96c725d +lib/codeql/swift/generated/decl/NominalTypeDecl.qll 516b80eff3a702fce6f2ef93d848a8c19e77e4c2afc356491df920d1284e3eab 46ed38d6e51191d83da50d8274057aa216f81f123a0b867a315c97018959cd9f +lib/codeql/swift/generated/decl/OpaqueTypeDecl.qll 74205b1a660a0c661e4ce9b4b5f3a80b4ec880baecab5821e118dfb6e69e45c8 ecde375c34c082d0f15ac11f9cac0099ca0ad5ef38ec80721248fe0d764fb4a2 +lib/codeql/swift/generated/decl/OperatorDecl.qll 354011ea53eed6fd89aeb465c130d0c77aa2bfe47be23996579ef5f43988f581 91e8aedafdb11ed4d0575377acc2cd8bc33476196acfb4098124cc4ae6556d41 +lib/codeql/swift/generated/decl/ParamDecl.qll b0a53934662adca2838c19983aff0ab775756087b0eabdc6b800a17f7b52704a 132c5920ad320c748224b1b4495810deed9753cdbcdca46824f53eed0f1abc16 +lib/codeql/swift/generated/decl/PatternBindingDecl.qll 3ad0db0fc56b8bc53f9e7b30417ef77be7c815f10224bd061729998dc7091ccc 4fa2dcc375dcc35c318e95f70aea666a1517afce3a70423cb9a5122fbdceca6a +lib/codeql/swift/generated/decl/PostfixOperatorDecl.qll 444fd476e9d4e78261a5937762ef7c6a1d4fc1ea0c5ce80c43f96dad12125d71 9b58b883ad4a06f3db4544dc274cfe5debe423b02b66d74d3ed595eb78e7d1da +lib/codeql/swift/generated/decl/PoundDiagnosticDecl.qll 140bf2b75526d80e854cbcb2ae68760a2a237ef53d0edc15c341ce5def8f0e88 477f17c4c79d81fa7e7c23d66a5ff4016341137484934ba3bf474fbbcee8e6a7 +lib/codeql/swift/generated/decl/PrecedenceGroupDecl.qll ee005fee4e946dc36441482e1f53e47305de28f3ba4baeb884d4b7c5afc1d6ff 36f505fc3b3db4732fe4a51b00562b6b18aa93cc8c2d31d6e881a048b40dc9e2 +lib/codeql/swift/generated/decl/PrefixOperatorDecl.qll 53df924028d8e2e0103b427e5eb697c249f969ea02734f75ed49e1bb8b1a3127 fbce8c6fd960d52440ae29655fd08dc915c7b83a93eb26f221f77ad02303f4d7 +lib/codeql/swift/generated/decl/ProtocolDecl.qll baeca12dd020459e913a10bdf29187e9a9298150020c65ae9156ed206b0e1d29 3a93691eadc34ef9526903c4055bd1ae0d9ec3e2a2ff7520f3649603a048dea5 +lib/codeql/swift/generated/decl/StructDecl.qll f3fe92df751b00d6c33abf51a7bc92d9cd6acf9699fdd62c5d5dea0ba68784a1 aee195451c22bcb4c57be11ecf98d790c9c6c514160e5027c16f3de69ce24cde +lib/codeql/swift/generated/decl/SubscriptDecl.qll 5b0b0b7d4d2e11212cfa7b00ae95eb2c0d4785ea7f7c5b05e9edd47fe131695e 75f0ec768aeb4460306757ea980420301e11fc59901c5e01a92a0f7f8ec08387 +lib/codeql/swift/generated/decl/TopLevelCodeDecl.qll 698b5e5bb5370ad9d79b063a8a212b9a38ab33e3dc0c043ce0e8417f754daec1 2d3c3840beeeff0ebfd4fed25fa5717352c35c24bd58a91b8bf518be4e933cf2 +lib/codeql/swift/generated/decl/TypeAliasDecl.qll c98219b3b92d738ddea66fc418462d9e13c422c6eb5414fe694bc1c0086ecba5 6d54418355f88fcceaa47f819c48e55016d629c57b38ee268d1d2acdf8951f33 +lib/codeql/swift/generated/decl/TypeDecl.qll 31765f9d88c0fd7e5c82aca5b12bf4543b75794cc310d03c7d052a307502f957 81d0600ac5b9cb1832de9fc2132e3a9247c3abc7d2e4390d9cb48d7bb37f221a +lib/codeql/swift/generated/decl/ValueDecl.qll 3b1b45d3b41f29208f991d0bb9c886d5e88bda1eaff06fb068ea8ac4b166a17a 02d5fb66526b2b4de0fddd531dac9a35cb3298f7108c4824de424df3315f0f67 +lib/codeql/swift/generated/decl/VarDecl.qll d5db31c45c4d7cb3a91ecdebc00b196a1f4bf34ea5aa3291c2f66120974efb26 850e24e2c92ed032b4ebf201b6d2d14ce860a4be64a43bd3fb51947023d3fc7f +lib/codeql/swift/generated/expr/AbiSafeConversionExpr.qll f3d474981054d30d92e13ca25d46802297d38ce716dd61e401e817d4004fd046 a54a4422c04003dab61bbe78feb2fe4a967da9eae69608e53f85a9261a1920a3 +lib/codeql/swift/generated/expr/AnyHashableErasureExpr.qll 50ec05adf1327b77d80e44a0c89ca9c76728db19ad238d1de571ccfea88de3b6 9823622a22faf4771f6e795b3f0eb2766efc355d775bdb1e8c339c995b4405ec +lib/codeql/swift/generated/expr/AnyTryExpr.qll b2b2655f6a105a3dde4f6d7c20d56aae27a2f8ed113305035015feb0132b348e 1f44e11c476510bc2cc1d65c54cfa086b9f66dca5fd85cd88b6b0e8ff906ead4 +lib/codeql/swift/generated/expr/AppliedPropertyWrapperExpr.qll 877a0bf7b742b7ee60fc896e2285a61e905a7db89bfc6c8cec4e1154ee80f445 0a6d7c01ba54ff20c12164e07dce6f2d439ab65347a83a0df51434b138f85fdb +lib/codeql/swift/generated/expr/ApplyExpr.qll 1a3f8dc2a91221787922dd9d8f5d7c9213d092937b960ebff01ab9008a20b341 45e859e1c25d4b4e4c3198142b7af48655a5ec79640c0fc84198e94f9cf0073d +lib/codeql/swift/generated/expr/ArchetypeToSuperExpr.qll 22d55c2e4197c26101a58fbdf00a065607262c0182519454e7f8f22c2c66bc6a 0ad5874118d425bd6205f37c5e7a1a1c79a808d6b2e3c09651b41b8978389e32 +lib/codeql/swift/generated/expr/Argument.qll eef89f5e66e3b30683e986b9fdbd9667548f9bbe8d8d71ecffd37ce0993fc3a2 666cd847554236310abbb1db8e9f13ff9713f2fcec0cf467b845327635b3fd3f +lib/codeql/swift/generated/expr/ArrayExpr.qll 02ebf3043ed7eb19f284ea8fa85b9bead232c7ed0e56d881e9d2d6b6575ebd85 ea48387983208152520af797f0479e646c0a790792164bc1fd4312f8aed05f03 +lib/codeql/swift/generated/expr/ArrayToPointerExpr.qll a739fb91096765f19e4a3f5a99e89ac1935f55f2f1ee43fb724e6c9efdd4d0f0 219817674de1fd2c7e38864cc330c19efc2056272d7400b7736047a3c70603b0 +lib/codeql/swift/generated/expr/AssignExpr.qll 90e8e166916f5b96f4691a9801bb3230eaebf91b4f3bba327c26244fcb01e1e6 322f3b774c4c4aceceae1f9faa3f1e66db172265ba34f5c17fc80c2bf110127a +lib/codeql/swift/generated/expr/AutoClosureExpr.qll f893288785bcc10557d4d1c632d32dede20fc083af4699a809dd607b6fd974ab 2bc3268dd81cbfe4eb38d2d183d1ac092428ab97f624b453487446715bef10e7 +lib/codeql/swift/generated/expr/AwaitExpr.qll 189b83af77fe80b3bd7028e7e84b3bd4ff969c414d3acde8ddb74cbc8d9d314b 5ef9e1ffb4e1a34fa8687bacfac19627d277bebf2d7699d26dafd4258afcd4e1 +lib/codeql/swift/generated/expr/BinaryExpr.qll bd20c7c345ec4f6a9695d85a7126cff4cfc524a89beb8f0da9523d6243d44154 94b372875e31e6d6b8193e1223d0bd99354bd19f1111856ea4c9c627e0de8bce +lib/codeql/swift/generated/expr/BindOptionalExpr.qll 8e3ed580c8712a28689601110611bfa33b9a08b463262e44645370fc4a842af5 ee2952d2310aa0a8a59e4ebf803cb0f525b72b16cc348e48ae1df3974da0ffe3 +lib/codeql/swift/generated/expr/BooleanLiteralExpr.qll 30ccfa31916d78b5e50ed66094f7035709618e3d356827da2fff30d3da7d583f d116bb18ce4cc714ea0fcf745411ccc867c44501b7610f784290a7ded692e939 +lib/codeql/swift/generated/expr/BorrowExpr.qll a040e195b2da6ca9f8ead35f8dfe67776fc369b376e3b77048b16787f271f9d4 69fe04d7e96c7723bfdf8450ead5aba339026fdf6cf3ba8f896d33cd3f1814a9 +lib/codeql/swift/generated/expr/BridgeFromObjCExpr.qll 14b7a3e06f371b55e6aa5fae366ef5fe2b6e2f77299f236dd37d0a4fd0f95636 7eb36c264ea7b8d6118c6235c9758fede61a9f4584f30fdf4e9b08f69c212179 +lib/codeql/swift/generated/expr/BridgeToObjCExpr.qll 3611941f21362fabd6582e38e9341363ce36e0533f3a113b76e8944bdd77742f df3fc868ab0982fd54ec8afd5fb5c7d1e68de67079d9c5a0b2adf7617879496b +lib/codeql/swift/generated/expr/BuiltinLiteralExpr.qll 2eb007b692f377493970b92a198af60fbd5827ce789abfb275195283609c1e65 5ebca0eeca83de2a1edeba630c850c15e1a3d52bfda3ee6f4259ab0be2909f3e +lib/codeql/swift/generated/expr/CallExpr.qll eeedce5ab3a958b88a6858d8fed53b63c42332418bd3f7537ad8b32d0b969bee 64b2982bfe4db66cfe583a46b5abac43942cd319181589782ac15cff2c6c7a19 +lib/codeql/swift/generated/expr/CaptureListExpr.qll 6167948191b2ce184e409bfde103f8bae257446a0707d9d41749728094b2b58a b00ab1e8da7261a914c95e5f25720b49e675f0b3f593b3bfdcec590d39d59266 +lib/codeql/swift/generated/expr/CheckedCastExpr.qll 471a762e078772e44f1ece452078772edad1194d74925797278e405ae73893b7 4f8f1305072fbd933a9b96f0bee6fdedfd424e2b94e39c5175e4144d8af6a072 +lib/codeql/swift/generated/expr/ClassMetatypeToObjectExpr.qll 3680456e0ab9c8b633e006e801e0d3895f8b0ae468f0ea44307d9593801e0144 d6c3740cdc5678f88e40bf2109590206d385c82139b20e95d7dd292f0150bdc5 +lib/codeql/swift/generated/expr/ClosureExpr.qll 576a57f2f4c7acfeacbbe4b182e1b30f20ef5028a8f5c1ca87a45ebc70c0a495 8727dd7c73694bc68c5f3a67622a706066f72e4bddd56158e12b58bd68cddcd3 +lib/codeql/swift/generated/expr/CoerceExpr.qll 299e5c781236541176e5a6b1aba337e83877efa24b37d670c5ab48c5e5e6fab2 5505a2027f2a1d852100cdbf4c04722590f884211da7dd4b916850f1eca417f9 +lib/codeql/swift/generated/expr/CollectionExpr.qll be8404ddb24348ebbbfa3e0af0ad35a8909d5a4e628ab117a1ff0ea6577cd32d 105c695d8c5f6d21e4a3a29c51b2aa54dbcaf0718019661ce762a62329427bd1 +lib/codeql/swift/generated/expr/CollectionUpcastConversionExpr.qll c9837a343d37fc999ff5d279825be77f17dd581c8721fba731ad64c133d6fa06 b30f6263a2a61d95efbe747894524ec6ab7ed2e4bad57354e56718c042588e66 +lib/codeql/swift/generated/expr/ConditionalBridgeFromObjCExpr.qll 2fbfcbee07100d4aeaef0d5189ef612408f25a25d29bad5ace4b951750ffacb9 f19afb14a20f1923456a0885d3511865c169e4f5e60f87be8c0e402efdcde16d +lib/codeql/swift/generated/expr/ConditionalCheckedCastExpr.qll a67e3c2a49faee8da5822ef44d07c25970bb6389e607c24883eb0ca6d2975fcd a743a9e9035b4f2431b9311480d5db1efe3c6d29c39df3ed46f70518d3f8b101 +lib/codeql/swift/generated/expr/ConsumeExpr.qll a817ab1dc49d5e57c132cc69d94a0a6cff08fe773b707d3c99e11c6aa0ea3b29 1d0f801bfb598f2583a008acbbf3f625e6cfab712e5c60a5efb823f114d56d50 +lib/codeql/swift/generated/expr/CopyExpr.qll 6ee59653e6161809e38f6a9eb01fdc8e48961f8ffb728dda4f5919c4350b2a6b d9ad59322260ec3afd52936d710bbcf350a03e696fb6c57b7e9554cd38f388ab +lib/codeql/swift/generated/expr/CovariantFunctionConversionExpr.qll 2d80be3034ad3e61ab814818eaa427a0ff5090626494df9824489b24a39e9db9 0705d0b77605362801c6a1865096a1992382adfef383ad05474dad20dae948fd +lib/codeql/swift/generated/expr/CovariantReturnConversionExpr.qll 840973d5cf808b7f4bb63b622d6f8e7bfeef4bbf7d9bcd6dfa43406076561d43 46c51b4a0b4df09fe49fda72e48f7579b448035b379117a4c31974feed6f5533 +lib/codeql/swift/generated/expr/DeclRefExpr.qll a704932e594c88928eb9965c2e13d8c36c08ac9c9da29ab939700b7fbf9269fa 048305b4b192487198ae3633b2a3a695c4400caea9ab0c9f1d9c3dcc4eec41aa +lib/codeql/swift/generated/expr/DefaultArgumentExpr.qll c0e7dfe1d27823a36f1bc3125c7b4263c4026b9b8b0bdaa09bc4e75d312a5902 8ec77c16f2b036551fe3f7944557bd5223a530aab13e8a9d1bdbc52840d0c08f +lib/codeql/swift/generated/expr/DerivedToBaseExpr.qll cf1f1ca60c5983eef822d65c7731a9427268662e89ade27d9453855a9daaa930 76157728762b7a6bfee1c4c718f7a853d4523a162a1cde628f49fabdbb18120e +lib/codeql/swift/generated/expr/DestructureTupleExpr.qll 3d8ca040555eef8d02dca0838d0946e54302dc831c0c6b266fc4ed4f4491c9d6 bdb6779a67138f2873cdd0c0ac0ed5e747a9c67dcf396b8b81df89c543a143c9 +lib/codeql/swift/generated/expr/DictionaryExpr.qll 850e7bb6cfe473663158d412c9a5aa0463be278e4a1751b9055ba4443e55efe9 f3b566e8afc938b7cd36da535f5726ebbe81771d985287cbe948c4b71edc772a +lib/codeql/swift/generated/expr/DifferentiableFunctionExpr.qll 151bd967ca54ddcf1dbaf6f5e77e1fe36a34f14ee68895373e027a710a2f93ea 7871245da0d52ecf1c3702b170d4ebd51edbcfa6b7576e9ecfe913ce8196fc29 +lib/codeql/swift/generated/expr/DifferentiableFunctionExtractOriginalExpr.qll 8e473a0112baf40b7876aef8d1a435c68562b9908ae02aecdca8264ad8037241 c4d758c82562d71393798684c5845f0d577e8ebf9b27903e7d2bb81fcbf35f38 +lib/codeql/swift/generated/expr/DiscardAssignmentExpr.qll 3df7fca82618f0c844ec516110522be24914f0b56671b92d5daa518204f9dd1d 36280c6f73b2e729c8ca6e02f2ac0477411b001d092e304ad859be92fe4f00ce +lib/codeql/swift/generated/expr/DotSelfExpr.qll f0d036b2c97872b9998204b5b540e0dc143dcc46bfb7cb8a86d90df5a632af16 890683b728f4720ec1f4afbf4881f4022057617317b35a64c675aa7695f41ec4 +lib/codeql/swift/generated/expr/DotSyntaxBaseIgnoredExpr.qll d5fdeb7ac2e00ebd049561769cad80881db00a7bfd09ea2f1b09888127fcbc6e 81f6a88dd4b8df5dd2decfa5e551d2096b9b32263d309a0f93fe5a95af68623c +lib/codeql/swift/generated/expr/DotSyntaxCallExpr.qll 1352cc068bbe1e77e95cffb90ff95178dbbbb435b17b12b8c5ccd78c1c4cfcfa f064ceb84908812146d49a291d859f61b051f5f2f546e27bb1cb602eee92ddae +lib/codeql/swift/generated/expr/DynamicLookupExpr.qll dffff03303e62d68e8a93ee8488c060be00117f477053f23aba4f287060629a7 cacdfe23fef6d6854687545a98f8434b1f2a159562c8ffc358d65589f7b571bb +lib/codeql/swift/generated/expr/DynamicMemberRefExpr.qll 6543ca6ed2ea366d1aff707c53bf3a22a277a308f38df6f566f6e674c478eddd ce5c25e55b73ca381605cde214c435ae8cf249a9f2bd20d1e4397197a6e651ff +lib/codeql/swift/generated/expr/DynamicSubscriptExpr.qll 50e3428570dce52d61796c0ae6861b453ff3e6aa31c7383cf2ec5f0ea98c449e c104d24dff05d9054cb44b188a194f7c350bb2435b3652cba25f96f8118d27f1 +lib/codeql/swift/generated/expr/DynamicTypeExpr.qll 7ce0ed2af57dd8f7a77e9521663357f2d195d9450d475036f407530d4e83eb5e b24c0d4066cc577d13693eedfa37789028d25cd470a5cd9717476223d28441e5 +lib/codeql/swift/generated/expr/EnumIsCaseExpr.qll ea6ddabe52f022e48d7be661eb734981b6e889f47432ca31ba5d38d6d96d737b f1a51f1ca8ca183a58ca444c523747d6e068ae7917c3004b9120d4645d1f53aa +lib/codeql/swift/generated/expr/ErasureExpr.qll ec8c244fa62117b2df4608b1823a42e3b67e59d9ffd0ac62400e9a31d2a867df 33176f4cab8bf73c36ec2e29aa86703442e8cdb2ebea5598b5ed7538cf681d39 +lib/codeql/swift/generated/expr/ErrorExpr.qll 57f62026240382d2a0b96159f9daba63298c0a5a259358c0d1a3051a14010c24 89ceda38f450dd93981e2fe7bbf756da7b2ff20e2fa66d61dae71c0c6fe5dc07 +lib/codeql/swift/generated/expr/ExistentialMetatypeToObjectExpr.qll 916fc44cf7d4f4bc25bec0d55f0441c065b46dc6967a50228e64ed91f57ad5de 821eb2e1d2e4fc9453882ea16ef56044d0b6b211f8ebca9124ed9a6dd130d3c3 +lib/codeql/swift/generated/expr/ExplicitCastExpr.qll dbd62055c6c8dc8b1c140ff1552323a0950b21159629746863cf0bf44b627761 5500628d895fb2afbd14cc3a05118966664b424d94e5569887accf0d5d2e0e13 +lib/codeql/swift/generated/expr/ExplicitClosureExpr.qll 23af2b7f3b60feb4fd5b99c9608c31c0ad520bcdf270cc055ca3700465b082dd 6f8996f3757f886c656bdd5ad85ae7c727b2928411e7177e4a9cda1ff731f863 +lib/codeql/swift/generated/expr/Expr.qll 6f2c83bb92bc714f810d9d3ff059cb42180efb8c51bae6434f9d4cc15f2b0c8a ca4119225db7ad2672215e42400c793d7d9528ca6408ae9b89f327a99bdff532 +lib/codeql/swift/generated/expr/FloatLiteralExpr.qll e679aac221061a6de51697ce867ee5f6274f49ee047acf7717deecead95c3387 977ee29f90046f8560152b026ab7c202075d993699c6dea47284d82f6cc5fb8c +lib/codeql/swift/generated/expr/ForceTryExpr.qll bd735960909bc984a24fd4b5fdeb8c0f56543a88a9496f6132db806874d65d39 22f0b33c17a287b1b7215f3397fe6ecd0c2b11ed3a404befc95e0a954a4fed5b +lib/codeql/swift/generated/expr/ForceValueExpr.qll c8e16ae80508a39e79a944a294e17ce3ab6f27c82f715f22265c345391773c65 2e97dbd68ef5f776a2300e37ccb1c9033f729a6fe573b3acb266540590ff54d2 +lib/codeql/swift/generated/expr/ForcedCheckedCastExpr.qll b754a91a68760d6d7c4dc7595f36e9f1fee9d14e3ca899f04ba875b54735a6f9 2dedce6c4cc9755535211e0471fe98a3722c2118ac6cfe1f5cefe9f2c17c8fbf +lib/codeql/swift/generated/expr/ForeignObjectConversionExpr.qll 8b07872bde5589265f6f783c41608b1f11b2b266dc4ff2669ac77d6bbdd7960b 2a87b540178e7de866833438b3dc07c22cc33165aea2b2475380d0592c46095e +lib/codeql/swift/generated/expr/FunctionConversionExpr.qll e01abd1c57cd4df4f9ecb7632c71d442548821b4e9de032f9ea8a505732d4859 c64933039a83100e1517393c0ea856cf12a6cb4149e202f5ae68ecad98c0fda2 +lib/codeql/swift/generated/expr/IdentityExpr.qll 0c420c2834d72b0f324200545efdce0beed8cfb0b8961af28a76b2c12c63e400 788d7d02ccff3ddb7d259b753a04a39a0425ade766bed38cb71f8713acf5543c +lib/codeql/swift/generated/expr/IfExpr.qll df80d7f159efcacaae938a07de4e8f43e4835c745245ff7f1428ebd0d9efcd0c 70ea75af2902da8f8225b8930bd372c06192501d8c66700fc939d36a48adfa66 +lib/codeql/swift/generated/expr/ImplicitConversionExpr.qll ff0a21322da7c8a617fad9570bb6cf944b181b183434c54353e247396f2d7c6e 28a29858ab50c7c6b6e5092450ddadd9e80e24bd859ed38f5831e4c9b4c02341 +lib/codeql/swift/generated/expr/InOutExpr.qll 43492e3d63912d614bd4e58e786d577b686bba84d66a6012168fd6e163e0853c c0cc9093e4c9c505bd79a7921f72ae2043a5b06b0e70ee717305d3ceea7619e2 +lib/codeql/swift/generated/expr/InOutToPointerExpr.qll 1bf48dab6e691bfe2fb4a61b83288a087591df608e7636c7da8037a1b7b1ff67 d5e7a92138be7841ad472e2300bb2f3703cc98599db69fcfbb69ff377921eb8f +lib/codeql/swift/generated/expr/InitializerRefCallExpr.qll 2163621807fed4314a4dd0975cd961168662415e146a102e1cc1c053b15b5363 5f1e9c1e658d67fba8457b750660a12b006d8888cdf112fae9296fbccda35a15 +lib/codeql/swift/generated/expr/InjectIntoOptionalExpr.qll c3a59e323fe3ff25a33df7c9dceda7bf1d0622434e69945ba00f89a8b4b20ea4 1fef027484a29d9523787ba7f4e0d3ed3ae8ea11437b02fb756668c4c9e4bdd0 +lib/codeql/swift/generated/expr/IntegerLiteralExpr.qll 51f3c0a5a0ea57a7499af6cc2ad0d8c24fe7d8dfe818042c8696049df53e6329 49e978564ce424afef5a4c08fe70f7e65335f0bbbe52e99668b7e27195d081c4 +lib/codeql/swift/generated/expr/InterpolatedStringLiteralExpr.qll 31fbeeba45e48e44d11483d8aea14b5105d99ce482a7567d15122fc77af8c590 866cadc97a26781f2673ab926d211137642bf0fd542bfdc4f8287a22dbc1a6d0 +lib/codeql/swift/generated/expr/IsExpr.qll 2f3f49db6fe41f8e8b31ef8b84f205c0bb52fe3f2efd5f3488ce3df9261bff5d 63fa24f8946d6ec0997459e4d11dabbb4f1d82efdbb4829580a18dcf5dd3d1d8 +lib/codeql/swift/generated/expr/KeyPathApplicationExpr.qll 1332bf026545316768c0ff0496395b5dcee0274ad22ce247b6fcb93f7dc2f026 b4195c38be23fc656814b00f598a99191851a67357deecbf8e81a7329e16d1ea +lib/codeql/swift/generated/expr/KeyPathDotExpr.qll 37c3d13df7f6a63927db0298257fe3009a7e540e427a403760034778aab9924e 8689ffcfb640592acfc4fbd1e419bb8e306ac776af361f997ba7fdd9e53e17be +lib/codeql/swift/generated/expr/KeyPathExpr.qll 79eb7d0c6197a7db00b6ed88d5d56f5e7582a7f88d111cab1839b90682cf95c5 04a5e89eb78d51d2de368d93dab5ac167e60bb7809eb1640076e183e18d37e14 +lib/codeql/swift/generated/expr/LazyInitializationExpr.qll 0840c9df096c914073540097c63daa730f02cc97ed4fa358f5c6d428388a1968 c6fdcb1804a5e0b392e591c7639642aa5dd875700aa24e5296fa9672f58f3a81 +lib/codeql/swift/generated/expr/LinearFunctionExpr.qll ce0501da784df108177aa671505ca8a785ab974c7d0dffca0711d3aab4eaf134 1f79e3ef195d947bfe4069c517885106a42efc4a9fbebb753c998c696b69f9f9 +lib/codeql/swift/generated/expr/LinearFunctionExtractOriginalExpr.qll 3fef79c0f91f7a54095a3854cb5ad5d1b74c4ca283017791af61a1b137b23e2b 08f02b08899fc7a3bf7c226d10c06b7b98de781cfe435de5b301dca76a826761 +lib/codeql/swift/generated/expr/LinearToDifferentiableFunctionExpr.qll 7beac5080b160abda407c0a5c6e2f0db1c7664ec59d871c3544d2247f7a3630a 348dbc8f0d29737b8d6454a8fb4f0709c3e4925392429e567102e4f9e41b6a0a +lib/codeql/swift/generated/expr/LiteralExpr.qll 5b85ff12da0e19175f6b281cb6cd39eb3f8974849b8dee47c9dad961ae1e77ed 72d1d7a097e259d765524e7d0663eaab682950b7127ca7e94c94851ac7563be8 +lib/codeql/swift/generated/expr/LoadExpr.qll 541baf9552d8151e8f649103bbecaec51420392fb5f87534fab6ca9f7b5be5b3 bb6b360a99f208c3e613550312778166386b644a1f47e7a52034153f3f26d663 +lib/codeql/swift/generated/expr/LookupExpr.qll e0719b983df54fa59c82ae0641703ec29873d65cb76d0cea2bf0ca94259deb7a 3d38718a64ef53ef943183ce36a694c4f288245a1cc0d8899cfc80ee8bfc78cb +lib/codeql/swift/generated/expr/MagicIdentifierLiteralExpr.qll 5345d19d7c1b91084efe2f45d65eca22da2f08c2b7e7202482e908295350a57e 5df266fa34e3f5dd647871afbb3215c31b6b5d663f3212f06aa706301b574a76 +lib/codeql/swift/generated/expr/MakeTemporarilyEscapableExpr.qll 61c777a6ff4674a191cc0cb7ff5558feb7a30b07b510cc1fc90522839a0bf50a 578eaee2c1e08447e5314eb562b15bcc0abc26ae561882d25d5f79a3a3b5bb55 +lib/codeql/swift/generated/expr/MaterializePackExpr.qll 23ee9b07de7173698ec9995aeec8f657b557bc775cc4da158da0551a19c4a2e3 bc8c5696e028d0c0722c9f1d587abd94d5437052ece606383dc888d72baf8a4b +lib/codeql/swift/generated/expr/MemberRefExpr.qll bb60a399acfa9707a7bf8048bdc4e3b57e24c10ea7b375328971d6379f0307ca ae5ea2cc53e9d31cf6be92b3e874872b309bd644348e006eb986821315b4511d +lib/codeql/swift/generated/expr/MetatypeConversionExpr.qll 8c96a8a3f547cdd1e8fabf05ee0fff775f0eba48dd10db5785a4bd737bed04cb 6191535f34662182df9b5488d8b6f52e626559e2e34eb6fa42e1ccf0fa67fb3c +lib/codeql/swift/generated/expr/MethodLookupExpr.qll e2561ed4a5f8aea8a8aadbb4bc30bcc57544717fed6376582abbc5536701f5ea 2ac48d34178ed5ebf33043e8a51335b96978eb4201a1426c71fd994be2fb3a8d +lib/codeql/swift/generated/expr/NilLiteralExpr.qll c4888c7f7d3ae61be762a172f2c89674d8f0c06058085869fddcd1a327fe3d50 5fa587a15cb475093409d3f158d732cc8d546a30e06b65e64f7903442780d36f +lib/codeql/swift/generated/expr/NumberLiteralExpr.qll e0a338295257430fe87a8f4a350d0ff9d016acfd5be84c3e4288d72f45549034 2b4de5fe568d4a08eb5cf279685f4aca717b5f9007f3b9ad3d8893eae5df4ca6 +lib/codeql/swift/generated/expr/ObjCSelectorExpr.qll 4ecd5d5b6fd30c2e1ca90105656bd19a70ebf336be493260b58729eb88a6a669 4d2937051dcc02cf3374e974cd43d58b110f033f927568aa614fb5057be37b20 +lib/codeql/swift/generated/expr/ObjectLiteralExpr.qll 344a0627263586d2ed150a6c6fb50911b998ba502bfe324080c4476ae26a2d88 7609f13988a549577c04df3ba2bb9225b0e6c35f6cdfc3b935f2fd396dd04398 +lib/codeql/swift/generated/expr/OneWayExpr.qll eb902b8837cda181b49d7fd68e47654ed96e17bab7f6d072993d9724839a473f 1ae5631e3f342630c5017ab1eb1158011f6e38769e05fac2ed49dd6b794cdc29 +lib/codeql/swift/generated/expr/OpaqueValueExpr.qll 117e0406716a3a4d0e057931f6898a5344d2cac58a21cece2a9a38d5118ade32 ed6795cea4d65c84818e2784e866923573ed6870092315a0796678c4947b0744 +lib/codeql/swift/generated/expr/OpenExistentialExpr.qll 51438aa531218810f9069a82a81c73b75730fc0cc687b427527bd392d8d023b7 5bee63c90b0ffa9c1e2c82cf7d4b4763d019da6a36ff49e39fec38557177572f +lib/codeql/swift/generated/expr/OptionalEvaluationExpr.qll 888511c8b29b45a0fabbc72c03e6d70cc6fbc8aba4939c06c6ff9ce9426f9541 20eb4e0e536812962ad0a1db8995c0ccc8ae2d2e7508bfab658af4930124f54d +lib/codeql/swift/generated/expr/OptionalTryExpr.qll f9fdc171a36e762e415c12269b7b2a50f440457288f7856d63b9076d91d573ab 5be23637153be9b417b0a77c1ac3110273bd1a68c73a2c0ca2b971e2be42300d +lib/codeql/swift/generated/expr/OtherInitializerRefExpr.qll fb2695026bcf65a81b3d2031238816d5e7d68f7a8a92d145856f3f2c95bf4d7e a328a7ba20594b227388447987d8719d814739de89c2189e789f5c0dce9b71fa +lib/codeql/swift/generated/expr/OverloadedDeclRefExpr.qll ccd64fd6daf03fa6157964ad496ca2faa98ad71a940a42d134f697a273bce0ff 50f7437eb630062e341c481b14289f09a89d9dbf892fe2a32cb8bd7c4833ca06 +lib/codeql/swift/generated/expr/PackElementExpr.qll fc23df42b78428cae9b656939958ae7dca36cd64b3ef3977841df1ebfff95f4b c1a9d88a1d332a1e103fee76c70d3708b0d773f5ba5cb1d87fb2befb49121bec +lib/codeql/swift/generated/expr/PackExpansionExpr.qll b2562c7c7801c1364744d5bbcb6d71d4d7c59150da55cef0fae58babe0e34729 f149456d5e9217540d1a41881b3608a7bcc463129c6056b0fbf329be499e3fbf +lib/codeql/swift/generated/expr/ParenExpr.qll 1b64bfdc96a8e541d296676eec76250f6129835ed18aac87364d294ec3af01c7 d7d786c5a0cd115f173f7811144fd1a7aa9e37b6ffae116508323a2de5f5fc02 +lib/codeql/swift/generated/expr/PointerToPointerExpr.qll b2f8a7f43057389c215391a12a8ca5fd1e18ef8829bd046fa829a02a87250c23 8397811d110b61185cb1525084309cfb48f1e35ffb9cf9414d74181304b14f83 +lib/codeql/swift/generated/expr/PostfixUnaryExpr.qll a7162dc3dc19572e37f22b4f7169c200e57327986faf5b7f5fe7920975e0385a 542be57dea230ca2b6ed82c2af40e7ed4ac304075bd6c2d31a4f12bce119d5bf +lib/codeql/swift/generated/expr/PrefixUnaryExpr.qll 111d8b71f4f1e7842c613f3243892177878d32d05fafe83b55ad803d2738ff72 78570e1a371819c34c3c39ccd3098d05dc254662201bf2c96fc57d2a465ff203 +lib/codeql/swift/generated/expr/PropertyWrapperValuePlaceholderExpr.qll 55938d2f969c5ba7c28c7b4b5e23fa117359ca3abe9ebb560d16071a8d117688 9bfb863ebaf90bdeb101cb7a9b0216180957dfa5d674f6ab221fb45325c74231 +lib/codeql/swift/generated/expr/ProtocolMetatypeToObjectExpr.qll 9269b1b53a9c11862bb7cec2ca3e2a4e084a750bbb450016bf2a09bd153bcbac ee29a890b5821a1a4e61415d92cea93ca23cb20a48aa0f08b10e5d4071f135e7 +lib/codeql/swift/generated/expr/RebindSelfInInitializerExpr.qll 0ce421d317d560b2bc913355e586225c291f62ae669233727b37839297f5447a 98ad0f9692b01fab885eea3927fcc0d8e9b46959c335c9989222cc14b891061a +lib/codeql/swift/generated/expr/RegexLiteralExpr.qll 870f9f1b682483222faadbfc68f0bc8d74e4b28515048a104472688f9be3a155 6694a3c2e2849c23b1407b5a4d47687d8ad924cac7afd6050809440a7dd432d0 +lib/codeql/swift/generated/expr/SelfApplyExpr.qll be1b679db6837a69361867ca1b93a20ca8daa5615f7d0501891701924a53e923 7b6ed3723b50f1cbcc2b812f390ff9f032e2ca56a26093ddea29553f155a7604 +lib/codeql/swift/generated/expr/SequenceExpr.qll 38628c9d996c6ad21eaa5ae60d9b97f50ccc29ca597d3ee5a4a04781f1875cef c92cde44fb0ab1951f861bdd6854f2087de6e9448e291a04146f4da14285b189 +lib/codeql/swift/generated/expr/SingleValueStmtExpr.qll 803947bbce3a7ea983caef005c212050e01c6942b6d22ae4e7b8173b1b45aff2 986e0089e1aa5304280d94d6459224670253bcaa3519b061b6dca1ebb335f835 +lib/codeql/swift/generated/expr/StringLiteralExpr.qll ca2f71f9bfedf2d5a4c16db80bbdc89f42e61fc0213f645ad60fc8e006649295 6ed9d78f5200b0305b9b039e557f87cf2a4afab48a2de02e33112aa99c83b714 +lib/codeql/swift/generated/expr/StringToPointerExpr.qll 4c0f4ecc4e4218d1962bea77dbe5f536d72f37e6b225ee46aabbaa7097bd2726 36c4a9773e27b7341ec2d88634d0238cce8450c784828b3d818383f63a25eed9 +lib/codeql/swift/generated/expr/SubscriptExpr.qll d650d300fa91b02adcbc4d99bac5bc21380150057dc042947cbf5b4e5dd3077e e2269211adddffe776fce7fccf5eb5a098dee8daecc09dcd32066a005a6353bc +lib/codeql/swift/generated/expr/SuperRefExpr.qll 1df80ee10846aab9519bb6adba1a56ee6b32ea33b246a8031902ddab616b2276 f47a32f7c9d1ffa7ed974ca80545967e2e9e8187e4f77632d2636e19c07d13a9 +lib/codeql/swift/generated/expr/TapExpr.qll 65150bf1bb91842a71eda6985881fb8b5069f25329b935b3ca8c724fae739364 95c3f210fdce4d7520a20396c75ce1c6db71a871ab4204ac727a9a464f56d39c +lib/codeql/swift/generated/expr/TryExpr.qll 86f524aa6858e10c05c29bc9a661a74a67b57825aaa9cc6b81cdbeb2c8337b45 bd7fc3934ae83ae96b9282c94f3a5316045ea00324a26861746f5dcec51c6673 +lib/codeql/swift/generated/expr/TupleElementExpr.qll d65131b2871f61e882868037828e5ad99b80942b7447af049ac4fcb48c297c49 3360dd30a6810e1ebf3d60f44bc0c7ab445e2311caa53dbe8721164e4ed8f76d +lib/codeql/swift/generated/expr/TupleExpr.qll 64e8e746869abb8b34f0848449ecd3db2c328d0d246bee252975be03325ef03f 1ced47c3b30ede6a5e069013cfc8318ef8f9a9fac1086e27494daf6845a634d5 +lib/codeql/swift/generated/expr/TypeExpr.qll b65f1645e7052b69b18472e04f1f4c2f3a271b37610b4b6d38ba90f416d5eff0 2d6010e606173c7d6f6532fab33a7eb5f141c1f94324e3508c5736f1330a2c82 +lib/codeql/swift/generated/expr/UnderlyingToOpaqueExpr.qll 9052baf1665e45f744f7ad846081d760d7c1ca8986dd18984176a647027a4e3c 0028f50d9f755224f4caa812bd1c190b70e92299291e690e949b259ed32576fb +lib/codeql/swift/generated/expr/UnevaluatedInstanceExpr.qll 118376836463629cda13f3c568fc5312f31d8f9da8a86b22ce654736f8c4ff96 c456c5de528362a2e70a6026bd1b576baffa9199dc5807fdccb5d2c85a8a5394 +lib/codeql/swift/generated/expr/UnresolvedDeclRefExpr.qll 105a04d363dd50ee20a0091cbfe4888c87f96dce699ef26b2791b55f5bc93592 80d55d436f9979d22e04686cb2288fdbad047e47c6ea2e0a703b85186e4054b1 +lib/codeql/swift/generated/expr/UnresolvedDotExpr.qll 6c472be018d5dc3fec187a3a5c56f943420cee8c491b38bbd90c54f484a8c8f4 2ca72dcbf42e2d5366204e3b777baba97cb48fd988ee5577a7f583cae1846894 +lib/codeql/swift/generated/expr/UnresolvedMemberChainResultExpr.qll fb7090d0b481dc228a1e2cad8b2019da3470c6fa3d539d84f0462ab4a231fa2a 04c598b5b3b8ae712b8d94748de76510a7a9460ae795fc71541296f34fcc1895 +lib/codeql/swift/generated/expr/UnresolvedMemberExpr.qll ffc7e5ad8f3bbd05c77ba1cd732b86c86557abae88f9e539941a2f3745244e40 382a0ebd7b90b9405132c67b72b1f2aeb44c7b6fbb8e463994f40c8f3b7a2b9c +lib/codeql/swift/generated/expr/UnresolvedPatternExpr.qll c2acc98b10054bcdc84426a45c7662065affc362261899a4ef361ae2509647c3 3fd4ac1a49e4c122ebe7da0bbb02e8bf6b6dc9db91c30b82b56e58719c0e3c3d +lib/codeql/swift/generated/expr/UnresolvedSpecializeExpr.qll 0ae67b395125cdcbbf1f6265fbeb6c40d341ac20e0c161bd9ad6f1279a3afe99 e714abc50a04bea2d113937c9552d0cbe610dd227c55d2cace5dee50005ccd1e +lib/codeql/swift/generated/expr/UnresolvedTypeConversionExpr.qll ff020ef6c83f502c863cd7b5568335334a7197eced83974e50b20ed0ac86bb79 5ff17fe260d29efbf3595ad4135bc43116897e227067349aa827c06db5457e18 +lib/codeql/swift/generated/expr/VarargExpansionExpr.qll c9cb27f56f3e3e516f020acbb3a54dbef919aa1212349219fd5dad8cc35a0540 83baeffbc9ce4acf7ee794d97393abfa2210db9cd6fd015df9ab220561be276d +lib/codeql/swift/generated/pattern/AnyPattern.qll 3d07ba4f7dcee04a71225507029b9637af150d6279c04ba049839c72f9505cd7 332962733953e28012eabc1794602ba26f8e5ad68f170e9477249d6f3915439c +lib/codeql/swift/generated/pattern/BindingPattern.qll a5ccb9bd3ec518a58fdef304bd389a5698628255ddae9ddfe8c3508964179414 373f3f07ab16837144a859a71b7e5852352d08a2db58e69819af68ac8a1b1c57 +lib/codeql/swift/generated/pattern/BoolPattern.qll e6b21d95eae9c613329d8fe26ee989c90ed4e3661c59e3612845c7c431e7270d 894cea29cc7bb89ae5eb22c9928a3fdd57976f2c3664720355e29cfede4fcaec +lib/codeql/swift/generated/pattern/EnumElementPattern.qll 50679e9955bb8e47347651da42b18208aa8800b718708531546d3c0d513b692f 0f91321c1670e808dca430a48a64146175a4b320f4b0a89b38963587b4c98403 +lib/codeql/swift/generated/pattern/ExprPattern.qll 2c1c4139639c131dcb0a6e4ee8d2c396ac2d605a505fa6d0cb6ed658e13cc2ab 314cf684688dcae2ed13f5cf2bbeb1ff1c4ccdd04f66b9761742374011760615 +lib/codeql/swift/generated/pattern/IsPattern.qll 790627aea9c2898d18c34eef14da7be8c418ffe69f61962795680e6057b6ffac 812a1dbcdcb57fccba82b0c21073902c1e9a77f6b68d07fa5838c12853040db8 +lib/codeql/swift/generated/pattern/NamedPattern.qll 533b7d946ef2a5e7febe0920703012e5344e3969ae78db7120eb10be8973d822 f3371ff13514d3b181e7547a05a4382c980426c2756bf84e85e48fc9fde0bb9d +lib/codeql/swift/generated/pattern/OptionalSomePattern.qll 1a9ea25ab18a2d132147ddb5712f2724c5499cac6a4877fc10f8f0032148399c 6b3c8f3453efb2f5607a2feb99b47fbc8013fcd2224ef5debd6c76e5aae614f6 +lib/codeql/swift/generated/pattern/ParenPattern.qll 78c2a4fb76a2a45ef86d98ab0fddc4304235ab890aed96a440c0b8c8df50b202 834ba6464ab3900e88e2f32007b592d30129d7ee331e1be19c8129c955747883 +lib/codeql/swift/generated/pattern/Pattern.qll e2bf217347a158908b16f45159dc942c9b72ae4cd9b9706087bb67534fca6bb4 4e3891ac57937103a577fd6117084c60f71b859e200c5d76a97d732d35c331a6 +lib/codeql/swift/generated/pattern/TuplePattern.qll acff9336cbb1e72060566333dae2760522ba5885327708ed5fa089bad5ea26b7 86da376c3acbdc5c07ad9d85a61dde5e9e36fa8cb17585944e1286f4518c8663 +lib/codeql/swift/generated/pattern/TypedPattern.qll fe2cbeaf01af1ff8dfd9c7e0015c6f0418387930ee848529697070c37b6066df d2c5ace8c2bd615ece72f178c358eb4e869fd44ea400aaed178a43a15b3d2fea +lib/codeql/swift/generated/stmt/BraceStmt.qll adf6c1131b3277652c78d59251c3aaf762605ac5cb85dd6cc1f9ce78b2f33b0a 33951251ec3c128c0b997134819c275b65069a3410c98b0305d2af483d6ee273 +lib/codeql/swift/generated/stmt/BreakStmt.qll 76d180d5e3abab36b4ff69d7d036afa0dbc6dc8ef07157e965dfa761d9ce5f50 e1e917615aed53740ed2a8842883411917c0e8db3a9a57321078a8d343556157 +lib/codeql/swift/generated/stmt/CaseLabelItem.qll 3427cd10401c103bd6eedf613de59f85cbab38422a810825d910c1529f0cdd13 2deef3a86d335436e8ec90151171801c61e934868ce2ca4f84f1e75c777c7423 +lib/codeql/swift/generated/stmt/CaseStmt.qll c440883fb36a43fd58b80b90e96fc2379e0232b09917e3f2c11f843bbb833460 d77203f3cfb7bd67882a124b4438fa2b9ec16faa0bb90f64f7fcd17f506cbe93 +lib/codeql/swift/generated/stmt/ConditionElement.qll dd1fdefa7b524d861554c5bf84742a715b3168ac7e8bc2232e60147ddfc31e51 7e5e2ec30009123fc92a5b73acf52bdc25eefa364f83415c2fc3f01a604ab55d +lib/codeql/swift/generated/stmt/ContinueStmt.qll 8d8de7fc9a44d8f160241f0a74eb38885a349873ed6437319c17b76021a26cc0 e9f2d4a6d49f857f5a44d1f74c2340e6c33eea2b5c74e89f48d27cb1be46c460 +lib/codeql/swift/generated/stmt/DeferStmt.qll 72e943ce4c14ed231238a9d9b4d2d9f4ee7647d55c1206f4ca71eae146f739f3 8eba42387b78f274a2a45f22b359a257e224bb0e404e4cf905f883ef51549b25 +lib/codeql/swift/generated/stmt/DiscardStmt.qll cdda818f316c1904f549c6c761eba600b078f3c5eefc963b2e5b940990236aa3 cd9122013603676a65cb00e62d99f764818cebd0c94df6e634b5234084c8fdbd +lib/codeql/swift/generated/stmt/DoCatchStmt.qll eae7ac43139385b6e08aa286363e5b33d9ad568165c6e8af0e41d99a9b57cca2 407866e70d217163aef4bac43a23eb0da0cbb60e0c469965646a1ee6dc0fc7c3 +lib/codeql/swift/generated/stmt/DoStmt.qll c867febf3dcb71452a80783a4c661c2471961ece92f589241aa3ebcb63a88ae0 62d54e1eca835223174e47ac078a7a10cdde84283add5978fe6634be9b945763 +lib/codeql/swift/generated/stmt/FailStmt.qll bf154052538e6c4f1e2fe3def4af7ed24f2b33404f986d6878ce04d4767f4332 d345652b6e98c33800b29c62b8a025db2289acc5821de8c8d9f765a7e71832de +lib/codeql/swift/generated/stmt/FallthroughStmt.qll 26d79c63d55723d06cbc92fd9e1c323bcae17db0e267258cc7f0dc646aa2f031 d1cda7afd44f55b6c842955e0b2eb71faa85aba37daf7fb9f50f44beee068ceb +lib/codeql/swift/generated/stmt/ForEachStmt.qll d51a82f5b473732ca242345cd799a93df5c25cb28f332a92f7a69e592c1f24b1 859666e3dc5b01774e4ebd2553cc6dc78d3e184adfc183085575384818b4b55d +lib/codeql/swift/generated/stmt/GuardStmt.qll 1106362d9b3bd830bfa678ab5756bf6fdca660898189fedced5043a80ee0dc83 68c9a8afc48498018147401f54eb3d90cbae38cc62a0da6c0101305ce07887bc +lib/codeql/swift/generated/stmt/IfStmt.qll 403447c0ad3a901f662518fb95fe2a614b6a5997a23a56c7d073c785a381b0f8 746e663657bc94cc5e8ebe97bebebf47198a8a05d48b425ffa7724002e858cae +lib/codeql/swift/generated/stmt/LabeledConditionalStmt.qll d6b1188115bf17c64dd949125817e208023e1e025a07e9ebf170526e10ac3303 91cb28d709b7f929e173e26025605193adffe6f456fb936ce1dd0612b9f89d7d +lib/codeql/swift/generated/stmt/LabeledStmt.qll 98043ebb904a6020e08d0985fc91d5f6c92875c2e7d03775933d5db1b1c5003b 66381274772f75cb0174db2f151cf253b26461da9516e8c4698d379fa31a27f2 +lib/codeql/swift/generated/stmt/PoundAssertStmt.qll bce48f7bb204488c2368bbfac4794d6222adc256f61c740c16f8ff81fbdfa71d 37dc21423baeb4eb00c2a2b6115e21c372c28447e3f840041962ee82bb64ce02 +lib/codeql/swift/generated/stmt/RepeatWhileStmt.qll 842420c24a61f4e39f14094a0b9c3478c062c3660b8c8fcca664617f75c459e4 1a27bb088738c605c28e7ab2b607dd093ac3b9aaa10898252c65274ba18031ff +lib/codeql/swift/generated/stmt/ReturnStmt.qll db2b94982e399a16a50509fe27bc4d01fe0dec7cf0adc9c6951d2e7e098db93c 78a09feebb5a1ec15ff6f586261abe86f4307fce1a71e16ad1c7e64d29b54740 +lib/codeql/swift/generated/stmt/Stmt.qll dfe20fe2165c1c9fd066db0f61f8b217022220c779107230549bc8e56afe1c44 3fc38212956f5f12d1b39f7cece082447af3bede4ad935f95977435da38da5c4 +lib/codeql/swift/generated/stmt/StmtCondition.qll 99a4374ef973b0f55f346fe8d987215580c14b0b5b494d38b336916a9cbb5c2f 859bc3d598d9f3b52621b269c83d96e69ffdf68684b232e7a39f91f80cb24539 +lib/codeql/swift/generated/stmt/SwitchStmt.qll 338534f671b9edcfd15f9a70beb0d75186a7d243c5564fec79dd4866f9de96a5 c43b14c893f0cbe8b9ab66840afc4eeed6efffd691f460ae4b7530419be4ea5d +lib/codeql/swift/generated/stmt/ThenStmt.qll eaadcbadd6f21ed164bd2a562383604b0eb4922d2dc93401ee848566917ce81a 8a958d5c4cd90454a023b90ac78a10e86a3dabb9a05b166db847b573dce567f7 +lib/codeql/swift/generated/stmt/ThrowStmt.qll 307d5028b3fb16d4e89e79c6e6d3f5d27fe1853cd0e9714d04045a76a9a6c5c5 0c7c4e61653aa7415d1c9e26e6481d00cb49af16c48be42d49791c8f38d0ada4 +lib/codeql/swift/generated/stmt/WhileStmt.qll bd2477ba3e6e4d6db82b51c17a0d8f32ceedfba9fffe8bbf2d8c85f7e7aaec9d 0eeadada0a452ef06090793ffed7a9907d1a01461b6c5dc10bc494715da83c2b +lib/codeql/swift/generated/stmt/YieldStmt.qll a6d2c9dfe4e84ccd71899ea260d31d85ea53613490e372ed8e77356f60a65254 5d396db6ed53e736b9306cb5b25c636ed58ba2f78eb4a5a94c92a5baa650d0d5 +lib/codeql/swift/generated/type/AnyBuiltinIntegerType.qll cf456e26f7e660e645e234402454ecd79943d47edaabb5479e900ceb00ee5dce 6e8e417fa4d8b621d44116d97902a824ce17233ecc0fc79fe63c5577ba189e40 +lib/codeql/swift/generated/type/AnyFunctionType.qll bc1b646078c565ffeadae06b15818fa80be3bc7dee88917e5f74348714c401da 935e01648facc6b49dcb34bfea82362f73e9c2084111d2bb69d0c579d9d57567 +lib/codeql/swift/generated/type/AnyGenericType.qll b1dd94360cdc2d7198b8095e7b4924f51e4e9429d2d7677d61941b5bd9c2e40e 921fa0c1a3455544f606f1a0b0e33c9ca5448e6b54a358d24a24f0bc7ebdf16b +lib/codeql/swift/generated/type/AnyMetatypeType.qll 14d3318b2021bfb40411d91ffdd533665b1be3a91ac29c130f6b3329056dcacc f2f845794008ebb30188bc1cba44edb27c950bcd5a52ea00e2505b1f76ba27e7 +lib/codeql/swift/generated/type/ArchetypeType.qll e33d926044d550a6ac991c3e2d0d80c99e254c4d87d94cd9d1963e80f46ced8a 803a5f301ff7aec62703b1663cc2b4eee0b0eb1ca3330317c5ceeb45c0d00d4a +lib/codeql/swift/generated/type/ArraySliceType.qll a702f1a159abae834585760cb1b5ea61bc21694bf5b9fbd01afecc32584ef088 e6c976dcbd4fdab33a174e0be46e6f5777289dab35e5007de31f4be87806a7b1 +lib/codeql/swift/generated/type/BoundGenericClassType.qll 54519b2f404fbee4a3541938cebc541d98a6463ed043c45d6d8343f754726b97 173f59e96f4ed20475e439fbfdbdef6ace7343da24d2a23796fe2a28c4d9613f +lib/codeql/swift/generated/type/BoundGenericEnumType.qll df09f238c33999f4b41fc59abda15594a21f6006367a60367c296500817351dd 1e7dabc28815ff29a9c76d313814bb37ab8711be5abef2219d119180491c6286 +lib/codeql/swift/generated/type/BoundGenericStructType.qll 4cf6e8fbc72e388aac75176cffc83bb99f2a2ddb9b6431ed9dfd34d923c6b0a8 30c39f105089dc0a3278c817aa9b5cfb46c65e44c87988c84b1b205d30417b83 +lib/codeql/swift/generated/type/BoundGenericType.qll 66a1814971a62f5f1a8180ceb00a3232f33d41fddde41e196c9f619ebde9686c 9cb6086107cfff5f66cc22bd13aedf64bef0218e4c4c4f629ff68572a8d835a1 +lib/codeql/swift/generated/type/BuiltinBridgeObjectType.qll 76ebe50a1aab72f4366f07c436b1b6ab77444bc28bdf50050061a1ec48fecf81 32d62aeb2adaad04c35411b8697bbedc76f5b0c708a65cd6bf5dad6d26e72447 +lib/codeql/swift/generated/type/BuiltinDefaultActorStorageType.qll 399e6e4de3323d612714a9126d90eea6ff4a66ff1613cc6119078cf6b8bbcfe2 6ba68c8a3a3ef3e2f369a149ebac030e209916014a23d86f92a1d0be6e03af2e +lib/codeql/swift/generated/type/BuiltinExecutorType.qll ed73800c0962a06a24ec1d48fc43b9ccfafdd5d0c0e9653aed2231c9cb8836bc 860c24e1f9dfb93d18486cc2dd1e5c7c0ccf5cfb3250fa468e61676e37a9ba1c +lib/codeql/swift/generated/type/BuiltinFloatType.qll c04d085d9a95ea75da36de2e7645b0e1dd5f56aecb26a3c51688ecec8df36c78 72123feb7e0bdbb27a95e0f884cc46321f8eca0bf5dd738951859cfc4042b229 +lib/codeql/swift/generated/type/BuiltinIntegerLiteralType.qll cf1a4d9abd1bd2f4561fb5ff5880616f8def7dff7a905338132e3eb5c3f5f2a0 76b6549f73d50ef6ce255e9ea530e2a98cf725caef54729ee0db19d47161c3d3 +lib/codeql/swift/generated/type/BuiltinIntegerType.qll ecf0600c87c95fda6dcdf43b7bea6724a56f92ff4f2c398095b3fad369b9b031 8a4bf5aa06f543a4c305d3d99c575b7e7cdcae2dd6e9c68e9647f1b7163321d5 +lib/codeql/swift/generated/type/BuiltinJobType.qll 9846768c741817759214cf400d75ebda0fc608847157c5dc043ce528cb3187bb 51ab999936150f512701e8f05d534061c117c614f1d2a49ca994b9818450700b +lib/codeql/swift/generated/type/BuiltinNativeObjectType.qll 1c4c3f66ada8d7664babc29954fab3a09f9f45683378e3c1e7da7024aa6f2234 6b5e874bcb7a718875409280c3175378c3d85d3f71e9c9ce17982a72cfd57366 +lib/codeql/swift/generated/type/BuiltinRawPointerType.qll feeb51bd3c3c70593c59a79be5b35988b91a2a99f19fa232669edf00b4ef0c16 6cf5e4dc0c456e37a41ae85e1cee3a88d88c716e509f225d637f0567c9ea3ded +lib/codeql/swift/generated/type/BuiltinRawUnsafeContinuationType.qll d49f13acf213803753189df86743cac2d4e271208ac79da20e4ecb74ffa5b04a 004c416bddb064057eda2e12b91e88e6222382f975db5c613c897137624797ba +lib/codeql/swift/generated/type/BuiltinType.qll 12bd3e9e9628f59b5c7b9500350e35de7551e3cb1286e2440c271038c06b1ad5 9c4f1d1306adb76dab4084aa4a929a363ba091022ea4663e50017d1703e7ed7a +lib/codeql/swift/generated/type/BuiltinUnsafeValueBufferType.qll 62b6de3d8c2d797fc96707b56c571aebfc06d9e335845070e7c23aca1bba5698 fa2133ecc7543a869e1b4bb6bb2fe22e690d8d5bb9919c8b3163b7cc63a7be13 +lib/codeql/swift/generated/type/BuiltinVectorType.qll a6c8be82bcf33bfb69fcaa636eeb419d4558fa5e9026b2aabac360f4b2761a28 4425e04c575209014ce3402738cec8fbe18dd101bb6945d77df2b4456fe40251 +lib/codeql/swift/generated/type/ClassType.qll 8952cb02680b670bbf923b4fdfdc99904b8810b09dc5b055c9ccffe67955c5a1 dcee7ce20a528e085a1c59a2312029365b91d348b9716a64acf7e2c60a0f9f5a +lib/codeql/swift/generated/type/DependentMemberType.qll b6d3d4a233ea3cd61f64d23abc5298a1e8cb3394db4396a70229a338c477d704 d53f4cae22b88c9ae1f73f84c7f448bd3afe0493567840cdcdf70a3eac8f2208 +lib/codeql/swift/generated/type/DictionaryType.qll ae4c3c1ee415835d5e00f346d5959c96c59b5bc5628511e619b2bca7d301deb5 66048d5c9b753b7679ff38be156ac13c43e324540d250644ff4df2fa15e4e658 +lib/codeql/swift/generated/type/DynamicSelfType.qll 8d0a8e7ffd1721d8b627dc45f449cfbe5e9ed527239384d0f39e131226f1bbb2 be9d5f2513decb7bf3cba3004556fce92444084b648f0a37e3af0d887efb49c8 +lib/codeql/swift/generated/type/ElementArchetypeType.qll 4c0a44307df2ee7434ed65422018687c8e38d153c89e0859a8d69e22fe4d5910 32f66b8995d693829e7241df6fb90ff92bc82d3e5baab1004f80b661f76216a4 +lib/codeql/swift/generated/type/EnumType.qll e759a4fd7c436a035760e534460a0f7708029ea665f0d62a465efeba65201112 10f328631dbfd351c25d22bc8a95de990112d39ce2ef13a4ef0aa64bfa11839d +lib/codeql/swift/generated/type/ErrorType.qll 8951621b1082613ec654df96c18567ba4e9194ed53edc9842a16edd7e446479b 4f61d59e47ca3c386fddbee4f3b0edfe3ba937087fd19895f8e94dca7e20dd60 +lib/codeql/swift/generated/type/ExistentialMetatypeType.qll 17a960b1fd0b2f7b20986a8114a4146c4b7c37ce1929e7b19ed53d8ef8d68e49 b8f51622f5702266652b16b39383556c6985a17629cf29ab8cd8c77013ce7003 +lib/codeql/swift/generated/type/ExistentialType.qll 526325d1ff70c26cbd8a17a044c528c5a299d91d624f03237bdf23d0be72acbb d90500d2b47a6672efd43174634db1651e4936ef75a5edb596409f6f49037a4e +lib/codeql/swift/generated/type/FunctionType.qll f6ac9eae3da8450da5cc7773a9d8afa9ee99e1caa351c546b878d1cb44e23b55 f7a7d1fe5c71fe08a9d0d4dd639fbdd4ca5d5dd53058758baeb1530c7eed2126 +lib/codeql/swift/generated/type/GenericFunctionType.qll 75434c77a07ce5b7a691de33c045462a680d91a3f9215af82b0b5816ad669734 077b8792f9dc4b0adcfbea25746d66c36edaecc84e7011e61c0b3503f9d5a0d0 +lib/codeql/swift/generated/type/GenericTypeParamType.qll 6f2ebd754b31b19a26e5798040bc2337c9fc8f0b13dadc735973f096f4f69a8b 572581f7742c33e08e16592f34b7f4450ebc1e0f6b68a3d3ff7199eab719bf63 +lib/codeql/swift/generated/type/InOutType.qll 1cf63eb08de21b0c2ff5e8d9cfe0b009fbb0110f9aa1d064da2e15dffb89a6f6 8710e5cb2884668834e14f6192b8e41030e44b9f1656aea7047bacbc0ae9eff4 +lib/codeql/swift/generated/type/LValueType.qll b232c29abe0138b621cde3d4fd77157208e79b1a9495326320f3c05d2c14166e 3fe576e73c39286c37d477b0324b837963ac6e7dc28dfb8152cfe098842d96a5 +lib/codeql/swift/generated/type/LocalArchetypeType.qll 02d999d06f63934744e561e318939de6db2d6e61dbabb04215dfecf38e0e2d36 4a03443a88fc8bc7798ec53c2cb9c381b680a5cc1aacf394cee9154452ccea49 +lib/codeql/swift/generated/type/MetatypeType.qll 68727c5bf699df41cf75430ff69dfdebc60f78f7e65c3c748b3ccf7879a0b120 7811388370e38975244a3035b9760a250248b082ee32674d33bf821e9f202a5e +lib/codeql/swift/generated/type/ModuleType.qll ac5a3701aee9a76080a39e86b5debfd677242412fdb5c57def0406fe9919f27a f8e78686b401aacc5433ee0807238067a19866b395ee6bdbbb21402d8c8d05f3 +lib/codeql/swift/generated/type/NominalOrBoundGenericNominalType.qll ffd6ac9eff9cf1432eaf876ede68a33d9eed130d886ce7fde47dbe53dcd878e1 add890969e2ef0b6ee9434d18586bff2a4dcfdc613b86fa8c9427b9dc16802d8 +lib/codeql/swift/generated/type/NominalType.qll 699c4dffbb4f6cf1f7b320aea27dc6c67732eabab9082345d4968ce469d9a515 15e12bf437f7ef0eb5be07c9f8b14071183f8578c7f3bd3c50f3736501c1fc8e +lib/codeql/swift/generated/type/OpaqueTypeArchetypeType.qll a129e56c7159ebfc8303088e1c9a999bdc683199dac9b1aad573467b4224fc5a e1283347b5c7bf12f63eca409fd33b3803207c87125482abfb8cb2e3054dd04c +lib/codeql/swift/generated/type/OpenedArchetypeType.qll 5805853f4ad7505640ea8e87405f8a10cef21fcc1bad468165869d8449e25b68 a2d2816c1dd6438e2a427df087372bc48509c6c59d8660f5a934f3a960b5e09b +lib/codeql/swift/generated/type/OptionalType.qll 98cfdddffba9562b931e90ea654e1474765a84fe83c89763869b41a2ef93a055 12882b89ff09f9def7eb4ca55390dc6674a719dac1b6e6f75895b9552333ce2d +lib/codeql/swift/generated/type/PackArchetypeType.qll 932b9d76875d3cc78ac642671607e10c74f8487b833b639425da8ccb447d53b8 05389eec5aae7373367c4991f2dc4ab6f6560445693826e1d42cea99a9989736 +lib/codeql/swift/generated/type/PackElementType.qll 0106b0f36752d3d18003fe46720a09ed49b941a8d8b0dd54d0f9606ef6618ca3 7c4159a908f8cc6f376bc31db1b156b2cbc774af8ee79af76f88162f9f5108d0 +lib/codeql/swift/generated/type/PackExpansionType.qll de2b1f13c8c1e26a8d642f2fbaaa25d0a91b45d90d4d4dce6df9287139a85ded fc82f2073ab5d49041123d56d2861ccbd7ef202686eb920db07a2b4a412e8e49 +lib/codeql/swift/generated/type/PackType.qll 3cd3e035bc18ea7ebf810c05aaef3846c3b2d67ce49fabf96bb94239293def74 f8b1fcd700eedb8cc7929243b76cc1b6eeb27e70b221bc8de4c621052f398696 +lib/codeql/swift/generated/type/ParameterizedProtocolType.qll 03234dbaba57647efcfcb4672658637f0ad9a1d0adca3b902a5354ec117d0517 3c59f91c0857a6876eff0411e074aa53ad7aabb0e1e9f55f3e57682746689e54 +lib/codeql/swift/generated/type/ParenType.qll 3e738d62f160f3bacc718d7adb39c3064586d4cbbf7af05f6000cdbfe0cd7321 65f46a778849f4716134224e797b6db428e975ffe7599f98bb3ded3a3d13a4f8 +lib/codeql/swift/generated/type/PrimaryArchetypeType.qll 5ab3c944fdb8e7ad0dcc98320a6e4c30fd927bc381625ace20f094fec7c792a8 d3d5446e7bb800ada1be7907ff799d6cb07b03ae79e12ccbbe80723313e36925 +lib/codeql/swift/generated/type/ProtocolCompositionType.qll b98f536deb730692d71c633a30f5149a094275d9092c4e054b0af570dbc1ef89 03f3a69ce47e9ad8865c63c7269046fdc5f85eb3c09486c51046991b1e0e545c +lib/codeql/swift/generated/type/ProtocolType.qll 26617e0456fbd9b7f05f12665307de935fa2b7304f092a7882696c3e5bf201c5 0fafe029646bab3c01669a85d29cd5e0179bf42494ea873a5f45b8210c190938 +lib/codeql/swift/generated/type/ReferenceStorageType.qll 749146c9f5f10eac4249fe8a1f90cf23a751ae5aa890da2ebcc86e009d68b11e 99c7f81ecda07c40f810d4dc0196508a8ab20b1d8b87b06b59a93baec93fcb1b +lib/codeql/swift/generated/type/StructType.qll 2ff3e67f992b2d20d74f35dd665c1e7593723073dac9177a0597f02eb3c1ad05 119a60c1e554e0af32793192cd2d544a8a7dd007c8c4f4de7f0172d86f05373b +lib/codeql/swift/generated/type/SubstitutableType.qll 3b810d61764889da88660f846403cdd21a79463134e26d82a1f820cae78966fc 9aa116a9464bee972c43274e436c8012fd27aaed8646bd589648ab4bfb99ab52 +lib/codeql/swift/generated/type/SugarType.qll ed6b1656decdb556db352d83d7c0d2b2c0a754027169788345cac4091d0309c8 f21c72a12f035aa1a86a2428a1185d26532fe6b8acce8aa980b1898df7eaafbf +lib/codeql/swift/generated/type/SyntaxSugarType.qll b2eb333f3999ac6e35fd5c315f58126ce5be268ca11f0c81a36d3f05c3eed657 69ec1ba9aeae09c28cdc4afb406e3cbdec0f98499fc231d493473b2866a8627d +lib/codeql/swift/generated/type/TupleType.qll 66d647ba82a4d7eb6689aff22521d492101782173c9fbbae765053ceb3711576 55494b7b55cbe1a0bdee0790f1dea9d28d72c0d1303b16342a665284b5071f15 +lib/codeql/swift/generated/type/Type.qll 0096969f2b694d82341046650e49dacf4119b28dfc91c6c1d6bf680288408186 18eaf41f2b3aee4aded4a4ca3e669d76c8550aa569b8791a22ef6904f53217fc +lib/codeql/swift/generated/type/TypeAliasType.qll 3213787488ee62d73cf23007b1a2af33feab78053ad269345d6db0b60e801e73 7cc1ffb372067ad3e8a359e6a09d320ce6db52b89c7c5ef273e0ed1e82b03000 +lib/codeql/swift/generated/type/TypeRepr.qll 0fe6e5ecd1ab7ea5b57f400a49d4ebe2858c274861bb9dad7b4d41e2eadc6387 bc8a996f26913467c9812f741c54d99dcef2b382896a201304b82d3cd4f06d9c +lib/codeql/swift/generated/type/UnarySyntaxSugarType.qll e44f8e755c772779c3df1a15c66bbf8ba6a285392463f76a83b7f55ebd73b0c0 f3dbf6716a340d1871760bbca8467591b548a05fe4295f643dfddc5f209f3e6e +lib/codeql/swift/generated/type/UnboundGenericType.qll 4d53e59931783cbc16d6e1e2865bfa09ae1d44ce53461da6b7c92fffab8e1ad0 230b5952c53bc5718d025ef3db83244848844231b5921fe0dc31857fa3e93153 +lib/codeql/swift/generated/type/UnmanagedStorageType.qll f874e3e60df1071267898ec2b4ee0e807634bcd90652d7474db7062287baf8f0 06d85a9c6289d4748a67e993be267d60ecc241899ae0937b92b2dc0636b13698 +lib/codeql/swift/generated/type/UnownedStorageType.qll de0115321972ed0f3a7955978594a7fcda6323ee6f0d294a96ac270e476f1cc5 0a2664a6b028f360253ab82ffe38841e354fee7c7c0b33db96cfeea520d5a6bd +lib/codeql/swift/generated/type/UnresolvedType.qll e455c0420cd8502e345ed25523c21fe73a80cf55f22e0a09fca4bc3ca6386b7d 93568fc5a83559449b7c09de08cddfe0a34e49b368815c2563260f9a45b37209 +lib/codeql/swift/generated/type/VariadicSequenceType.qll ea7d0515d5436fe05b0cb5acad119712c5e1db1bac42b5b891a66b4200694438 f9b3971be4919d52d045c30d66edab23a0a9b97378791fd92b706ee3645ea10c +lib/codeql/swift/generated/type/WeakStorageType.qll 0932db495a15c87ed789a5d43e1d0c18b6f0191b843016b10e1c276f1b66346d 5c50e7cf805a9ecc416ae0d3540ce2e2f156b1edc9fda195ef85296f4b940f2c +test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo.ql f174aa20e00010baed0000eddee62f7b70d4ce950e5f9c0cb0bd5b6f1d8dc908 170049771ebcf54ceb603e089f93516749322dd6d7bf89e4636e3b4eedd773e0 +test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo_getSpec.ql 6ee83b1f24d961c736a1579c0282ca560a2a916ffe73bb9eb2c6d14b3cddcdb0 fee90d8b1c1379bd2f7443387a3a1eb3afd7e3e7f65d39b665cc08e9f83f362f +test/extractor-tests/generated/Comment/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/Diagnostics/Diagnostics.ql ee50220080a1a5df7772ab043e8aae30e3d83e45b69aa40bda12c7d272d33568 c1b41b0cfa03a0431b8a2d23dde2f194e5b9262f5a317103818b595e4f00fee0 +test/extractor-tests/generated/File/File.ql c0af919359546affceeff4f0152b8bfffe430b647016da803d6650acbb142920 e6441061e0eb14577a4e00e8e25c38219ab749b49dc66b26fe786ab5e080a8e5 +test/extractor-tests/generated/KeyPathComponent/KeyPathComponent.ql fa80af728ad8ca6da700925ada7f166324de6691acef51e01a29b10387312f76 9314cda502475b1fee74903c9fd8f1e2c930f5b16a824d9f3f5a2fbb1730ef6e +test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getDeclRef.ql 40442888d4673d92b7d4a20cbb487f887fee1dc8674d98b68fc4ab0837f9c5de 7612174b502524749c26800599d6a332a4022ef544c39fc86733193a18d6811d +test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getSubscriptArgument.ql 8c33add02f42abcd9814b7e138bee9d650f6f6360ce792fb0b5d49552513d7bf 16efaf1af88c67c64e0c7a88dbf2c5c6c259a40115cb520e5d2e9545e0ea20e0 +test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getTupleIndex.ql c55da7366086c0a927e23fbaf5cb2ebab50ac4eafde206b59efad96edd0545ff dc1cd851d68fd307a1f101a4cd94ec971475bdd2b26fb82a8566b4a99d0aa505 +test/extractor-tests/generated/OtherAvailabilitySpec/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/PlatformVersionAvailabilitySpec/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/Accessor/Accessor.ql fb3e3b8096ed6f9de299f73383194520bcd0a96f4e215e1945456e0c2beaa2a0 cc66788194840b4c5c57e9cbd8f7072655fa9947f2da36cf9f59463ea070d409 +test/extractor-tests/generated/decl/Accessor/Accessor_getBody.ql 89660097038fe210b72373ed6ea4d6e6cc6505a45d8e0892b53e265bb1d2c398 9abec75977ca2f5328ff6730b3b40c264cc385961c2685351c869a359c5afeb4 +test/extractor-tests/generated/decl/Accessor/Accessor_getCapture.ql 15011012186c6111d5eace2f5ad34747adaa5e84d044a98bb7da17b08695c69d 60411e7886e5cfc211c10881b6e061e02597690eccd714fff2a51874e4088d27 +test/extractor-tests/generated/decl/Accessor/Accessor_getGenericTypeParam.ql 92b13b69f0b64abd16eecbf38eae4ff1a7006617639b80c0f22b651caeb40da6 06113682dda3ff88688b6689953e21b0b8ead5d019fc56ff7752b19b46711a4d +test/extractor-tests/generated/decl/Accessor/Accessor_getMember.ql 84b36dc43f829791db6407df98e563ea4a87b42f69aad41358e175bf3f352afa 854e6bc7f0fe1dc4d3a9f069e2eb8921ea176874c44ad153dca03c2aa46d8c69 +test/extractor-tests/generated/decl/Accessor/Accessor_getName.ql df32edf0b05ade5f99508182473d2bf0ee3c69d8a58db2741d13c65d16c2ea52 0d4feea5683ca76b614a7e3da6f48ba9aefc188b77dc5bf3fa9234289f38f638 +test/extractor-tests/generated/decl/Accessor/Accessor_getParam.ql f1ab4808a4222ea6b1e649a5009f2667b7b2be471cea87b26a2cf91751555bcb 519e608cba95a9a20bcfee3049bb89b61b1b4ffec042ba5f15e554712187a809 +test/extractor-tests/generated/decl/Accessor/Accessor_getSelfParam.ql 8d4a1d9ad69b5b227b9b6a6ba546ad15c4b948b32f5871d18db17c24a8f94454 812a80f1670d4ce5392da523d53007910df3de71a43ee34da852a543dd5a9f92 +test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl.ql 9a22cd6a43fb6b46df471bd544b3330d5118e64cca3aef2c5ce3b0ba7fd9b8fa 30dd927155853ac2374752c5713605afe925f40547fbe9314159e343837c7e00 +test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getInheritedType.ql 7c399b5b1f763df5a92fe9e7258e1bca0bd57b4854865bd2f1b03154cc1e5bb4 f89a5913baa4c530bad70218660be764608e59608a104d6a219e980f2e6f1625 +test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getMember.ql 778ef3e569f5774ae3bce286fb47342cb6cda9b47b8074942b542a1c8f18b169 2aec4012a21cf0ee4f1a7c5c726c233d61a2051210e13b2028a2ae7457609e88 +test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl.ql 2730b05c8835a78815f97e0be1dfe38140a32ed81b3bd660428265fb898efbbd 3837a2cf9436aeb730f18a144934af75e6f9343b72e331200c53a64d02a0c3af +test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl_getMember.ql c0ec9ec2677d30a3ffe9ed4e02a0a104fdb1245467c38dbb218a672a6996db7d 4b7e83d64879c63a234a7f66e0dd455b2fbd31ba0d718ec8eb32c35eef867496 +test/extractor-tests/generated/decl/ClassDecl/ClassDecl.ql ef3bb618dc93fe6862ab2fdf05067ee59946b6ae12af5709ea66892a6806dd2d 5d2c42b3517826ed3fac5d06f15e54cd20abf72e980c7397251fecf79176fd40 +test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getGenericTypeParam.ql bf372b6dd01a22ff4705a9bba5ab8524081eb586c17201dcad257cff5b3fc159 06c9ead259d50321db18e259b32734a473b070c40eb76c9bdf11b1f8f72cd57b +test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getInheritedType.ql da903d8cd38e725a0ad9d754c4d65aa576d906da930628b4d1351a0760e8c5b6 6b4d68db4f2aa2053b700b96171504f7c5dde433397987356b001d198a847331 +test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getMember.ql a34a907c3b0809e2a24cdba315a20993eff60c0d7cf2e015e26f70f240357f93 b12262cf6b27973375e623e221f9ff1084376cb5266289b2728f29095671cb7c +test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl.ql baf497f323a7aea6966f0ad475a238dddd1162a18fccde12c7fe62559f07b97b 8ce68bab8901b911459d4a61fe23abe6c70670137670867a466af3a31238c691 +test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAccessor.ql aa3777eeb59781b9f0a48e6d077f60704c73752fd348e66a4cdaaf1f18990c0b b59c2621b2147723ff1055f35dba143e3a7c464f27ebcdb4627d6bf399195f3e +test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAttachedPropertyWrapperType.ql 98829d2dfd0a0f268b116f377f8956e18afe8ef293b30870bc6fca1a6abd1ad9 c080da788925c79302d2f8d0a731d6e8dc6bc03362176f1a64a55bdbbb544025 +test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getMember.ql dd014d28ef8542a220461740b02268331f8b3d2118a09276d4d3fc47060e82d0 c4b8748d4a8a6f95d4e65c69c6b4833b1bf7e7444eeb494ede8ac34367f15445 +test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentInitializer.ql bfea99ccd17bf2b8bf32efc7ce9889b2075a009f2dc8a3eead69b793deed5a54 6b3b87195b0cb19f48c7a28bc6eb167dc98b09d169587d31b1c2b12216826ab8 +test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentPattern.ql fc806a2fe3e41463fb1e89d03e33ad1fd5adb75614c1fe0698a8f8f587f6745d 35f470623dc23b5f8c2839f305e3881181a16a06ab15c2fe8adb39c41d84a527 +test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVar.ql bee0520be50b0b2567a31e204a23c5ee95ee8d96e2644661915ac87cd4308df7 d755aaedf1255fc29235fcbeac49c01b889443573ef3e653708f058dc9bc3cde +test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVarBinding.ql 9aea239684dc11eb93a6b43a0ffba5a24c2be2d870a086189d87625d803f1f95 ccad85fe6eb6f42b85c43c881746f2bd25687d142aaba7e3bc7b34740645ffc4 +test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVar.ql 6ab6f45c518af82b5c96767c83bb11fd20e9ea82c6c334f88584f06d082a5c23 56e71de6ab53cd24532cfd441d1c05e863dd200db23448d9d35ea6be2e54472b +test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVarBinding.ql 61a3ff69ca5833184f6f43aeb676734f2ef4d62cd30a122f6749e6dbf139e531 100ee61c1977e441d0bee9dd45753541312bf51e530dd3e1d9486b78b3d63170 +test/extractor-tests/generated/decl/Deinitializer/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl.ql 8c7faa72f99cbd02360f3a0ac37059952fbf58d54ad79dc5b81dff209953c433 631836e15e8cd7530fdcb4470ad82ff759b61086a50139d7d91ab8dd26bb6938 +test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getElement.ql bb20d76f377bc895884e0830990291e721d9a0f6570e6d0e8fcc67419aaf1712 2888b9a300a946461886337670acd028f018d1cfbc826910c173308ba79bfe3b +test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getMember.ql 9351d7a2595a431f1f9a52fe1fddc64acdf8923b708e8dcece6a8e00c3895c58 855c122ca985bf9cb7ee439f212912187bc13789e968e46ff6536e712ba1a6b0 +test/extractor-tests/generated/decl/EnumDecl/EnumDecl.ql 8a7ba0cd48fdf52f229ea1679c5828d79df9e800f76df8dfe9a878992f034f88 dfdede262a1323b1db2618721b01a5fd4b30c172bf8a374fe48a0d9f6b21bd39 +test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getGenericTypeParam.ql b70205b500419d71909a8899d9f2099b2b8340978a0ec4e275f2007bfa610f8d b5009c8c3efba9e96bbcf15eb61644d8e77a95d1b955dabcbfc75c6c084d7ca0 +test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getInheritedType.ql f55ba6b8a76621fc899eceab6bbeaba3619a1a4382c318369fc3dc17bc806082 ea0cff9bc7fd87efbec16bec998d672ab5b5a8f1f4e93c10dd87ac254076887c +test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getMember.ql 5a4de48886bd8fd05b9e730aefcffbba28a090ed2d8d1aa331277820ab836b7f 999c92856eff3b34839adfe9daece97834ce9ede7fad1cfe0c2055e0f019f7ab +test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl.ql bd00c56cf1d05707f29c4f31defc6a3ff25f41928688c2be992a92d4c5624859 3bd69b639f883e164fa6d1d4a3ad18aed86f88b93358636c5e118f1ca96eb878 +test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getMember.ql e40260a5689d26c9bf2dfe17617e8a1480c720523e47f50273aeb7160a69f244 7ee294373de5bd22fc2c64a7acae4a94e9bdebf808c8e73a16a57b0dc3c295ac +test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getParam.ql a507e55efcc13544d93c91c343a3df14b79114f259cb4dbec56d6f56e804d4e8 587bf774b4c4451ff873506624ccd379dd2fd7689460b4e24af96fbccadc0e6d +test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl.ql 11a15a67f7b19e3d1fb5a2616420c23fde400848c8dbfcadb8e52a40130b92ad 502831fd3465ff06eba1dc6be365bee5fc2fcec96be44967a6579bbbdd395a32 +test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getGenericTypeParam.ql bc57c794b106df3b9da47432ef3241849145d5e86ebf601cec08729f05e15956 bce4e2150ca2efe495e544a3a074c7ebc81f68bd2f3280a76f565d31acb091e2 +test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getMember.ql 0883fcc244e06329738f242a36d0c33ee5228500e8f9d4508e4b5b32d863edfe 4fa99729397085d19b25415ed40e62dc2a555d7581c6c98895e635f7d502689b +test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getProtocol.ql 040731ade8fb6cfe989fb62874c405a24256ca3947251d6799c8f53e144d2ce9 d5b37f663a19fba137735b85c070405d687d3e84c1850d93f43b50f77524357f +test/extractor-tests/generated/decl/GenericTypeParamDecl/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl.ql 5ae0037ea3fbe733ee57d4c9a77c6dbb9da7c2675f29e5c3222a01b000e950fc c3445704a6c19ba1ea0972538512d1bab4d754dadecb377266053bba33ceb368 +test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getActiveElement.ql f8696eac357db4c69919baf49ab48a2ce972032414e6cac4af17cc8b45cfde18 fda5ce16fa25c68b10fb03817b0b62b759c85c4276bb9c71ccf94d53caf48820 +test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getMember.ql d6cc4bf47ccd2886030480d979ca22b9eae294243bccf58e60a8d8cf3a9746fa 0e1b6be4f315efdd1680b11c48dbe35e38ad2831c09d904862f1e090891f3515 +test/extractor-tests/generated/decl/ImportDecl/ImportDecl.ql e35450ce046e77b9f52bf57a0560f5a1b5a2d009d2f91eb7373d6f0f6e97796b 1d4a4fb376d8f07cf21081867a5b8698f71b7fb911d42e6457e790a08ff39f51 +test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getDeclaration.ql 5333ed76c38fcab69269778e8c7df40ef48470cda50b2f239c1b563976b241c2 d0e0b472c777b386c8c4c83ff6a18093ec9237eef2e96adcb8c7e8c7055a8f7a +test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getImportedModule.ql 40e7c9d069e0c0e3d949c6de07c11fe5fffc45b37f0bfb5980c6b2941f007f6f 564c883c4e353b6bcf63a7bb89d6814f48ca39c170b624c0f87ae0c481e88729 +test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getMember.ql e9960f040d3824e1398858433e90a22924bed3a3a83d59ced742a8db123edb69 9d4ca7ea49b9c2e3987b5b94ff68fbf76b68aa0eb50a2290fc69d534bebc777c +test/extractor-tests/generated/decl/InfixOperatorDecl/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/Initializer/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/MacroDecl/MacroDecl.ql eb4881d91d1e690c636c66fd4b99f2080ad9be9107a4c037217cfd6bf55f7262 9d6abf1cf95fa591c3b091ebaaa723fb45540f6ef183353b5467f7e8539cb09f +test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getGenericTypeParam.ql 6e48f56b27dd9722722af0297bc7e4b09bf553eedf3878d1ba381cf7b7cfe7ff 4438b07be12663dbd3652c365fe7cd5bcd8441829e5123fa450cd1645886e306 +test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getMember.ql 38958bd32f98f921a163bccd5586c50298b4ea7ca3a4cd4d8c77741ad104df41 852b70f1fb3f623ef533df2be321c58a7d83ec60096717d0fb946288d1bd33b9 +test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getParameter.ql a18f48ca9d1b9e2bd153e0b53d199eb24fa4a3fc57fd4089c1d6422cef8aa33c e20f1f8bea29b486a622825c3b86709a0c820c5e2497d48dfa765b142c1dd3ac +test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getRole.ql ae3ed80e2847f2ee948eaa5969f11a974a149191a86d5f547a4ee3ddfba718ac 7ecd29a5088000aafaa782b550fe050911ee7ed84b5adcdbc6de0d8db0987e36 +test/extractor-tests/generated/decl/MacroDecl/MacroRole.ql 3b4446673db0e3efff7941bbf849cbb7c2e0700db0c41ab3fd7372e9aa3b0795 fd3b4ca3ea7f6ec98535e94ce00c336097d4603dd17af1d7652508775d9d7ea2 +test/extractor-tests/generated/decl/MacroDecl/MacroRole_getConformance.ql 3528a1dafa45e79b6fe25f6fcf9a2970afef8aeba482080fd9abc237ccfc3b0c 3d8773c7fc18e048ea735f4caf690a6b17d7ba0b398f5e68b205c73b9b77bdd7 +test/extractor-tests/generated/decl/MacroDecl/MacroRole_getName.ql 56bc7324c16dd4dc5bba987cefdb0741c9d0d636304d71db67e13463236ad463 7804da20b8ace3e6bdce2739fda4329536c5e846a1b53f9cb543925bc5443cda +test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl.ql 00a8664146a134eb7d238a34b879c5db6ea86c842d18f0ea9ea53684a94fd889 9fee72637869bc2aa52d60eff2cf524e087dbf35d0764011754e9b84e95c8d97 +test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnExportedModule.ql e80e2594595d646f857807a719575c5588778e2d116a60d8f222bb58e72148c5 f2d5dcd5a63e4ead11f8f93c0e17ed09a0cb0fd8aa1023d91ef725c848fca590 +test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnImportedModule.ql d85c12bc7fe2732594ca27cf85de1649ab3ecb64c49439b48a18353386e250ea ed58651f5d1c767dcb17a679a780d4248d5de779d7fb1ffff13675867071ef6f +test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getInheritedType.ql 624711472413d1bbcdcd01a805667bdebce7f4959f39016a5b4df60610eed019 e30f3e09e160784ae6170e05075b10cc03df7d3e44b9647be193abd7733e19e9 +test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getMember.ql 2e6fad621c4a301b124336977ba5a6489e143d37e33deb330b993a06bf263069 c4622cd12ecf94fa1e413413ee3e5d38625d8c8ea6694473baf6b6e05d222ad9 +test/extractor-tests/generated/decl/NamedFunction/NamedFunction.ql bf58ac96d6fbc3294c5780000539486d52b7ed9ff797647b83c5914ee9c12cf2 5294555db2567fd78e7580ff899819ed4bb3000c8046a806828ae67098b3e743 +test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getBody.ql 365c3f2bcf802880455e0523bc6d992740d08119cc307751f6accb031f60a8b9 0f0b9ff9c0dbebb0b7b177e01d9082647f5544fa4cb9fd4c2ac228538f37cd87 +test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getCapture.ql 25d10d0d28cdf5eb73dc2be56eaefed13ccd9bf5808480a950f9d91a26db93e9 fcb2af9a0032c60d08a2025688886905c5f3792a6d017f0552bdfbb8c736c118 +test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getGenericTypeParam.ql 60873ee0c149f7a66572c79a7e86e2c15e7b13bae618988e6a70b7f62ea01b65 be346e023edd258cd050645b6bcb2b1dfbab8a3012b473abd33ea1386471a4ea +test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getMember.ql ab250e09cb289eacd7914ecdc45e9a7eafe6f95390fa2dee6257ab3083cc86a8 2adaeb858591ee6e94b36d53c4433fe6c0a88a4543c0857db0cd1d27d8d83372 +test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getName.ql 7583b5d08f9a3809afb50b44c5bc9afa57ba23359080f132f25f21ef2bf41c73 4d89e13890f86e754389f21ecf75153d7c65abcce2b00a08a4911b49f3e5288d +test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getParam.ql ae14b7e9c8dacc609056669a5670f6bd8008ac3a2406873c665a43f41703a987 06442212a80ba6c6122fd6301fb817389abf37afb607e77c4c1ebeb4cc57cdfa +test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getSelfParam.ql 7865a28cc038cf79f7e9d024f33d8ce17e40ab209bfec99771177a1d77819ba4 ab31689af637c6ffa77abe59adfe24a4635be937ef65d1933f5f84c3ba544fa0 +test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl.ql 0e0261995e03922dd427815c2619c85671dc604a953d80d8494e59678a3be8be a428d7835bad44c0599a5235011d981ca99c0f30b3a07fa6c68087563ebb835d +test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getGenericTypeParam.ql 374c83dc94491225480d8d89cb5c84714eec5f0b690e2cba2d1417b1c4f54710 eb1190d2521ec51ecfdb7ad0fa9809e11a5a8a862dbd6e6a5084a686021be491 +test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getInheritedType.ql 68981db766e452118ef9c7dec3e98cd4747c5feaf5659f91a599efc010450c86 af6a67a8b08b26636da566e69d983888cb3bf33bae7165ee486e4faf94b287b7 +test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getMember.ql 7bca8500dc892ad210f12d1152a833d4403d6fecf24d3e4dde513c614d631664 e1e1e41c05c92eb56ff2ef5c53764af290fba40ecbb56f92435930c47a7759a8 +test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getOpaqueGenericParam.ql f6d173a46cec223774ee8ac91333b522f14ac132cfe844ef2b2a9aeb2e526835 7e2fab576df939d919ccb176c3b06bc5c0055a74088ffac1cb56775684549620 +test/extractor-tests/generated/decl/ParamDecl/ParamDecl.ql 4d6ebd63d1f4ba2754223d12ac3663dd287844d18d270764f5b36a02b5f135a9 ff388dad1c27b80fe07d26061e25b75483932e7ee9e4172662c5d1c022f7f7d7 +test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAccessor.ql 2a382b42cbad2ebda489ff33fab56e667cee5257eae5f81d5adbdbd29ef3de9d e807c59dc5c946046ec455147a828c0417578879727eec96c65c13454f40f49d +test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAttachedPropertyWrapperType.ql 7a0b15bda897a0ab8ab6a96166835e558da3cf7d828bf3cc89d57c01b9447349 ddc401516f880131dea231933fafc440f7ca6bc8948318969f657c0f163146d7 +test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getMember.ql eb1956b4b3ba60e9bd2f81b96ff8adf64f362648f7fdcecd59deaae2e0171d0a fef83c7a3417cd2bdcc4c62afc601bc12689cc1912c806eb633c120a98b4eb0a +test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentInitializer.ql 76a598f7252807b1e6cfd58753da8286701697694071838c601b012bdd3d1158 c0939d1c1ed5d9d44cb410a7c9103d7fcb8f6f97071b59db00183262d117a8e3 +test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentPattern.ql 7b7b7a0c2b9da446896ec089bfbbfc4d9b469f55d6ff0156ea2346309a9aff73 d0e2de47ccb6e16bd3ec43f6627fa6d5886f0b097deec25ac1fc9ac99625cf47 +test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVar.ql d6914b0aa2cf831aa4cb41389dbd5686ae9b16182630384ca1fec54e8c19473a 89dd7c0441c73916cc144a7d09477e64738343bde064f818c37a7ed3f3c3efaf +test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVarBinding.ql 846f8c0c12bb8b98e76275b16cec4978c957ca2948e914af81c7f738275997cc b25efe315ca330ddcee3486e4db9b313879328af819b940d95891805b3db5676 +test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVar.ql b55800ca26b39c12aa59076863030ed5d9ed9e6b80cc89aa40959165dca68018 ff90f5597344b68bcf66290b870d567128721c7e69555310882dab8fb26f6d5b +test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVarBinding.ql ba01112d11cc89bb75f71480799cecea66f64e4a9ed43dc15a692dcba79ccf44 20176bc553075971d6811fd8dc928e8c9142b60b262cf16da14d7e84b402ec22 +test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVar.ql ff7b6dc6bc37dee3c7ba1731d0ac251b3d839195bbb67e00dc5d58a172b4079a 73c37603fe51f4cc3dfe009fa0c5a7a22d6fd73f4dcac1fc29c680b14759c695 +test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVarBinding.ql c72bffe648b6f914a08858ccfb065980cd79e177d27a4e685bd3961886edc156 4cff3c7a6314619699349fc61922ef85371c3a854b3eba1935385ac4ea50f9c2 +test/extractor-tests/generated/decl/PatternBindingDecl/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/PostfixOperatorDecl/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl.ql 5e11a8fef0037610e695e82a9dca7d172d9e622cf675c92159e45780658f0ba1 ba0bd5706e5ac9bb7ee312043ac2dbf26119e84a177ace1b526fc0f025abee0a +test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl_getMember.ql a0e0e7271ab731c5fafab59779b5d09fa9ef97329867a8f35ddfcf6cfca5650c 3ebb0c8d3ca9c07e2d2422a17a9dc3f3ae3941ffce81efbf01bfbb0f28266a33 +test/extractor-tests/generated/decl/PrecedenceGroupDecl/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/PrefixOperatorDecl/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/ProtocolDecl/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/StructDecl/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/SubscriptDecl/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/TopLevelCodeDecl/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/decl/TypeAliasDecl/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr.ql db909e46bbe481831ed1ee3e2dd234e497cbc8ed938a68e5a1c5c6c4a1093e00 76ee36cb8403e6363300fac336719a16fd797b9f83dfe4b581c0a8e3d21b91a9 +test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr_getType.ql 9c646eefbd283a23df8ed8e55eb685afa25c0b2e0921eb602b178de62f0baa44 45016066204a86f2c262d083d4a7477d141f5052841347a0298ab65819aa4085 +test/extractor-tests/generated/expr/Argument/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/ArrayExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/AssignExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/AutoClosureExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/BinaryExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/BindOptionalExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/BooleanLiteralExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/CallExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/CaptureListExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/CoerceExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/ConditionalCheckedCastExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr.ql 03b2c373c44b17f1c4bb2e59ae6498d8606edcaa2b867967db0be145347308d2 6a5b9c123a7ba66562a86b38f200a1234bbe8381f59af4b6b4c6640c4bb2badd +test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr_getType.ql dea6fd74bdcb23ed6ede61f151345ee871d303c00c72c1952c3d5f850c0a9b42 14f535828aefcc522bbbbcb63a9911ef562cb78f67bd5aee1bb630b627b5646a +test/extractor-tests/generated/expr/CopyExpr/CopyExpr.ql ad3cd8aff3f63ed4617ae0776f26a86a13cf0b14f90b1d94e4d0fc561ae9ff4f 569353ba4ae3f1e454d465de47bf9faafbce7eb5f9c4a3a5a4d1b9a6741cf739 +test/extractor-tests/generated/expr/CopyExpr/CopyExpr_getType.ql a6e83955f0379973d46a753075e048dcb387981ba1a7a1b80b710296f034bada ced53e5dc099e6ed8bb70219893ea12658df5b6b90bc98f51054376d70412a94 +test/extractor-tests/generated/expr/DeclRefExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/DefaultArgumentExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/DictionaryExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/DiscardAssignmentExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/DotSyntaxBaseIgnoredExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr.ql c164e54f841680d6609b6430201f649bfa54c71ee91cd9f45f1c93d0623ed758 2638c431e5260404852ef30e136a7329a60a086c2388fad913f021e0fad14a14 +test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getArgument.ql d14112baba2b31b4036f5b476233894e531d2fca6e5a6441474e04bdf5d6fcbe e7d4143006444d16d800eb1fabece36e3d66241684c3d8bfe2fb5848d569e1d0 +test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getType.ql 9a79c9596f098aa6055fea72e096181ecc11ddcf2acf93fa42d7e40f97993e55 594720e72f010c6f897a2b9c8c7ce3faa0495c600c15fb74f99cc03666f402b9 +test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr.ql 858c8801041988b038d126e416a4e79a546a8bf91225f1190b46c44eef0382e9 7de40ed3b8dcbfeef8cb6ad7f98f477a2dd2eda630c2ed02ad224de5f0bedb1e +test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getMember.ql 3aa9fdfc5cc4a9c95c7a9271d94f531d1491827cb31171491cf939578da901e8 10223bd610359bafefcad20651312b7a821ea9e744fde934ef8dc4db0eca5791 +test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getType.ql c21ae7f270755000dfb03d15aff39736de4c94441f4a1839475a5eccbb58ccce 65993d85c154fe74e4a79b6ff3798b176e3f8d408c42b03955260d333ca3d349 +test/extractor-tests/generated/expr/DynamicTypeExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr.ql 426837e6acd80fd5c4f79f756919c99df132f6666aae9d07274c4b95711123bd 451393b79359a46070db84d8d35ad3c7f14cc20eddd3df2a70126575d2200297 +test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr_getType.ql 9deff1a2a2271c2dbe44b2aeef42f9adadd73b0e09eb6d71c68ac5bd8d315447 bdc07aec1fa2ced3f8b4c2dcede0354b8943488acf13e559f882f01161172318 +test/extractor-tests/generated/expr/ExplicitClosureExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/FloatLiteralExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/ForceTryExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/ForceValueExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/ForcedCheckedCastExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr.ql c873205fc042fedf96692e2ff20158f76d355342d97f4a76ebe14cf7c08457be 23a554131367a46fa1629c4779de47fd3dc972ed0e7237cd5ccaa0a7ec264296 +test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr_getType.ql 0ebcaed85409f23969ab4abde51a1c23a46ea76d48c7c82abc179b9f0cd85cfe 34f21b1dc5a189df88f0ea8e897a360240a93bed3399663517e3734fafa1b489 +test/extractor-tests/generated/expr/IfExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr.ql 35496181655b08d872e6d670053515f591c844250c4da987d22d9eae549b5eaf 3f9f1cf0d50da0d76653e3fa93129b7bc87f7751f8d952e8cc1fea554c24eeb8 +test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr_getType.ql a2bd400ee044596059299fe75eb51467bcd368b747eb9eb221f81fabc5e2b95d 3908c24e5dfd15faa592eafe7f8ab4f458dde29b7bf3121912ea493b5dd020ab +test/extractor-tests/generated/expr/InOutExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr.ql aee0658164807f3b04ef6c0f628e7f8cb72e8e2b8af00d79bf22ce3cb409dca0 e023826e691d3c3ba781c6e0be802dfebf65b2f169b3f8e028f8e8f8f81b427d +test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getArgument.ql 11ab14e77000bb67fd0276b26c1b535c696984975bb6cfdf96db2a003fd0d4bd a4d17e6b22b7f03a34b11249b9092af991efa9b06db5ec9f1020c706c618a075 +test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getType.ql cc48d5a0b2caacfc7ff12f45cabaa170200721506ddd688c26619c1c6a685ae0 97ac2e6232e7369891ee9c4bd9f2f874df4d6a177bb8705446713b28cab20086 +test/extractor-tests/generated/expr/IntegerLiteralExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/InterpolatedStringLiteralExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/IsExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/KeyPathApplicationExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/KeyPathDotExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr.ql f52a9003e106bf86082ed0fddfa809dd253746a01b2eb400d8dd11940f89e75a 072424ddeeda48d348cdc847da0467836a9921eb12e9f4133a1da4d75191b1e1 +test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getComponent.ql ccd6b01bfc67abbab5d2f9a64e7d042c2bb47d85bd7c844418f0eda37188c307 d5f2119ae5d153a36eea5d82aa7fd2c2628827a110dfc539e04629f0a5ebd82e +test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getRoot.ql f73fbce049d8918d6fd4001c75fdd32ae4cb4cc54d48d8a3681ee213b00b3c59 147c93af7c138ddade5542ba43cc6317a91cff4eabf5d2e2175bb4899f8ea77b +test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getType.ql c7e20412261a1a2df5bc55e6fafaebe27c33b76ebac7a74a2c5d24df4744aee2 b91c4498d52bcc618a1af70c41f8084368dc7f46c132c8428bc9f94dbf9d0f8c +test/extractor-tests/generated/expr/LazyInitializationExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/MagicIdentifierLiteralExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/MakeTemporarilyEscapableExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/MemberRefExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr.ql d424b72dc8d3a443f7d0c90d3efa660fd98dce68aec971afc62f99f5243080b7 d0cc33345c0aeb00cb88c1e952897ef896ce02edeb9d2d9785aea1ea68fdfc6a +test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getMember.ql 9b7ea8241e213758e11c9954d912200641d723302cc3f9be53deeab50b8fbd06 ddb041799a2c025c2ab2d5dcdb263fc9b4eee610dae377efff08a15d6c7701d8 +test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getType.ql 52f2a341d784146bde524b06a96dba2b5a15190f8a56288355282693635a9224 bef08f3ee3f2d33ef027329827382eee57a4889eb03ac73717d86675a7934d02 +test/extractor-tests/generated/expr/NilLiteralExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr.ql bfd0654446bb5ac4326cbc637024f68fd3dd3314ed104d93db4a818cebe1c0a6 2fec0d977e211b154b8c90233be05730fd71d66489ed2c384e916befd8816e2f +test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getArgument.ql 2357a88c0b80b702e26afc7ddff51c564136682949a456ede1287fca37bbe117 aaa956a55f895e979948b44df3c401cd02cef67184d41004534df12ee8a19212 +test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getType.ql f6ea109525c2f41bcfc15a96246d70acce844510ae72d8f04dd4e03e6573e733 c6ba2f99c977616a62abeb7cd4138a9e9748c92715163f4238a2f0e4c456d560 +test/extractor-tests/generated/expr/OneWayExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/OpaqueValueExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr.ql 9657d2a968de2bcac5839701c6102f87f6d6947c50b1b3eef27729cc5af4b9ba 99f1b3a0f0186242a5517fef226c4d7c1a3ef5f9660844aee608b3918727db5a +test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr_getType.ql 37411aa9c53dbbc5f1c32ec9e24a8a5bf152ce11d15b1d78078e0fce41b3a8ec e043f9f86417efb480815cb04ef7dd2b22340f849be203935d523d9f2e8589f0 +test/extractor-tests/generated/expr/OptionalEvaluationExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/OptionalTryExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/OtherInitializerRefExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr.ql cf429544725932933dcd3b0ce2e53ef8d63aeae6ba64db3b65c307c03243fa10 0e0f52920d0c9277b6d673115314df7e7f76434964e2200ca6245cfc0ae5cf10 +test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr_getType.ql 09c403da048393b3b0b82432991104267c4e6c7daa5793641faabb572c09f129 b6ac95f43a761937dc9f50bdd57a7d5e02296ea4d337e2b566af534e4c217137 +test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr.ql f969396327b9b93d936513bdf036f9e6fac523318ea03e03b4064a33525d36bc 452527d074d72182f3e1898fea8d5679ccfccb2ff73af70f7927850d49d652e4 +test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr_getType.ql 23458a971238804f43baab06090ab3a281134db112b4908771c23d91c06b0b18 c5a6c792977304ed6e87aaf5e4e983055d00227e92ba661ff87adcefed0532a4 +test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr.ql 8f7d3eae5fa5e3e210b8357ced549944a064ec3193de695b415f1cf62d25eb0c a17bca0032f9747d12a789774a19d3beaff35b911ceeebae3484ae3d8824e153 +test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr_getType.ql db1ed61c2b644e73200d719565d8e0183b2dcad0b11e65050315c38cf82a693c 961611d2055ff1defc060f117cdb7790c63cd0c8a45d182b8592de54862a6192 +test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr.ql 33e6a49d0ae7773a1c70e765d216de1b68c8df5ed69fe16f8a44c1ba39323059 b6889eb338629a3615f09c89db2d146af84c40d9915b1390167175ec50721099 +test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getArgument.ql d5eb8c28926a1a22df7880b311f9e91aa80e69ffb978fdd4ed431ab4e368ad84 744413eec3114687e0b0f9d0fc7b8118b0938117789aedf1dcd6d8f046b254c1 +test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getType.ql 49b0bd3f1048c6ceb904a16b084a6646ed587f55578c70ae8c57b2fb3c78ed68 a46e8af5368774166a73357c2e245decb677d81791c355f2fe74e41a430d55ad +test/extractor-tests/generated/expr/PrefixUnaryExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr.ql 21122074264476b5edae71790e7fb6627e747f8c5d44c8d1176a1767cc17605f 68d6d79312fcf229b0eaa7be69f0cc9403143d128c3058678d73b9a1f6b4e41f +test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getType.ql 6ccc25288e4aba93066a8b8cdbe5c5d82d346107836f2d1748fc38b43b8d01ce ee6afc9d0c6dee117fb96923874a19f3dee9d8e617c023c24daec567c272b364 +test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getWrappedValue.ql bc827e88b77cce3f0f0df3a5dbca2cdc35199a3f566dc25b8f23edcb2f56e26d 68d9e91f44bd9e75f115aba6353d38979ca5b37f284b6357c67d5cf21630462d +test/extractor-tests/generated/expr/RebindSelfInInitializerExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/RegexLiteralExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr.ql 57837f6c123a5e89266b81feb7250f917d14b4899b426984304b9e970da7c4bc 338720ee352398436a054f46bc69425ffecebb8c9f7d2cb04b1a26638c2c9e7b +test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr_getType.ql cf99bc20cdbdafc77bc574ea0c96b47b04941cc108864db8e36b82a106c00bd7 3fa585eb56d89c252f399be3f46787e3b31c69b419d88c0c9acf1a9aecf85791 +test/extractor-tests/generated/expr/SingleValueStmtExpr/ThenStmt.ql 95598451a0ffaa0f2aeb1e478a507efcc380c30d10aa90efefb6cbc14a9167a9 f511a9a527c68b76d8591c15c5e63decd56d9ef7b12d470889ebf4518bddf6d0 +test/extractor-tests/generated/expr/StringLiteralExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/SubscriptExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/SuperRefExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/TapExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/TryExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/TupleElementExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/TupleExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/TypeExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/expr/VarargExpansionExpr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/pattern/AnyPattern/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/pattern/BindingPattern/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/pattern/BoolPattern/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/pattern/EnumElementPattern/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/pattern/ExprPattern/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/pattern/IsPattern/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/pattern/NamedPattern/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/pattern/OptionalSomePattern/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/pattern/ParenPattern/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/pattern/TuplePattern/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/pattern/TypedPattern/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/BraceStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/BreakStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/ConditionElement/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/ContinueStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/DeferStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/DiscardStmt/DiscardStmt.ql 0170171a2b75ba6beab62726a2b6a1530b11fb4b5d9b95b645a07f1671d3dad4 ef8fad038be90f35930fab0c374137e200557051cedaa89ef1cbbcaf41850530 +test/extractor-tests/generated/stmt/DoCatchStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/DoStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/FailStmt/FailStmt.ql db2d21fe1b01949180ff11416f2dc0a6a561f9ac9e6a5654156f947c584971de 2cf787b54819077dd2b4da870b722396ebf953e05bf0b1c393affef2b1fe11ba +test/extractor-tests/generated/stmt/FallthroughStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/ForEachStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/GuardStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/IfStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/PoundAssertStmt/PoundAssertStmt.ql 46b702865ef1dc4d9d8332a3d68ba295a1f8ce9737dbcb07a5ef4c701c021789 07eaec1abc763a4f2339466fd0f06d12c4ca21d9eeb21ab1f7366916dafc4854 +test/extractor-tests/generated/stmt/RepeatWhileStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/ReturnStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/StmtCondition/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem.ql a1e1e34aa999175017c4dfefe91086d2ebd6b9b95c1680c95f2f43df39ab9487 421c8bc1b3ea40f67790c11bb414e7aa9025465a690421a23448842805f5f759 +test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem_getGuard.ql 1bca85242d8513b9300673f666938ed59ef7f610854d97a820a09b3bab661188 1f15e6b2a29eeca1b9186e5bfd61225dadd6632bf727c79f1611653031c27de9 +test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt.ql e7faadfde4c2da17c06cb2cbe9d8c7dee6b2641eca0cd13374f8ad5ed6f33e14 a96d1b1e169f296b2a9ea959fcde417521e04391e58372ed04bd717928548a02 +test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getLabel.ql 287245a6c6770c1d3a780baf6d93ff7a012720095a770f2699a344032a2fa146 d3ad9559c06fd3c22c50ecdb92118a94860ce4d872eb7ce53c47b3053e47e716 +test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getVariable.ql 6da5d7afa12c5de2a9e012aa2867d97c563945ebc2cc05961934070486b4c70b 546b7cbe145302b90cc3377c81be06d47248e7fe4e64af2ac455ffee8033aba4 +test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt.ql d779d040e0d7aa77a2445c0217c5e5057b42b18b431fb2a785c0f0248ed98baf 281be139df50e84a8d390e0fd80a7d6e2ac07855f488288511b4ebe2d6ab187e +test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getCase.ql 7df55f86cd90358245ba360160e41ab990f530ec2717a0b99438f248d879e289 f1ef8e30efe60d0ed7c312a83a789f1dd113e201bc5caff339daed1317500667 +test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getLabel.ql 5b6a5916ad1a04f23fb79923f4df5543c55cf187d7d6e1cc7161cad717d3ff15 27eede6ded0c4d446f63c10c232afff9d5241014bba5c9a6e6c52c25231f3c13 +test/extractor-tests/generated/stmt/ThrowStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/WhileStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/stmt/YieldStmt/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/ArraySliceType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/BoundGenericClassType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/BoundGenericEnumType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/BoundGenericStructType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType.ql 5838694bf4d035aa764e25c9bd768f63ddea7b9b1cbd0386401c24f33b7fab17 cdeedab8f8b4e28a98ee6d2775e77cf359df541827d1ea592c46ed43ec76cdb6 +test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType_getWidth.ql 4f32fdf145ee62a4bb9e29175356b7f9f47bceceb7ee20a4fc93445d99f33117 a1454fa426f528d5ed8d98a84454d1e8118a4f1bb745d4ad4fffa69e5c798180 +test/extractor-tests/generated/type/BuiltinType/BuiltinType.ql 0c50885643a7b460bd7da1610f404a983085f8022adc4dc02c337f84a06385fc 2f6e9d85c2a8d7f0d3f248619a9025c33f907028e132f8b67056719a3808f771 +test/extractor-tests/generated/type/ClassType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/DependentMemberType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/DictionaryType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/DynamicSelfType/DynamicSelfType.ql 3214d8a7fcc076c880988b3ab2079ad0d77834e7dedcb063c6640b2d92ad2a41 3306c659f68b132941b5d013b2414122f81bfff6c7cbbabf6fce4328df38a9f9 +test/extractor-tests/generated/type/EnumType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/ExistentialMetatypeType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/ExistentialType/ExistentialType.ql 5f5c1e44519519eca7bb8bee28e58d79317c1b972549bbbdc135da11cba9a62f 3cc92fa9fb139485aa53e5c13b411360ba3cd1185ca497d84251e5b9212db676 +test/extractor-tests/generated/type/FunctionType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/GenericFunctionType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/GenericTypeParamType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/InOutType/InOutType.ql a3591003defc284ba9c1c8492ccea5f46ff1de2d86a2240da3a501598d236f8e 4915db95b101c199dcf194e8b974a3c7c94f8ac1d4d9dbf6144822beb4ec0b66 +test/extractor-tests/generated/type/LValueType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/MetatypeType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/ModuleType/ModuleType.ql a65f7a166068b3bc622864b4b7464a25e41cd8a02f2bdce214ae59475acb9893 89a165e1c0f5b1de549d6c73e893cbc520832d534f801ba5d9144ac2ae3a9b8a +test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType.ql be3663ab96b8c566ca07b72a40c08822dda7feaac65f9e0a27fee0b139dcac22 d031a8f27d4a57248c3b9edbbbbc9bbfeac8bd4507406ad3c21fa2bb241e7a8c +test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getProtocol.ql e14e32f950cc38b2b47210d44391c619ae14ed9a836a9a9882e26e6981b32926 b0f4988b72f2146ddb71d28227aa3f67fd6c6de1f754c4d95d4847a1b5fb7ef2 +test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getSuperclass.ql 4a7b5fd2a764d8fa50b9408e055d34160064dfaeb90fa64b1854fda1f39e3385 0d70b14dab911499c2275476355332f1b5048150016e978c2835cb9f7a8244f9 +test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType.ql 8f3ccc86bac852ec6d6a4e9522aa07ca66ff410b586b8275e35b7c0745726f05 8b3224c86f29b22a927f4c2ea90b120732eff7bac6c96d431bcc0cd3bcd7c1a4 +test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getProtocol.ql f3da83a9a32d0945ade1015103eb911a6d8a5420980fb3c2ee9b6884ab4d0be4 8d5025b9432df8b0b3d3a27f9228befbbb95f550528c4e4219ca4e6d942e1e4b +test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getSuperclass.ql f64968fc58d977e5c867010fdda3fa40162a2203f65067082b2d6608e3a31af8 f5ef6bb98c1f7a280fe5b84f19884dff3a8d073a410b81905307a8f41e757761 +test/extractor-tests/generated/type/OptionalType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/PackType/ElementArchetypeType.ql 961338f1919320b6ba8f597f7c92b715a56a411b03fd6911a008f9d842a01298 cce7edb034f5257c7df3bc193dc972a5d95be55c51a1e76143566dc8bf003323 +test/extractor-tests/generated/type/PackType/ElementArchetypeType_getProtocol.ql 5f86e39a8332e5f5cefc38498cb5cc88a226e48921ade2f1541aa9b0ed58f1cb 7f46a7c01a47a7386363960dd865c564927898327ff3677d1239be1e051b4728 +test/extractor-tests/generated/type/PackType/ElementArchetypeType_getSuperclass.ql 1ff8e6414c03eb1c2a989febcf470b659d93b99d82df3dd8da52e300ae9f6a1f f4bed98c9e1c379eb013a44486bba66d523bae22ce2001afcbeae4b7dda96e29 +test/extractor-tests/generated/type/PackType/PackArchetypeType.ql b518d42787b5bdc1cdfd902c2823cc900c288f238403dd9592c102c7f59929fd ea53016b56c25734f4ef88c907183b438becfd000f181ea1f22545e200f9e175 +test/extractor-tests/generated/type/PackType/PackArchetypeType_getProtocol.ql 624112c36fb26ccb9954b30ca843c8a626e263ccf5823a6d7deb24393fa9b452 dfd5f27860addc7d9385f36b50dfa72790f212eec6a40de0a9cb81a0327cdcb3 +test/extractor-tests/generated/type/PackType/PackArchetypeType_getSuperclass.ql 9afe056468a5042cf36437dd96badeeeef0019e06ed562d75349ae142ce4fe12 c8f8fbe02636bb8397d6b8f69eff540a386e8bbc977cabcaeaa0aaa90148526c +test/extractor-tests/generated/type/PackType/PackElementType.ql a26d73996f04ddb5c4e8f89c5e5587cafb0c147669f9bd77e66971f89f708c89 ba9c89e450666411b6ff3c09916de794099676f935706adb9c216c8b79f643df +test/extractor-tests/generated/type/PackType/PackExpansionType.ql 6f0c75a1edcb627b7589a68767da5146d09fdc428ebb80a6ab81704035f19a11 71580fbfc27f2e8b1b94c687692b29e1199a61b06eeec2a264a3e702ff637f29 +test/extractor-tests/generated/type/PackType/PackType.ql cc1d69305a72720566ee10d55e0248c99f7b78ade0334905c4efa20f940df451 94b3dafd5fc037fd2ee5433c4d731f9fe9c0e1d6220298949fa45735647ac01c +test/extractor-tests/generated/type/PackType/PackType_getElement.ql ab01262c3c6b8d29c89d83463b0c9d58640d9fbfa705dfeadb458380a7f17d50 290458051bb49dda441c3f8f0c397c874c4022ffcb58b5a803f138b0f17fe2bf +test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType.ql 74b52173c4d39d74497d8e2d3d3dbbae8a1e84190642af2ab786464e804bbfa7 9a6a77b65c345430c768c660ae66755671d034f73c96a88b2935fed66d96b592 +test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType_getArg.ql d51d20195b1ad8d31a3b2d165b81b90883d9e55a96b1b421419814964bb05519 f354fe8f23507e094a2d8ec75cb9d3ab6426c009bac02b7a96dae6970b0377db +test/extractor-tests/generated/type/ParenType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType.ql aa737251785d2467ed77f4a6710ff81a1affcc93fb974faf28244ab2b70cfc0d e6622799754179ba47e0a278f914980c3c7f51529cff97eb93e2759675e957ec +test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getProtocol.ql 96af09aefc45241d7d732cee7cfa91ff814f83a40544ec0835e2ecdbd05dcff6 45f06c1395f5f17430b7bed1d2c8f43c7380b027e41b4fe5046a8f3aa37e7dc6 +test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getSuperclass.ql a3877509c52ef4c9212bb4e266be6cc4945cde0fe99319a61a871661eeafbadc a476de7749334b20d2547971d8646662e125c3d0435bbbb8001fa4e88635e373 +test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType.ql 91a151f8ffa2050bc9434cd02929c3ddadad589e85e102d1904cd41417bbdd8b c68994e8101b9392a704de138780152c30f91882bec9587b6a6359e7a37116f9 +test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType_getMember.ql 08856a749fa3bebb09364b47d63d1524672572e1c26c525879af24d34920a68f 7764540b5fd98a6540045c6fa91027ff9344f603d77251c2d803afb966bdab2a +test/extractor-tests/generated/type/ProtocolType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/StructType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/TupleType/TupleType.ql 265690da7f0733ca88d20efbcf07c0c452f4d44b49488f624f2673670cac56c6 2da4185f0a870c38297b58a61b295531a140b50db9be31a0c298df7921adb3ba +test/extractor-tests/generated/type/TupleType/TupleType_getName.ql 79dfaf4d6aa52572f4b43e89079876249949b1b335168cb30b6c6f6db00423ac 17a35226afc2392bd4c69eaf9cf896e0556d28a2d9086c33b5686985959798bf +test/extractor-tests/generated/type/TupleType/TupleType_getType.ql a402d5c07829ccfde5521fb5b8c5d6846126e2bc8ae0a0254a8353babdc2f2e5 ccdcf490e4ec3c2fcd3c7b1b9ffddcd0b85229b25db8ab5c1802866c8e3e03af +test/extractor-tests/generated/type/TypeAliasType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/TypeRepr/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/UnboundGenericType/MISSING_SOURCE.txt 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d 35fb32ea5393152eb7a875b20b4e3e4b8c7a997a8959c32417140d57a16a052d +test/extractor-tests/generated/type/UnmanagedStorageType/UnmanagedStorageType.ql 841cc663df467772d7af7fdfe88dbc4f588e4f6781ce1f3cb2d4f3f75444bd95 4a64c07f3bf06792e052b154b5a0a6fb62575562935603ad63ca6d81de5dd04f +test/extractor-tests/generated/type/UnownedStorageType/UnownedStorageType.ql 6369df2814fffb6f83135bfaa610d9dfec106459470b552e8d875d74d2fae8dd 56fba1c55bd6d1f149a5a92d98b3dded158898dcdcfdd617e7537a435508a6eb +test/extractor-tests/generated/type/VariadicSequenceType/VariadicSequenceType.ql d52a0248c8f0a0cfb2ff01d470d66d11a38fcd6a12314d8e6eb752e6aa1f9b1c ceb3cb90ca6f5e5b4724890ede6179675d3ec5d834b7067a80c99e7951ef3d3f +test/extractor-tests/generated/type/WeakStorageType/WeakStorageType.ql 2b37d5fa22a78747c9ec3f924e9992f7083d3e8a3372a0c9aeed6211f47930cd d20ba54dada2388064f060967bd8577605baa30d19bb696339b7449a14fc1dbd diff --git a/swift/ql/.gitattributes b/swift/ql/.gitattributes index 543d0cfde138..15cf1aa79e54 100644 --- a/swift/ql/.gitattributes +++ b/swift/ql/.gitattributes @@ -1,397 +1,699 @@ /.generated.list linguist-generated /.gitattributes linguist-generated +/lib/codeql/swift/elements/AstNode.qll linguist-generated +/lib/codeql/swift/elements/AvailabilityInfo.qll linguist-generated /lib/codeql/swift/elements/AvailabilityInfoConstructor.qll linguist-generated /lib/codeql/swift/elements/AvailabilitySpec.qll linguist-generated +/lib/codeql/swift/elements/AvailabilitySpecImpl.qll linguist-generated +/lib/codeql/swift/elements/Callable.qll linguist-generated +/lib/codeql/swift/elements/Comment.qll linguist-generated /lib/codeql/swift/elements/CommentConstructor.qll linguist-generated /lib/codeql/swift/elements/DbFile.qll linguist-generated /lib/codeql/swift/elements/DbFileConstructor.qll linguist-generated +/lib/codeql/swift/elements/DbFileImpl.qll linguist-generated /lib/codeql/swift/elements/DbLocation.qll linguist-generated /lib/codeql/swift/elements/DbLocationConstructor.qll linguist-generated +/lib/codeql/swift/elements/DbLocationImpl.qll linguist-generated +/lib/codeql/swift/elements/Diagnostics.qll linguist-generated /lib/codeql/swift/elements/DiagnosticsConstructor.qll linguist-generated +/lib/codeql/swift/elements/Element.qll linguist-generated /lib/codeql/swift/elements/ErrorElement.qll linguist-generated +/lib/codeql/swift/elements/ErrorElementImpl.qll linguist-generated +/lib/codeql/swift/elements/File.qll linguist-generated +/lib/codeql/swift/elements/KeyPathComponent.qll linguist-generated /lib/codeql/swift/elements/KeyPathComponentConstructor.qll linguist-generated +/lib/codeql/swift/elements/Locatable.qll linguist-generated +/lib/codeql/swift/elements/Location.qll linguist-generated +/lib/codeql/swift/elements/MacroRole.qll linguist-generated /lib/codeql/swift/elements/MacroRoleConstructor.qll linguist-generated +/lib/codeql/swift/elements/OtherAvailabilitySpec.qll linguist-generated /lib/codeql/swift/elements/OtherAvailabilitySpecConstructor.qll linguist-generated +/lib/codeql/swift/elements/PlatformVersionAvailabilitySpec.qll linguist-generated /lib/codeql/swift/elements/PlatformVersionAvailabilitySpecConstructor.qll linguist-generated +/lib/codeql/swift/elements/UnknownFile.qll linguist-generated +/lib/codeql/swift/elements/UnknownLocation.qll linguist-generated +/lib/codeql/swift/elements/UnspecifiedElement.qll linguist-generated /lib/codeql/swift/elements/UnspecifiedElementConstructor.qll linguist-generated /lib/codeql/swift/elements/decl/AbstractStorageDecl.qll linguist-generated +/lib/codeql/swift/elements/decl/AbstractStorageDeclImpl.qll linguist-generated /lib/codeql/swift/elements/decl/AbstractTypeParamDecl.qll linguist-generated +/lib/codeql/swift/elements/decl/AbstractTypeParamDeclImpl.qll linguist-generated +/lib/codeql/swift/elements/decl/Accessor.qll linguist-generated /lib/codeql/swift/elements/decl/AccessorConstructor.qll linguist-generated /lib/codeql/swift/elements/decl/AccessorOrNamedFunction.qll linguist-generated +/lib/codeql/swift/elements/decl/AccessorOrNamedFunctionImpl.qll linguist-generated /lib/codeql/swift/elements/decl/AssociatedTypeDecl.qll linguist-generated /lib/codeql/swift/elements/decl/AssociatedTypeDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/AssociatedTypeDeclImpl.qll linguist-generated +/lib/codeql/swift/elements/decl/CapturedDecl.qll linguist-generated /lib/codeql/swift/elements/decl/CapturedDeclConstructor.qll linguist-generated /lib/codeql/swift/elements/decl/ClassDecl.qll linguist-generated /lib/codeql/swift/elements/decl/ClassDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/ClassDeclImpl.qll linguist-generated /lib/codeql/swift/elements/decl/ConcreteVarDecl.qll linguist-generated /lib/codeql/swift/elements/decl/ConcreteVarDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/ConcreteVarDeclImpl.qll linguist-generated +/lib/codeql/swift/elements/decl/Decl.qll linguist-generated +/lib/codeql/swift/elements/decl/Deinitializer.qll linguist-generated /lib/codeql/swift/elements/decl/DeinitializerConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/EnumCaseDecl.qll linguist-generated /lib/codeql/swift/elements/decl/EnumCaseDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/EnumDecl.qll linguist-generated /lib/codeql/swift/elements/decl/EnumDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/EnumElementDecl.qll linguist-generated /lib/codeql/swift/elements/decl/EnumElementDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/ExtensionDecl.qll linguist-generated /lib/codeql/swift/elements/decl/ExtensionDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/Function.qll linguist-generated /lib/codeql/swift/elements/decl/GenericContext.qll linguist-generated +/lib/codeql/swift/elements/decl/GenericContextImpl.qll linguist-generated /lib/codeql/swift/elements/decl/GenericTypeDecl.qll linguist-generated +/lib/codeql/swift/elements/decl/GenericTypeDeclImpl.qll linguist-generated /lib/codeql/swift/elements/decl/GenericTypeParamDecl.qll linguist-generated /lib/codeql/swift/elements/decl/GenericTypeParamDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/GenericTypeParamDeclImpl.qll linguist-generated +/lib/codeql/swift/elements/decl/IfConfigDecl.qll linguist-generated /lib/codeql/swift/elements/decl/IfConfigDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/ImportDecl.qll linguist-generated /lib/codeql/swift/elements/decl/ImportDeclConstructor.qll linguist-generated /lib/codeql/swift/elements/decl/InfixOperatorDecl.qll linguist-generated /lib/codeql/swift/elements/decl/InfixOperatorDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/InfixOperatorDeclImpl.qll linguist-generated +/lib/codeql/swift/elements/decl/Initializer.qll linguist-generated /lib/codeql/swift/elements/decl/InitializerConstructor.qll linguist-generated /lib/codeql/swift/elements/decl/MacroDecl.qll linguist-generated /lib/codeql/swift/elements/decl/MacroDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/MacroDeclImpl.qll linguist-generated +/lib/codeql/swift/elements/decl/MissingMemberDecl.qll linguist-generated /lib/codeql/swift/elements/decl/MissingMemberDeclConstructor.qll linguist-generated /lib/codeql/swift/elements/decl/ModuleDecl.qll linguist-generated /lib/codeql/swift/elements/decl/ModuleDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/ModuleDeclImpl.qll linguist-generated /lib/codeql/swift/elements/decl/NamedFunction.qll linguist-generated /lib/codeql/swift/elements/decl/NamedFunctionConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/NamedFunctionImpl.qll linguist-generated +/lib/codeql/swift/elements/decl/NominalTypeDecl.qll linguist-generated /lib/codeql/swift/elements/decl/OpaqueTypeDecl.qll linguist-generated /lib/codeql/swift/elements/decl/OpaqueTypeDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/OpaqueTypeDeclImpl.qll linguist-generated +/lib/codeql/swift/elements/decl/OperatorDecl.qll linguist-generated +/lib/codeql/swift/elements/decl/ParamDecl.qll linguist-generated /lib/codeql/swift/elements/decl/ParamDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/PatternBindingDecl.qll linguist-generated /lib/codeql/swift/elements/decl/PatternBindingDeclConstructor.qll linguist-generated /lib/codeql/swift/elements/decl/PostfixOperatorDecl.qll linguist-generated /lib/codeql/swift/elements/decl/PostfixOperatorDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/PostfixOperatorDeclImpl.qll linguist-generated +/lib/codeql/swift/elements/decl/PoundDiagnosticDecl.qll linguist-generated /lib/codeql/swift/elements/decl/PoundDiagnosticDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/PrecedenceGroupDecl.qll linguist-generated /lib/codeql/swift/elements/decl/PrecedenceGroupDeclConstructor.qll linguist-generated /lib/codeql/swift/elements/decl/PrefixOperatorDecl.qll linguist-generated /lib/codeql/swift/elements/decl/PrefixOperatorDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/PrefixOperatorDeclImpl.qll linguist-generated /lib/codeql/swift/elements/decl/ProtocolDecl.qll linguist-generated /lib/codeql/swift/elements/decl/ProtocolDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/ProtocolDeclImpl.qll linguist-generated /lib/codeql/swift/elements/decl/StructDecl.qll linguist-generated /lib/codeql/swift/elements/decl/StructDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/StructDeclImpl.qll linguist-generated +/lib/codeql/swift/elements/decl/SubscriptDecl.qll linguist-generated /lib/codeql/swift/elements/decl/SubscriptDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/TopLevelCodeDecl.qll linguist-generated /lib/codeql/swift/elements/decl/TopLevelCodeDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/TypeAliasDecl.qll linguist-generated /lib/codeql/swift/elements/decl/TypeAliasDeclConstructor.qll linguist-generated +/lib/codeql/swift/elements/decl/TypeDecl.qll linguist-generated +/lib/codeql/swift/elements/decl/ValueDecl.qll linguist-generated +/lib/codeql/swift/elements/decl/VarDecl.qll linguist-generated /lib/codeql/swift/elements/expr/AbiSafeConversionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/AbiSafeConversionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/AbiSafeConversionExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/AnyHashableErasureExpr.qll linguist-generated /lib/codeql/swift/elements/expr/AnyHashableErasureExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/AnyHashableErasureExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/AnyTryExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/AnyTryExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/AppliedPropertyWrapperExpr.qll linguist-generated /lib/codeql/swift/elements/expr/AppliedPropertyWrapperExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/AppliedPropertyWrapperExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/ApplyExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ArchetypeToSuperExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ArchetypeToSuperExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ArchetypeToSuperExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/Argument.qll linguist-generated +/lib/codeql/swift/elements/expr/ArrayExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ArrayExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/ArrayToPointerExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ArrayToPointerExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ArrayToPointerExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/AssignExpr.qll linguist-generated /lib/codeql/swift/elements/expr/AssignExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/AutoClosureExpr.qll linguist-generated /lib/codeql/swift/elements/expr/AutoClosureExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/AwaitExpr.qll linguist-generated /lib/codeql/swift/elements/expr/AwaitExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/BinaryExpr.qll linguist-generated /lib/codeql/swift/elements/expr/BinaryExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/BindOptionalExpr.qll linguist-generated /lib/codeql/swift/elements/expr/BindOptionalExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/BooleanLiteralExpr.qll linguist-generated /lib/codeql/swift/elements/expr/BooleanLiteralExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/BorrowExpr.qll linguist-generated /lib/codeql/swift/elements/expr/BorrowExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/BorrowExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/BridgeFromObjCExpr.qll linguist-generated /lib/codeql/swift/elements/expr/BridgeFromObjCExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/BridgeFromObjCExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/BridgeToObjCExpr.qll linguist-generated /lib/codeql/swift/elements/expr/BridgeToObjCExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/BridgeToObjCExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/BuiltinLiteralExpr.qll linguist-generated /lib/codeql/swift/elements/expr/CallExpr.qll linguist-generated /lib/codeql/swift/elements/expr/CallExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/CallExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/CaptureListExpr.qll linguist-generated /lib/codeql/swift/elements/expr/CaptureListExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/CheckedCastExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/CheckedCastExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/ClassMetatypeToObjectExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ClassMetatypeToObjectExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ClassMetatypeToObjectExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/ClosureExpr.qll linguist-generated /lib/codeql/swift/elements/expr/CoerceExpr.qll linguist-generated /lib/codeql/swift/elements/expr/CoerceExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/CoerceExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/CollectionExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/CollectionExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/CollectionUpcastConversionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/CollectionUpcastConversionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/CollectionUpcastConversionExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/ConditionalCheckedCastExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ConditionalCheckedCastExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ConditionalCheckedCastExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/ConsumeExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ConsumeExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ConsumeExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/CopyExpr.qll linguist-generated /lib/codeql/swift/elements/expr/CopyExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/CopyExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/CovariantFunctionConversionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/CovariantFunctionConversionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/CovariantFunctionConversionExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/CovariantReturnConversionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/CovariantReturnConversionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/CovariantReturnConversionExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/DeclRefExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DeclRefExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/DefaultArgumentExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DefaultArgumentExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/DerivedToBaseExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DerivedToBaseExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/DerivedToBaseExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/DestructureTupleExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DestructureTupleExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/DestructureTupleExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/DictionaryExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DictionaryExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/DifferentiableFunctionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DifferentiableFunctionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/DifferentiableFunctionExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/DifferentiableFunctionExtractOriginalExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DifferentiableFunctionExtractOriginalExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/DiscardAssignmentExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DiscardAssignmentExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/DotSelfExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DotSelfExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/DotSyntaxBaseIgnoredExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DotSyntaxBaseIgnoredExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/DotSyntaxCallExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/DotSyntaxCallExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/DynamicLookupExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/DynamicLookupExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/DynamicMemberRefExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DynamicMemberRefExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/DynamicSubscriptExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DynamicSubscriptExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/DynamicTypeExpr.qll linguist-generated /lib/codeql/swift/elements/expr/DynamicTypeExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/EnumIsCaseExpr.qll linguist-generated /lib/codeql/swift/elements/expr/EnumIsCaseExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/ErasureExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ErasureExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ErasureExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/ErrorExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ErrorExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ErrorExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/ExplicitCastExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/ExplicitClosureExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ExplicitClosureExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/Expr.qll linguist-generated +/lib/codeql/swift/elements/expr/FloatLiteralExpr.qll linguist-generated /lib/codeql/swift/elements/expr/FloatLiteralExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ForceTryExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ForceTryExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ForceValueExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ForceValueExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/ForcedCheckedCastExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ForcedCheckedCastExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ForcedCheckedCastExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/ForeignObjectConversionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ForeignObjectConversionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ForeignObjectConversionExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/FunctionConversionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/FunctionConversionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/FunctionConversionExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/IdentityExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/IfExpr.qll linguist-generated /lib/codeql/swift/elements/expr/IfExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ImplicitConversionExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/InOutExpr.qll linguist-generated /lib/codeql/swift/elements/expr/InOutExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/InOutToPointerExpr.qll linguist-generated /lib/codeql/swift/elements/expr/InOutToPointerExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/InOutToPointerExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/InitializerRefCallExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/InitializerRefCallExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/InjectIntoOptionalExpr.qll linguist-generated /lib/codeql/swift/elements/expr/InjectIntoOptionalExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/InjectIntoOptionalExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/IntegerLiteralExpr.qll linguist-generated /lib/codeql/swift/elements/expr/IntegerLiteralExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/InterpolatedStringLiteralExpr.qll linguist-generated /lib/codeql/swift/elements/expr/InterpolatedStringLiteralExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/IsExpr.qll linguist-generated /lib/codeql/swift/elements/expr/IsExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/KeyPathApplicationExpr.qll linguist-generated /lib/codeql/swift/elements/expr/KeyPathApplicationExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/KeyPathDotExpr.qll linguist-generated /lib/codeql/swift/elements/expr/KeyPathDotExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/KeyPathExpr.qll linguist-generated /lib/codeql/swift/elements/expr/KeyPathExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/LazyInitializationExpr.qll linguist-generated /lib/codeql/swift/elements/expr/LazyInitializationExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/LinearFunctionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/LinearFunctionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/LinearFunctionExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExpr.qll linguist-generated /lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/LiteralExpr.qll linguist-generated /lib/codeql/swift/elements/expr/LoadExpr.qll linguist-generated /lib/codeql/swift/elements/expr/LoadExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/LoadExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/LookupExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/LookupExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/MagicIdentifierLiteralExpr.qll linguist-generated /lib/codeql/swift/elements/expr/MagicIdentifierLiteralExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/MakeTemporarilyEscapableExpr.qll linguist-generated /lib/codeql/swift/elements/expr/MakeTemporarilyEscapableExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/MaterializePackExpr.qll linguist-generated /lib/codeql/swift/elements/expr/MaterializePackExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/MaterializePackExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/MemberRefExpr.qll linguist-generated /lib/codeql/swift/elements/expr/MemberRefExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/MetatypeConversionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/MetatypeConversionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/MetatypeConversionExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/MethodLookupExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/NilLiteralExpr.qll linguist-generated /lib/codeql/swift/elements/expr/NilLiteralExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/NumberLiteralExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/NumberLiteralExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/ObjCSelectorExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ObjCSelectorExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ObjectLiteralExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ObjectLiteralExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/OneWayExpr.qll linguist-generated /lib/codeql/swift/elements/expr/OneWayExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/OpaqueValueExpr.qll linguist-generated /lib/codeql/swift/elements/expr/OpaqueValueExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/OpaqueValueExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/OpenExistentialExpr.qll linguist-generated /lib/codeql/swift/elements/expr/OpenExistentialExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/OpenExistentialExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/OptionalEvaluationExpr.qll linguist-generated /lib/codeql/swift/elements/expr/OptionalEvaluationExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/OptionalEvaluationExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/OptionalTryExpr.qll linguist-generated /lib/codeql/swift/elements/expr/OptionalTryExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/OtherInitializerRefExpr.qll linguist-generated /lib/codeql/swift/elements/expr/OtherInitializerRefExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/OverloadedDeclRefExpr.qll linguist-generated /lib/codeql/swift/elements/expr/OverloadedDeclRefExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/OverloadedDeclRefExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/PackElementExpr.qll linguist-generated /lib/codeql/swift/elements/expr/PackElementExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/PackElementExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/PackExpansionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/PackExpansionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/PackExpansionExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/ParenExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ParenExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/PointerToPointerExpr.qll linguist-generated /lib/codeql/swift/elements/expr/PointerToPointerExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/PointerToPointerExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/PostfixUnaryExpr.qll linguist-generated /lib/codeql/swift/elements/expr/PostfixUnaryExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/PrefixUnaryExpr.qll linguist-generated /lib/codeql/swift/elements/expr/PrefixUnaryExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExpr.qll linguist-generated /lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExpr.qll linguist-generated /lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/RebindSelfInInitializerExpr.qll linguist-generated /lib/codeql/swift/elements/expr/RebindSelfInInitializerExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/RegexLiteralExpr.qll linguist-generated /lib/codeql/swift/elements/expr/RegexLiteralExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/SelfApplyExpr.qll linguist-generated +/lib/codeql/swift/elements/expr/SelfApplyExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/SequenceExpr.qll linguist-generated /lib/codeql/swift/elements/expr/SequenceExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/SequenceExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/SingleValueStmtExpr.qll linguist-generated /lib/codeql/swift/elements/expr/SingleValueStmtExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/SingleValueStmtExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/StringLiteralExpr.qll linguist-generated /lib/codeql/swift/elements/expr/StringLiteralExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/StringToPointerExpr.qll linguist-generated /lib/codeql/swift/elements/expr/StringToPointerExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/StringToPointerExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/SubscriptExpr.qll linguist-generated /lib/codeql/swift/elements/expr/SubscriptExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/SuperRefExpr.qll linguist-generated /lib/codeql/swift/elements/expr/SuperRefExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/TapExpr.qll linguist-generated /lib/codeql/swift/elements/expr/TapExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/TryExpr.qll linguist-generated /lib/codeql/swift/elements/expr/TryExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/TupleElementExpr.qll linguist-generated /lib/codeql/swift/elements/expr/TupleElementExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/TupleExpr.qll linguist-generated /lib/codeql/swift/elements/expr/TupleExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/TypeExpr.qll linguist-generated /lib/codeql/swift/elements/expr/TypeExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/UnderlyingToOpaqueExpr.qll linguist-generated /lib/codeql/swift/elements/expr/UnderlyingToOpaqueExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/UnderlyingToOpaqueExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/UnevaluatedInstanceExpr.qll linguist-generated /lib/codeql/swift/elements/expr/UnevaluatedInstanceExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/UnevaluatedInstanceExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/UnresolvedDeclRefExpr.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedDeclRefExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/UnresolvedDotExpr.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedDotExprConstructor.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExpr.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedMemberExpr.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedMemberExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/UnresolvedMemberExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedPatternExpr.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedPatternExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/UnresolvedPatternExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedSpecializeExpr.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedSpecializeExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/UnresolvedSpecializeExprImpl.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedTypeConversionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/UnresolvedTypeConversionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/expr/UnresolvedTypeConversionExprImpl.qll linguist-generated +/lib/codeql/swift/elements/expr/VarargExpansionExpr.qll linguist-generated /lib/codeql/swift/elements/expr/VarargExpansionExprConstructor.qll linguist-generated +/lib/codeql/swift/elements/pattern/AnyPattern.qll linguist-generated /lib/codeql/swift/elements/pattern/AnyPatternConstructor.qll linguist-generated +/lib/codeql/swift/elements/pattern/BindingPattern.qll linguist-generated /lib/codeql/swift/elements/pattern/BindingPatternConstructor.qll linguist-generated +/lib/codeql/swift/elements/pattern/BoolPattern.qll linguist-generated /lib/codeql/swift/elements/pattern/BoolPatternConstructor.qll linguist-generated +/lib/codeql/swift/elements/pattern/EnumElementPattern.qll linguist-generated /lib/codeql/swift/elements/pattern/EnumElementPatternConstructor.qll linguist-generated +/lib/codeql/swift/elements/pattern/ExprPattern.qll linguist-generated /lib/codeql/swift/elements/pattern/ExprPatternConstructor.qll linguist-generated +/lib/codeql/swift/elements/pattern/IsPattern.qll linguist-generated /lib/codeql/swift/elements/pattern/IsPatternConstructor.qll linguist-generated +/lib/codeql/swift/elements/pattern/NamedPattern.qll linguist-generated /lib/codeql/swift/elements/pattern/NamedPatternConstructor.qll linguist-generated +/lib/codeql/swift/elements/pattern/OptionalSomePattern.qll linguist-generated /lib/codeql/swift/elements/pattern/OptionalSomePatternConstructor.qll linguist-generated +/lib/codeql/swift/elements/pattern/ParenPattern.qll linguist-generated /lib/codeql/swift/elements/pattern/ParenPatternConstructor.qll linguist-generated +/lib/codeql/swift/elements/pattern/Pattern.qll linguist-generated +/lib/codeql/swift/elements/pattern/TuplePattern.qll linguist-generated /lib/codeql/swift/elements/pattern/TuplePatternConstructor.qll linguist-generated +/lib/codeql/swift/elements/pattern/TypedPattern.qll linguist-generated /lib/codeql/swift/elements/pattern/TypedPatternConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/BraceStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/BraceStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/BreakStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/BreakStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/CaseLabelItem.qll linguist-generated /lib/codeql/swift/elements/stmt/CaseLabelItemConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/CaseStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/CaseStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/ConditionElement.qll linguist-generated /lib/codeql/swift/elements/stmt/ConditionElementConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/ContinueStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/ContinueStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/DeferStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/DeferStmtConstructor.qll linguist-generated /lib/codeql/swift/elements/stmt/DiscardStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/DiscardStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/DiscardStmtImpl.qll linguist-generated +/lib/codeql/swift/elements/stmt/DoCatchStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/DoCatchStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/DoStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/DoStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/FailStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/FailStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/FallthroughStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/FallthroughStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/ForEachStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/ForEachStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/GuardStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/GuardStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/IfStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/IfStmtConstructor.qll linguist-generated /lib/codeql/swift/elements/stmt/LabeledConditionalStmt.qll linguist-generated +/lib/codeql/swift/elements/stmt/LabeledConditionalStmtImpl.qll linguist-generated +/lib/codeql/swift/elements/stmt/LabeledStmt.qll linguist-generated +/lib/codeql/swift/elements/stmt/PoundAssertStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/PoundAssertStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/RepeatWhileStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/RepeatWhileStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/ReturnStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/ReturnStmtConstructor.qll linguist-generated /lib/codeql/swift/elements/stmt/Stmt.qll linguist-generated +/lib/codeql/swift/elements/stmt/StmtCondition.qll linguist-generated /lib/codeql/swift/elements/stmt/StmtConditionConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/StmtImpl.qll linguist-generated +/lib/codeql/swift/elements/stmt/SwitchStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/SwitchStmtConstructor.qll linguist-generated /lib/codeql/swift/elements/stmt/ThenStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/ThenStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/ThenStmtImpl.qll linguist-generated +/lib/codeql/swift/elements/stmt/ThrowStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/ThrowStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/WhileStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/WhileStmtConstructor.qll linguist-generated +/lib/codeql/swift/elements/stmt/YieldStmt.qll linguist-generated /lib/codeql/swift/elements/stmt/YieldStmtConstructor.qll linguist-generated /lib/codeql/swift/elements/type/AnyBuiltinIntegerType.qll linguist-generated +/lib/codeql/swift/elements/type/AnyBuiltinIntegerTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/AnyFunctionType.qll linguist-generated +/lib/codeql/swift/elements/type/AnyFunctionTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/AnyGenericType.qll linguist-generated +/lib/codeql/swift/elements/type/AnyGenericTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/AnyMetatypeType.qll linguist-generated +/lib/codeql/swift/elements/type/AnyMetatypeTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ArchetypeType.qll linguist-generated +/lib/codeql/swift/elements/type/ArchetypeTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ArraySliceType.qll linguist-generated /lib/codeql/swift/elements/type/ArraySliceTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/ArraySliceTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BoundGenericClassType.qll linguist-generated /lib/codeql/swift/elements/type/BoundGenericClassTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BoundGenericClassTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BoundGenericEnumType.qll linguist-generated /lib/codeql/swift/elements/type/BoundGenericEnumTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BoundGenericEnumTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BoundGenericStructType.qll linguist-generated /lib/codeql/swift/elements/type/BoundGenericStructTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BoundGenericStructTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BoundGenericType.qll linguist-generated +/lib/codeql/swift/elements/type/BoundGenericTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinBridgeObjectType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinBridgeObjectTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinBridgeObjectTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinDefaultActorStorageType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinDefaultActorStorageTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinDefaultActorStorageTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinExecutorType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinExecutorTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinExecutorTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinFloatType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinFloatTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinFloatTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinIntegerLiteralType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinIntegerLiteralTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinIntegerLiteralTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinIntegerType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinIntegerTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinIntegerTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinJobType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinJobTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinJobTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinNativeObjectType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinNativeObjectTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinNativeObjectTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinRawPointerType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinRawPointerTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinRawPointerTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinType.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinVectorType.qll linguist-generated /lib/codeql/swift/elements/type/BuiltinVectorTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/BuiltinVectorTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ClassType.qll linguist-generated /lib/codeql/swift/elements/type/ClassTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/ClassTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/DependentMemberType.qll linguist-generated /lib/codeql/swift/elements/type/DependentMemberTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/DependentMemberTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/DictionaryType.qll linguist-generated /lib/codeql/swift/elements/type/DictionaryTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/DictionaryTypeImpl.qll linguist-generated +/lib/codeql/swift/elements/type/DynamicSelfType.qll linguist-generated /lib/codeql/swift/elements/type/DynamicSelfTypeConstructor.qll linguist-generated /lib/codeql/swift/elements/type/ElementArchetypeType.qll linguist-generated /lib/codeql/swift/elements/type/ElementArchetypeTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/ElementArchetypeTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/EnumType.qll linguist-generated /lib/codeql/swift/elements/type/EnumTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/EnumTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ErrorType.qll linguist-generated /lib/codeql/swift/elements/type/ErrorTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/ErrorTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ExistentialMetatypeType.qll linguist-generated /lib/codeql/swift/elements/type/ExistentialMetatypeTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/ExistentialMetatypeTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ExistentialType.qll linguist-generated /lib/codeql/swift/elements/type/ExistentialTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/ExistentialTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/FunctionType.qll linguist-generated /lib/codeql/swift/elements/type/FunctionTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/FunctionTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/GenericFunctionType.qll linguist-generated /lib/codeql/swift/elements/type/GenericFunctionTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/GenericFunctionTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/GenericTypeParamType.qll linguist-generated /lib/codeql/swift/elements/type/GenericTypeParamTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/GenericTypeParamTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/InOutType.qll linguist-generated /lib/codeql/swift/elements/type/InOutTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/InOutTypeImpl.qll linguist-generated +/lib/codeql/swift/elements/type/LValueType.qll linguist-generated /lib/codeql/swift/elements/type/LValueTypeConstructor.qll linguist-generated /lib/codeql/swift/elements/type/LocalArchetypeType.qll linguist-generated +/lib/codeql/swift/elements/type/LocalArchetypeTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/MetatypeType.qll linguist-generated /lib/codeql/swift/elements/type/MetatypeTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/MetatypeTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ModuleType.qll linguist-generated /lib/codeql/swift/elements/type/ModuleTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/ModuleTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/NominalOrBoundGenericNominalType.qll linguist-generated +/lib/codeql/swift/elements/type/NominalOrBoundGenericNominalTypeImpl.qll linguist-generated +/lib/codeql/swift/elements/type/NominalType.qll linguist-generated /lib/codeql/swift/elements/type/OpaqueTypeArchetypeType.qll linguist-generated /lib/codeql/swift/elements/type/OpaqueTypeArchetypeTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/OpaqueTypeArchetypeTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/OpenedArchetypeType.qll linguist-generated /lib/codeql/swift/elements/type/OpenedArchetypeTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/OpenedArchetypeTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/OptionalType.qll linguist-generated /lib/codeql/swift/elements/type/OptionalTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/OptionalTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/PackArchetypeType.qll linguist-generated /lib/codeql/swift/elements/type/PackArchetypeTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/PackArchetypeTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/PackElementType.qll linguist-generated /lib/codeql/swift/elements/type/PackElementTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/PackElementTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/PackExpansionType.qll linguist-generated /lib/codeql/swift/elements/type/PackExpansionTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/PackExpansionTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/PackType.qll linguist-generated /lib/codeql/swift/elements/type/PackTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/PackTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ParameterizedProtocolType.qll linguist-generated /lib/codeql/swift/elements/type/ParameterizedProtocolTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/ParameterizedProtocolTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ParenType.qll linguist-generated /lib/codeql/swift/elements/type/ParenTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/ParenTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/PrimaryArchetypeType.qll linguist-generated /lib/codeql/swift/elements/type/PrimaryArchetypeTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/PrimaryArchetypeTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ProtocolCompositionType.qll linguist-generated /lib/codeql/swift/elements/type/ProtocolCompositionTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/ProtocolCompositionTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ProtocolType.qll linguist-generated /lib/codeql/swift/elements/type/ProtocolTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/ProtocolTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/ReferenceStorageType.qll linguist-generated +/lib/codeql/swift/elements/type/ReferenceStorageTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/StructType.qll linguist-generated /lib/codeql/swift/elements/type/StructTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/StructTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/SubstitutableType.qll linguist-generated +/lib/codeql/swift/elements/type/SubstitutableTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/SugarType.qll linguist-generated +/lib/codeql/swift/elements/type/SugarTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/SyntaxSugarType.qll linguist-generated +/lib/codeql/swift/elements/type/SyntaxSugarTypeImpl.qll linguist-generated +/lib/codeql/swift/elements/type/TupleType.qll linguist-generated /lib/codeql/swift/elements/type/TupleTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/Type.qll linguist-generated +/lib/codeql/swift/elements/type/TypeAliasType.qll linguist-generated /lib/codeql/swift/elements/type/TypeAliasTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/TypeRepr.qll linguist-generated /lib/codeql/swift/elements/type/TypeReprConstructor.qll linguist-generated /lib/codeql/swift/elements/type/UnarySyntaxSugarType.qll linguist-generated +/lib/codeql/swift/elements/type/UnarySyntaxSugarTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/UnboundGenericType.qll linguist-generated /lib/codeql/swift/elements/type/UnboundGenericTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/UnboundGenericTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/UnmanagedStorageType.qll linguist-generated /lib/codeql/swift/elements/type/UnmanagedStorageTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/UnmanagedStorageTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/UnownedStorageType.qll linguist-generated /lib/codeql/swift/elements/type/UnownedStorageTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/UnownedStorageTypeImpl.qll linguist-generated /lib/codeql/swift/elements/type/UnresolvedType.qll linguist-generated /lib/codeql/swift/elements/type/UnresolvedTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/UnresolvedTypeImpl.qll linguist-generated +/lib/codeql/swift/elements/type/VariadicSequenceType.qll linguist-generated /lib/codeql/swift/elements/type/VariadicSequenceTypeConstructor.qll linguist-generated /lib/codeql/swift/elements/type/WeakStorageType.qll linguist-generated /lib/codeql/swift/elements/type/WeakStorageTypeConstructor.qll linguist-generated +/lib/codeql/swift/elements/type/WeakStorageTypeImpl.qll linguist-generated /lib/codeql/swift/elements.qll linguist-generated /lib/codeql/swift/generated/AstNode.qll linguist-generated /lib/codeql/swift/generated/AvailabilityInfo.qll linguist-generated diff --git a/swift/ql/lib/codeql/swift/elements.qll b/swift/ql/lib/codeql/swift/elements.qll index e6e505e5da6c..5d79bdf2d248 100644 --- a/swift/ql/lib/codeql/swift/elements.qll +++ b/swift/ql/lib/codeql/swift/elements.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module exports all modules providing `Element` subclasses. */ diff --git a/swift/ql/lib/codeql/swift/elements/AstNode.qll b/swift/ql/lib/codeql/swift/elements/AstNode.qll index 24cb90b2a303..15c46ee3dddf 100644 --- a/swift/ql/lib/codeql/swift/elements/AstNode.qll +++ b/swift/ql/lib/codeql/swift/elements/AstNode.qll @@ -1,84 +1,9 @@ -private import codeql.swift.generated.AstNode -private import codeql.swift.elements.decl.Function -private import codeql.swift.elements.decl.Decl -private import codeql.swift.elements.expr.ClosureExpr -private import codeql.swift.elements.Callable -private import codeql.swift.generated.ParentChild - -private module Cached { - private Element getEnclosingDeclStep(Element e) { - not e instanceof Decl and - result = getImmediateParent(e) - } - - cached - Decl getEnclosingDecl(AstNode ast) { result = getEnclosingDeclStep*(getImmediateParent(ast)) } - - private Element getEnclosingFunctionStep(Element e) { - not e instanceof Function and - result = getEnclosingDecl(e) - } - - cached - Function getEnclosingFunction(AstNode ast) { - result = getEnclosingFunctionStep*(getEnclosingDecl(ast)) - } - - private Element getEnclosingClosureStep(Element e) { - not e instanceof Callable and - result = getImmediateParent(e) - } - - cached - ClosureExpr getEnclosingClosure(AstNode ast) { - result = getEnclosingClosureStep*(getImmediateParent(ast)) - } -} - +// generated by codegen/codegen.py, do not edit /** - * A node in the abstract syntax tree. + * This module provides the public class `AstNode`. */ -class AstNode extends Generated::AstNode { - /** - * Gets the nearest function definition that contains this AST node, if any. - * This includes functions, methods, (de)initializers, and accessors, but not closures. - * - * For example, in the following code, the AST node for `n + 1` has `foo` as its - * enclosing function (via `getEnclosingFunction`), whereas its enclosing callable is - * the closure `{(n : Int) in n + 1 }` (via `getEnclosingCallable`): - * - * ```swift - * func foo() { - * var f = { (n : Int) in n + 1 } - * } - * ``` - */ - final Function getEnclosingFunction() { result = Cached::getEnclosingFunction(this) } - /** - * Gets the nearest declaration that contains this AST node, if any. - * - * Note that the nearest declaration may be an extension of a type declaration. If you always - * want the type declaration and not the extension, use `getEnclosingDecl().asNominalTypeDecl()`. - */ - final Decl getEnclosingDecl() { result = Cached::getEnclosingDecl(this) } +private import AstNodeImpl +import codeql.swift.elements.Locatable - /** - * Gets the nearest `Callable` that contains this AST node, if any. - * This includes (auto)closures, functions, methods, (de)initializers, and accessors. - * - * For example, in the following code, the AST node for `n + 1` has the closure - * `{(n : Int) in n + 1 }` as its enclosing callable. - * - * ```swift - * func foo() { - * var f = { (n : Int) in n + 1 } - * } - * ``` - */ - final Callable getEnclosingCallable() { - if exists(Cached::getEnclosingClosure(this)) - then result = Cached::getEnclosingClosure(this) - else result = Cached::getEnclosingFunction(this) - } -} +final class AstNode = Impl::AstNode; diff --git a/swift/ql/lib/codeql/swift/elements/AstNodeImpl.qll b/swift/ql/lib/codeql/swift/elements/AstNodeImpl.qll new file mode 100644 index 000000000000..018db3e94f38 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/AstNodeImpl.qll @@ -0,0 +1,86 @@ +private import codeql.swift.generated.AstNode +private import codeql.swift.elements.decl.Function +private import codeql.swift.elements.decl.Decl +private import codeql.swift.elements.expr.ClosureExpr +private import codeql.swift.elements.Callable +private import codeql.swift.generated.ParentChild + +module Impl { + private module Cached { + private Element getEnclosingDeclStep(Element e) { + not e instanceof Decl and + result = getImmediateParent(e) + } + + cached + Decl getEnclosingDecl(AstNode ast) { result = getEnclosingDeclStep*(getImmediateParent(ast)) } + + private Element getEnclosingFunctionStep(Element e) { + not e instanceof Function and + result = getEnclosingDecl(e) + } + + cached + Function getEnclosingFunction(AstNode ast) { + result = getEnclosingFunctionStep*(getEnclosingDecl(ast)) + } + + private Element getEnclosingClosureStep(Element e) { + not e instanceof Callable and + result = getImmediateParent(e) + } + + cached + ClosureExpr getEnclosingClosure(AstNode ast) { + result = getEnclosingClosureStep*(getImmediateParent(ast)) + } + } + + /** + * A node in the abstract syntax tree. + */ + class AstNode extends Generated::AstNode { + /** + * Gets the nearest function definition that contains this AST node, if any. + * This includes functions, methods, (de)initializers, and accessors, but not closures. + * + * For example, in the following code, the AST node for `n + 1` has `foo` as its + * enclosing function (via `getEnclosingFunction`), whereas its enclosing callable is + * the closure `{(n : Int) in n + 1 }` (via `getEnclosingCallable`): + * + * ```swift + * func foo() { + * var f = { (n : Int) in n + 1 } + * } + * ``` + */ + final Function getEnclosingFunction() { result = Cached::getEnclosingFunction(this) } + + /** + * Gets the nearest declaration that contains this AST node, if any. + * + * Note that the nearest declaration may be an extension of a type declaration. If you always + * want the type declaration and not the extension, use `getEnclosingDecl().asNominalTypeDecl()`. + */ + final Decl getEnclosingDecl() { result = Cached::getEnclosingDecl(this) } + + /** + * Gets the nearest `Callable` that contains this AST node, if any. + * This includes (auto)closures, functions, methods, (de)initializers, and accessors. + * + * For example, in the following code, the AST node for `n + 1` has the closure + * `{(n : Int) in n + 1 }` as its enclosing callable. + * + * ```swift + * func foo() { + * var f = { (n : Int) in n + 1 } + * } + * ``` + */ + final Callable getEnclosingCallable() { + if exists(Cached::getEnclosingClosure(this)) + then result = Cached::getEnclosingClosure(this) + else result = Cached::getEnclosingFunction(this) + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/AvailabilityInfo.qll b/swift/ql/lib/codeql/swift/elements/AvailabilityInfo.qll index 6e04261dc4f9..20c57ddef6f9 100644 --- a/swift/ql/lib/codeql/swift/elements/AvailabilityInfo.qll +++ b/swift/ql/lib/codeql/swift/elements/AvailabilityInfo.qll @@ -1,6 +1,12 @@ -private import codeql.swift.generated.AvailabilityInfo +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `AvailabilityInfo`. + */ + +private import AvailabilityInfoImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.AvailabilitySpec -// the following QLdoc is generated: if you need to edit it, do it in the schema file /** * An availability condition of an `if`, `while`, or `guard` statements. * @@ -16,10 +22,4 @@ private import codeql.swift.generated.AvailabilityInfo * } * ``` */ -class AvailabilityInfo extends Generated::AvailabilityInfo { - override string toString() { - result = "#available" and not this.isUnavailable() - or - result = "#unavailable" and this.isUnavailable() - } -} +final class AvailabilityInfo = Impl::AvailabilityInfo; diff --git a/swift/ql/lib/codeql/swift/elements/AvailabilityInfoImpl.qll b/swift/ql/lib/codeql/swift/elements/AvailabilityInfoImpl.qll new file mode 100644 index 000000000000..caa478fbc2de --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/AvailabilityInfoImpl.qll @@ -0,0 +1,27 @@ +private import codeql.swift.generated.AvailabilityInfo + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * An availability condition of an `if`, `while`, or `guard` statements. + * + * Examples: + * ``` + * if #available(iOS 12, *) { + * // Runs on iOS 12 and above + * } else { + * // Runs only anything below iOS 12 + * } + * if #unavailable(macOS 10.14, *) { + * // Runs only on macOS 10 and below + * } + * ``` + */ + class AvailabilityInfo extends Generated::AvailabilityInfo { + override string toString() { + result = "#available" and not this.isUnavailable() + or + result = "#unavailable" and this.isUnavailable() + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/AvailabilitySpec.qll b/swift/ql/lib/codeql/swift/elements/AvailabilitySpec.qll index d3fae67897c3..df753e6f6b17 100644 --- a/swift/ql/lib/codeql/swift/elements/AvailabilitySpec.qll +++ b/swift/ql/lib/codeql/swift/elements/AvailabilitySpec.qll @@ -1,9 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AvailabilitySpec`. + * This module provides the public class `AvailabilitySpec`. */ -private import codeql.swift.generated.AvailabilitySpec +private import AvailabilitySpecImpl +import codeql.swift.elements.AstNode /** * An availability spec, that is, part of an `AvailabilityInfo` condition. For example `iOS 12` and `*` in: @@ -11,4 +12,4 @@ private import codeql.swift.generated.AvailabilitySpec * if #available(iOS 12, *) * ``` */ -class AvailabilitySpec extends Generated::AvailabilitySpec { } +final class AvailabilitySpec = Impl::AvailabilitySpec; diff --git a/swift/ql/lib/codeql/swift/elements/AvailabilitySpecImpl.qll b/swift/ql/lib/codeql/swift/elements/AvailabilitySpecImpl.qll new file mode 100644 index 000000000000..0df968b3e6f6 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/AvailabilitySpecImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AvailabilitySpec`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.AvailabilitySpec + +/** + * INTERNAL: This module contains the customizable definition of `AvailabilitySpec` and should not + * be referenced directly. + */ +module Impl { + /** + * An availability spec, that is, part of an `AvailabilityInfo` condition. For example `iOS 12` and `*` in: + * ``` + * if #available(iOS 12, *) + * ``` + */ + class AvailabilitySpec extends Generated::AvailabilitySpec { } +} diff --git a/swift/ql/lib/codeql/swift/elements/Callable.qll b/swift/ql/lib/codeql/swift/elements/Callable.qll index b74b530683d7..9e9c231201cd 100644 --- a/swift/ql/lib/codeql/swift/elements/Callable.qll +++ b/swift/ql/lib/codeql/swift/elements/Callable.qll @@ -1,19 +1,12 @@ -private import codeql.swift.generated.Callable -private import codeql.swift.elements.AstNode -private import codeql.swift.elements.decl.Decl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `Callable`. + */ -class Callable extends Generated::Callable { - /** - * Holds if this Callable is a function named `funcName`. - */ - predicate hasName(string funcName) { this.getName() = funcName } +private import CallableImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.stmt.BraceStmt +import codeql.swift.elements.decl.CapturedDecl +import codeql.swift.elements.decl.ParamDecl - /** - * Holds if this Callable is a function named `funcName` defined in a module - * called `moduleName`. - */ - predicate hasName(string moduleName, string funcName) { - this.hasName(funcName) and - this.(Decl).getModule().getFullName() = moduleName - } -} +final class Callable = Impl::Callable; diff --git a/swift/ql/lib/codeql/swift/elements/CallableImpl.qll b/swift/ql/lib/codeql/swift/elements/CallableImpl.qll new file mode 100644 index 000000000000..7b03eaa5f6ec --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/CallableImpl.qll @@ -0,0 +1,21 @@ +private import codeql.swift.generated.Callable +private import codeql.swift.elements.AstNode +private import codeql.swift.elements.decl.Decl + +module Impl { + class Callable extends Generated::Callable { + /** + * Holds if this Callable is a function named `funcName`. + */ + predicate hasName(string funcName) { this.getName() = funcName } + + /** + * Holds if this Callable is a function named `funcName` defined in a module + * called `moduleName`. + */ + predicate hasName(string moduleName, string funcName) { + this.hasName(funcName) and + this.(Decl).getModule().getFullName() = moduleName + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/Comment.qll b/swift/ql/lib/codeql/swift/elements/Comment.qll index b6dd7cd45458..3efbff076a6f 100644 --- a/swift/ql/lib/codeql/swift/elements/Comment.qll +++ b/swift/ql/lib/codeql/swift/elements/Comment.qll @@ -1,35 +1,9 @@ -private import codeql.swift.generated.Comment +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `Comment`. + */ -class Comment extends Generated::Comment { - /** toString */ - override string toString() { result = this.getText() } -} +private import CommentImpl +import codeql.swift.elements.Locatable -class SingleLineComment extends Comment { - SingleLineComment() { - this.getText().matches("//%") and - not this instanceof SingleLineDocComment - } -} - -class MultiLineComment extends Comment { - MultiLineComment() { - this.getText().matches("/*%") and - not this instanceof MultiLineDocComment - } -} - -class DocComment extends Comment { - DocComment() { - this instanceof SingleLineDocComment or - this instanceof MultiLineDocComment - } -} - -class SingleLineDocComment extends Comment { - SingleLineDocComment() { this.getText().matches("///%") } -} - -class MultiLineDocComment extends Comment { - MultiLineDocComment() { this.getText().matches("/**%") } -} +final class Comment = Impl::Comment; diff --git a/swift/ql/lib/codeql/swift/elements/CommentImpl.qll b/swift/ql/lib/codeql/swift/elements/CommentImpl.qll new file mode 100644 index 000000000000..642155c67a55 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/CommentImpl.qll @@ -0,0 +1,8 @@ +private import codeql.swift.generated.Comment + +module Impl { + class Comment extends Generated::Comment { + /** toString */ + override string toString() { result = this.getText() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/Comments.qll b/swift/ql/lib/codeql/swift/elements/Comments.qll new file mode 100644 index 000000000000..47e668cdfbef --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/Comments.qll @@ -0,0 +1,27 @@ +import Comment + +final class SingleLineComment extends Comment { + SingleLineComment() { + this.getText().matches("//%") and + not this instanceof SingleLineDocComment + } +} + +final class MultiLineComment extends Comment { + MultiLineComment() { + this.getText().matches("/*%") and + not this instanceof MultiLineDocComment + } +} + +abstract private class DocCommentImpl extends Comment { } + +final class DocComment = DocCommentImpl; + +final class SingleLineDocComment extends DocCommentImpl { + SingleLineDocComment() { this.getText().matches("///%") } +} + +final class MultiLineDocComment extends DocCommentImpl { + MultiLineDocComment() { this.getText().matches("/**%") } +} diff --git a/swift/ql/lib/codeql/swift/elements/CompilerDiagnostics.qll b/swift/ql/lib/codeql/swift/elements/CompilerDiagnostics.qll new file mode 100644 index 000000000000..a0f4084f9048 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/CompilerDiagnostics.qll @@ -0,0 +1,29 @@ +import Diagnostics + +/** + * A compiler error message. + */ +final class CompilerError extends Diagnostics { + CompilerError() { this.getSeverity() = "error" } +} + +/** + * A compiler-generated warning. + */ +final class CompilerWarning extends Diagnostics { + CompilerWarning() { this.getSeverity() = "warning" } +} + +/** + * A compiler-generated note (typically attached to an error or warning). + */ +final class CompilerNote extends Diagnostics { + CompilerNote() { this.getSeverity() = "note" } +} + +/** + * A compiler-generated remark (milder than a warning, this does not indicate an issue). + */ +final class CompilerRemark extends Diagnostics { + CompilerRemark() { this.getSeverity() = "remark" } +} diff --git a/swift/ql/lib/codeql/swift/elements/DbFile.qll b/swift/ql/lib/codeql/swift/elements/DbFile.qll index 028f65549844..9f7646e0433b 100644 --- a/swift/ql/lib/codeql/swift/elements/DbFile.qll +++ b/swift/ql/lib/codeql/swift/elements/DbFile.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `DbFile`. + * This module provides the public class `DbFile`. */ -private import codeql.swift.generated.DbFile +private import DbFileImpl +import codeql.swift.elements.File -class DbFile extends Generated::DbFile { } +final class DbFile = Impl::DbFile; diff --git a/swift/ql/lib/codeql/swift/elements/DbFileImpl.qll b/swift/ql/lib/codeql/swift/elements/DbFileImpl.qll new file mode 100644 index 000000000000..441634c3fcce --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/DbFileImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `DbFile`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.DbFile + +/** + * INTERNAL: This module contains the customizable definition of `DbFile` and should not + * be referenced directly. + */ +module Impl { + class DbFile extends Generated::DbFile { } +} diff --git a/swift/ql/lib/codeql/swift/elements/DbLocation.qll b/swift/ql/lib/codeql/swift/elements/DbLocation.qll index bc88ce610303..e16457128f5d 100644 --- a/swift/ql/lib/codeql/swift/elements/DbLocation.qll +++ b/swift/ql/lib/codeql/swift/elements/DbLocation.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `DbLocation`. + * This module provides the public class `DbLocation`. */ -private import codeql.swift.generated.DbLocation +private import DbLocationImpl +import codeql.swift.elements.Location -class DbLocation extends Generated::DbLocation { } +final class DbLocation = Impl::DbLocation; diff --git a/swift/ql/lib/codeql/swift/elements/DbLocationImpl.qll b/swift/ql/lib/codeql/swift/elements/DbLocationImpl.qll new file mode 100644 index 000000000000..b90779588167 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/DbLocationImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `DbLocation`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.DbLocation + +/** + * INTERNAL: This module contains the customizable definition of `DbLocation` and should not + * be referenced directly. + */ +module Impl { + class DbLocation extends Generated::DbLocation { } +} diff --git a/swift/ql/lib/codeql/swift/elements/Diagnostics.qll b/swift/ql/lib/codeql/swift/elements/Diagnostics.qll index a0ec9995355b..1985c6b240e6 100644 --- a/swift/ql/lib/codeql/swift/elements/Diagnostics.qll +++ b/swift/ql/lib/codeql/swift/elements/Diagnostics.qll @@ -1,49 +1,9 @@ -private import codeql.swift.generated.Diagnostics - -/** - * A compiler-generated error, warning, note or remark. - */ -class Diagnostics extends Generated::Diagnostics { - override string toString() { result = this.getSeverity() + ": " + this.getText() } - - /** - * Gets a string representing the severity of this compiler diagnostic. - */ - string getSeverity() { - this.getKind() = 1 and result = "error" - or - this.getKind() = 2 and result = "warning" - or - this.getKind() = 3 and result = "note" - or - this.getKind() = 4 and result = "remark" - } -} - -/** - * A compiler error message. - */ -class CompilerError extends Diagnostics { - CompilerError() { this.getSeverity() = "error" } -} - +// generated by codegen/codegen.py, do not edit /** - * A compiler-generated warning. + * This module provides the public class `Diagnostics`. */ -class CompilerWarning extends Diagnostics { - CompilerWarning() { this.getSeverity() = "warning" } -} -/** - * A compiler-generated note (typically attached to an error or warning). - */ -class CompilerNote extends Diagnostics { - CompilerNote() { this.getSeverity() = "note" } -} +private import DiagnosticsImpl +import codeql.swift.elements.Locatable -/** - * A compiler-generated remark (milder than a warning, this does not indicate an issue). - */ -class CompilerRemark extends Diagnostics { - CompilerRemark() { this.getSeverity() = "remark" } -} +final class Diagnostics = Impl::Diagnostics; diff --git a/swift/ql/lib/codeql/swift/elements/DiagnosticsImpl.qll b/swift/ql/lib/codeql/swift/elements/DiagnosticsImpl.qll new file mode 100644 index 000000000000..dc19291d9a4a --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/DiagnosticsImpl.qll @@ -0,0 +1,23 @@ +private import codeql.swift.generated.Diagnostics + +module Impl { + /** + * A compiler-generated error, warning, note or remark. + */ + class Diagnostics extends Generated::Diagnostics { + override string toString() { result = this.getSeverity() + ": " + this.getText() } + + /** + * Gets a string representing the severity of this compiler diagnostic. + */ + string getSeverity() { + this.getKind() = 1 and result = "error" + or + this.getKind() = 2 and result = "warning" + or + this.getKind() = 3 and result = "note" + or + this.getKind() = 4 and result = "remark" + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/Element.qll b/swift/ql/lib/codeql/swift/elements/Element.qll index 394d1caab3b2..526e61ba6cff 100644 --- a/swift/ql/lib/codeql/swift/elements/Element.qll +++ b/swift/ql/lib/codeql/swift/elements/Element.qll @@ -1,20 +1,8 @@ -private import codeql.swift.generated.Element +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `Element`. + */ -class Element extends Generated::Element { - private predicate resolvesFrom(Element e) { e.getResolveStep() = this } +private import ElementImpl - override string toString() { result = this.getPrimaryQlClasses() } - - Element getFullyUnresolved() { - not this.resolvesFrom(_) and result = this - or - exists(Element e | - this.resolvesFrom(e) and - result = e.getFullyUnresolved() - ) - } -} - -class UnknownElement extends Element { - UnknownElement() { this.isUnknown() } -} +final class Element = Impl::Element; diff --git a/swift/ql/lib/codeql/swift/elements/ElementImpl.qll b/swift/ql/lib/codeql/swift/elements/ElementImpl.qll new file mode 100644 index 000000000000..882e7eda383c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/ElementImpl.qll @@ -0,0 +1,22 @@ +private import codeql.swift.generated.Element + +module Impl { + class Element extends Generated::Element { + private predicate resolvesFrom(Element e) { e.getResolveStep() = this } + + override string toString() { result = this.getPrimaryQlClasses() } + + Element getFullyUnresolved() { + not this.resolvesFrom(_) and result = this + or + exists(Element e | + this.resolvesFrom(e) and + result = e.getFullyUnresolved() + ) + } + } + + class UnknownElement extends Element { + UnknownElement() { this.isUnknown() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/ErrorElement.qll b/swift/ql/lib/codeql/swift/elements/ErrorElement.qll index 2cb16a05a971..de5b8e3a08ca 100644 --- a/swift/ql/lib/codeql/swift/elements/ErrorElement.qll +++ b/swift/ql/lib/codeql/swift/elements/ErrorElement.qll @@ -1,11 +1,12 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ErrorElement`. + * This module provides the public class `ErrorElement`. */ -private import codeql.swift.generated.ErrorElement +private import ErrorElementImpl +import codeql.swift.elements.Locatable /** * The superclass of all elements indicating some kind of error. */ -class ErrorElement extends Generated::ErrorElement { } +final class ErrorElement = Impl::ErrorElement; diff --git a/swift/ql/lib/codeql/swift/elements/ErrorElementImpl.qll b/swift/ql/lib/codeql/swift/elements/ErrorElementImpl.qll new file mode 100644 index 000000000000..ca58f84b929c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/ErrorElementImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ErrorElement`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.ErrorElement + +/** + * INTERNAL: This module contains the customizable definition of `ErrorElement` and should not + * be referenced directly. + */ +module Impl { + /** + * The superclass of all elements indicating some kind of error. + */ + class ErrorElement extends Generated::ErrorElement { } +} diff --git a/swift/ql/lib/codeql/swift/elements/File.qll b/swift/ql/lib/codeql/swift/elements/File.qll index 823430ee7ee9..1d75c4e68188 100644 --- a/swift/ql/lib/codeql/swift/elements/File.qll +++ b/swift/ql/lib/codeql/swift/elements/File.qll @@ -1,107 +1,9 @@ -private import codeql.swift.generated.File -private import codeql.swift.elements.Location -private import codeql.swift.elements.UnknownLocation +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `File`. + */ -class File extends Generated::File { - /** toString */ - override string toString() { result = this.getAbsolutePath() } +private import FileImpl +import codeql.swift.elements.Element - /** Gets the absolute path of this file. */ - string getAbsolutePath() { result = this.getName() } - - /** Gets the full name of this file. */ - string getFullName() { result = this.getAbsolutePath() } - - /** Gets the URL of this file. */ - string getURL() { result = "file://" + this.getAbsolutePath() + ":0:0:0:0" } - - /** - * Holds if either, - * - `part` is the base name of this container and `i = 1`, or - * - `part` is the stem of this container and `i = 2`, or - * - `part` is the extension of this container and `i = 3`. - */ - cached - private predicate splitAbsolutePath(string part, int i) { - part = this.getAbsolutePath().regexpCapture(".*/(([^/]*?)(?:\\.([^.]*))?)", i) - } - - /** Gets the base name of this file. */ - string getBaseName() { this.splitAbsolutePath(result, 1) } - - /** - * Gets the extension of this container, that is, the suffix of its base name - * after the last dot character, if any. - * - * In particular, - * - * - if the name does not include a dot, there is no extension, so this - * predicate has no result; - * - if the name ends in a dot, the extension is the empty string; - * - if the name contains multiple dots, the extension follows the last dot. - * - * Here are some examples of absolute paths and the corresponding extensions - * (surrounded with quotes to avoid ambiguity): - * - * - * - * - * - * - * - * - *
Absolute pathExtension
"/tmp/tst.txt""txt"
"/tmp/.classpath""classpath"
"/bin/bash"not defined
"/tmp/tst2."""
"/tmp/x.tar.gz""gz"
- */ - string getExtension() { this.splitAbsolutePath(result, 3) } - - /** - * Gets the stem of this container, that is, the prefix of its base name up to - * (but not including) the last dot character if there is one, or the entire - * base name if there is not. - * - * Here are some examples of absolute paths and the corresponding stems - * (surrounded with quotes to avoid ambiguity): - * - * - * - * - * - * - * - * - *
Absolute pathStem
"/tmp/tst.txt""tst"
"/tmp/.classpath"""
"/bin/bash""bash"
"/tmp/tst2.""tst2"
"/tmp/x.tar.gz""x.tar"
- */ - string getStem() { this.splitAbsolutePath(result, 2) } - - /** - * Gets the number of lines containing code in this file. This value - * is approximate. - */ - int getNumberOfLinesOfCode() { - result = - count(int line | - exists(Location loc | - not loc instanceof UnknownLocation and loc.getFile() = this and loc.getStartLine() = line - ) - ) - } - - /** - * Gets the relative path of this file from the root folder of the - * analyzed source location. The relative path of the root folder itself - * would be the empty string. - * - * This has no result if the file is outside the source root, that is, - * if the root folder is not a reflexive, transitive parent of this file. - */ - string getRelativePath() { - exists(string absPath, string pref | - absPath = this.getAbsolutePath() and sourceLocationPrefix(pref) - | - absPath = pref and result = "" - or - absPath = pref.regexpReplaceAll("/$", "") + "/" + result and - not result.matches("/%") - ) - } -} +final class File = Impl::File; diff --git a/swift/ql/lib/codeql/swift/elements/FileImpl.qll b/swift/ql/lib/codeql/swift/elements/FileImpl.qll new file mode 100644 index 000000000000..2aac757e248e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/FileImpl.qll @@ -0,0 +1,111 @@ +private import codeql.swift.generated.File +private import codeql.swift.elements.Location +private import codeql.swift.elements.UnknownLocation + +module Impl { + class File extends Generated::File { + /** toString */ + override string toString() { result = this.getAbsolutePath() } + + /** Gets the absolute path of this file. */ + string getAbsolutePath() { result = this.getName() } + + /** Gets the full name of this file. */ + string getFullName() { result = this.getAbsolutePath() } + + /** Gets the URL of this file. */ + string getURL() { result = "file://" + this.getAbsolutePath() + ":0:0:0:0" } + + /** + * Holds if either, + * - `part` is the base name of this container and `i = 1`, or + * - `part` is the stem of this container and `i = 2`, or + * - `part` is the extension of this container and `i = 3`. + */ + cached + private predicate splitAbsolutePath(string part, int i) { + part = this.getAbsolutePath().regexpCapture(".*/(([^/]*?)(?:\\.([^.]*))?)", i) + } + + /** Gets the base name of this file. */ + string getBaseName() { this.splitAbsolutePath(result, 1) } + + /** + * Gets the extension of this container, that is, the suffix of its base name + * after the last dot character, if any. + * + * In particular, + * + * - if the name does not include a dot, there is no extension, so this + * predicate has no result; + * - if the name ends in a dot, the extension is the empty string; + * - if the name contains multiple dots, the extension follows the last dot. + * + * Here are some examples of absolute paths and the corresponding extensions + * (surrounded with quotes to avoid ambiguity): + * + * + * + * + * + * + * + * + *
Absolute pathExtension
"/tmp/tst.txt""txt"
"/tmp/.classpath""classpath"
"/bin/bash"not defined
"/tmp/tst2."""
"/tmp/x.tar.gz""gz"
+ */ + string getExtension() { this.splitAbsolutePath(result, 3) } + + /** + * Gets the stem of this container, that is, the prefix of its base name up to + * (but not including) the last dot character if there is one, or the entire + * base name if there is not. + * + * Here are some examples of absolute paths and the corresponding stems + * (surrounded with quotes to avoid ambiguity): + * + * + * + * + * + * + * + * + *
Absolute pathStem
"/tmp/tst.txt""tst"
"/tmp/.classpath"""
"/bin/bash""bash"
"/tmp/tst2.""tst2"
"/tmp/x.tar.gz""x.tar"
+ */ + string getStem() { this.splitAbsolutePath(result, 2) } + + /** + * Gets the number of lines containing code in this file. This value + * is approximate. + */ + int getNumberOfLinesOfCode() { + result = + count(int line | + exists(Location loc | + not loc instanceof UnknownLocation and + loc.getFile() = this and + loc.getStartLine() = line + ) + ) + } + + /** + * Gets the relative path of this file from the root folder of the + * analyzed source location. The relative path of the root folder itself + * would be the empty string. + * + * This has no result if the file is outside the source root, that is, + * if the root folder is not a reflexive, transitive parent of this file. + */ + string getRelativePath() { + exists(string absPath, string pref | + absPath = this.getAbsolutePath() and sourceLocationPrefix(pref) + | + absPath = pref and result = "" + or + absPath = pref.regexpReplaceAll("/$", "") + "/" + result and + not result.matches("/%") + ) + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/KeyPathComponent.qll b/swift/ql/lib/codeql/swift/elements/KeyPathComponent.qll index cc5fd523dee5..762bff4ef8da 100644 --- a/swift/ql/lib/codeql/swift/elements/KeyPathComponent.qll +++ b/swift/ql/lib/codeql/swift/elements/KeyPathComponent.qll @@ -1,62 +1,15 @@ -private import codeql.swift.generated.KeyPathComponent -private import swift - -// the following QLdoc is generated: if you need to edit it, do it in the schema file +// generated by codegen/codegen.py, do not edit /** - * A component of a `KeyPathExpr`. + * This module provides the public class `KeyPathComponent`. */ -class KeyPathComponent extends Generated::KeyPathComponent { - /** - * Property access like `.bar` in `\Foo.bar`. - */ - predicate isProperty() { this.getKind() = 3 } - - /** - * Array or dictionary subscript like `[1]` or `["a", "b"]`. - */ - predicate isSubscript() { this.getKind() = 4 } - - /** - * Optional forcing `!`. - */ - predicate isOptionalForcing() { this.getKind() = 5 } - - /** - * Optional chaining `?`. - */ - predicate isOptionalChaining() { this.getKind() = 6 } - - /** - * Implicit optional wrapping component inserted by the compiler when an optional chain ends in a non-optional value. - */ - predicate isOptionalWrapping() { this.getKind() = 7 } - - /** - * Reference to the entire object; the `self` in `\Foo.self`. - */ - predicate isSelf() { this.getKind() = 8 } - /** - * Tuple indexing like `.1`. - */ - predicate isTupleIndexing() { this.getKind() = 9 } +private import KeyPathComponentImpl +import codeql.swift.elements.expr.Argument +import codeql.swift.elements.AstNode +import codeql.swift.elements.type.Type +import codeql.swift.elements.decl.ValueDecl - /** Gets the underlying key-path expression which this is a component of. */ - KeyPathExpr getKeyPathExpr() { result.getAComponent() = this } - - /** Holds if this component is the i'th component of the underling key-path expression. */ - predicate hasIndex(int i) { any(KeyPathExpr e).getComponent(i) = this } - - /** Gets the next component of the underlying key-path expression. */ - KeyPathComponent getNextComponent() { - exists(int i, KeyPathExpr e | - hasKeyPathExprAndIndex(e, i, this) and - hasKeyPathExprAndIndex(e, i + 1, result) - ) - } -} - -pragma[nomagic] -private predicate hasKeyPathExprAndIndex(KeyPathExpr e, int i, KeyPathComponent c) { - e.getComponent(i) = c -} +/** + * A component of a `KeyPathExpr`. + */ +final class KeyPathComponent = Impl::KeyPathComponent; diff --git a/swift/ql/lib/codeql/swift/elements/KeyPathComponentImpl.qll b/swift/ql/lib/codeql/swift/elements/KeyPathComponentImpl.qll new file mode 100644 index 000000000000..be837022a7c3 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/KeyPathComponentImpl.qll @@ -0,0 +1,64 @@ +private import codeql.swift.generated.KeyPathComponent +private import swift + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * A component of a `KeyPathExpr`. + */ + class KeyPathComponent extends Generated::KeyPathComponent { + /** + * Property access like `.bar` in `\Foo.bar`. + */ + predicate isProperty() { this.getKind() = 3 } + + /** + * Array or dictionary subscript like `[1]` or `["a", "b"]`. + */ + predicate isSubscript() { this.getKind() = 4 } + + /** + * Optional forcing `!`. + */ + predicate isOptionalForcing() { this.getKind() = 5 } + + /** + * Optional chaining `?`. + */ + predicate isOptionalChaining() { this.getKind() = 6 } + + /** + * Implicit optional wrapping component inserted by the compiler when an optional chain ends in a non-optional value. + */ + predicate isOptionalWrapping() { this.getKind() = 7 } + + /** + * Reference to the entire object; the `self` in `\Foo.self`. + */ + predicate isSelf() { this.getKind() = 8 } + + /** + * Tuple indexing like `.1`. + */ + predicate isTupleIndexing() { this.getKind() = 9 } + + /** Gets the underlying key-path expression which this is a component of. */ + KeyPathExpr getKeyPathExpr() { result.getAComponent() = this } + + /** Holds if this component is the i'th component of the underling key-path expression. */ + predicate hasIndex(int i) { any(KeyPathExpr e).getComponent(i) = this } + + /** Gets the next component of the underlying key-path expression. */ + KeyPathComponent getNextComponent() { + exists(int i, KeyPathExpr e | + hasKeyPathExprAndIndex(e, i, this) and + hasKeyPathExprAndIndex(e, i + 1, result) + ) + } + } + + pragma[nomagic] + private predicate hasKeyPathExprAndIndex(KeyPathExpr e, int i, KeyPathComponent c) { + e.getComponent(i) = c + } +} diff --git a/swift/ql/lib/codeql/swift/elements/Locatable.qll b/swift/ql/lib/codeql/swift/elements/Locatable.qll index 25877d7f0747..aed9f84502a0 100644 --- a/swift/ql/lib/codeql/swift/elements/Locatable.qll +++ b/swift/ql/lib/codeql/swift/elements/Locatable.qll @@ -1,18 +1,10 @@ -private import codeql.swift.generated.Locatable -private import codeql.swift.elements.File -private import codeql.swift.elements.UnknownLocation +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `Locatable`. + */ -class Locatable extends Generated::Locatable { - pragma[nomagic] - override Location getLocation() { - result = Generated::Locatable.super.getLocation() - or - not exists(Generated::Locatable.super.getLocation()) and - result instanceof UnknownLocation - } +private import LocatableImpl +import codeql.swift.elements.Element +import codeql.swift.elements.Location - /** - * Gets the primary file where this element occurs. - */ - File getFile() { result = this.getLocation().getFile() } -} +final class Locatable = Impl::Locatable; diff --git a/swift/ql/lib/codeql/swift/elements/LocatableImpl.qll b/swift/ql/lib/codeql/swift/elements/LocatableImpl.qll new file mode 100644 index 000000000000..6c23fe7ba85f --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/LocatableImpl.qll @@ -0,0 +1,20 @@ +private import codeql.swift.generated.Locatable +private import codeql.swift.elements.File +private import codeql.swift.elements.UnknownLocation + +module Impl { + class Locatable extends Generated::Locatable { + pragma[nomagic] + override Location getLocation() { + result = Generated::Locatable.super.getLocation() + or + not exists(Generated::Locatable.super.getLocation()) and + result instanceof UnknownLocation + } + + /** + * Gets the primary file where this element occurs. + */ + File getFile() { result = this.getLocation().getFile() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/Location.qll b/swift/ql/lib/codeql/swift/elements/Location.qll index 6d4f3138a17a..3c829b32d561 100644 --- a/swift/ql/lib/codeql/swift/elements/Location.qll +++ b/swift/ql/lib/codeql/swift/elements/Location.qll @@ -1,28 +1,10 @@ -private import codeql.swift.generated.Location - +// generated by codegen/codegen.py, do not edit /** - * A location of a program element. + * This module provides the public class `Location`. */ -class Location extends Generated::Location { - /** - * Holds if this location is described by `path`, `startLine`, `startColumn`, `endLine` and `endColumn`. - */ - predicate hasLocationInfo(string path, int startLine, int startColumn, int endLine, int endColumn) { - path = this.getFile().getFullName() and - startLine = this.getStartLine() and - startColumn = this.getStartColumn() and - endLine = this.getEndLine() and - endColumn = this.getEndColumn() - } - /** - * Gets a textual representation of this location. - */ - override string toString() { - exists(string filePath, int startLine, int startColumn, int endLine, int endColumn | - this.hasLocationInfo(filePath, startLine, startColumn, endLine, endColumn) - | - toUrl(filePath, startLine, startColumn, endLine, endColumn, result) - ) - } -} +private import LocationImpl +import codeql.swift.elements.Element +import codeql.swift.elements.File + +final class Location = Impl::Location; diff --git a/swift/ql/lib/codeql/swift/elements/LocationImpl.qll b/swift/ql/lib/codeql/swift/elements/LocationImpl.qll new file mode 100644 index 000000000000..acb7e788e87d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/LocationImpl.qll @@ -0,0 +1,32 @@ +private import codeql.swift.generated.Location + +module Impl { + /** + * A location of a program element. + */ + class Location extends Generated::Location { + /** + * Holds if this location is described by `path`, `startLine`, `startColumn`, `endLine` and `endColumn`. + */ + predicate hasLocationInfo( + string path, int startLine, int startColumn, int endLine, int endColumn + ) { + path = this.getFile().getFullName() and + startLine = this.getStartLine() and + startColumn = this.getStartColumn() and + endLine = this.getEndLine() and + endColumn = this.getEndColumn() + } + + /** + * Gets a textual representation of this location. + */ + override string toString() { + exists(string filePath, int startLine, int startColumn, int endLine, int endColumn | + this.hasLocationInfo(filePath, startLine, startColumn, endLine, endColumn) + | + toUrl(filePath, startLine, startColumn, endLine, endColumn, result) + ) + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/MacroRole.qll b/swift/ql/lib/codeql/swift/elements/MacroRole.qll index 969a3329702f..f4251d93d403 100644 --- a/swift/ql/lib/codeql/swift/elements/MacroRole.qll +++ b/swift/ql/lib/codeql/swift/elements/MacroRole.qll @@ -1,100 +1,13 @@ +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `MacroRole`. + * This module provides the public class `MacroRole`. */ -private import codeql.swift.generated.MacroRole +private import MacroRoleImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.expr.TypeExpr -// the following QLdoc is generated: if you need to edit it, do it in the schema file /** * The role of a macro, for example #freestanding(declaration) or @attached(member). */ -class MacroRole extends Generated::MacroRole { - /** - * String representation of the role kind. - */ - string getKindName() { - this.isExpressionKind() and result = "expression" - or - this.isDeclarationKind() and result = "declaration" - or - this.isAccessorKind() and result = "accessor" - or - this.isMemberAttributeKind() and result = "memberAttribute" - or - this.isMemberKind() and result = "member" - or - this.isPeerKind() and result = "peer" - or - this.isConformanceKind() and result = "conformance" - or - this.isCodeItemKind() and result = "codeItem" - or - this.isExtensionKind() and result = "extension" - } - - /** - * Holds for `expression` roles. - */ - predicate isExpressionKind() { this.getKind() = 1 } - - /** - * Holds for `declaration` roles. - */ - predicate isDeclarationKind() { this.getKind() = 2 } - - /** - * Holds for `accessor` roles. - */ - predicate isAccessorKind() { this.getKind() = 4 } - - /** - * Holds for `memberAttribute` roles. - */ - predicate isMemberAttributeKind() { this.getKind() = 8 } - - /** - * Holds for `member` roles. - */ - predicate isMemberKind() { this.getKind() = 16 } - - /** - * Holds for `peer` roles. - */ - predicate isPeerKind() { this.getKind() = 32 } - - /** - * Holds for `conformance` roles. - */ - predicate isConformanceKind() { this.getKind() = 64 } - - /** - * Holds for `codeItem` roles. - */ - predicate isCodeItemKind() { this.getKind() = 128 } - - /** - * Holds for `extension` roles. - */ - predicate isExtensionKind() { this.getKind() = 256 } - - /** - * String representation of the macro syntax. - */ - string getMacroSyntaxName() { - this.isFreestandingMacroSyntax() and result = "#freestanding" - or - this.isAttachedMacroSyntax() and result = "@attached" - } - - /** - * Holds for #freestanding macros. - */ - predicate isFreestandingMacroSyntax() { this.getMacroSyntax() = 0 } - - /** - * Holds for @attached macros. - */ - predicate isAttachedMacroSyntax() { this.getMacroSyntax() = 1 } - - override string toString() { result = this.getMacroSyntaxName() + "(" + this.getKindName() + ")" } -} +final class MacroRole = Impl::MacroRole; diff --git a/swift/ql/lib/codeql/swift/elements/MacroRoleImpl.qll b/swift/ql/lib/codeql/swift/elements/MacroRoleImpl.qll new file mode 100644 index 000000000000..8ba4f5ff484b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/MacroRoleImpl.qll @@ -0,0 +1,104 @@ +/** + * This module provides a hand-modifiable wrapper around the generated class `MacroRole`. + */ + +private import codeql.swift.generated.MacroRole + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * The role of a macro, for example #freestanding(declaration) or @attached(member). + */ + class MacroRole extends Generated::MacroRole { + /** + * String representation of the role kind. + */ + string getKindName() { + this.isExpressionKind() and result = "expression" + or + this.isDeclarationKind() and result = "declaration" + or + this.isAccessorKind() and result = "accessor" + or + this.isMemberAttributeKind() and result = "memberAttribute" + or + this.isMemberKind() and result = "member" + or + this.isPeerKind() and result = "peer" + or + this.isConformanceKind() and result = "conformance" + or + this.isCodeItemKind() and result = "codeItem" + or + this.isExtensionKind() and result = "extension" + } + + /** + * Holds for `expression` roles. + */ + predicate isExpressionKind() { this.getKind() = 1 } + + /** + * Holds for `declaration` roles. + */ + predicate isDeclarationKind() { this.getKind() = 2 } + + /** + * Holds for `accessor` roles. + */ + predicate isAccessorKind() { this.getKind() = 4 } + + /** + * Holds for `memberAttribute` roles. + */ + predicate isMemberAttributeKind() { this.getKind() = 8 } + + /** + * Holds for `member` roles. + */ + predicate isMemberKind() { this.getKind() = 16 } + + /** + * Holds for `peer` roles. + */ + predicate isPeerKind() { this.getKind() = 32 } + + /** + * Holds for `conformance` roles. + */ + predicate isConformanceKind() { this.getKind() = 64 } + + /** + * Holds for `codeItem` roles. + */ + predicate isCodeItemKind() { this.getKind() = 128 } + + /** + * Holds for `extension` roles. + */ + predicate isExtensionKind() { this.getKind() = 256 } + + /** + * String representation of the macro syntax. + */ + string getMacroSyntaxName() { + this.isFreestandingMacroSyntax() and result = "#freestanding" + or + this.isAttachedMacroSyntax() and result = "@attached" + } + + /** + * Holds for #freestanding macros. + */ + predicate isFreestandingMacroSyntax() { this.getMacroSyntax() = 0 } + + /** + * Holds for @attached macros. + */ + predicate isAttachedMacroSyntax() { this.getMacroSyntax() = 1 } + + override string toString() { + result = this.getMacroSyntaxName() + "(" + this.getKindName() + ")" + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/OtherAvailabilitySpec.qll b/swift/ql/lib/codeql/swift/elements/OtherAvailabilitySpec.qll index bd36adab002f..0d3455a6ee1c 100644 --- a/swift/ql/lib/codeql/swift/elements/OtherAvailabilitySpec.qll +++ b/swift/ql/lib/codeql/swift/elements/OtherAvailabilitySpec.qll @@ -1,9 +1,12 @@ -private import codeql.swift.generated.OtherAvailabilitySpec +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `OtherAvailabilitySpec`. + */ + +private import OtherAvailabilitySpecImpl +import codeql.swift.elements.AvailabilitySpec -// the following QLdoc is generated: if you need to edit it, do it in the schema file /** * A wildcard availability spec `*` */ -class OtherAvailabilitySpec extends Generated::OtherAvailabilitySpec { - override string toString() { result = "*" } -} +final class OtherAvailabilitySpec = Impl::OtherAvailabilitySpec; diff --git a/swift/ql/lib/codeql/swift/elements/OtherAvailabilitySpecImpl.qll b/swift/ql/lib/codeql/swift/elements/OtherAvailabilitySpecImpl.qll new file mode 100644 index 000000000000..84135e66a264 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/OtherAvailabilitySpecImpl.qll @@ -0,0 +1,11 @@ +private import codeql.swift.generated.OtherAvailabilitySpec + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * A wildcard availability spec `*` + */ + class OtherAvailabilitySpec extends Generated::OtherAvailabilitySpec { + override string toString() { result = "*" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/PlatformVersionAvailabilitySpec.qll b/swift/ql/lib/codeql/swift/elements/PlatformVersionAvailabilitySpec.qll index b66212353135..5109ca8c5734 100644 --- a/swift/ql/lib/codeql/swift/elements/PlatformVersionAvailabilitySpec.qll +++ b/swift/ql/lib/codeql/swift/elements/PlatformVersionAvailabilitySpec.qll @@ -1,9 +1,12 @@ -private import codeql.swift.generated.PlatformVersionAvailabilitySpec +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `PlatformVersionAvailabilitySpec`. + */ + +private import PlatformVersionAvailabilitySpecImpl +import codeql.swift.elements.AvailabilitySpec -// the following QLdoc is generated: if you need to edit it, do it in the schema file /** * An availability spec based on platform and version, for example `macOS 12` or `watchOS 14` */ -class PlatformVersionAvailabilitySpec extends Generated::PlatformVersionAvailabilitySpec { - override string toString() { result = this.getPlatform() + " " + this.getVersion() } -} +final class PlatformVersionAvailabilitySpec = Impl::PlatformVersionAvailabilitySpec; diff --git a/swift/ql/lib/codeql/swift/elements/PlatformVersionAvailabilitySpecImpl.qll b/swift/ql/lib/codeql/swift/elements/PlatformVersionAvailabilitySpecImpl.qll new file mode 100644 index 000000000000..5d17697b7fb8 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/PlatformVersionAvailabilitySpecImpl.qll @@ -0,0 +1,11 @@ +private import codeql.swift.generated.PlatformVersionAvailabilitySpec + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * An availability spec based on platform and version, for example `macOS 12` or `watchOS 14` + */ + class PlatformVersionAvailabilitySpec extends Generated::PlatformVersionAvailabilitySpec { + override string toString() { result = this.getPlatform() + " " + this.getVersion() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/UnknownFile.qll b/swift/ql/lib/codeql/swift/elements/UnknownFile.qll index 796c29de6ac5..7d487e080710 100644 --- a/swift/ql/lib/codeql/swift/elements/UnknownFile.qll +++ b/swift/ql/lib/codeql/swift/elements/UnknownFile.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.UnknownFile +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `UnknownFile`. + */ -class UnknownFile extends Generated::UnknownFile { - override string getName() { result = "" } -} +private import UnknownFileImpl +import codeql.swift.elements.File + +final class UnknownFile = Impl::UnknownFile; diff --git a/swift/ql/lib/codeql/swift/elements/UnknownFileImpl.qll b/swift/ql/lib/codeql/swift/elements/UnknownFileImpl.qll new file mode 100644 index 000000000000..79e070bbee0c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/UnknownFileImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.UnknownFile + +module Impl { + class UnknownFile extends Generated::UnknownFile { + override string getName() { result = "" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/UnknownLocation.qll b/swift/ql/lib/codeql/swift/elements/UnknownLocation.qll index df8823fe0289..d3e95f1a0e34 100644 --- a/swift/ql/lib/codeql/swift/elements/UnknownLocation.qll +++ b/swift/ql/lib/codeql/swift/elements/UnknownLocation.qll @@ -1,20 +1,9 @@ -private import codeql.swift.generated.UnknownLocation -private import codeql.swift.elements.UnknownFile -private import codeql.swift.elements.File - +// generated by codegen/codegen.py, do not edit /** - * A `Location` that is given to something that is not associated with any position in the source code. + * This module provides the public class `UnknownLocation`. */ -class UnknownLocation extends Generated::UnknownLocation { - override File getFile() { result instanceof UnknownFile } - - override int getStartLine() { result = 0 } - - override int getStartColumn() { result = 0 } - - override int getEndLine() { result = 0 } - override int getEndColumn() { result = 0 } +private import UnknownLocationImpl +import codeql.swift.elements.Location - override string toString() { result = "UnknownLocation" } -} +final class UnknownLocation = Impl::UnknownLocation; diff --git a/swift/ql/lib/codeql/swift/elements/UnknownLocationImpl.qll b/swift/ql/lib/codeql/swift/elements/UnknownLocationImpl.qll new file mode 100644 index 000000000000..a39b8ed21800 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/UnknownLocationImpl.qll @@ -0,0 +1,22 @@ +private import codeql.swift.generated.UnknownLocation +private import codeql.swift.elements.UnknownFile +private import codeql.swift.elements.File + +module Impl { + /** + * A `Location` that is given to something that is not associated with any position in the source code. + */ + class UnknownLocation extends Generated::UnknownLocation { + override File getFile() { result instanceof UnknownFile } + + override int getStartLine() { result = 0 } + + override int getStartColumn() { result = 0 } + + override int getEndLine() { result = 0 } + + override int getEndColumn() { result = 0 } + + override string toString() { result = "UnknownLocation" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/UnspecifiedElement.qll b/swift/ql/lib/codeql/swift/elements/UnspecifiedElement.qll index b062beeb1979..931a2f17e795 100644 --- a/swift/ql/lib/codeql/swift/elements/UnspecifiedElement.qll +++ b/swift/ql/lib/codeql/swift/elements/UnspecifiedElement.qll @@ -1,23 +1,11 @@ -private import codeql.swift.generated.UnspecifiedElement -import codeql.swift.elements.Location -import codeql.swift.elements.Locatable +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `UnspecifiedElement`. + */ -class UnspecifiedElement extends Generated::UnspecifiedElement { - override string toString() { - exists(string source, string index | - ( - source = " from " + this.getParent().getPrimaryQlClasses() - or - not this.hasParent() and source = "" - ) and - ( - index = "[" + this.getIndex() + "]" - or - not this.hasIndex() and index = "" - ) and - result = "missing " + this.getProperty() + index + source - ) - } +private import UnspecifiedElementImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.Element +import codeql.swift.elements.ErrorElement - override Location getLocation() { result = this.getParent().(Locatable).getLocation() } -} +final class UnspecifiedElement = Impl::UnspecifiedElement; diff --git a/swift/ql/lib/codeql/swift/elements/UnspecifiedElementImpl.qll b/swift/ql/lib/codeql/swift/elements/UnspecifiedElementImpl.qll new file mode 100644 index 000000000000..e2d7c5a32d9b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/UnspecifiedElementImpl.qll @@ -0,0 +1,25 @@ +private import codeql.swift.generated.UnspecifiedElement +import codeql.swift.elements.Location +import codeql.swift.elements.Locatable + +module Impl { + class UnspecifiedElement extends Generated::UnspecifiedElement { + override string toString() { + exists(string source, string index | + ( + source = " from " + this.getParent().getPrimaryQlClasses() + or + not this.hasParent() and source = "" + ) and + ( + index = "[" + this.getIndex() + "]" + or + not this.hasIndex() and index = "" + ) and + result = "missing " + this.getProperty() + index + source + ) + } + + override Location getLocation() { result = this.getParent().(Locatable).getLocation() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/AbstractStorageDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/AbstractStorageDecl.qll index a936d4d3675d..8bd6499fa32e 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/AbstractStorageDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/AbstractStorageDecl.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AbstractStorageDecl`. + * This module provides the public class `AbstractStorageDecl`. */ -private import codeql.swift.generated.decl.AbstractStorageDecl +private import AbstractStorageDeclImpl +import codeql.swift.elements.decl.Accessor +import codeql.swift.elements.decl.ValueDecl -class AbstractStorageDecl extends Generated::AbstractStorageDecl { } +final class AbstractStorageDecl = Impl::AbstractStorageDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/AbstractStorageDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/AbstractStorageDeclImpl.qll new file mode 100644 index 000000000000..f2ff78be8766 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/AbstractStorageDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AbstractStorageDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.AbstractStorageDecl + +/** + * INTERNAL: This module contains the customizable definition of `AbstractStorageDecl` and should not + * be referenced directly. + */ +module Impl { + class AbstractStorageDecl extends Generated::AbstractStorageDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/AbstractTypeParamDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/AbstractTypeParamDecl.qll index acec66207671..7ba4f60d5f0b 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/AbstractTypeParamDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/AbstractTypeParamDecl.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AbstractTypeParamDecl`. + * This module provides the public class `AbstractTypeParamDecl`. */ -private import codeql.swift.generated.decl.AbstractTypeParamDecl +private import AbstractTypeParamDeclImpl +import codeql.swift.elements.decl.TypeDecl -class AbstractTypeParamDecl extends Generated::AbstractTypeParamDecl { } +final class AbstractTypeParamDecl = Impl::AbstractTypeParamDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/AbstractTypeParamDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/AbstractTypeParamDeclImpl.qll new file mode 100644 index 000000000000..bd47801a1d29 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/AbstractTypeParamDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AbstractTypeParamDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.AbstractTypeParamDecl + +/** + * INTERNAL: This module contains the customizable definition of `AbstractTypeParamDecl` and should not + * be referenced directly. + */ +module Impl { + class AbstractTypeParamDecl extends Generated::AbstractTypeParamDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/Accessor.qll b/swift/ql/lib/codeql/swift/elements/decl/Accessor.qll index 2440ff28d686..3e1e4c53717d 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/Accessor.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/Accessor.qll @@ -1,40 +1,9 @@ -private import codeql.swift.generated.decl.Accessor +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `Accessor`. + */ -private predicate isKnownAccessorKind(Accessor decl, string kind) { - decl.isGetter() and kind = "get" - or - decl.isSetter() and kind = "set" - or - decl.isWillSet() and kind = "willSet" - or - decl.isDidSet() and kind = "didSet" - or - decl.isRead() and kind = "_read" - or - decl.isModify() and kind = "_modify" - or - decl.isUnsafeAddress() and kind = "unsafeAddress" - or - decl.isUnsafeMutableAddress() and kind = "unsafeMutableAddress" -} +private import AccessorImpl +import codeql.swift.elements.decl.AccessorOrNamedFunction -class Accessor extends Generated::Accessor { - predicate isPropertyObserver() { - this instanceof WillSetObserver or this instanceof DidSetObserver - } - - override string toString() { - isKnownAccessorKind(this, result) - or - not isKnownAccessorKind(this, _) and - result = super.toString() - } -} - -class WillSetObserver extends Accessor { - WillSetObserver() { this.isWillSet() } -} - -class DidSetObserver extends Accessor { - DidSetObserver() { this.isDidSet() } -} +final class Accessor = Impl::Accessor; diff --git a/swift/ql/lib/codeql/swift/elements/decl/AccessorImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/AccessorImpl.qll new file mode 100644 index 000000000000..422aa662d13b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/AccessorImpl.qll @@ -0,0 +1,35 @@ +private import codeql.swift.generated.decl.Accessor +private import SetObserver + +module Impl { + private predicate isKnownAccessorKind(Accessor decl, string kind) { + decl.isGetter() and kind = "get" + or + decl.isSetter() and kind = "set" + or + decl.isWillSet() and kind = "willSet" + or + decl.isDidSet() and kind = "didSet" + or + decl.isRead() and kind = "_read" + or + decl.isModify() and kind = "_modify" + or + decl.isUnsafeAddress() and kind = "unsafeAddress" + or + decl.isUnsafeMutableAddress() and kind = "unsafeMutableAddress" + } + + class Accessor extends Generated::Accessor { + predicate isPropertyObserver() { + this instanceof WillSetObserver or this instanceof DidSetObserver + } + + override string toString() { + isKnownAccessorKind(this, result) + or + not isKnownAccessorKind(this, _) and + result = super.toString() + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/AccessorOrNamedFunction.qll b/swift/ql/lib/codeql/swift/elements/decl/AccessorOrNamedFunction.qll index 251fe620d712..1294ebe28b4b 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/AccessorOrNamedFunction.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/AccessorOrNamedFunction.qll @@ -1,12 +1,12 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AccessorOrNamedFunction`. - * INTERNAL: Do not use. + * This module provides the public class `AccessorOrNamedFunction`. */ -private import codeql.swift.generated.decl.AccessorOrNamedFunction +private import AccessorOrNamedFunctionImpl +import codeql.swift.elements.decl.Function /** * INTERNAL: Do not use. */ -class AccessorOrNamedFunction extends Generated::AccessorOrNamedFunction { } +final class AccessorOrNamedFunction = Impl::AccessorOrNamedFunction; diff --git a/swift/ql/lib/codeql/swift/elements/decl/AccessorOrNamedFunctionImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/AccessorOrNamedFunctionImpl.qll new file mode 100644 index 000000000000..5c54308bbdfb --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/AccessorOrNamedFunctionImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AccessorOrNamedFunction`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.AccessorOrNamedFunction + +/** + * INTERNAL: This module contains the customizable definition of `AccessorOrNamedFunction` and should not + * be referenced directly. + */ +module Impl { + class AccessorOrNamedFunction extends Generated::AccessorOrNamedFunction { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/AssociatedTypeDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/AssociatedTypeDecl.qll index 20af4e2c495c..7b5808d371bc 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/AssociatedTypeDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/AssociatedTypeDecl.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AssociatedTypeDecl`. + * This module provides the public class `AssociatedTypeDecl`. */ -private import codeql.swift.generated.decl.AssociatedTypeDecl +private import AssociatedTypeDeclImpl +import codeql.swift.elements.decl.AbstractTypeParamDecl -class AssociatedTypeDecl extends Generated::AssociatedTypeDecl { } +final class AssociatedTypeDecl = Impl::AssociatedTypeDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/AssociatedTypeDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/AssociatedTypeDeclImpl.qll new file mode 100644 index 000000000000..86336036e8c8 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/AssociatedTypeDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AssociatedTypeDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.AssociatedTypeDecl + +/** + * INTERNAL: This module contains the customizable definition of `AssociatedTypeDecl` and should not + * be referenced directly. + */ +module Impl { + class AssociatedTypeDecl extends Generated::AssociatedTypeDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/CapturedDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/CapturedDecl.qll index fe9ea0ed32b5..86c4c8c0b4ca 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/CapturedDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/CapturedDecl.qll @@ -1,23 +1,10 @@ -private import codeql.swift.generated.decl.CapturedDecl -private import codeql.swift.elements.Callable -private import codeql.swift.elements.expr.DeclRefExpr - +// generated by codegen/codegen.py, do not edit /** - * A captured variable or function parameter in the scope of a closure. + * This module provides the public class `CapturedDecl`. */ -class CapturedDecl extends Generated::CapturedDecl { - override string toString() { result = this.getDecl().toString() } - /** - * Gets the closure or function that captures this variable. - */ - Callable getScope() { result.getACapture() = this } +private import CapturedDeclImpl +import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.ValueDecl - /** - * Get an access to this capture within the scope of its closure. - */ - DeclRefExpr getAnAccess() { - result.getEnclosingCallable() = this.getScope() and - result.getDecl() = this.getDecl() - } -} +final class CapturedDecl = Impl::CapturedDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/CapturedDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/CapturedDeclImpl.qll new file mode 100644 index 000000000000..0d07f7c6eee2 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/CapturedDeclImpl.qll @@ -0,0 +1,25 @@ +private import codeql.swift.generated.decl.CapturedDecl +private import codeql.swift.elements.Callable +private import codeql.swift.elements.expr.DeclRefExpr + +module Impl { + /** + * A captured variable or function parameter in the scope of a closure. + */ + class CapturedDecl extends Generated::CapturedDecl { + override string toString() { result = this.getDecl().toString() } + + /** + * Gets the closure or function that captures this variable. + */ + Callable getScope() { result.getACapture() = this } + + /** + * Get an access to this capture within the scope of its closure. + */ + DeclRefExpr getAnAccess() { + result.getEnclosingCallable() = this.getScope() and + result.getDecl() = this.getDecl() + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/ClassDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/ClassDecl.qll index 5ee4a72fae36..e3afeb667088 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/ClassDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/ClassDecl.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ClassDecl`. + * This module provides the public class `ClassDecl`. */ -private import codeql.swift.generated.decl.ClassDecl +private import ClassDeclImpl +import codeql.swift.elements.decl.NominalTypeDecl -class ClassDecl extends Generated::ClassDecl { } +final class ClassDecl = Impl::ClassDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/ClassDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/ClassDeclImpl.qll new file mode 100644 index 000000000000..823252e43536 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/ClassDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ClassDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.ClassDecl + +/** + * INTERNAL: This module contains the customizable definition of `ClassDecl` and should not + * be referenced directly. + */ +module Impl { + class ClassDecl extends Generated::ClassDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/ClassOrStructDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/ClassOrStructDecl.qll index 37c3935a17f8..e252c70ec8ce 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/ClassOrStructDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/ClassOrStructDecl.qll @@ -14,7 +14,7 @@ private import codeql.swift.elements.decl.NominalTypeDecl * } * ``` */ -class ClassOrStructDecl extends NominalTypeDecl { +final class ClassOrStructDecl extends NominalTypeDecl { ClassOrStructDecl() { this instanceof ClassDecl or diff --git a/swift/ql/lib/codeql/swift/elements/decl/ConcreteVarDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/ConcreteVarDecl.qll index d25e0b9d392c..3e790feb678a 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/ConcreteVarDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/ConcreteVarDecl.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ConcreteVarDecl`. + * This module provides the public class `ConcreteVarDecl`. */ -private import codeql.swift.generated.decl.ConcreteVarDecl +private import ConcreteVarDeclImpl +import codeql.swift.elements.decl.VarDecl -class ConcreteVarDecl extends Generated::ConcreteVarDecl { } +final class ConcreteVarDecl = Impl::ConcreteVarDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/ConcreteVarDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/ConcreteVarDeclImpl.qll new file mode 100644 index 000000000000..688a6392ab48 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/ConcreteVarDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ConcreteVarDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.ConcreteVarDecl + +/** + * INTERNAL: This module contains the customizable definition of `ConcreteVarDecl` and should not + * be referenced directly. + */ +module Impl { + class ConcreteVarDecl extends Generated::ConcreteVarDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/Decl.qll b/swift/ql/lib/codeql/swift/elements/decl/Decl.qll index c1a8d3fdf817..cb4064d3654c 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/Decl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/Decl.qll @@ -1,22 +1,10 @@ -private import codeql.swift.generated.decl.Decl -private import codeql.swift.elements.decl.NominalTypeDecl -private import codeql.swift.elements.decl.ExtensionDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `Decl`. + */ -class Decl extends Generated::Decl { - override string toString() { result = super.toString() } +private import DeclImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.decl.ModuleDecl - /** - * Gets the `NominalTypeDecl` corresponding to this `Decl`, if any. This - * resolves an `ExtensionDecl` to the `NominalTypeDecl` that it extends. - */ - NominalTypeDecl asNominalTypeDecl() { - result = this - or - result = this.(ExtensionDecl).getExtendedTypeDecl() - } - - /** - * Gets the declaration that declares this declaration as a member, if any. - */ - Decl getDeclaringDecl() { this = result.getAMember() } -} +final class Decl = Impl::Decl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/DeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/DeclImpl.qll new file mode 100644 index 000000000000..eb05a3b25b5e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/DeclImpl.qll @@ -0,0 +1,24 @@ +private import codeql.swift.generated.decl.Decl +private import codeql.swift.elements.decl.NominalTypeDecl +private import codeql.swift.elements.decl.ExtensionDecl + +module Impl { + class Decl extends Generated::Decl { + override string toString() { result = super.toString() } + + /** + * Gets the `NominalTypeDecl` corresponding to this `Decl`, if any. This + * resolves an `ExtensionDecl` to the `NominalTypeDecl` that it extends. + */ + NominalTypeDecl asNominalTypeDecl() { + result = this + or + result = this.(ExtensionDecl).getExtendedTypeDecl() + } + + /** + * Gets the declaration that declares this declaration as a member, if any. + */ + Decl getDeclaringDecl() { this = result.getAMember() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/Deinitializer.qll b/swift/ql/lib/codeql/swift/elements/decl/Deinitializer.qll index 7e16de32d26d..e52b7576b707 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/Deinitializer.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/Deinitializer.qll @@ -1,9 +1,9 @@ -private import codeql.swift.generated.decl.Deinitializer -private import codeql.swift.elements.decl.Method - +// generated by codegen/codegen.py, do not edit /** - * A deinitializer of a class. + * This module provides the public class `Deinitializer`. */ -class Deinitializer extends Generated::Deinitializer, Method { - override string toString() { result = this.getSelfParam().getType() + "." + super.toString() } -} + +private import DeinitializerImpl +import codeql.swift.elements.decl.Function + +final class Deinitializer = Impl::Deinitializer; diff --git a/swift/ql/lib/codeql/swift/elements/decl/DeinitializerImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/DeinitializerImpl.qll new file mode 100644 index 000000000000..c46bb3867d27 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/DeinitializerImpl.qll @@ -0,0 +1,11 @@ +private import codeql.swift.generated.decl.Deinitializer +private import codeql.swift.elements.decl.Method + +module Impl { + /** + * A deinitializer of a class. + */ + class Deinitializer extends Generated::Deinitializer { + override string toString() { result = this.getSelfParam().getType() + "." + super.toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/EnumCaseDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/EnumCaseDecl.qll index 4533adf2d85b..fde8d0e92688 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/EnumCaseDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/EnumCaseDecl.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.decl.EnumCaseDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `EnumCaseDecl`. + */ -class EnumCaseDecl extends Generated::EnumCaseDecl { - override string toString() { result = "case ..." } -} +private import EnumCaseDeclImpl +import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.EnumElementDecl + +final class EnumCaseDecl = Impl::EnumCaseDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/EnumCaseDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/EnumCaseDeclImpl.qll new file mode 100644 index 000000000000..8e2ea03a70d6 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/EnumCaseDeclImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.decl.EnumCaseDecl + +module Impl { + class EnumCaseDecl extends Generated::EnumCaseDecl { + override string toString() { result = "case ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/EnumDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/EnumDecl.qll index 91f597c8d384..de84f4979cab 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/EnumDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/EnumDecl.qll @@ -1,36 +1,9 @@ -private import codeql.swift.generated.decl.EnumDecl -private import codeql.swift.elements.decl.EnumCaseDecl -private import codeql.swift.elements.decl.EnumElementDecl -private import codeql.swift.elements.decl.Decl - +// generated by codegen/codegen.py, do not edit /** - * An enumeration declaration, for example: - * ``` - * enum MyColours { - * case red - * case green - * case blue - * } - * ``` + * This module provides the public class `EnumDecl`. */ -class EnumDecl extends Generated::EnumDecl { - /** - * Gets the `index`th enumeration element of this enumeration (0-based). - */ - final EnumElementDecl getEnumElement(int index) { - result = - rank[index + 1](int memberIndex, Decl d | - d = this.getMember(memberIndex) and - d instanceof EnumElementDecl - | - d order by memberIndex - ) - } - /** - * Gets an enumeration element of this enumeration. - */ - final EnumElementDecl getAnEnumElement() { - result = this.getMember(_).(EnumCaseDecl).getElement(_) - } -} +private import EnumDeclImpl +import codeql.swift.elements.decl.NominalTypeDecl + +final class EnumDecl = Impl::EnumDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/EnumDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/EnumDeclImpl.qll new file mode 100644 index 000000000000..9eff4077f933 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/EnumDeclImpl.qll @@ -0,0 +1,38 @@ +private import codeql.swift.generated.decl.EnumDecl +private import codeql.swift.elements.decl.EnumCaseDecl +private import codeql.swift.elements.decl.EnumElementDecl +private import codeql.swift.elements.decl.Decl + +module Impl { + /** + * An enumeration declaration, for example: + * ``` + * enum MyColours { + * case red + * case green + * case blue + * } + * ``` + */ + class EnumDecl extends Generated::EnumDecl { + /** + * Gets the `index`th enumeration element of this enumeration (0-based). + */ + final EnumElementDecl getEnumElement(int index) { + result = + rank[index + 1](int memberIndex, Decl d | + d = this.getMember(memberIndex) and + d instanceof EnumElementDecl + | + d order by memberIndex + ) + } + + /** + * Gets an enumeration element of this enumeration. + */ + final EnumElementDecl getAnEnumElement() { + result = this.getMember(_).(EnumCaseDecl).getElement(_) + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/EnumElementDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/EnumElementDecl.qll index 8dfc22001629..90a34f141836 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/EnumElementDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/EnumElementDecl.qll @@ -1,37 +1,10 @@ -private import codeql.swift.generated.decl.EnumElementDecl -private import codeql.swift.elements.decl.EnumDecl - +// generated by codegen/codegen.py, do not edit /** - * An enum element declaration, for example `enumElement` and `anotherEnumElement` in: - * ``` - * enum MyEnum { - * case enumElement - * case anotherEnumElement(Int) - * } - * ``` + * This module provides the public class `EnumElementDecl`. */ -class EnumElementDecl extends Generated::EnumElementDecl { - override string toString() { result = this.getName() } - /** - * Holds if this enum element declaration is called `enumElementName` and is a member of an - * enum called `enumName`. - */ - cached - predicate hasQualifiedName(string enumName, string enumElementName) { - this.getName() = enumElementName and - exists(EnumDecl d | - d.getFullName() = enumName and - d.getAMember() = this - ) - } +private import EnumElementDeclImpl +import codeql.swift.elements.decl.ParamDecl +import codeql.swift.elements.decl.ValueDecl - /** - * Holds if this enum element declaration is called `enumElementName` and is a member of an - * enumcalled `enumName` in a module called `moduleName`. - */ - predicate hasQualifiedName(string moduleName, string enumName, string enumElementName) { - this.hasQualifiedName(enumName, enumElementName) and - this.getModule().getFullName() = moduleName - } -} +final class EnumElementDecl = Impl::EnumElementDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/EnumElementDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/EnumElementDeclImpl.qll new file mode 100644 index 000000000000..d2234b9a0f98 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/EnumElementDeclImpl.qll @@ -0,0 +1,39 @@ +private import codeql.swift.generated.decl.EnumElementDecl +private import codeql.swift.elements.decl.EnumDecl + +module Impl { + /** + * An enum element declaration, for example `enumElement` and `anotherEnumElement` in: + * ``` + * enum MyEnum { + * case enumElement + * case anotherEnumElement(Int) + * } + * ``` + */ + class EnumElementDecl extends Generated::EnumElementDecl { + override string toString() { result = this.getName() } + + /** + * Holds if this enum element declaration is called `enumElementName` and is a member of an + * enum called `enumName`. + */ + cached + predicate hasQualifiedName(string enumName, string enumElementName) { + this.getName() = enumElementName and + exists(EnumDecl d | + d.getFullName() = enumName and + d.getAMember() = this + ) + } + + /** + * Holds if this enum element declaration is called `enumElementName` and is a member of an + * enumcalled `enumName` in a module called `moduleName`. + */ + predicate hasQualifiedName(string moduleName, string enumName, string enumElementName) { + this.hasQualifiedName(enumName, enumElementName) and + this.getModule().getFullName() = moduleName + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/ExtensionDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/ExtensionDecl.qll index 625229fcb13a..7b3cd887805f 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/ExtensionDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/ExtensionDecl.qll @@ -1,11 +1,12 @@ -private import codeql.swift.generated.decl.ExtensionDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ExtensionDecl`. + */ -class ExtensionDecl extends Generated::ExtensionDecl { - override string toString() { - result = - "extension of " + unique(NominalTypeDecl td | td = this.getExtendedTypeDecl()).toString() - or - count(this.getExtendedTypeDecl()) != 1 and - result = "extension" - } -} +private import ExtensionDeclImpl +import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.GenericContext +import codeql.swift.elements.decl.NominalTypeDecl +import codeql.swift.elements.decl.ProtocolDecl + +final class ExtensionDecl = Impl::ExtensionDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/ExtensionDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/ExtensionDeclImpl.qll new file mode 100644 index 000000000000..1d31a99a5357 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/ExtensionDeclImpl.qll @@ -0,0 +1,13 @@ +private import codeql.swift.generated.decl.ExtensionDecl + +module Impl { + class ExtensionDecl extends Generated::ExtensionDecl { + override string toString() { + result = + "extension of " + unique(NominalTypeDecl td | td = this.getExtendedTypeDecl()).toString() + or + count(this.getExtendedTypeDecl()) != 1 and + result = "extension" + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/FieldDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/FieldDecl.qll new file mode 100644 index 000000000000..6a7c6021d72d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/FieldDecl.qll @@ -0,0 +1,32 @@ +private import VarDecl + +/** + * A field declaration. That is, a variable declaration that is a member of a + * class, struct, enum or protocol. + */ +final class FieldDecl extends VarDecl { + FieldDecl() { this = any(Decl ctx).getAMember() } + + /** + * Holds if this field is called `fieldName` and is a member of a + * class, struct, extension, enum or protocol called `typeName`. + */ + cached + predicate hasQualifiedName(string typeName, string fieldName) { + this.getName() = fieldName and + exists(Decl d | + d.asNominalTypeDecl().getFullName() = typeName and + d.getAMember() = this + ) + } + + /** + * Holds if this field is called `fieldName` and is a member of a + * class, struct, extension, enum or protocol called `typeName` in a module + * called `moduleName`. + */ + predicate hasQualifiedName(string moduleName, string typeName, string fieldName) { + this.hasQualifiedName(typeName, fieldName) and + this.getModule().getFullName() = moduleName + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/FreeFunction.qll b/swift/ql/lib/codeql/swift/elements/decl/FreeFunction.qll new file mode 100644 index 000000000000..ae03dc5f44a3 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/FreeFunction.qll @@ -0,0 +1,9 @@ +private import Function +private import Method + +/** + * A free (non-member) function. + */ +final class FreeFunction extends Function { + FreeFunction() { not this instanceof Method } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/Function.qll b/swift/ql/lib/codeql/swift/elements/decl/Function.qll index 7fc5b5b21559..465779da6ca8 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/Function.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/Function.qll @@ -1,26 +1,11 @@ -private import codeql.swift.generated.decl.Function -private import codeql.swift.elements.decl.Method - +// generated by codegen/codegen.py, do not edit /** - * A function. + * This module provides the public class `Function`. */ -class Function extends Generated::Function, Callable { - override string toString() { result = this.getName() } - /** - * Gets the name of this function, without the argument list. For example - * a function with name `myFunction(arg:)` has short name `myFunction`. - */ - string getShortName() { - // match as many characters as possible that are not `(`. - // (`*+` is possessive matching) - result = this.getName().regexpCapture("([^(]*+).*", 1) - } -} +private import FunctionImpl +import codeql.swift.elements.Callable +import codeql.swift.elements.decl.GenericContext +import codeql.swift.elements.decl.ValueDecl -/** - * A free (non-member) function. - */ -class FreeFunction extends Function { - FreeFunction() { not this instanceof Method } -} +final class Function = Impl::Function; diff --git a/swift/ql/lib/codeql/swift/elements/decl/FunctionImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/FunctionImpl.qll new file mode 100644 index 000000000000..054b0b81e50b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/FunctionImpl.qll @@ -0,0 +1,28 @@ +private import codeql.swift.generated.decl.Function +private import codeql.swift.elements.decl.Method + +module Impl { + /** + * A function. + */ + class Function extends Generated::Function { + override string toString() { result = this.getName() } + + /** + * Gets the name of this function, without the argument list. For example + * a function with name `myFunction(arg:)` has short name `myFunction`. + */ + string getShortName() { + // match as many characters as possible that are not `(`. + // (`*+` is possessive matching) + result = this.getName().regexpCapture("([^(]*+).*", 1) + } + } + + /** + * A free (non-member) function. + */ + class FreeFunction extends Function { + FreeFunction() { not this instanceof Method } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/GenericContext.qll b/swift/ql/lib/codeql/swift/elements/decl/GenericContext.qll index 8564620bd451..d86333e3516f 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/GenericContext.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/GenericContext.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `GenericContext`. + * This module provides the public class `GenericContext`. */ -private import codeql.swift.generated.decl.GenericContext +private import GenericContextImpl +import codeql.swift.elements.Element +import codeql.swift.elements.decl.GenericTypeParamDecl -class GenericContext extends Generated::GenericContext { } +final class GenericContext = Impl::GenericContext; diff --git a/swift/ql/lib/codeql/swift/elements/decl/GenericContextImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/GenericContextImpl.qll new file mode 100644 index 000000000000..7be40bc7d18c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/GenericContextImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `GenericContext`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.GenericContext + +/** + * INTERNAL: This module contains the customizable definition of `GenericContext` and should not + * be referenced directly. + */ +module Impl { + class GenericContext extends Generated::GenericContext { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/GenericTypeDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/GenericTypeDecl.qll index 7217d6aca38a..f97d5e423a76 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/GenericTypeDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/GenericTypeDecl.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `GenericTypeDecl`. + * This module provides the public class `GenericTypeDecl`. */ -private import codeql.swift.generated.decl.GenericTypeDecl +private import GenericTypeDeclImpl +import codeql.swift.elements.decl.GenericContext +import codeql.swift.elements.decl.TypeDecl -class GenericTypeDecl extends Generated::GenericTypeDecl { } +final class GenericTypeDecl = Impl::GenericTypeDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/GenericTypeDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/GenericTypeDeclImpl.qll new file mode 100644 index 000000000000..a56eaef215d7 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/GenericTypeDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `GenericTypeDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.GenericTypeDecl + +/** + * INTERNAL: This module contains the customizable definition of `GenericTypeDecl` and should not + * be referenced directly. + */ +module Impl { + class GenericTypeDecl extends Generated::GenericTypeDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/GenericTypeParamDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/GenericTypeParamDecl.qll index 349ed202c3d2..510684cb4a03 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/GenericTypeParamDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/GenericTypeParamDecl.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `GenericTypeParamDecl`. + * This module provides the public class `GenericTypeParamDecl`. */ -private import codeql.swift.generated.decl.GenericTypeParamDecl +private import GenericTypeParamDeclImpl +import codeql.swift.elements.decl.AbstractTypeParamDecl -class GenericTypeParamDecl extends Generated::GenericTypeParamDecl { } +final class GenericTypeParamDecl = Impl::GenericTypeParamDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/GenericTypeParamDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/GenericTypeParamDeclImpl.qll new file mode 100644 index 000000000000..dc99eb3b2d42 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/GenericTypeParamDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `GenericTypeParamDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.GenericTypeParamDecl + +/** + * INTERNAL: This module contains the customizable definition of `GenericTypeParamDecl` and should not + * be referenced directly. + */ +module Impl { + class GenericTypeParamDecl extends Generated::GenericTypeParamDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/IfConfigDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/IfConfigDecl.qll index d5f825c31f28..718c0ae1b0d7 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/IfConfigDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/IfConfigDecl.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.decl.IfConfigDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `IfConfigDecl`. + */ -class IfConfigDecl extends Generated::IfConfigDecl { - override string toString() { result = "#if ..." } -} +private import IfConfigDeclImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.decl.Decl + +final class IfConfigDecl = Impl::IfConfigDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/IfConfigDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/IfConfigDeclImpl.qll new file mode 100644 index 000000000000..395409992d5a --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/IfConfigDeclImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.decl.IfConfigDecl + +module Impl { + class IfConfigDecl extends Generated::IfConfigDecl { + override string toString() { result = "#if ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/ImportDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/ImportDecl.qll index 08f5820f103b..b32ddc7bd47b 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/ImportDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/ImportDecl.qll @@ -1,5 +1,11 @@ -private import codeql.swift.generated.decl.ImportDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ImportDecl`. + */ -class ImportDecl extends Generated::ImportDecl { - override string toString() { result = "import ..." } -} +private import ImportDeclImpl +import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.ModuleDecl +import codeql.swift.elements.decl.ValueDecl + +final class ImportDecl = Impl::ImportDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/ImportDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/ImportDeclImpl.qll new file mode 100644 index 000000000000..2e0aa369bd17 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/ImportDeclImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.decl.ImportDecl + +module Impl { + class ImportDecl extends Generated::ImportDecl { + override string toString() { result = "import ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/InfixOperatorDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/InfixOperatorDecl.qll index 9a9c3142c35e..bcf57adecf49 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/InfixOperatorDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/InfixOperatorDecl.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `InfixOperatorDecl`. + * This module provides the public class `InfixOperatorDecl`. */ -private import codeql.swift.generated.decl.InfixOperatorDecl +private import InfixOperatorDeclImpl +import codeql.swift.elements.decl.OperatorDecl +import codeql.swift.elements.decl.PrecedenceGroupDecl -class InfixOperatorDecl extends Generated::InfixOperatorDecl { } +final class InfixOperatorDecl = Impl::InfixOperatorDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/InfixOperatorDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/InfixOperatorDeclImpl.qll new file mode 100644 index 000000000000..40a0f2ea2375 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/InfixOperatorDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `InfixOperatorDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.InfixOperatorDecl + +/** + * INTERNAL: This module contains the customizable definition of `InfixOperatorDecl` and should not + * be referenced directly. + */ +module Impl { + class InfixOperatorDecl extends Generated::InfixOperatorDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/Initializer.qll b/swift/ql/lib/codeql/swift/elements/decl/Initializer.qll index 2b2c903cfcb2..64b9b648cf2e 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/Initializer.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/Initializer.qll @@ -1,17 +1,9 @@ -private import codeql.swift.generated.decl.Initializer -private import codeql.swift.elements.decl.Method -private import codeql.swift.elements.type.FunctionType -private import codeql.swift.elements.type.OptionalType - +// generated by codegen/codegen.py, do not edit /** - * An initializer of a class, struct, enum or protocol. + * This module provides the public class `Initializer`. */ -class Initializer extends Generated::Initializer, Method { - override string toString() { result = this.getSelfParam().getType() + "." + super.toString() } - /** Holds if this initializer returns an optional type. Failable initializers are written as `init?`. */ - predicate isFailable() { - this.getInterfaceType().(FunctionType).getResult().(FunctionType).getResult() instanceof - OptionalType - } -} +private import InitializerImpl +import codeql.swift.elements.decl.Function + +final class Initializer = Impl::Initializer; diff --git a/swift/ql/lib/codeql/swift/elements/decl/InitializerImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/InitializerImpl.qll new file mode 100644 index 000000000000..f8b2224912df --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/InitializerImpl.qll @@ -0,0 +1,20 @@ +private import codeql.swift.generated.decl.Initializer +private import codeql.swift.elements.decl.Method +private import codeql.swift.elements.decl.MethodImpl::Impl as MethodImpl +private import codeql.swift.elements.type.FunctionType +private import codeql.swift.elements.type.OptionalType + +module Impl { + /** + * An initializer of a class, struct, enum or protocol. + */ + class Initializer extends Generated::Initializer, MethodImpl::Method { + override string toString() { result = this.getSelfParam().getType() + "." + super.toString() } + + /** Holds if this initializer returns an optional type. Failable initializers are written as `init?`. */ + predicate isFailable() { + this.getInterfaceType().(FunctionType).getResult().(FunctionType).getResult() instanceof + OptionalType + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/MacroDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/MacroDecl.qll index 50a1c2eb7a8c..df5a0afb0630 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/MacroDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/MacroDecl.qll @@ -1,9 +1,13 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `MacroDecl`. + * This module provides the public class `MacroDecl`. */ -private import codeql.swift.generated.decl.MacroDecl +private import MacroDeclImpl +import codeql.swift.elements.decl.GenericContext +import codeql.swift.elements.MacroRole +import codeql.swift.elements.decl.ParamDecl +import codeql.swift.elements.decl.ValueDecl /** * A declaration of a macro. Some examples: @@ -17,4 +21,4 @@ private import codeql.swift.generated.decl.MacroDecl * macro C() = C.C * ``` */ -class MacroDecl extends Generated::MacroDecl { } +final class MacroDecl = Impl::MacroDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/MacroDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/MacroDeclImpl.qll new file mode 100644 index 000000000000..6623b756c1ac --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/MacroDeclImpl.qll @@ -0,0 +1,28 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `MacroDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.MacroDecl + +/** + * INTERNAL: This module contains the customizable definition of `MacroDecl` and should not + * be referenced directly. + */ +module Impl { + /** + * A declaration of a macro. Some examples: + * + * ``` + * @freestanding(declaration) + * macro A() = #externalMacro(module: "A", type: "A") + * @freestanding(expression) + * macro B() = Builtin.B + * @attached(member) + * macro C() = C.C + * ``` + */ + class MacroDecl extends Generated::MacroDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/Method.qll b/swift/ql/lib/codeql/swift/elements/decl/Method.qll index cfaa635f6b62..04f96fd4019b 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/Method.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/Method.qll @@ -1,60 +1,3 @@ -private import swift +private import MethodImpl -private Decl getAMember(Decl ctx) { - ctx.getAMember() = result - or - exists(VarDecl var | - ctx.getAMember() = var and - var.getAnAccessor() = result - ) -} - -/** - * A function that is a member of a class, struct, enum or protocol. - */ -class Method extends Function { - Method() { - this = getAMember(any(ClassDecl c)) - or - this = getAMember(any(StructDecl c)) - or - this = getAMember(any(ExtensionDecl c)) - or - this = getAMember(any(EnumDecl c)) - or - this = getAMember(any(ProtocolDecl c)) - } - - /** - * Holds if this function is called `funcName` and is a member of a - * class, struct, extension, enum or protocol called `typeName`. - */ - cached - predicate hasQualifiedName(string typeName, string funcName) { - this.getName() = funcName and - exists(Decl d | - d.asNominalTypeDecl().getFullName() = typeName and - d.getAMember() = this - ) - } - - /** - * Holds if this function is called `funcName` and is a member of a - * class, struct, extension, enum or protocol called `typeName` in a module - * called `moduleName`. - */ - predicate hasQualifiedName(string moduleName, string typeName, string funcName) { - this.hasQualifiedName(typeName, funcName) and - this.getModule().getFullName() = moduleName - } - - /** - * Holds if this function is a `static` or `class` method, as opposed to an instance method. - */ - predicate isStaticOrClassMethod() { this.getSelfParam().getType() instanceof MetatypeType } - - /** - * Holds if this function is an instance method, as opposed to a `static` or `class` method. - */ - predicate isInstanceMethod() { not this.isStaticOrClassMethod() } -} +final class Method = Impl::Method; diff --git a/swift/ql/lib/codeql/swift/elements/decl/MethodImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/MethodImpl.qll new file mode 100644 index 000000000000..6a7342c7c402 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/MethodImpl.qll @@ -0,0 +1,63 @@ +private import swift +private import codeql.swift.elements.decl.FunctionImpl::Impl as FunctionImpl + +module Impl { + private Decl getAMember(Decl ctx) { + ctx.getAMember() = result + or + exists(VarDecl var | + ctx.getAMember() = var and + var.getAnAccessor() = result + ) + } + + /** + * A function that is a member of a class, struct, enum or protocol. + */ + class Method extends FunctionImpl::Function { + Method() { + this = getAMember(any(ClassDecl c)) + or + this = getAMember(any(StructDecl c)) + or + this = getAMember(any(ExtensionDecl c)) + or + this = getAMember(any(EnumDecl c)) + or + this = getAMember(any(ProtocolDecl c)) + } + + /** + * Holds if this function is called `funcName` and is a member of a + * class, struct, extension, enum or protocol called `typeName`. + */ + cached + predicate hasQualifiedName(string typeName, string funcName) { + this.getName() = funcName and + exists(Decl d | + d.asNominalTypeDecl().getFullName() = typeName and + d.getAMember() = this + ) + } + + /** + * Holds if this function is called `funcName` and is a member of a + * class, struct, extension, enum or protocol called `typeName` in a module + * called `moduleName`. + */ + predicate hasQualifiedName(string moduleName, string typeName, string funcName) { + this.hasQualifiedName(typeName, funcName) and + this.getModule().getFullName() = moduleName + } + + /** + * Holds if this function is a `static` or `class` method, as opposed to an instance method. + */ + predicate isStaticOrClassMethod() { this.getSelfParam().getType() instanceof MetatypeType } + + /** + * Holds if this function is an instance method, as opposed to a `static` or `class` method. + */ + predicate isInstanceMethod() { not this.isStaticOrClassMethod() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/MissingMemberDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/MissingMemberDecl.qll index a89fb9c67561..aebbe164a8ba 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/MissingMemberDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/MissingMemberDecl.qll @@ -1,9 +1,12 @@ -private import codeql.swift.generated.decl.MissingMemberDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `MissingMemberDecl`. + */ + +private import MissingMemberDeclImpl +import codeql.swift.elements.decl.Decl -// the following QLdoc is generated: if you need to edit it, do it in the schema file /** * A placeholder for missing declarations that can arise on object deserialization. */ -class MissingMemberDecl extends Generated::MissingMemberDecl { - override string toString() { result = this.getName() + " (missing)" } -} +final class MissingMemberDecl = Impl::MissingMemberDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/MissingMemberDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/MissingMemberDeclImpl.qll new file mode 100644 index 000000000000..51c9744ceea8 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/MissingMemberDeclImpl.qll @@ -0,0 +1,11 @@ +private import codeql.swift.generated.decl.MissingMemberDecl + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * A placeholder for missing declarations that can arise on object deserialization. + */ + class MissingMemberDecl extends Generated::MissingMemberDecl { + override string toString() { result = this.getName() + " (missing)" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/ModuleDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/ModuleDecl.qll index 084fb89454cc..7de686d7ba6f 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/ModuleDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/ModuleDecl.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ModuleDecl`. + * This module provides the public class `ModuleDecl`. */ -private import codeql.swift.generated.decl.ModuleDecl +private import ModuleDeclImpl +import codeql.swift.elements.decl.TypeDecl -class ModuleDecl extends Generated::ModuleDecl { } +final class ModuleDecl = Impl::ModuleDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/ModuleDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/ModuleDeclImpl.qll new file mode 100644 index 000000000000..d3e0b18c7899 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/ModuleDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ModuleDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.ModuleDecl + +/** + * INTERNAL: This module contains the customizable definition of `ModuleDecl` and should not + * be referenced directly. + */ +module Impl { + class ModuleDecl extends Generated::ModuleDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/NamedFunction.qll b/swift/ql/lib/codeql/swift/elements/decl/NamedFunction.qll index 263bacb4fb33..b3982c581b99 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/NamedFunction.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/NamedFunction.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `NamedFunction`. + * This module provides the public class `NamedFunction`. */ -private import codeql.swift.generated.decl.NamedFunction +private import NamedFunctionImpl +import codeql.swift.elements.decl.AccessorOrNamedFunction -class NamedFunction extends Generated::NamedFunction { } +final class NamedFunction = Impl::NamedFunction; diff --git a/swift/ql/lib/codeql/swift/elements/decl/NamedFunctionImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/NamedFunctionImpl.qll new file mode 100644 index 000000000000..9805478892cb --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/NamedFunctionImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `NamedFunction`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.NamedFunction + +/** + * INTERNAL: This module contains the customizable definition of `NamedFunction` and should not + * be referenced directly. + */ +module Impl { + class NamedFunction extends Generated::NamedFunction { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/NominalTypeDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/NominalTypeDecl.qll index 4b337322818f..0decc9ed3ecf 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/NominalTypeDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/NominalTypeDecl.qll @@ -1,6 +1,10 @@ -private import codeql.swift.generated.decl.NominalTypeDecl - +// generated by codegen/codegen.py, do not edit /** - * A class, struct, enum or protocol. + * This module provides the public class `NominalTypeDecl`. */ -class NominalTypeDecl extends Generated::NominalTypeDecl { } + +private import NominalTypeDeclImpl +import codeql.swift.elements.decl.GenericTypeDecl +import codeql.swift.elements.type.Type + +final class NominalTypeDecl = Impl::NominalTypeDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/NominalTypeDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/NominalTypeDeclImpl.qll new file mode 100644 index 000000000000..826505f0a97e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/NominalTypeDeclImpl.qll @@ -0,0 +1,8 @@ +private import codeql.swift.generated.decl.NominalTypeDecl + +module Impl { + /** + * A class, struct, enum or protocol. + */ + class NominalTypeDecl extends Generated::NominalTypeDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/OpaqueTypeDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/OpaqueTypeDecl.qll index d7fd3e129b85..cc68497e24d2 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/OpaqueTypeDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/OpaqueTypeDecl.qll @@ -1,9 +1,12 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `OpaqueTypeDecl`. + * This module provides the public class `OpaqueTypeDecl`. */ -private import codeql.swift.generated.decl.OpaqueTypeDecl +private import OpaqueTypeDeclImpl +import codeql.swift.elements.decl.GenericTypeDecl +import codeql.swift.elements.type.GenericTypeParamType +import codeql.swift.elements.decl.ValueDecl /** * A declaration of an opaque type, that is formally equivalent to a given type but abstracts it @@ -16,4 +19,4 @@ private import codeql.swift.generated.decl.OpaqueTypeDecl * ``` * See https://docs.swift.org/swift-book/LanguageGuide/OpaqueTypes.html. */ -class OpaqueTypeDecl extends Generated::OpaqueTypeDecl { } +final class OpaqueTypeDecl = Impl::OpaqueTypeDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/OpaqueTypeDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/OpaqueTypeDeclImpl.qll new file mode 100644 index 000000000000..533d641c9c86 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/OpaqueTypeDeclImpl.qll @@ -0,0 +1,27 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `OpaqueTypeDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.OpaqueTypeDecl + +/** + * INTERNAL: This module contains the customizable definition of `OpaqueTypeDecl` and should not + * be referenced directly. + */ +module Impl { + /** + * A declaration of an opaque type, that is formally equivalent to a given type but abstracts it + * away. + * + * Such a declaration is implicitly given when a declaration is written with an opaque result type, + * for example + * ``` + * func opaque() -> some SignedInteger { return 1 } + * ``` + * See https://docs.swift.org/swift-book/LanguageGuide/OpaqueTypes.html. + */ + class OpaqueTypeDecl extends Generated::OpaqueTypeDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/OperatorDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/OperatorDecl.qll index b5e13c9f2ac4..efaa363cc97d 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/OperatorDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/OperatorDecl.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.decl.OperatorDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `OperatorDecl`. + */ -class OperatorDecl extends Generated::OperatorDecl { - override string toString() { result = this.getName() } -} +private import OperatorDeclImpl +import codeql.swift.elements.decl.Decl + +final class OperatorDecl = Impl::OperatorDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/OperatorDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/OperatorDeclImpl.qll new file mode 100644 index 000000000000..cee4d691c89f --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/OperatorDeclImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.decl.OperatorDecl + +module Impl { + class OperatorDecl extends Generated::OperatorDecl { + override string toString() { result = this.getName() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/ParamDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/ParamDecl.qll index 93b749d98810..1115483a2e65 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/ParamDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/ParamDecl.qll @@ -1,24 +1,10 @@ -private import codeql.swift.generated.decl.ParamDecl -private import codeql.swift.elements.Callable +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ParamDecl`. + */ -class ParamDecl extends Generated::ParamDecl { - /** Gets the function which declares this parameter. */ - Callable getDeclaringFunction() { result.getAParam() = this } +private import ParamDeclImpl +import codeql.swift.elements.decl.PatternBindingDecl +import codeql.swift.elements.decl.VarDecl - /** - * Gets the index of this parameter in its declaring function's parameter list, - * or -1 if this is `self`. - */ - int getIndex() { exists(Callable func | func.getParam(result) = this) } -} - -/** A `self` parameter. */ -class SelfParamDecl extends ParamDecl { - Callable call; - - SelfParamDecl() { call.getSelfParam() = this } - - override Callable getDeclaringFunction() { result = call } - - override int getIndex() { result = -1 } -} +final class ParamDecl = Impl::ParamDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/ParamDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/ParamDeclImpl.qll new file mode 100644 index 000000000000..f5fcd04f6b2b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/ParamDeclImpl.qll @@ -0,0 +1,26 @@ +private import codeql.swift.generated.decl.ParamDecl +private import codeql.swift.elements.Callable + +module Impl { + class ParamDecl extends Generated::ParamDecl { + /** Gets the function which declares this parameter. */ + Callable getDeclaringFunction() { result.getAParam() = this } + + /** + * Gets the index of this parameter in its declaring function's parameter list, + * or -1 if this is `self`. + */ + int getIndex() { exists(Callable func | func.getParam(result) = this) } + } + + /** A `self` parameter. */ + class SelfParamDecl extends ParamDecl { + Callable call; + + SelfParamDecl() { call.getSelfParam() = this } + + override Callable getDeclaringFunction() { result = call } + + override int getIndex() { result = -1 } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/PatternBindingDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/PatternBindingDecl.qll index b8b04651684d..380f6c3c7ad6 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/PatternBindingDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/PatternBindingDecl.qll @@ -1,5 +1,11 @@ -private import codeql.swift.generated.decl.PatternBindingDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `PatternBindingDecl`. + */ -class PatternBindingDecl extends Generated::PatternBindingDecl { - override string toString() { result = "var ... = ..." } -} +private import PatternBindingDeclImpl +import codeql.swift.elements.decl.Decl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.pattern.Pattern + +final class PatternBindingDecl = Impl::PatternBindingDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/PatternBindingDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/PatternBindingDeclImpl.qll new file mode 100644 index 000000000000..5cca53c3d482 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/PatternBindingDeclImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.decl.PatternBindingDecl + +module Impl { + class PatternBindingDecl extends Generated::PatternBindingDecl { + override string toString() { result = "var ... = ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/PostfixOperatorDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/PostfixOperatorDecl.qll index 92874136b2eb..1870730a577c 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/PostfixOperatorDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/PostfixOperatorDecl.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PostfixOperatorDecl`. + * This module provides the public class `PostfixOperatorDecl`. */ -private import codeql.swift.generated.decl.PostfixOperatorDecl +private import PostfixOperatorDeclImpl +import codeql.swift.elements.decl.OperatorDecl -class PostfixOperatorDecl extends Generated::PostfixOperatorDecl { } +final class PostfixOperatorDecl = Impl::PostfixOperatorDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/PostfixOperatorDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/PostfixOperatorDeclImpl.qll new file mode 100644 index 000000000000..98eb068d59d5 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/PostfixOperatorDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PostfixOperatorDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.PostfixOperatorDecl + +/** + * INTERNAL: This module contains the customizable definition of `PostfixOperatorDecl` and should not + * be referenced directly. + */ +module Impl { + class PostfixOperatorDecl extends Generated::PostfixOperatorDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/PoundDiagnosticDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/PoundDiagnosticDecl.qll index ce435d3eb627..b259066e0ca0 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/PoundDiagnosticDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/PoundDiagnosticDecl.qll @@ -1,17 +1,13 @@ -private import codeql.swift.generated.decl.PoundDiagnosticDecl - -// the following QLdoc is generated: if you need to edit it, do it in the schema file +// generated by codegen/codegen.py, do not edit /** - * A diagnostic directive, which is either `#error` or `#warning`. + * This module provides the public class `PoundDiagnosticDecl`. */ -class PoundDiagnosticDecl extends Generated::PoundDiagnosticDecl { - override string toString() { - this.isError() and result = "#error(...)" - or - this.isWarning() and result = "#warning(...)" - } - predicate isError() { this.getKind() = 1 } +private import PoundDiagnosticDeclImpl +import codeql.swift.elements.decl.Decl +import codeql.swift.elements.expr.StringLiteralExpr - predicate isWarning() { this.getKind() = 2 } -} +/** + * A diagnostic directive, which is either `#error` or `#warning`. + */ +final class PoundDiagnosticDecl = Impl::PoundDiagnosticDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/PoundDiagnosticDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/PoundDiagnosticDeclImpl.qll new file mode 100644 index 000000000000..b7e9caab00ae --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/PoundDiagnosticDeclImpl.qll @@ -0,0 +1,19 @@ +private import codeql.swift.generated.decl.PoundDiagnosticDecl + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * A diagnostic directive, which is either `#error` or `#warning`. + */ + class PoundDiagnosticDecl extends Generated::PoundDiagnosticDecl { + override string toString() { + this.isError() and result = "#error(...)" + or + this.isWarning() and result = "#warning(...)" + } + + predicate isError() { this.getKind() = 1 } + + predicate isWarning() { this.getKind() = 2 } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/PrecedenceGroupDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/PrecedenceGroupDecl.qll index 3125054ea8ba..a57c17969e8d 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/PrecedenceGroupDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/PrecedenceGroupDecl.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.decl.PrecedenceGroupDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `PrecedenceGroupDecl`. + */ -class PrecedenceGroupDecl extends Generated::PrecedenceGroupDecl { - override string toString() { result = "precedencegroup ..." } -} +private import PrecedenceGroupDeclImpl +import codeql.swift.elements.decl.Decl + +final class PrecedenceGroupDecl = Impl::PrecedenceGroupDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/PrecedenceGroupDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/PrecedenceGroupDeclImpl.qll new file mode 100644 index 000000000000..1f85a0d563d3 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/PrecedenceGroupDeclImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.decl.PrecedenceGroupDecl + +module Impl { + class PrecedenceGroupDecl extends Generated::PrecedenceGroupDecl { + override string toString() { result = "precedencegroup ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/PrefixOperatorDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/PrefixOperatorDecl.qll index c95760a3fb54..264402783c8f 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/PrefixOperatorDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/PrefixOperatorDecl.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PrefixOperatorDecl`. + * This module provides the public class `PrefixOperatorDecl`. */ -private import codeql.swift.generated.decl.PrefixOperatorDecl +private import PrefixOperatorDeclImpl +import codeql.swift.elements.decl.OperatorDecl -class PrefixOperatorDecl extends Generated::PrefixOperatorDecl { } +final class PrefixOperatorDecl = Impl::PrefixOperatorDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/PrefixOperatorDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/PrefixOperatorDeclImpl.qll new file mode 100644 index 000000000000..05e857c8a8bc --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/PrefixOperatorDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PrefixOperatorDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.PrefixOperatorDecl + +/** + * INTERNAL: This module contains the customizable definition of `PrefixOperatorDecl` and should not + * be referenced directly. + */ +module Impl { + class PrefixOperatorDecl extends Generated::PrefixOperatorDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/ProtocolDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/ProtocolDecl.qll index ae22a648234d..16c0a2701ef5 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/ProtocolDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/ProtocolDecl.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ProtocolDecl`. + * This module provides the public class `ProtocolDecl`. */ -private import codeql.swift.generated.decl.ProtocolDecl +private import ProtocolDeclImpl +import codeql.swift.elements.decl.NominalTypeDecl -class ProtocolDecl extends Generated::ProtocolDecl { } +final class ProtocolDecl = Impl::ProtocolDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/ProtocolDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/ProtocolDeclImpl.qll new file mode 100644 index 000000000000..80fb765325a9 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/ProtocolDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ProtocolDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.ProtocolDecl + +/** + * INTERNAL: This module contains the customizable definition of `ProtocolDecl` and should not + * be referenced directly. + */ +module Impl { + class ProtocolDecl extends Generated::ProtocolDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/SelfParamDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/SelfParamDecl.qll new file mode 100644 index 000000000000..0a3c1374b619 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/SelfParamDecl.qll @@ -0,0 +1,3 @@ +private import ParamDeclImpl + +final class SelfParamDecl = Impl::SelfParamDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/SetObserver.qll b/swift/ql/lib/codeql/swift/elements/decl/SetObserver.qll new file mode 100644 index 000000000000..19367186d8af --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/SetObserver.qll @@ -0,0 +1,9 @@ +private import Accessor + +final class WillSetObserver extends Accessor { + WillSetObserver() { this.isWillSet() } +} + +class DidSetObserver extends Accessor { + DidSetObserver() { this.isDidSet() } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/StructDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/StructDecl.qll index ae95a8dca843..9bf0ee7a9eae 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/StructDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/StructDecl.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `StructDecl`. + * This module provides the public class `StructDecl`. */ -private import codeql.swift.generated.decl.StructDecl +private import StructDeclImpl +import codeql.swift.elements.decl.NominalTypeDecl -class StructDecl extends Generated::StructDecl { } +final class StructDecl = Impl::StructDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/StructDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/StructDeclImpl.qll new file mode 100644 index 000000000000..b5a8be86fd2e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/StructDeclImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `StructDecl`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.decl.StructDecl + +/** + * INTERNAL: This module contains the customizable definition of `StructDecl` and should not + * be referenced directly. + */ +module Impl { + class StructDecl extends Generated::StructDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/SubscriptDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/SubscriptDecl.qll index 3cb0e8449897..4836a33db5bb 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/SubscriptDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/SubscriptDecl.qll @@ -1,5 +1,12 @@ -private import codeql.swift.generated.decl.SubscriptDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `SubscriptDecl`. + */ -class SubscriptDecl extends Generated::SubscriptDecl { - override string toString() { result = "subscript ..." } -} +private import SubscriptDeclImpl +import codeql.swift.elements.decl.AbstractStorageDecl +import codeql.swift.elements.decl.GenericContext +import codeql.swift.elements.decl.ParamDecl +import codeql.swift.elements.type.Type + +final class SubscriptDecl = Impl::SubscriptDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/SubscriptDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/SubscriptDeclImpl.qll new file mode 100644 index 000000000000..32a963340544 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/SubscriptDeclImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.decl.SubscriptDecl + +module Impl { + class SubscriptDecl extends Generated::SubscriptDecl { + override string toString() { result = "subscript ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/TopLevelCodeDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/TopLevelCodeDecl.qll index cf421c65b39b..6357ec1ee5a1 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/TopLevelCodeDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/TopLevelCodeDecl.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.decl.TopLevelCodeDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `TopLevelCodeDecl`. + */ -class TopLevelCodeDecl extends Generated::TopLevelCodeDecl { - override string toString() { result = this.getBody().toString() } -} +private import TopLevelCodeDeclImpl +import codeql.swift.elements.stmt.BraceStmt +import codeql.swift.elements.decl.Decl + +final class TopLevelCodeDecl = Impl::TopLevelCodeDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/TopLevelCodeDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/TopLevelCodeDeclImpl.qll new file mode 100644 index 000000000000..f3f8e0683be2 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/TopLevelCodeDeclImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.decl.TopLevelCodeDecl + +module Impl { + class TopLevelCodeDecl extends Generated::TopLevelCodeDecl { + override string toString() { result = this.getBody().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/TypeAliasDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/TypeAliasDecl.qll index 96b7dc19737b..04b35734d6a5 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/TypeAliasDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/TypeAliasDecl.qll @@ -1,10 +1,16 @@ -private import codeql.swift.generated.decl.TypeAliasDecl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `TypeAliasDecl`. + */ + +private import TypeAliasDeclImpl +import codeql.swift.elements.decl.GenericTypeDecl +import codeql.swift.elements.type.Type -// the following QLdoc is generated: if you need to edit it, do it in the schema file /** * A declaration of a type alias to another type. For example: * ``` * typealias MyInt = Int * ``` */ -class TypeAliasDecl extends Generated::TypeAliasDecl { } +final class TypeAliasDecl = Impl::TypeAliasDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/TypeAliasDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/TypeAliasDeclImpl.qll new file mode 100644 index 000000000000..14b5f9c944d7 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/TypeAliasDeclImpl.qll @@ -0,0 +1,12 @@ +private import codeql.swift.generated.decl.TypeAliasDecl + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * A declaration of a type alias to another type. For example: + * ``` + * typealias MyInt = Int + * ``` + */ + class TypeAliasDecl extends Generated::TypeAliasDecl { } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/TypeDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/TypeDecl.qll index 15c6bd1609c6..176123a8c6e5 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/TypeDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/TypeDecl.qll @@ -1,114 +1,10 @@ -private import codeql.swift.generated.decl.TypeDecl -private import codeql.swift.elements.type.AnyGenericType -private import swift - +// generated by codegen/codegen.py, do not edit /** - * A Swift type declaration, for example a class, struct, enum or protocol - * declaration. - * - * Type declarations are distinct from types. A type declaration represents - * the code that declares a type, for example: - * ``` - * class MyClass { - * ... - * } - * ``` - * Not all types have type declarations, for example built-in types do not - * have type declarations. + * This module provides the public class `TypeDecl`. */ -class TypeDecl extends Generated::TypeDecl { - override string toString() { result = this.getName() } - - /** - * Gets the `index`th base type of this type declaration (0-based). - * - * This is the same as `getImmediateInheritedType`. - * DEPRECATED: either use `getImmediateInheritedType` or unindexed `getABaseType`. - */ - deprecated Type getImmediateBaseType(int index) { result = this.getImmediateInheritedType(index) } - - /** - * Gets the `index`th base type of this type declaration (0-based). - * This is the same as `getInheritedType`. - * DEPRECATED: use `getInheritedType` or unindexed `getABaseType`. - */ - deprecated Type getBaseType(int index) { result = this.getInheritedType(index) } - - /** - * Gets any of the base types of this type declaration. Expands protocols added in - * extensions and expands type aliases. For example in the following code, `B` has - * base type `A`: - * ``` - * typealias A_alias = A - * - * class B : A_alias {} - * ``` - */ - Type getABaseType() { - // direct base type - result = this.getAnInheritedType().getUnderlyingType() - or - // protocol added in an extension of the type - exists(ExtensionDecl ed | - ed.getExtendedTypeDecl() = this and - ed.getAProtocol().getType() = result - ) - } - - /** - * Gets the declaration of the `index`th base type of this type declaration (0-based). - * DEPRECATED: The index is not very meaningful here. Use `getABaseTypeDecl`. - */ - deprecated TypeDecl getBaseTypeDecl(int i) { - result = this.getBaseType(i).(AnyGenericType).getDeclaration() - } - - /** - * Gets the declaration of any of the base types of this type declaration. Expands - * protocols added in extensions and expands type aliases. For example in the following - * code, `B` has base type `A`. - * ``` - * typealias A_alias = A - * - * class B : A_alias {} - * ``` - */ - TypeDecl getABaseTypeDecl() { result = this.getABaseType().(AnyGenericType).getDeclaration() } - /** - * Gets the declaration of any type derived from this type declaration. Expands protocols - * added in extensions and expands type aliases. For example in the following code, `B` - * is derived from `A`. - * ``` - * typealias A_alias = A - * - * class B : A_alias {} - * ``` - */ - TypeDecl getADerivedTypeDecl() { result.getABaseTypeDecl() = this } +private import TypeDeclImpl +import codeql.swift.elements.type.Type +import codeql.swift.elements.decl.ValueDecl - /** - * Gets the full name of this `TypeDecl`. For example in: - * ```swift - * struct A { - * struct B { - * // ... - * } - * } - * ``` - * The name and full name of `A` is `A`. The name of `B` is `B`, but the - * full name of `B` is `A.B`. - */ - cached - string getFullName() { - not this.getEnclosingDecl() instanceof TypeDecl and - not count(this.getEnclosingDecl().(ExtensionDecl).getExtendedTypeDecl()) = 1 and - result = this.getName() - or - result = this.getEnclosingDecl().(TypeDecl).getFullName() + "." + this.getName() - or - result = - unique(NominalTypeDecl td | td = this.getEnclosingDecl().(ExtensionDecl).getExtendedTypeDecl()) - .getFullName() + "." + this.getName() - } -} +final class TypeDecl = Impl::TypeDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/TypeDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/TypeDeclImpl.qll new file mode 100644 index 000000000000..1ddadd790ffe --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/TypeDeclImpl.qll @@ -0,0 +1,119 @@ +private import codeql.swift.generated.decl.TypeDecl +private import codeql.swift.elements.type.AnyGenericType +private import swift + +module Impl { + /** + * A Swift type declaration, for example a class, struct, enum or protocol + * declaration. + * + * Type declarations are distinct from types. A type declaration represents + * the code that declares a type, for example: + * ``` + * class MyClass { + * ... + * } + * ``` + * Not all types have type declarations, for example built-in types do not + * have type declarations. + */ + class TypeDecl extends Generated::TypeDecl { + override string toString() { result = this.getName() } + + /** + * Gets the `index`th base type of this type declaration (0-based). + * + * This is the same as `getImmediateInheritedType`. + * DEPRECATED: either use `getImmediateInheritedType` or unindexed `getABaseType`. + */ + deprecated Type getImmediateBaseType(int index) { + result = this.getImmediateInheritedType(index) + } + + /** + * Gets the `index`th base type of this type declaration (0-based). + * This is the same as `getInheritedType`. + * DEPRECATED: use `getInheritedType` or unindexed `getABaseType`. + */ + deprecated Type getBaseType(int index) { result = this.getInheritedType(index) } + + /** + * Gets any of the base types of this type declaration. Expands protocols added in + * extensions and expands type aliases. For example in the following code, `B` has + * base type `A`: + * ``` + * typealias A_alias = A + * + * class B : A_alias {} + * ``` + */ + Type getABaseType() { + // direct base type + result = this.getAnInheritedType().getUnderlyingType() + or + // protocol added in an extension of the type + exists(ExtensionDecl ed | + ed.getExtendedTypeDecl() = this and + ed.getAProtocol().getType() = result + ) + } + + /** + * Gets the declaration of the `index`th base type of this type declaration (0-based). + * DEPRECATED: The index is not very meaningful here. Use `getABaseTypeDecl`. + */ + deprecated TypeDecl getBaseTypeDecl(int i) { + result = this.getBaseType(i).(AnyGenericType).getDeclaration() + } + + /** + * Gets the declaration of any of the base types of this type declaration. Expands + * protocols added in extensions and expands type aliases. For example in the following + * code, `B` has base type `A`. + * ``` + * typealias A_alias = A + * + * class B : A_alias {} + * ``` + */ + TypeDecl getABaseTypeDecl() { result = this.getABaseType().(AnyGenericType).getDeclaration() } + + /** + * Gets the declaration of any type derived from this type declaration. Expands protocols + * added in extensions and expands type aliases. For example in the following code, `B` + * is derived from `A`. + * ``` + * typealias A_alias = A + * + * class B : A_alias {} + * ``` + */ + TypeDecl getADerivedTypeDecl() { result.getABaseTypeDecl() = this } + + /** + * Gets the full name of this `TypeDecl`. For example in: + * ```swift + * struct A { + * struct B { + * // ... + * } + * } + * ``` + * The name and full name of `A` is `A`. The name of `B` is `B`, but the + * full name of `B` is `A.B`. + */ + cached + string getFullName() { + not this.getEnclosingDecl() instanceof TypeDecl and + not count(this.getEnclosingDecl().(ExtensionDecl).getExtendedTypeDecl()) = 1 and + result = this.getName() + or + result = this.getEnclosingDecl().(TypeDecl).getFullName() + "." + this.getName() + or + result = + unique(NominalTypeDecl td | + td = this.getEnclosingDecl().(ExtensionDecl).getExtendedTypeDecl() + ).getFullName() + "." + this.getName() + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/ValueDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/ValueDecl.qll index 4598815fcec7..4c851628665b 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/ValueDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/ValueDecl.qll @@ -1,23 +1,10 @@ -private import codeql.swift.generated.decl.ValueDecl -private import codeql.swift.elements.decl.CapturedDecl -private import codeql.swift.elements.expr.DeclRefExpr - +// generated by codegen/codegen.py, do not edit /** - * A declaration that introduces a value with a type. + * This module provides the public class `ValueDecl`. */ -class ValueDecl extends Generated::ValueDecl { - /** - * Gets a capture of this declaration in the scope of a closure. - */ - CapturedDecl asCapturedDecl() { result.getDecl() = this } - /** - * Holds if this declaration is captured by a closure. - */ - predicate isCaptured() { exists(this.asCapturedDecl()) } +private import ValueDeclImpl +import codeql.swift.elements.decl.Decl +import codeql.swift.elements.type.Type - /** - * Gets an expression that references this declaration. - */ - DeclRefExpr getAnAccess() { result.getDecl() = this } -} +final class ValueDecl = Impl::ValueDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/ValueDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/ValueDeclImpl.qll new file mode 100644 index 000000000000..a0cf7640911f --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/ValueDeclImpl.qll @@ -0,0 +1,25 @@ +private import codeql.swift.generated.decl.ValueDecl +private import codeql.swift.elements.decl.CapturedDecl +private import codeql.swift.elements.expr.DeclRefExpr + +module Impl { + /** + * A declaration that introduces a value with a type. + */ + class ValueDecl extends Generated::ValueDecl { + /** + * Gets a capture of this declaration in the scope of a closure. + */ + CapturedDecl asCapturedDecl() { result.getDecl() = this } + + /** + * Holds if this declaration is captured by a closure. + */ + predicate isCaptured() { exists(this.asCapturedDecl()) } + + /** + * Gets an expression that references this declaration. + */ + DeclRefExpr getAnAccess() { result.getDecl() = this } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/decl/VarDecl.qll b/swift/ql/lib/codeql/swift/elements/decl/VarDecl.qll index 7f479a9341e0..611cbf796f66 100644 --- a/swift/ql/lib/codeql/swift/elements/decl/VarDecl.qll +++ b/swift/ql/lib/codeql/swift/elements/decl/VarDecl.qll @@ -1,7 +1,15 @@ -private import codeql.swift.generated.decl.VarDecl -private import codeql.swift.elements.decl.Decl +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `VarDecl`. + */ + +private import VarDeclImpl +import codeql.swift.elements.decl.AbstractStorageDecl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.decl.PatternBindingDecl +import codeql.swift.elements.type.Type -// the following QLdoc is generated: if you need to edit it, do it in the schema file /** * A declaration of a variable such as * * a local variable in a function: @@ -20,37 +28,4 @@ private import codeql.swift.elements.decl.Decl * ``` * * ... */ -class VarDecl extends Generated::VarDecl { - override string toString() { result = this.getName() } -} - -/** - * A field declaration. That is, a variable declaration that is a member of a - * class, struct, enum or protocol. - */ -class FieldDecl extends VarDecl { - FieldDecl() { this = any(Decl ctx).getAMember() } - - /** - * Holds if this field is called `fieldName` and is a member of a - * class, struct, extension, enum or protocol called `typeName`. - */ - cached - predicate hasQualifiedName(string typeName, string fieldName) { - this.getName() = fieldName and - exists(Decl d | - d.asNominalTypeDecl().getFullName() = typeName and - d.getAMember() = this - ) - } - - /** - * Holds if this field is called `fieldName` and is a member of a - * class, struct, extension, enum or protocol called `typeName` in a module - * called `moduleName`. - */ - predicate hasQualifiedName(string moduleName, string typeName, string fieldName) { - this.hasQualifiedName(typeName, fieldName) and - this.getModule().getFullName() = moduleName - } -} +final class VarDecl = Impl::VarDecl; diff --git a/swift/ql/lib/codeql/swift/elements/decl/VarDeclImpl.qll b/swift/ql/lib/codeql/swift/elements/decl/VarDeclImpl.qll new file mode 100644 index 000000000000..0a28fec7e57c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/decl/VarDeclImpl.qll @@ -0,0 +1,58 @@ +private import codeql.swift.generated.decl.VarDecl +private import codeql.swift.elements.decl.Decl + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * A declaration of a variable such as + * * a local variable in a function: + * ``` + * func foo() { + * var x = 42 // <- + * let y = "hello" // <- + * ... + * } + * ``` + * * a member of a `struct` or `class`: + * ``` + * struct S { + * var size : Int // <- + * } + * ``` + * * ... + */ + class VarDecl extends Generated::VarDecl { + override string toString() { result = this.getName() } + } + + /** + * A field declaration. That is, a variable declaration that is a member of a + * class, struct, enum or protocol. + */ + class FieldDecl extends VarDecl { + FieldDecl() { this = any(Decl ctx).getAMember() } + + /** + * Holds if this field is called `fieldName` and is a member of a + * class, struct, extension, enum or protocol called `typeName`. + */ + cached + predicate hasQualifiedName(string typeName, string fieldName) { + this.getName() = fieldName and + exists(Decl d | + d.asNominalTypeDecl().getFullName() = typeName and + d.getAMember() = this + ) + } + + /** + * Holds if this field is called `fieldName` and is a member of a + * class, struct, extension, enum or protocol called `typeName` in a module + * called `moduleName`. + */ + predicate hasQualifiedName(string moduleName, string typeName, string fieldName) { + this.hasQualifiedName(typeName, fieldName) and + this.getModule().getFullName() = moduleName + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/AbiSafeConversionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/AbiSafeConversionExpr.qll index 88c793393c2c..07cabf42f6ca 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/AbiSafeConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/AbiSafeConversionExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AbiSafeConversionExpr`. + * This module provides the public class `AbiSafeConversionExpr`. */ -private import codeql.swift.generated.expr.AbiSafeConversionExpr +private import AbiSafeConversionExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class AbiSafeConversionExpr extends Generated::AbiSafeConversionExpr { } +final class AbiSafeConversionExpr = Impl::AbiSafeConversionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/AbiSafeConversionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/AbiSafeConversionExprImpl.qll new file mode 100644 index 000000000000..73c20a2ee54e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/AbiSafeConversionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AbiSafeConversionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.AbiSafeConversionExpr + +/** + * INTERNAL: This module contains the customizable definition of `AbiSafeConversionExpr` and should not + * be referenced directly. + */ +module Impl { + class AbiSafeConversionExpr extends Generated::AbiSafeConversionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/AnyHashableErasureExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/AnyHashableErasureExpr.qll index 0d658cb08a65..c3c18bca2bb6 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/AnyHashableErasureExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/AnyHashableErasureExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AnyHashableErasureExpr`. + * This module provides the public class `AnyHashableErasureExpr`. */ -private import codeql.swift.generated.expr.AnyHashableErasureExpr +private import AnyHashableErasureExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class AnyHashableErasureExpr extends Generated::AnyHashableErasureExpr { } +final class AnyHashableErasureExpr = Impl::AnyHashableErasureExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/AnyHashableErasureExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/AnyHashableErasureExprImpl.qll new file mode 100644 index 000000000000..d2b2498d1c5d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/AnyHashableErasureExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AnyHashableErasureExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.AnyHashableErasureExpr + +/** + * INTERNAL: This module contains the customizable definition of `AnyHashableErasureExpr` and should not + * be referenced directly. + */ +module Impl { + class AnyHashableErasureExpr extends Generated::AnyHashableErasureExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/AnyTryExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/AnyTryExpr.qll index 6f8ba73338ec..a7b32cda8b0a 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/AnyTryExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/AnyTryExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AnyTryExpr`. + * This module provides the public class `AnyTryExpr`. */ -private import codeql.swift.generated.expr.AnyTryExpr +private import AnyTryExprImpl +import codeql.swift.elements.expr.Expr -class AnyTryExpr extends Generated::AnyTryExpr { } +final class AnyTryExpr = Impl::AnyTryExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/AnyTryExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/AnyTryExprImpl.qll new file mode 100644 index 000000000000..1984da67666c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/AnyTryExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AnyTryExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.AnyTryExpr + +/** + * INTERNAL: This module contains the customizable definition of `AnyTryExpr` and should not + * be referenced directly. + */ +module Impl { + class AnyTryExpr extends Generated::AnyTryExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/AppliedPropertyWrapperExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/AppliedPropertyWrapperExpr.qll index 48a21c950ceb..bf4d9b6d5577 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/AppliedPropertyWrapperExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/AppliedPropertyWrapperExpr.qll @@ -1,11 +1,13 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AppliedPropertyWrapperExpr`. + * This module provides the public class `AppliedPropertyWrapperExpr`. */ -private import codeql.swift.generated.expr.AppliedPropertyWrapperExpr +private import AppliedPropertyWrapperExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.decl.ParamDecl /** * An implicit application of a property wrapper on the argument of a call. */ -class AppliedPropertyWrapperExpr extends Generated::AppliedPropertyWrapperExpr { } +final class AppliedPropertyWrapperExpr = Impl::AppliedPropertyWrapperExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/AppliedPropertyWrapperExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/AppliedPropertyWrapperExprImpl.qll new file mode 100644 index 000000000000..ad4e6c202d56 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/AppliedPropertyWrapperExprImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AppliedPropertyWrapperExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.AppliedPropertyWrapperExpr + +/** + * INTERNAL: This module contains the customizable definition of `AppliedPropertyWrapperExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An implicit application of a property wrapper on the argument of a call. + */ + class AppliedPropertyWrapperExpr extends Generated::AppliedPropertyWrapperExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ApplyExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ApplyExpr.qll index e90937cf15cb..cc4645428892 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ApplyExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ApplyExpr.qll @@ -1,59 +1,10 @@ -private import codeql.swift.generated.expr.ApplyExpr -private import codeql.swift.elements.Callable -private import codeql.swift.elements.expr.DeclRefExpr -private import codeql.swift.elements.expr.MethodLookupExpr -private import codeql.swift.elements.expr.DotSyntaxBaseIgnoredExpr -private import codeql.swift.elements.expr.AutoClosureExpr -private import codeql.swift.elements.decl.Method +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ApplyExpr`. + */ -class ApplyExpr extends Generated::ApplyExpr { - Callable getStaticTarget() { result = this.getFunction().(DeclRefExpr).getDecl() } +private import ApplyExprImpl +import codeql.swift.elements.expr.Argument +import codeql.swift.elements.expr.Expr - /** Gets the method qualifier, if this is applying a method */ - Expr getQualifier() { none() } - - /** - * Gets the argument of this `ApplyExpr` called `label` (if any). - */ - final Argument getArgumentWithLabel(string label) { - result = this.getAnArgument() and - result.getLabel() = label - } - - override string toString() { - result = "call to " + this.getStaticTarget().toString() - or - not exists(this.getStaticTarget()) and - result = "call to ..." - } -} - -class MethodApplyExpr extends ApplyExpr { - private MethodLookupExpr method; - - MethodApplyExpr() { method = this.getFunction() } - - override Method getStaticTarget() { result = method.getMethod() } - - override Expr getQualifier() { result = method.getBase() } -} - -private class PartialDotSyntaxBaseIgnoredApplyExpr extends ApplyExpr { - private DotSyntaxBaseIgnoredExpr expr; - - PartialDotSyntaxBaseIgnoredApplyExpr() { expr = this.getFunction() } - - override AutoClosureExpr getStaticTarget() { result = expr.getSubExpr() } - - override Expr getQualifier() { result = expr.getQualifier() } - - override string toString() { result = "call to " + expr } -} - -private class FullDotSyntaxBaseIgnoredApplyExpr extends ApplyExpr { - private PartialDotSyntaxBaseIgnoredApplyExpr expr; - - FullDotSyntaxBaseIgnoredApplyExpr() { expr = this.getFunction() } - - override AutoClosureExpr getStaticTarget() { result = expr.getStaticTarget().getExpr() } -} +final class ApplyExpr = Impl::ApplyExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ApplyExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ApplyExprImpl.qll new file mode 100644 index 000000000000..ec5b88b6bf32 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ApplyExprImpl.qll @@ -0,0 +1,61 @@ +private import codeql.swift.generated.expr.ApplyExpr +private import codeql.swift.elements.Callable +private import codeql.swift.elements.expr.DeclRefExpr +private import codeql.swift.elements.expr.MethodLookupExpr +private import codeql.swift.elements.expr.DotSyntaxBaseIgnoredExpr +private import codeql.swift.elements.expr.AutoClosureExpr +private import codeql.swift.elements.decl.Method + +module Impl { + class ApplyExpr extends Generated::ApplyExpr { + Callable getStaticTarget() { result = this.getFunction().(DeclRefExpr).getDecl() } + + /** Gets the method qualifier, if this is applying a method */ + Expr getQualifier() { none() } + + /** + * Gets the argument of this `ApplyExpr` called `label` (if any). + */ + final Argument getArgumentWithLabel(string label) { + result = this.getAnArgument() and + result.getLabel() = label + } + + override string toString() { + result = "call to " + this.getStaticTarget().toString() + or + not exists(this.getStaticTarget()) and + result = "call to ..." + } + } + + class MethodApplyExpr extends ApplyExpr { + private MethodLookupExpr method; + + MethodApplyExpr() { method = this.getFunction() } + + override Method getStaticTarget() { result = method.getMethod() } + + override Expr getQualifier() { result = method.getBase() } + } + + private class PartialDotSyntaxBaseIgnoredApplyExpr extends ApplyExpr { + private DotSyntaxBaseIgnoredExpr expr; + + PartialDotSyntaxBaseIgnoredApplyExpr() { expr = this.getFunction() } + + override AutoClosureExpr getStaticTarget() { result = expr.getSubExpr() } + + override Expr getQualifier() { result = expr.getQualifier() } + + override string toString() { result = "call to " + expr } + } + + private class FullDotSyntaxBaseIgnoredApplyExpr extends ApplyExpr { + private PartialDotSyntaxBaseIgnoredApplyExpr expr; + + FullDotSyntaxBaseIgnoredApplyExpr() { expr = this.getFunction() } + + override AutoClosureExpr getStaticTarget() { result = expr.getStaticTarget().getExpr() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ArchetypeToSuperExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ArchetypeToSuperExpr.qll index 7fd15fb12239..e4effdaa396d 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ArchetypeToSuperExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ArchetypeToSuperExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ArchetypeToSuperExpr`. + * This module provides the public class `ArchetypeToSuperExpr`. */ -private import codeql.swift.generated.expr.ArchetypeToSuperExpr +private import ArchetypeToSuperExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class ArchetypeToSuperExpr extends Generated::ArchetypeToSuperExpr { } +final class ArchetypeToSuperExpr = Impl::ArchetypeToSuperExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ArchetypeToSuperExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ArchetypeToSuperExprImpl.qll new file mode 100644 index 000000000000..05f8e5827e49 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ArchetypeToSuperExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ArchetypeToSuperExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ArchetypeToSuperExpr + +/** + * INTERNAL: This module contains the customizable definition of `ArchetypeToSuperExpr` and should not + * be referenced directly. + */ +module Impl { + class ArchetypeToSuperExpr extends Generated::ArchetypeToSuperExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/Argument.qll b/swift/ql/lib/codeql/swift/elements/expr/Argument.qll index d95e410f0815..24faca5acbca 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/Argument.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/Argument.qll @@ -1,10 +1,10 @@ -private import codeql.swift.generated.expr.Argument -private import codeql.swift.elements.expr.ApplyExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `Argument`. + */ -class Argument extends Generated::Argument { - override string toString() { result = this.getLabel() + ": " + this.getExpr().toString() } +private import ArgumentImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.Locatable - int getIndex() { any(ApplyExpr apply).getArgument(result) = this } - - ApplyExpr getApplyExpr() { result.getAnArgument() = this } -} +final class Argument = Impl::Argument; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ArgumentImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ArgumentImpl.qll new file mode 100644 index 000000000000..dd46a84a21d3 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ArgumentImpl.qll @@ -0,0 +1,12 @@ +private import codeql.swift.generated.expr.Argument +private import codeql.swift.elements.expr.ApplyExpr + +module Impl { + class Argument extends Generated::Argument { + override string toString() { result = this.getLabel() + ": " + this.getExpr().toString() } + + int getIndex() { any(ApplyExpr apply).getArgument(result) = this } + + ApplyExpr getApplyExpr() { result.getAnArgument() = this } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ArithmeticOperation.qll b/swift/ql/lib/codeql/swift/elements/expr/ArithmeticOperation.qll index b921e948c343..1639555cd3c3 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ArithmeticOperation.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ArithmeticOperation.qll @@ -9,7 +9,7 @@ private import codeql.swift.elements.expr.DotSyntaxCallExpr * a + b * ``` */ -class ArithmeticOperation extends Expr { +final class ArithmeticOperation extends Expr { ArithmeticOperation() { this instanceof BinaryArithmeticOperation or this instanceof UnaryArithmeticOperation @@ -31,7 +31,7 @@ class ArithmeticOperation extends Expr { * a + b * ``` */ -class BinaryArithmeticOperation extends BinaryExpr { +final class BinaryArithmeticOperation extends BinaryExpr { BinaryArithmeticOperation() { this instanceof AddExpr or this instanceof SubExpr or @@ -48,7 +48,7 @@ class BinaryArithmeticOperation extends BinaryExpr { * a &+ b * ``` */ -class AddExpr extends BinaryExpr { +final class AddExpr extends BinaryExpr { AddExpr() { this.getStaticTarget().getName() = ["+(_:_:)", "&+(_:_:)"] } } @@ -59,7 +59,7 @@ class AddExpr extends BinaryExpr { * a &- b * ``` */ -class SubExpr extends BinaryExpr { +final class SubExpr extends BinaryExpr { SubExpr() { this.getStaticTarget().getName() = ["-(_:_:)", "&-(_:_:)"] } } @@ -70,7 +70,7 @@ class SubExpr extends BinaryExpr { * a &* b * ``` */ -class MulExpr extends BinaryExpr { +final class MulExpr extends BinaryExpr { MulExpr() { this.getStaticTarget().getName() = ["*(_:_:)", "&*(_:_:)"] } } @@ -80,7 +80,7 @@ class MulExpr extends BinaryExpr { * a / b * ``` */ -class DivExpr extends BinaryExpr { +final class DivExpr extends BinaryExpr { DivExpr() { this.getStaticTarget().getName() = "/(_:_:)" } } @@ -90,7 +90,7 @@ class DivExpr extends BinaryExpr { * a % b * ``` */ -class RemExpr extends BinaryExpr { +final class RemExpr extends BinaryExpr { RemExpr() { this.getStaticTarget().getName() = "%(_:_:)" } } @@ -100,7 +100,7 @@ class RemExpr extends BinaryExpr { * -a * ``` */ -class UnaryArithmeticOperation extends PrefixUnaryExpr { +final class UnaryArithmeticOperation extends PrefixUnaryExpr { UnaryArithmeticOperation() { this instanceof UnaryMinusExpr or this instanceof UnaryPlusExpr @@ -113,7 +113,7 @@ class UnaryArithmeticOperation extends PrefixUnaryExpr { * -a * ``` */ -class UnaryMinusExpr extends PrefixUnaryExpr { +final class UnaryMinusExpr extends PrefixUnaryExpr { UnaryMinusExpr() { this.getStaticTarget().getName() = "-(_:)" } } @@ -123,6 +123,6 @@ class UnaryMinusExpr extends PrefixUnaryExpr { * +a * ``` */ -class UnaryPlusExpr extends PrefixUnaryExpr { +final class UnaryPlusExpr extends PrefixUnaryExpr { UnaryPlusExpr() { this.getStaticTarget().getName() = "+(_:)" } } diff --git a/swift/ql/lib/codeql/swift/elements/expr/ArrayExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ArrayExpr.qll index 1beef5e34b8c..89b100e98b1a 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ArrayExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ArrayExpr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.expr.ArrayExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ArrayExpr`. + */ -class ArrayExpr extends Generated::ArrayExpr { - override string toString() { result = "[...]" } -} +private import ArrayExprImpl +import codeql.swift.elements.expr.CollectionExpr +import codeql.swift.elements.expr.Expr + +final class ArrayExpr = Impl::ArrayExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ArrayExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ArrayExprImpl.qll new file mode 100644 index 000000000000..e2b04c7c0176 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ArrayExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.ArrayExpr + +module Impl { + class ArrayExpr extends Generated::ArrayExpr { + override string toString() { result = "[...]" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ArrayToPointerExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ArrayToPointerExpr.qll index 3cda019bf238..49712d9ee4f6 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ArrayToPointerExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ArrayToPointerExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ArrayToPointerExpr`. + * This module provides the public class `ArrayToPointerExpr`. */ -private import codeql.swift.generated.expr.ArrayToPointerExpr +private import ArrayToPointerExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class ArrayToPointerExpr extends Generated::ArrayToPointerExpr { } +final class ArrayToPointerExpr = Impl::ArrayToPointerExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ArrayToPointerExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ArrayToPointerExprImpl.qll new file mode 100644 index 000000000000..74cd94e87831 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ArrayToPointerExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ArrayToPointerExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ArrayToPointerExpr + +/** + * INTERNAL: This module contains the customizable definition of `ArrayToPointerExpr` and should not + * be referenced directly. + */ +module Impl { + class ArrayToPointerExpr extends Generated::ArrayToPointerExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/AssignExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/AssignExpr.qll index 809297b31516..592b1705e95d 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/AssignExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/AssignExpr.qll @@ -1,254 +1,9 @@ -private import codeql.swift.generated.expr.AssignExpr -private import codeql.swift.elements.expr.BinaryExpr - +// generated by codegen/codegen.py, do not edit /** - * An assignment expression. For example: - * ``` - * x = 0 - * y += 1 - * z <<= 1 - * ``` + * This module provides the public class `AssignExpr`. */ -class Assignment extends Expr { - Assignment() { - this instanceof AssignExpr or - this instanceof AssignArithmeticOperationEx or - this instanceof AssignBitwiseOperationEx or - this instanceof AssignPointwiseOperationEx - } - - /** - * Gets the destination of this assignment. For example `x` in: - * ``` - * x = y - * ``` - */ - Expr getDest() { - result = this.(AssignExpr).getDest() or - result = this.(AssignOperation).getLeftOperand() - } - - /** - * Gets the source of this assignment. For example `y` in: - * ``` - * x = y - * ``` - */ - Expr getSource() { - result = this.(AssignExpr).getSource() or - result = this.(AssignOperation).getRightOperand() - } - /** - * Holds if this assignment expression uses an overflow operator, that is, - * an operator that truncates overflow rather than reporting an error. - * ``` - * x &+= y - * ``` - */ - predicate hasOverflowOperator() { - this.(AssignOperation).getOperator().getName() = - ["&*=(_:_:)", "&+=(_:_:)", "&-=(_:_:)", "&<<=(_:_:)", "&>>=(_:_:)"] - } -} - -/** - * A simple assignment expression using the `=` operator: - * ``` - * x = 0 - * ``` - */ -class AssignExpr extends Generated::AssignExpr { - override string toString() { result = " ... = ..." } -} - -/** - * An assignment expression apart from `=`. For example: - * ``` - * x += 1 - * y &= z - * ``` - */ -class AssignOperation extends Assignment, BinaryExpr { - AssignOperation() { - this instanceof AssignArithmeticOperationEx or - this instanceof AssignBitwiseOperationEx or - this instanceof AssignPointwiseOperationEx - } -} - -/** - * An arithmetic assignment expression. For example: - * ``` - * x += 1 - * y *= z - * ``` - */ -class AssignArithmeticOperation extends AssignOperation instanceof AssignArithmeticOperationEx { } - -/** - * Private abstract class, extended to define the scope of `AssignArithmeticOperation`. - */ -abstract private class AssignArithmeticOperationEx extends BinaryExpr { } - -/** - * A bitwise assignment expression. For example: - * ``` - * x &= y - * z <<= 1 - * ``` - */ -class AssignBitwiseOperation extends AssignOperation instanceof AssignBitwiseOperationEx { } - -/** - * Private abstract class, extended to define the scope of `AssignBitwiseOperation`. - */ -abstract private class AssignBitwiseOperationEx extends BinaryExpr { } - -/** - * A pointwise assignment expression. For example: - * ``` - * x .&= y - * ``` - */ -class AssignPointwiseOperation extends AssignOperation instanceof AssignPointwiseOperationEx { } - -/** - * Private abstract class, extended to define the scope of `AssignPointwiseOperation`. - */ -abstract private class AssignPointwiseOperationEx extends BinaryExpr { } - -/** - * An addition assignment expression: - * ``` - * a += b - * a &+= b - * ``` - */ -class AssignAddExpr extends AssignArithmeticOperationEx { - AssignAddExpr() { this.getOperator().getName() = ["+=(_:_:)", "&+=(_:_:)"] } -} - -/** - * A subtraction assignment expression: - * ``` - * a -= b - * a &-= b - * ``` - */ -class AssignSubExpr extends AssignArithmeticOperationEx { - AssignSubExpr() { this.getOperator().getName() = ["-=(_:_:)", "&-=(_:_:)"] } -} +private import AssignExprImpl +import codeql.swift.elements.expr.Expr -/** - * A multiplication assignment expression: - * ``` - * a *= b - * a &*= b - * ``` - */ -class AssignMulExpr extends AssignArithmeticOperationEx { - AssignMulExpr() { this.getOperator().getName() = ["*=(_:_:)", "&*=(_:_:)"] } -} - -/** - * A division assignment expression: - * ``` - * a /= b - * ``` - */ -class AssignDivExpr extends AssignArithmeticOperationEx { - AssignDivExpr() { this.getOperator().getName() = "/=(_:_:)" } -} - -/** - * A remainder assignment expression: - * ``` - * a %= b - * ``` - */ -class AssignRemExpr extends AssignArithmeticOperationEx { - AssignRemExpr() { this.getOperator().getName() = "%=(_:_:)" } -} - -/** - * A left-shift assignment expression: - * ``` - * a <<= b - * a &<<= b - * ``` - */ -class AssignLShiftExpr extends AssignBitwiseOperationEx { - AssignLShiftExpr() { this.getOperator().getName() = ["<<=(_:_:)", "&<<=(_:_:)"] } -} - -/** - * A right-shift assignment expression: - * ``` - * a >>= b - * a &>>= b - * ``` - */ -class AssignRShiftExpr extends AssignBitwiseOperationEx { - AssignRShiftExpr() { this.getOperator().getName() = [">>=(_:_:)", "&>>=(_:_:)"] } -} - -/** - * A bitwise-and assignment expression: - * ``` - * a &= b - * ``` - */ -class AssignAndExpr extends AssignBitwiseOperationEx { - AssignAndExpr() { this.getOperator().getName() = "&=(_:_:)" } -} - -/** - * A bitwise-or assignment expression: - * ``` - * a |= b - * ``` - */ -class AssignOrExpr extends AssignBitwiseOperationEx { - AssignOrExpr() { this.getOperator().getName() = "|=(_:_:)" } -} - -/** - * A bitwise exclusive-or assignment expression: - * ``` - * a ^= b - * ``` - */ -class AssignXorExpr extends AssignBitwiseOperationEx { - AssignXorExpr() { this.getOperator().getName() = "^=(_:_:)" } -} - -/** - * A pointwise bitwise-and assignment expression: - * ``` - * a .&= b - * ``` - */ -class AssignPointwiseAndExpr extends AssignPointwiseOperationEx { - AssignPointwiseAndExpr() { this.getOperator().getName() = ".&=(_:_:)" } -} - -/** - * A pointwise bitwise-or assignment expression: - * ``` - * a .|= b - * ``` - */ -class AssignPointwiseOrExpr extends AssignPointwiseOperationEx { - AssignPointwiseOrExpr() { this.getOperator().getName() = ".|=(_:_:)" } -} - -/** - * A pointwise bitwise exclusive-or assignment expression: - * ``` - * a .^= b - * ``` - */ -class AssignPointwiseXorExpr extends AssignPointwiseOperationEx { - AssignPointwiseXorExpr() { this.getOperator().getName() = ".^=(_:_:)" } -} +final class AssignExpr = Impl::AssignExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/AssignExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/AssignExprImpl.qll new file mode 100644 index 000000000000..fb4ad8d0e92b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/AssignExprImpl.qll @@ -0,0 +1,233 @@ +private import codeql.swift.generated.expr.AssignExpr +private import codeql.swift.elements.expr.BinaryExprImpl::Impl +private import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl + +module Impl { + /** + * An assignment expression. For example: + * ``` + * x = 0 + * y += 1 + * z <<= 1 + * ``` + */ + abstract class Assignment extends ExprImpl::Expr { + /** + * Gets the destination of this assignment. For example `x` in: + * ``` + * x = y + * ``` + */ + abstract Expr getDest(); + + /** + * Gets the source of this assignment. For example `y` in: + * ``` + * x = y + * ``` + */ + abstract Expr getSource(); + + /** + * Holds if this assignment expression uses an overflow operator, that is, + * an operator that truncates overflow rather than reporting an error. + * ``` + * x &+= y + * ``` + */ + predicate hasOverflowOperator() { + this.(AssignOperation).getOperator().getName() = + ["&*=(_:_:)", "&+=(_:_:)", "&-=(_:_:)", "&<<=(_:_:)", "&>>=(_:_:)"] + } + } + + /** + * A simple assignment expression using the `=` operator: + * ``` + * x = 0 + * ``` + */ + class AssignExpr extends Generated::AssignExpr { + override string toString() { result = " ... = ..." } + } + + private class AssignExprAssignment extends Assignment instanceof AssignExpr { + override Expr getDest() { result = AssignExpr.super.getDest() } + + override Expr getSource() { result = AssignExpr.super.getSource() } + } + + /** + * An assignment expression apart from `=`. For example: + * ``` + * x += 1 + * y &= z + * ``` + */ + abstract class AssignOperation extends Assignment, BinaryExpr { + override Expr getDest() { result = this.getLeftOperand() } + + override Expr getSource() { result = this.getRightOperand() } + } + + /** + * An arithmetic assignment expression. For example: + * ``` + * x += 1 + * y *= z + * ``` + */ + abstract class AssignArithmeticOperation extends AssignOperation { } + + /** + * A bitwise assignment expression. For example: + * ``` + * x &= y + * z <<= 1 + * ``` + */ + abstract class AssignBitwiseOperation extends AssignOperation { } + + /** + * A pointwise assignment expression. For example: + * ``` + * x .&= y + * ``` + */ + abstract class AssignPointwiseOperation extends AssignOperation { } + + /** + * An addition assignment expression: + * ``` + * a += b + * a &+= b + * ``` + */ + class AssignAddExpr extends AssignArithmeticOperation { + AssignAddExpr() { this.getOperator().getName() = ["+=(_:_:)", "&+=(_:_:)"] } + } + + /** + * A subtraction assignment expression: + * ``` + * a -= b + * a &-= b + * ``` + */ + class AssignSubExpr extends AssignArithmeticOperation { + AssignSubExpr() { this.getOperator().getName() = ["-=(_:_:)", "&-=(_:_:)"] } + } + + /** + * A multiplication assignment expression: + * ``` + * a *= b + * a &*= b + * ``` + */ + class AssignMulExpr extends AssignArithmeticOperation { + AssignMulExpr() { this.getOperator().getName() = ["*=(_:_:)", "&*=(_:_:)"] } + } + + /** + * A division assignment expression: + * ``` + * a /= b + * ``` + */ + class AssignDivExpr extends AssignArithmeticOperation { + AssignDivExpr() { this.getOperator().getName() = "/=(_:_:)" } + } + + /** + * A remainder assignment expression: + * ``` + * a %= b + * ``` + */ + class AssignRemExpr extends AssignArithmeticOperation { + AssignRemExpr() { this.getOperator().getName() = "%=(_:_:)" } + } + + /** + * A left-shift assignment expression: + * ``` + * a <<= b + * a &<<= b + * ``` + */ + class AssignLShiftExpr extends AssignBitwiseOperation { + AssignLShiftExpr() { this.getOperator().getName() = ["<<=(_:_:)", "&<<=(_:_:)"] } + } + + /** + * A right-shift assignment expression: + * ``` + * a >>= b + * a &>>= b + * ``` + */ + class AssignRShiftExpr extends AssignBitwiseOperation { + AssignRShiftExpr() { this.getOperator().getName() = [">>=(_:_:)", "&>>=(_:_:)"] } + } + + /** + * A bitwise-and assignment expression: + * ``` + * a &= b + * ``` + */ + class AssignAndExpr extends AssignBitwiseOperation { + AssignAndExpr() { this.getOperator().getName() = "&=(_:_:)" } + } + + /** + * A bitwise-or assignment expression: + * ``` + * a |= b + * ``` + */ + class AssignOrExpr extends AssignBitwiseOperation { + AssignOrExpr() { this.getOperator().getName() = "|=(_:_:)" } + } + + /** + * A bitwise exclusive-or assignment expression: + * ``` + * a ^= b + * ``` + */ + class AssignXorExpr extends AssignBitwiseOperation { + AssignXorExpr() { this.getOperator().getName() = "^=(_:_:)" } + } + + /** + * A pointwise bitwise-and assignment expression: + * ``` + * a .&= b + * ``` + */ + class AssignPointwiseAndExpr extends AssignPointwiseOperation { + AssignPointwiseAndExpr() { this.getOperator().getName() = ".&=(_:_:)" } + } + + /** + * A pointwise bitwise-or assignment expression: + * ``` + * a .|= b + * ``` + */ + class AssignPointwiseOrExpr extends AssignPointwiseOperation { + AssignPointwiseOrExpr() { this.getOperator().getName() = ".|=(_:_:)" } + } + + /** + * A pointwise bitwise exclusive-or assignment expression: + * ``` + * a .^= b + * ``` + */ + class AssignPointwiseXorExpr extends AssignPointwiseOperation { + AssignPointwiseXorExpr() { this.getOperator().getName() = ".^=(_:_:)" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/Assignment.qll b/swift/ql/lib/codeql/swift/elements/expr/Assignment.qll new file mode 100644 index 000000000000..687bd415c46a --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/Assignment.qll @@ -0,0 +1,37 @@ +private import AssignExprImpl + +final class Assignment = Impl::Assignment; + +final class AssignOperation = Impl::AssignOperation; + +final class AssignArithmeticOperation = Impl::AssignArithmeticOperation; + +final class AssignBitwiseOperation = Impl::AssignBitwiseOperation; + +final class AssignPointwiseOperation = Impl::AssignPointwiseOperation; + +final class AssignAddExpr = Impl::AssignAddExpr; + +final class AssignSubExpr = Impl::AssignSubExpr; + +final class AssignMulExpr = Impl::AssignMulExpr; + +final class AssignDivExpr = Impl::AssignDivExpr; + +final class AssignRemExpr = Impl::AssignRemExpr; + +final class AssignLShiftExpr = Impl::AssignLShiftExpr; + +final class AssignRShiftExpr = Impl::AssignRShiftExpr; + +final class AssignAndExpr = Impl::AssignAndExpr; + +final class AssignOrExpr = Impl::AssignOrExpr; + +final class AssignXorExpr = Impl::AssignXorExpr; + +final class AssignPointwiseAndExpr = Impl::AssignPointwiseAndExpr; + +final class AssignPointwiseOrExpr = Impl::AssignPointwiseOrExpr; + +final class AssignPointwiseXorExpr = Impl::AssignPointwiseXorExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/AutoClosureExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/AutoClosureExpr.qll index 6061db1fdf74..6b5aa4744e20 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/AutoClosureExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/AutoClosureExpr.qll @@ -1,30 +1,9 @@ -private import codeql.swift.generated.expr.AutoClosureExpr -private import codeql.swift.elements.stmt.ReturnStmt -private import codeql.swift.elements.expr.Expr - +// generated by codegen/codegen.py, do not edit /** - * A Swift autoclosure expression, that is, a closure automatically generated - * around an argument when the parameter has the `@autoclosure` attribute or - * for the right-hand operand of short-circuiting logical operations. For - * example, there is an `AutoClosureExpr` around the value `0` in: - * ``` - * func myFunction(_ expr: @autoclosure () -> Int) { - * ... - * } - * - * myFunction(0) - * ``` + * This module provides the public class `AutoClosureExpr`. */ -class AutoClosureExpr extends Generated::AutoClosureExpr { - /** - * Gets the implicit return statement generated by this autoclosure expression. - */ - ReturnStmt getReturn() { result = unique( | | this.getBody().getAnElement()) } - /** - * Gets the expression returned by this autoclosure expression. - */ - Expr getExpr() { result = this.getReturn().getResult() } +private import AutoClosureExprImpl +import codeql.swift.elements.expr.ClosureExpr - override string toString() { result = this.getBody().toString() } -} +final class AutoClosureExpr = Impl::AutoClosureExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/AutoClosureExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/AutoClosureExprImpl.qll new file mode 100644 index 000000000000..69633e2dcc7f --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/AutoClosureExprImpl.qll @@ -0,0 +1,32 @@ +private import codeql.swift.generated.expr.AutoClosureExpr +private import codeql.swift.elements.stmt.ReturnStmt +private import codeql.swift.elements.expr.Expr + +module Impl { + /** + * A Swift autoclosure expression, that is, a closure automatically generated + * around an argument when the parameter has the `@autoclosure` attribute or + * for the right-hand operand of short-circuiting logical operations. For + * example, there is an `AutoClosureExpr` around the value `0` in: + * ``` + * func myFunction(_ expr: @autoclosure () -> Int) { + * ... + * } + * + * myFunction(0) + * ``` + */ + class AutoClosureExpr extends Generated::AutoClosureExpr { + /** + * Gets the implicit return statement generated by this autoclosure expression. + */ + ReturnStmt getReturn() { result = unique( | | this.getBody().getAnElement()) } + + /** + * Gets the expression returned by this autoclosure expression. + */ + Expr getExpr() { result = this.getReturn().getResult() } + + override string toString() { result = this.getBody().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/AwaitExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/AwaitExpr.qll index 9aed11c78034..f931aa4ebaf6 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/AwaitExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/AwaitExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.AwaitExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `AwaitExpr`. + */ -class AwaitExpr extends Generated::AwaitExpr { - override string toString() { result = "await ..." } -} +private import AwaitExprImpl +import codeql.swift.elements.expr.IdentityExpr + +final class AwaitExpr = Impl::AwaitExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/AwaitExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/AwaitExprImpl.qll new file mode 100644 index 000000000000..afae7e0bc5bc --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/AwaitExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.AwaitExpr + +module Impl { + class AwaitExpr extends Generated::AwaitExpr { + override string toString() { result = "await ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/BinaryExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/BinaryExpr.qll index 88355ad2d606..f0f37645e2df 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/BinaryExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/BinaryExpr.qll @@ -1,36 +1,9 @@ -private import codeql.swift.generated.expr.BinaryExpr -private import codeql.swift.elements.expr.Expr -private import codeql.swift.elements.decl.Function - +// generated by codegen/codegen.py, do not edit /** - * A Swift binary expression, that is, an expression that appears between its - * two operands. For example: - * ``` - * x + y - * ``` + * This module provides the public class `BinaryExpr`. */ -class BinaryExpr extends Generated::BinaryExpr { - /** - * Gets the left operand (left expression) of this binary expression. - */ - Expr getLeftOperand() { result = this.getArgument(0).getExpr() } - - /** - * Gets the right operand (right expression) of this binary expression. - */ - Expr getRightOperand() { result = this.getArgument(1).getExpr() } - - /** - * Gets the operator of this binary expression (the function that is called). - */ - Function getOperator() { result = this.getStaticTarget() } - - /** - * Gets an operand of this binary expression (left or right). - */ - Expr getAnOperand() { result = [this.getLeftOperand(), this.getRightOperand()] } - override string toString() { result = "... " + this.getFunction().toString() + " ..." } +private import BinaryExprImpl +import codeql.swift.elements.expr.ApplyExpr - override Function getStaticTarget() { result = super.getStaticTarget() } -} +final class BinaryExpr = Impl::BinaryExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/BinaryExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/BinaryExprImpl.qll new file mode 100644 index 000000000000..e823c08375d8 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/BinaryExprImpl.qll @@ -0,0 +1,38 @@ +private import codeql.swift.generated.expr.BinaryExpr +private import codeql.swift.elements.expr.Expr +private import codeql.swift.elements.decl.Function + +module Impl { + /** + * A Swift binary expression, that is, an expression that appears between its + * two operands. For example: + * ``` + * x + y + * ``` + */ + class BinaryExpr extends Generated::BinaryExpr { + /** + * Gets the left operand (left expression) of this binary expression. + */ + Expr getLeftOperand() { result = this.getArgument(0).getExpr() } + + /** + * Gets the right operand (right expression) of this binary expression. + */ + Expr getRightOperand() { result = this.getArgument(1).getExpr() } + + /** + * Gets the operator of this binary expression (the function that is called). + */ + Function getOperator() { result = this.getStaticTarget() } + + /** + * Gets an operand of this binary expression (left or right). + */ + Expr getAnOperand() { result = [this.getLeftOperand(), this.getRightOperand()] } + + override string toString() { result = "... " + this.getFunction().toString() + " ..." } + + override Function getStaticTarget() { result = super.getStaticTarget() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/BindOptionalExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/BindOptionalExpr.qll index 44a82c661ed3..4f8d3d22b07e 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/BindOptionalExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/BindOptionalExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.BindOptionalExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `BindOptionalExpr`. + */ -class BindOptionalExpr extends Generated::BindOptionalExpr { - override string toString() { result = "...?" } -} +private import BindOptionalExprImpl +import codeql.swift.elements.expr.Expr + +final class BindOptionalExpr = Impl::BindOptionalExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/BindOptionalExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/BindOptionalExprImpl.qll new file mode 100644 index 000000000000..3a50de5166e0 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/BindOptionalExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.BindOptionalExpr + +module Impl { + class BindOptionalExpr extends Generated::BindOptionalExpr { + override string toString() { result = "...?" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/BitwiseOperation.qll b/swift/ql/lib/codeql/swift/elements/expr/BitwiseOperation.qll index 4e29e6645af2..d50ac5dd088f 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/BitwiseOperation.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/BitwiseOperation.qll @@ -10,7 +10,7 @@ private import codeql.swift.elements.expr.PrefixUnaryExpr * ~a * ``` */ -class BitwiseOperation extends Expr { +final class BitwiseOperation extends Expr { BitwiseOperation() { this instanceof BinaryBitwiseOperation or this instanceof UnaryBitwiseOperation @@ -33,7 +33,7 @@ class BitwiseOperation extends Expr { * a .^ b * ``` */ -class BinaryBitwiseOperation extends BinaryExpr { +final class BinaryBitwiseOperation extends BinaryExpr { BinaryBitwiseOperation() { this instanceof AndBitwiseExpr or this instanceof OrBitwiseExpr or @@ -52,7 +52,7 @@ class BinaryBitwiseOperation extends BinaryExpr { * a & b * ``` */ -class AndBitwiseExpr extends BinaryExpr { +final class AndBitwiseExpr extends BinaryExpr { AndBitwiseExpr() { this.getStaticTarget().getName() = "&(_:_:)" } } @@ -62,7 +62,7 @@ class AndBitwiseExpr extends BinaryExpr { * a | b * ``` */ -class OrBitwiseExpr extends BinaryExpr { +final class OrBitwiseExpr extends BinaryExpr { OrBitwiseExpr() { this.getStaticTarget().getName() = "|(_:_:)" } } @@ -72,7 +72,7 @@ class OrBitwiseExpr extends BinaryExpr { * a ^ b * ``` */ -class XorBitwiseExpr extends BinaryExpr { +final class XorBitwiseExpr extends BinaryExpr { XorBitwiseExpr() { this.getStaticTarget().getName() = "^(_:_:)" } } @@ -82,7 +82,7 @@ class XorBitwiseExpr extends BinaryExpr { * a .& b * ``` */ -class PointwiseAndExpr extends BinaryExpr { +final class PointwiseAndExpr extends BinaryExpr { PointwiseAndExpr() { this.getOperator().getName() = ".&(_:_:)" } } @@ -92,7 +92,7 @@ class PointwiseAndExpr extends BinaryExpr { * a .| b * ``` */ -class PointwiseOrExpr extends BinaryExpr { +final class PointwiseOrExpr extends BinaryExpr { PointwiseOrExpr() { this.getOperator().getName() = ".|(_:_:)" } } @@ -102,7 +102,7 @@ class PointwiseOrExpr extends BinaryExpr { * a .^ b * ``` */ -class PointwiseXorExpr extends BinaryExpr { +final class PointwiseXorExpr extends BinaryExpr { PointwiseXorExpr() { this.getOperator().getName() = ".^(_:_:)" } } @@ -113,7 +113,7 @@ class PointwiseXorExpr extends BinaryExpr { * a &<< * ``` */ -class ShiftLeftBitwiseExpr extends BinaryExpr { +final class ShiftLeftBitwiseExpr extends BinaryExpr { ShiftLeftBitwiseExpr() { this.getStaticTarget().getName() = ["<<(_:_:)", "&<<(_:_:)"] } } @@ -124,7 +124,7 @@ class ShiftLeftBitwiseExpr extends BinaryExpr { * a &>> * ``` */ -class ShiftRightBitwiseExpr extends BinaryExpr { +final class ShiftRightBitwiseExpr extends BinaryExpr { ShiftRightBitwiseExpr() { this.getStaticTarget().getName() = [">>(_:_:)", "&>>(_:_:)"] } } @@ -134,7 +134,7 @@ class ShiftRightBitwiseExpr extends BinaryExpr { * ~a * ``` */ -class UnaryBitwiseOperation extends PrefixUnaryExpr instanceof NotBitwiseExpr { } +final class UnaryBitwiseOperation extends PrefixUnaryExpr instanceof NotBitwiseExpr { } /** * A bitwise NOT expression. @@ -142,6 +142,6 @@ class UnaryBitwiseOperation extends PrefixUnaryExpr instanceof NotBitwiseExpr { * ~a * ``` */ -class NotBitwiseExpr extends PrefixUnaryExpr { +final class NotBitwiseExpr extends PrefixUnaryExpr { NotBitwiseExpr() { this.getStaticTarget().getName() = "~(_:)" } } diff --git a/swift/ql/lib/codeql/swift/elements/expr/BooleanLiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/BooleanLiteralExpr.qll index 552dbaf88082..b9be6de08bc9 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/BooleanLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/BooleanLiteralExpr.qll @@ -1,13 +1,9 @@ -private import codeql.swift.generated.expr.BooleanLiteralExpr - +// generated by codegen/codegen.py, do not edit /** - * A boolean literal. For example `true` in: - * ``` - * let x = true - * ``` + * This module provides the public class `BooleanLiteralExpr`. */ -class BooleanLiteralExpr extends Generated::BooleanLiteralExpr { - override string toString() { result = this.getValue().toString() } - override string getValueString() { result = this.getValue().toString() } -} +private import BooleanLiteralExprImpl +import codeql.swift.elements.expr.BuiltinLiteralExpr + +final class BooleanLiteralExpr = Impl::BooleanLiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/BooleanLiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/BooleanLiteralExprImpl.qll new file mode 100644 index 000000000000..abb23239bb2e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/BooleanLiteralExprImpl.qll @@ -0,0 +1,15 @@ +private import codeql.swift.generated.expr.BooleanLiteralExpr + +module Impl { + /** + * A boolean literal. For example `true` in: + * ``` + * let x = true + * ``` + */ + class BooleanLiteralExpr extends Generated::BooleanLiteralExpr { + override string toString() { result = this.getValue().toString() } + + override string getValueString() { result = this.getValue().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/BorrowExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/BorrowExpr.qll index 7670e5b3c6f4..66ea1cf41a51 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/BorrowExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/BorrowExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BorrowExpr`. + * This module provides the public class `BorrowExpr`. */ -private import codeql.swift.generated.expr.BorrowExpr +private import BorrowExprImpl +import codeql.swift.elements.expr.IdentityExpr /** * An expression that marks value as borrowed. In the example below, `_borrow` marks the borrow expression: @@ -13,4 +14,4 @@ private import codeql.swift.generated.expr.BorrowExpr * let x = _borrow y * ``` */ -class BorrowExpr extends Generated::BorrowExpr { } +final class BorrowExpr = Impl::BorrowExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/BorrowExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/BorrowExprImpl.qll new file mode 100644 index 000000000000..abb53a0f2cfd --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/BorrowExprImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BorrowExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.BorrowExpr + +/** + * INTERNAL: This module contains the customizable definition of `BorrowExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An expression that marks value as borrowed. In the example below, `_borrow` marks the borrow expression: + * + * ``` + * let y = ... + * let x = _borrow y + * ``` + */ + class BorrowExpr extends Generated::BorrowExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/BridgeFromObjCExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/BridgeFromObjCExpr.qll index 2b8a1327225a..81e7349b325b 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/BridgeFromObjCExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/BridgeFromObjCExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BridgeFromObjCExpr`. + * This module provides the public class `BridgeFromObjCExpr`. */ -private import codeql.swift.generated.expr.BridgeFromObjCExpr +private import BridgeFromObjCExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class BridgeFromObjCExpr extends Generated::BridgeFromObjCExpr { } +final class BridgeFromObjCExpr = Impl::BridgeFromObjCExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/BridgeFromObjCExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/BridgeFromObjCExprImpl.qll new file mode 100644 index 000000000000..34871a5f618e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/BridgeFromObjCExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BridgeFromObjCExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.BridgeFromObjCExpr + +/** + * INTERNAL: This module contains the customizable definition of `BridgeFromObjCExpr` and should not + * be referenced directly. + */ +module Impl { + class BridgeFromObjCExpr extends Generated::BridgeFromObjCExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/BridgeToObjCExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/BridgeToObjCExpr.qll index e428b1f9e747..f70d2f1c175b 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/BridgeToObjCExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/BridgeToObjCExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BridgeToObjCExpr`. + * This module provides the public class `BridgeToObjCExpr`. */ -private import codeql.swift.generated.expr.BridgeToObjCExpr +private import BridgeToObjCExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class BridgeToObjCExpr extends Generated::BridgeToObjCExpr { } +final class BridgeToObjCExpr = Impl::BridgeToObjCExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/BridgeToObjCExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/BridgeToObjCExprImpl.qll new file mode 100644 index 000000000000..17950e147e33 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/BridgeToObjCExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BridgeToObjCExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.BridgeToObjCExpr + +/** + * INTERNAL: This module contains the customizable definition of `BridgeToObjCExpr` and should not + * be referenced directly. + */ +module Impl { + class BridgeToObjCExpr extends Generated::BridgeToObjCExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/BuiltinLiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/BuiltinLiteralExpr.qll index 22de6008e968..60fe220eb20e 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/BuiltinLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/BuiltinLiteralExpr.qll @@ -1,15 +1,9 @@ +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinLiteralExpr`. + * This module provides the public class `BuiltinLiteralExpr`. */ -private import codeql.swift.generated.expr.BuiltinLiteralExpr +private import BuiltinLiteralExprImpl +import codeql.swift.elements.expr.LiteralExpr -/** - * A Swift literal of a kind that is built in to the Swift language. - */ -class BuiltinLiteralExpr extends Generated::BuiltinLiteralExpr { - /** - * Gets the value of this literal expression (as a string). - */ - string getValueString() { none() } -} +final class BuiltinLiteralExpr = Impl::BuiltinLiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/BuiltinLiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/BuiltinLiteralExprImpl.qll new file mode 100644 index 000000000000..f2d9433e7110 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/BuiltinLiteralExprImpl.qll @@ -0,0 +1,17 @@ +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinLiteralExpr`. + */ + +private import codeql.swift.generated.expr.BuiltinLiteralExpr + +module Impl { + /** + * A Swift literal of a kind that is built in to the Swift language. + */ + class BuiltinLiteralExpr extends Generated::BuiltinLiteralExpr { + /** + * Gets the value of this literal expression (as a string). + */ + string getValueString() { none() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/CallExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/CallExpr.qll index 873ca54c1e2e..267b20fc70d0 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/CallExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/CallExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `CallExpr`. + * This module provides the public class `CallExpr`. */ -private import codeql.swift.generated.expr.CallExpr +private import CallExprImpl +import codeql.swift.elements.expr.ApplyExpr -class CallExpr extends Generated::CallExpr { } +final class CallExpr = Impl::CallExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/CallExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/CallExprImpl.qll new file mode 100644 index 000000000000..bd4325ac3468 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/CallExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `CallExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.CallExpr + +/** + * INTERNAL: This module contains the customizable definition of `CallExpr` and should not + * be referenced directly. + */ +module Impl { + class CallExpr extends Generated::CallExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/CaptureListExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/CaptureListExpr.qll index 834684d01730..ecaefcaecc11 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/CaptureListExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/CaptureListExpr.qll @@ -1,11 +1,12 @@ -private import codeql.swift.generated.expr.CaptureListExpr -private import codeql.swift.elements.pattern.NamedPattern +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `CaptureListExpr`. + */ -class CaptureListExpr extends Generated::CaptureListExpr { - override string toString() { result = this.getClosureBody().toString() } +private import CaptureListExprImpl +import codeql.swift.elements.expr.ClosureExpr +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.decl.PatternBindingDecl +import codeql.swift.elements.decl.VarDecl - override VarDecl getVariable(int index) { - // all capture binding declarations consist of a single named pattern - result = this.getBindingDecl(index).getPattern(0).(NamedPattern).getVarDecl() - } -} +final class CaptureListExpr = Impl::CaptureListExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/CaptureListExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/CaptureListExprImpl.qll new file mode 100644 index 000000000000..05cb4ff9725e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/CaptureListExprImpl.qll @@ -0,0 +1,13 @@ +private import codeql.swift.generated.expr.CaptureListExpr +private import codeql.swift.elements.pattern.NamedPattern + +module Impl { + class CaptureListExpr extends Generated::CaptureListExpr { + override string toString() { result = this.getClosureBody().toString() } + + override VarDecl getVariable(int index) { + // all capture binding declarations consist of a single named pattern + result = this.getBindingDecl(index).getPattern(0).(NamedPattern).getVarDecl() + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/CheckedCastExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/CheckedCastExpr.qll index ebf80b592fff..60a1da0faf07 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/CheckedCastExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/CheckedCastExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `CheckedCastExpr`. + * This module provides the public class `CheckedCastExpr`. */ -private import codeql.swift.generated.expr.CheckedCastExpr +private import CheckedCastExprImpl +import codeql.swift.elements.expr.ExplicitCastExpr -class CheckedCastExpr extends Generated::CheckedCastExpr { } +final class CheckedCastExpr = Impl::CheckedCastExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/CheckedCastExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/CheckedCastExprImpl.qll new file mode 100644 index 000000000000..a26052136954 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/CheckedCastExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `CheckedCastExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.CheckedCastExpr + +/** + * INTERNAL: This module contains the customizable definition of `CheckedCastExpr` and should not + * be referenced directly. + */ +module Impl { + class CheckedCastExpr extends Generated::CheckedCastExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ClassMetatypeToObjectExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ClassMetatypeToObjectExpr.qll index a9cce7060e13..5d6029de56f5 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ClassMetatypeToObjectExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ClassMetatypeToObjectExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ClassMetatypeToObjectExpr`. + * This module provides the public class `ClassMetatypeToObjectExpr`. */ -private import codeql.swift.generated.expr.ClassMetatypeToObjectExpr +private import ClassMetatypeToObjectExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class ClassMetatypeToObjectExpr extends Generated::ClassMetatypeToObjectExpr { } +final class ClassMetatypeToObjectExpr = Impl::ClassMetatypeToObjectExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ClassMetatypeToObjectExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ClassMetatypeToObjectExprImpl.qll new file mode 100644 index 000000000000..75d47bd7074b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ClassMetatypeToObjectExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ClassMetatypeToObjectExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ClassMetatypeToObjectExpr + +/** + * INTERNAL: This module contains the customizable definition of `ClassMetatypeToObjectExpr` and should not + * be referenced directly. + */ +module Impl { + class ClassMetatypeToObjectExpr extends Generated::ClassMetatypeToObjectExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ClosureExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ClosureExpr.qll index 4b542d9f38d8..3213c5937362 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ClosureExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ClosureExpr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.expr.ClosureExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ClosureExpr`. + */ -class ClosureExpr extends Generated::ClosureExpr { - override string toString() { result = "{ ... }" } -} +private import ClosureExprImpl +import codeql.swift.elements.Callable +import codeql.swift.elements.expr.Expr + +final class ClosureExpr = Impl::ClosureExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ClosureExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ClosureExprImpl.qll new file mode 100644 index 000000000000..198f22c32e01 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ClosureExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.ClosureExpr + +module Impl { + class ClosureExpr extends Generated::ClosureExpr { + override string toString() { result = "{ ... }" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/CoerceExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/CoerceExpr.qll index 51966a932e01..d68abbc00612 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/CoerceExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/CoerceExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `CoerceExpr`. + * This module provides the public class `CoerceExpr`. */ -private import codeql.swift.generated.expr.CoerceExpr +private import CoerceExprImpl +import codeql.swift.elements.expr.ExplicitCastExpr -class CoerceExpr extends Generated::CoerceExpr { } +final class CoerceExpr = Impl::CoerceExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/CoerceExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/CoerceExprImpl.qll new file mode 100644 index 000000000000..00bca382f2c5 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/CoerceExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `CoerceExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.CoerceExpr + +/** + * INTERNAL: This module contains the customizable definition of `CoerceExpr` and should not + * be referenced directly. + */ +module Impl { + class CoerceExpr extends Generated::CoerceExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/CollectionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/CollectionExpr.qll index 10fc4cec8517..660e395bf7cb 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/CollectionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/CollectionExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `CollectionExpr`. + * This module provides the public class `CollectionExpr`. */ -private import codeql.swift.generated.expr.CollectionExpr +private import CollectionExprImpl +import codeql.swift.elements.expr.Expr -class CollectionExpr extends Generated::CollectionExpr { } +final class CollectionExpr = Impl::CollectionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/CollectionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/CollectionExprImpl.qll new file mode 100644 index 000000000000..1ff15f74c7ee --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/CollectionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `CollectionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.CollectionExpr + +/** + * INTERNAL: This module contains the customizable definition of `CollectionExpr` and should not + * be referenced directly. + */ +module Impl { + class CollectionExpr extends Generated::CollectionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/CollectionUpcastConversionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/CollectionUpcastConversionExpr.qll index e2f008d3ae25..9bab46e7fdd0 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/CollectionUpcastConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/CollectionUpcastConversionExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `CollectionUpcastConversionExpr`. + * This module provides the public class `CollectionUpcastConversionExpr`. */ -private import codeql.swift.generated.expr.CollectionUpcastConversionExpr +private import CollectionUpcastConversionExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class CollectionUpcastConversionExpr extends Generated::CollectionUpcastConversionExpr { } +final class CollectionUpcastConversionExpr = Impl::CollectionUpcastConversionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/CollectionUpcastConversionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/CollectionUpcastConversionExprImpl.qll new file mode 100644 index 000000000000..4dc33a38c16f --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/CollectionUpcastConversionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `CollectionUpcastConversionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.CollectionUpcastConversionExpr + +/** + * INTERNAL: This module contains the customizable definition of `CollectionUpcastConversionExpr` and should not + * be referenced directly. + */ +module Impl { + class CollectionUpcastConversionExpr extends Generated::CollectionUpcastConversionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExpr.qll index 669539f826c7..cc25593330e4 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ConditionalBridgeFromObjCExpr`. + * This module provides the public class `ConditionalBridgeFromObjCExpr`. */ -private import codeql.swift.generated.expr.ConditionalBridgeFromObjCExpr +private import ConditionalBridgeFromObjCExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class ConditionalBridgeFromObjCExpr extends Generated::ConditionalBridgeFromObjCExpr { } +final class ConditionalBridgeFromObjCExpr = Impl::ConditionalBridgeFromObjCExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExprImpl.qll new file mode 100644 index 000000000000..486abc198d49 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ConditionalBridgeFromObjCExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ConditionalBridgeFromObjCExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ConditionalBridgeFromObjCExpr + +/** + * INTERNAL: This module contains the customizable definition of `ConditionalBridgeFromObjCExpr` and should not + * be referenced directly. + */ +module Impl { + class ConditionalBridgeFromObjCExpr extends Generated::ConditionalBridgeFromObjCExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ConditionalCheckedCastExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ConditionalCheckedCastExpr.qll index 9af59d42dde3..cdab9f30fdf8 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ConditionalCheckedCastExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ConditionalCheckedCastExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ConditionalCheckedCastExpr`. + * This module provides the public class `ConditionalCheckedCastExpr`. */ -private import codeql.swift.generated.expr.ConditionalCheckedCastExpr +private import ConditionalCheckedCastExprImpl +import codeql.swift.elements.expr.CheckedCastExpr -class ConditionalCheckedCastExpr extends Generated::ConditionalCheckedCastExpr { } +final class ConditionalCheckedCastExpr = Impl::ConditionalCheckedCastExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ConditionalCheckedCastExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ConditionalCheckedCastExprImpl.qll new file mode 100644 index 000000000000..04fe6858f65b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ConditionalCheckedCastExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ConditionalCheckedCastExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ConditionalCheckedCastExpr + +/** + * INTERNAL: This module contains the customizable definition of `ConditionalCheckedCastExpr` and should not + * be referenced directly. + */ +module Impl { + class ConditionalCheckedCastExpr extends Generated::ConditionalCheckedCastExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ConsumeExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ConsumeExpr.qll index 55d126aeeeea..62d89e21c6f1 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ConsumeExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ConsumeExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ConsumeExpr`. + * This module provides the public class `ConsumeExpr`. */ -private import codeql.swift.generated.expr.ConsumeExpr +private import ConsumeExprImpl +import codeql.swift.elements.expr.Expr /** * An expression that forces value to be moved. In the example below, `consume` marks the move expression: @@ -13,4 +14,4 @@ private import codeql.swift.generated.expr.ConsumeExpr * let x = consume y * ``` */ -class ConsumeExpr extends Generated::ConsumeExpr { } +final class ConsumeExpr = Impl::ConsumeExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ConsumeExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ConsumeExprImpl.qll new file mode 100644 index 000000000000..4890c099311e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ConsumeExprImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ConsumeExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ConsumeExpr + +/** + * INTERNAL: This module contains the customizable definition of `ConsumeExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An expression that forces value to be moved. In the example below, `consume` marks the move expression: + * + * ``` + * let y = ... + * let x = consume y + * ``` + */ + class ConsumeExpr extends Generated::ConsumeExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/CopyExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/CopyExpr.qll index 274fb18e2f95..dd4f67e9f95b 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/CopyExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/CopyExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `CopyExpr`. + * This module provides the public class `CopyExpr`. */ -private import codeql.swift.generated.expr.CopyExpr +private import CopyExprImpl +import codeql.swift.elements.expr.Expr /** * An expression that forces value to be copied. In the example below, `copy` marks the copy expression: @@ -13,4 +14,4 @@ private import codeql.swift.generated.expr.CopyExpr * let x = copy y * ``` */ -class CopyExpr extends Generated::CopyExpr { } +final class CopyExpr = Impl::CopyExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/CopyExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/CopyExprImpl.qll new file mode 100644 index 000000000000..1c9ef1e2b4d1 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/CopyExprImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `CopyExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.CopyExpr + +/** + * INTERNAL: This module contains the customizable definition of `CopyExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An expression that forces value to be copied. In the example below, `copy` marks the copy expression: + * + * ``` + * let y = ... + * let x = copy y + * ``` + */ + class CopyExpr extends Generated::CopyExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/CovariantFunctionConversionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/CovariantFunctionConversionExpr.qll index e19ea4a0508a..5695033899de 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/CovariantFunctionConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/CovariantFunctionConversionExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `CovariantFunctionConversionExpr`. + * This module provides the public class `CovariantFunctionConversionExpr`. */ -private import codeql.swift.generated.expr.CovariantFunctionConversionExpr +private import CovariantFunctionConversionExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class CovariantFunctionConversionExpr extends Generated::CovariantFunctionConversionExpr { } +final class CovariantFunctionConversionExpr = Impl::CovariantFunctionConversionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/CovariantFunctionConversionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/CovariantFunctionConversionExprImpl.qll new file mode 100644 index 000000000000..e4042922b21d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/CovariantFunctionConversionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `CovariantFunctionConversionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.CovariantFunctionConversionExpr + +/** + * INTERNAL: This module contains the customizable definition of `CovariantFunctionConversionExpr` and should not + * be referenced directly. + */ +module Impl { + class CovariantFunctionConversionExpr extends Generated::CovariantFunctionConversionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/CovariantReturnConversionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/CovariantReturnConversionExpr.qll index 9a257b9259c5..e58b6984ac1a 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/CovariantReturnConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/CovariantReturnConversionExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `CovariantReturnConversionExpr`. + * This module provides the public class `CovariantReturnConversionExpr`. */ -private import codeql.swift.generated.expr.CovariantReturnConversionExpr +private import CovariantReturnConversionExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class CovariantReturnConversionExpr extends Generated::CovariantReturnConversionExpr { } +final class CovariantReturnConversionExpr = Impl::CovariantReturnConversionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/CovariantReturnConversionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/CovariantReturnConversionExprImpl.qll new file mode 100644 index 000000000000..b2a36f8d88d6 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/CovariantReturnConversionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `CovariantReturnConversionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.CovariantReturnConversionExpr + +/** + * INTERNAL: This module contains the customizable definition of `CovariantReturnConversionExpr` and should not + * be referenced directly. + */ +module Impl { + class CovariantReturnConversionExpr extends Generated::CovariantReturnConversionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DeclRefExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DeclRefExpr.qll index 8493f85d3c72..852366a93889 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DeclRefExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DeclRefExpr.qll @@ -1,23 +1,11 @@ -private import codeql.swift.generated.expr.DeclRefExpr -private import codeql.swift.elements.decl.CapturedDecl - +// generated by codegen/codegen.py, do not edit /** - * An expression that references or accesses a declaration. + * This module provides the public class `DeclRefExpr`. */ -class DeclRefExpr extends Generated::DeclRefExpr { - override string toString() { - if exists(this.getDecl().toString()) - then result = this.getDecl().toString() - else result = "(unknown declaration)" - } - /** - * Gets the closure capture referenced by this expression, if any. - */ - CapturedDecl getCapturedDecl() { result.getAnAccess() = this } +private import DeclRefExprImpl +import codeql.swift.elements.decl.Decl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.type.Type - /** - * Holds if this expression references a closure capture. - */ - predicate hasCapturedDecl() { exists(this.getCapturedDecl()) } -} +final class DeclRefExpr = Impl::DeclRefExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DeclRefExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DeclRefExprImpl.qll new file mode 100644 index 000000000000..0429b6161307 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DeclRefExprImpl.qll @@ -0,0 +1,25 @@ +private import codeql.swift.generated.expr.DeclRefExpr +private import codeql.swift.elements.decl.CapturedDecl + +module Impl { + /** + * An expression that references or accesses a declaration. + */ + class DeclRefExpr extends Generated::DeclRefExpr { + override string toString() { + if exists(this.getDecl().toString()) + then result = this.getDecl().toString() + else result = "(unknown declaration)" + } + + /** + * Gets the closure capture referenced by this expression, if any. + */ + CapturedDecl getCapturedDecl() { result.getAnAccess() = this } + + /** + * Holds if this expression references a closure capture. + */ + predicate hasCapturedDecl() { exists(this.getCapturedDecl()) } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DefaultArgumentExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DefaultArgumentExpr.qll index 452beb072c12..65aafd9fedd9 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DefaultArgumentExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DefaultArgumentExpr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.expr.DefaultArgumentExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DefaultArgumentExpr`. + */ -class DefaultArgumentExpr extends Generated::DefaultArgumentExpr { - override string toString() { result = "default " + this.getParamDecl().getName() } -} +private import DefaultArgumentExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.decl.ParamDecl + +final class DefaultArgumentExpr = Impl::DefaultArgumentExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DefaultArgumentExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DefaultArgumentExprImpl.qll new file mode 100644 index 000000000000..21481301dfb9 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DefaultArgumentExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.DefaultArgumentExpr + +module Impl { + class DefaultArgumentExpr extends Generated::DefaultArgumentExpr { + override string toString() { result = "default " + this.getParamDecl().getName() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DerivedToBaseExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DerivedToBaseExpr.qll index aefda6766db0..0bd999ac136c 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DerivedToBaseExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DerivedToBaseExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `DerivedToBaseExpr`. + * This module provides the public class `DerivedToBaseExpr`. */ -private import codeql.swift.generated.expr.DerivedToBaseExpr +private import DerivedToBaseExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class DerivedToBaseExpr extends Generated::DerivedToBaseExpr { } +final class DerivedToBaseExpr = Impl::DerivedToBaseExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DerivedToBaseExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DerivedToBaseExprImpl.qll new file mode 100644 index 000000000000..a752325f6818 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DerivedToBaseExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `DerivedToBaseExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.DerivedToBaseExpr + +/** + * INTERNAL: This module contains the customizable definition of `DerivedToBaseExpr` and should not + * be referenced directly. + */ +module Impl { + class DerivedToBaseExpr extends Generated::DerivedToBaseExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DestructureTupleExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DestructureTupleExpr.qll index 82461de10d24..386a73df4fda 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DestructureTupleExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DestructureTupleExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `DestructureTupleExpr`. + * This module provides the public class `DestructureTupleExpr`. */ -private import codeql.swift.generated.expr.DestructureTupleExpr +private import DestructureTupleExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class DestructureTupleExpr extends Generated::DestructureTupleExpr { } +final class DestructureTupleExpr = Impl::DestructureTupleExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DestructureTupleExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DestructureTupleExprImpl.qll new file mode 100644 index 000000000000..0920715ef08b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DestructureTupleExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `DestructureTupleExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.DestructureTupleExpr + +/** + * INTERNAL: This module contains the customizable definition of `DestructureTupleExpr` and should not + * be referenced directly. + */ +module Impl { + class DestructureTupleExpr extends Generated::DestructureTupleExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DictionaryExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DictionaryExpr.qll index 4e98d5ac3fa0..96ab4be2cd0b 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DictionaryExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DictionaryExpr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.expr.DictionaryExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DictionaryExpr`. + */ -class DictionaryExpr extends Generated::DictionaryExpr { - override string toString() { result = "[...]" } -} +private import DictionaryExprImpl +import codeql.swift.elements.expr.CollectionExpr +import codeql.swift.elements.expr.Expr + +final class DictionaryExpr = Impl::DictionaryExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DictionaryExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DictionaryExprImpl.qll new file mode 100644 index 000000000000..92517497864d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DictionaryExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.DictionaryExpr + +module Impl { + class DictionaryExpr extends Generated::DictionaryExpr { + override string toString() { result = "[...]" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExpr.qll index 46ae207ddb6a..3b465b8b0a7b 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `DifferentiableFunctionExpr`. + * This module provides the public class `DifferentiableFunctionExpr`. */ -private import codeql.swift.generated.expr.DifferentiableFunctionExpr +private import DifferentiableFunctionExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class DifferentiableFunctionExpr extends Generated::DifferentiableFunctionExpr { } +final class DifferentiableFunctionExpr = Impl::DifferentiableFunctionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExprImpl.qll new file mode 100644 index 000000000000..9ffc398ef6e8 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `DifferentiableFunctionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.DifferentiableFunctionExpr + +/** + * INTERNAL: This module contains the customizable definition of `DifferentiableFunctionExpr` and should not + * be referenced directly. + */ +module Impl { + class DifferentiableFunctionExpr extends Generated::DifferentiableFunctionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExtractOriginalExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExtractOriginalExpr.qll index db77a4a3e841..99a9a5c02272 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExtractOriginalExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExtractOriginalExpr.qll @@ -1,4 +1,10 @@ -private import codeql.swift.generated.expr.DifferentiableFunctionExtractOriginalExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DifferentiableFunctionExtractOriginalExpr`. + */ -class DifferentiableFunctionExtractOriginalExpr extends Generated::DifferentiableFunctionExtractOriginalExpr -{ } +private import DifferentiableFunctionExtractOriginalExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr + +final class DifferentiableFunctionExtractOriginalExpr = + Impl::DifferentiableFunctionExtractOriginalExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExtractOriginalExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExtractOriginalExprImpl.qll new file mode 100644 index 000000000000..78ba648cfbcf --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DifferentiableFunctionExtractOriginalExprImpl.qll @@ -0,0 +1,6 @@ +private import codeql.swift.generated.expr.DifferentiableFunctionExtractOriginalExpr + +module Impl { + class DifferentiableFunctionExtractOriginalExpr extends Generated::DifferentiableFunctionExtractOriginalExpr + { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DiscardAssignmentExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DiscardAssignmentExpr.qll index 1a8bd47e69d5..a914c6394d18 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DiscardAssignmentExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DiscardAssignmentExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.DiscardAssignmentExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DiscardAssignmentExpr`. + */ -class DiscardAssignmentExpr extends Generated::DiscardAssignmentExpr { - override string toString() { result = "_" } -} +private import DiscardAssignmentExprImpl +import codeql.swift.elements.expr.Expr + +final class DiscardAssignmentExpr = Impl::DiscardAssignmentExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DiscardAssignmentExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DiscardAssignmentExprImpl.qll new file mode 100644 index 000000000000..5516e13db11d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DiscardAssignmentExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.DiscardAssignmentExpr + +module Impl { + class DiscardAssignmentExpr extends Generated::DiscardAssignmentExpr { + override string toString() { result = "_" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DotSelfExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DotSelfExpr.qll index 378672d9b8fd..aa2c63cfad5d 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DotSelfExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DotSelfExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.DotSelfExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DotSelfExpr`. + */ -class DotSelfExpr extends Generated::DotSelfExpr { - override string toString() { result = ".self" } -} +private import DotSelfExprImpl +import codeql.swift.elements.expr.IdentityExpr + +final class DotSelfExpr = Impl::DotSelfExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DotSelfExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DotSelfExprImpl.qll new file mode 100644 index 000000000000..b9652363eb3b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DotSelfExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.DotSelfExpr + +module Impl { + class DotSelfExpr extends Generated::DotSelfExpr { + override string toString() { result = ".self" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxBaseIgnoredExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxBaseIgnoredExpr.qll index b6993f9e28f1..20ef62453021 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxBaseIgnoredExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxBaseIgnoredExpr.qll @@ -1,41 +1,9 @@ -private import codeql.swift.generated.expr.DotSyntaxBaseIgnoredExpr -private import codeql.swift.elements.expr.AutoClosureExpr -private import codeql.swift.elements.expr.CallExpr -private import codeql.swift.elements.expr.TypeExpr -private import codeql.swift.elements.decl.Method - +// generated by codegen/codegen.py, do not edit /** - * An expression representing a partially applied lookup of an instance property via the receiver's type object. - * - * An example is the sub-expression `SomeClass.instanceMethod` of - * `SomeClass.instanceMethod(someInstance)(arg, ...)`. - * - * Internally, the Swift compiler desugars this AST node type into a closure expression of the form - * `{ (someInstance: SomeClass) in { (arg, ...) in someInstance.instanceMethod(arg, ...) } }`, - * which in turn can be accessed using the `getSubExpr/0` predicate. + * This module provides the public class `DotSyntaxBaseIgnoredExpr`. */ -class DotSyntaxBaseIgnoredExpr extends Generated::DotSyntaxBaseIgnoredExpr { - override string toString() { - result = - any(string base | - if exists(this.getQualifier().(TypeExpr).getTypeRepr().toString()) - then base = this.getQualifier().(TypeExpr).getTypeRepr().toString() + "." - else base = "." - ) + this.getMethod() - } - /** - * Gets the underlying instance method that is called when the result of this - * expression is fully applied. - */ - Method getMethod() { - result = - this.getSubExpr() - .(AutoClosureExpr) - .getExpr() - .(AutoClosureExpr) - .getExpr() - .(CallExpr) - .getStaticTarget() - } -} +private import DotSyntaxBaseIgnoredExprImpl +import codeql.swift.elements.expr.Expr + +final class DotSyntaxBaseIgnoredExpr = Impl::DotSyntaxBaseIgnoredExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxBaseIgnoredExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxBaseIgnoredExprImpl.qll new file mode 100644 index 000000000000..3e9a72b37e04 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxBaseIgnoredExprImpl.qll @@ -0,0 +1,43 @@ +private import codeql.swift.generated.expr.DotSyntaxBaseIgnoredExpr +private import codeql.swift.elements.expr.AutoClosureExpr +private import codeql.swift.elements.expr.CallExpr +private import codeql.swift.elements.expr.TypeExpr +private import codeql.swift.elements.decl.Method + +module Impl { + /** + * An expression representing a partially applied lookup of an instance property via the receiver's type object. + * + * An example is the sub-expression `SomeClass.instanceMethod` of + * `SomeClass.instanceMethod(someInstance)(arg, ...)`. + * + * Internally, the Swift compiler desugars this AST node type into a closure expression of the form + * `{ (someInstance: SomeClass) in { (arg, ...) in someInstance.instanceMethod(arg, ...) } }`, + * which in turn can be accessed using the `getSubExpr/0` predicate. + */ + class DotSyntaxBaseIgnoredExpr extends Generated::DotSyntaxBaseIgnoredExpr { + override string toString() { + result = + any(string base | + if exists(this.getQualifier().(TypeExpr).getTypeRepr().toString()) + then base = this.getQualifier().(TypeExpr).getTypeRepr().toString() + "." + else base = "." + ) + this.getMethod() + } + + /** + * Gets the underlying instance method that is called when the result of this + * expression is fully applied. + */ + Method getMethod() { + result = + this.getSubExpr() + .(AutoClosureExpr) + .getExpr() + .(AutoClosureExpr) + .getExpr() + .(CallExpr) + .getStaticTarget() + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxCallExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxCallExpr.qll index f452012ee869..bbb781993d82 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxCallExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxCallExpr.qll @@ -1,12 +1,12 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `DotSyntaxCallExpr`. - * INTERNAL: Do not use. + * This module provides the public class `DotSyntaxCallExpr`. */ -private import codeql.swift.generated.expr.DotSyntaxCallExpr +private import DotSyntaxCallExprImpl +import codeql.swift.elements.expr.SelfApplyExpr /** * INTERNAL: Do not use. */ -class DotSyntaxCallExpr extends Generated::DotSyntaxCallExpr { } +final class DotSyntaxCallExpr = Impl::DotSyntaxCallExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxCallExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxCallExprImpl.qll new file mode 100644 index 000000000000..06f03c7e3634 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DotSyntaxCallExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `DotSyntaxCallExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.DotSyntaxCallExpr + +/** + * INTERNAL: This module contains the customizable definition of `DotSyntaxCallExpr` and should not + * be referenced directly. + */ +module Impl { + class DotSyntaxCallExpr extends Generated::DotSyntaxCallExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DynamicLookupExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DynamicLookupExpr.qll index 4803507b974e..5cbaa8a4bd12 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DynamicLookupExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DynamicLookupExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `DynamicLookupExpr`. + * This module provides the public class `DynamicLookupExpr`. */ -private import codeql.swift.generated.expr.DynamicLookupExpr +private import DynamicLookupExprImpl +import codeql.swift.elements.expr.LookupExpr -class DynamicLookupExpr extends Generated::DynamicLookupExpr { } +final class DynamicLookupExpr = Impl::DynamicLookupExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DynamicLookupExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DynamicLookupExprImpl.qll new file mode 100644 index 000000000000..64d579e9a4c0 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DynamicLookupExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `DynamicLookupExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.DynamicLookupExpr + +/** + * INTERNAL: This module contains the customizable definition of `DynamicLookupExpr` and should not + * be referenced directly. + */ +module Impl { + class DynamicLookupExpr extends Generated::DynamicLookupExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DynamicMemberRefExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DynamicMemberRefExpr.qll index 2de645bc4e2b..b2c170bf5c2e 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DynamicMemberRefExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DynamicMemberRefExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.DynamicMemberRefExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DynamicMemberRefExpr`. + */ -class DynamicMemberRefExpr extends Generated::DynamicMemberRefExpr { - override string toString() { result = "." + this.getMember().toString() } -} +private import DynamicMemberRefExprImpl +import codeql.swift.elements.expr.DynamicLookupExpr + +final class DynamicMemberRefExpr = Impl::DynamicMemberRefExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DynamicMemberRefExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DynamicMemberRefExprImpl.qll new file mode 100644 index 000000000000..7f03f564d0fa --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DynamicMemberRefExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.DynamicMemberRefExpr + +module Impl { + class DynamicMemberRefExpr extends Generated::DynamicMemberRefExpr { + override string toString() { result = "." + this.getMember().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DynamicSubscriptExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DynamicSubscriptExpr.qll index e054e54f17ff..b5e63ae6962e 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DynamicSubscriptExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DynamicSubscriptExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.DynamicSubscriptExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DynamicSubscriptExpr`. + */ -class DynamicSubscriptExpr extends Generated::DynamicSubscriptExpr { - override string toString() { result = this.getMember().toString() + "[...]" } -} +private import DynamicSubscriptExprImpl +import codeql.swift.elements.expr.DynamicLookupExpr + +final class DynamicSubscriptExpr = Impl::DynamicSubscriptExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DynamicSubscriptExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DynamicSubscriptExprImpl.qll new file mode 100644 index 000000000000..fd18ae9f5679 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DynamicSubscriptExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.DynamicSubscriptExpr + +module Impl { + class DynamicSubscriptExpr extends Generated::DynamicSubscriptExpr { + override string toString() { result = this.getMember().toString() + "[...]" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/DynamicTypeExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/DynamicTypeExpr.qll index 27f2bf489277..3158c58b56a1 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/DynamicTypeExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/DynamicTypeExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.DynamicTypeExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DynamicTypeExpr`. + */ -class DynamicTypeExpr extends Generated::DynamicTypeExpr { - override string toString() { result = "type(of: ...)" } -} +private import DynamicTypeExprImpl +import codeql.swift.elements.expr.Expr + +final class DynamicTypeExpr = Impl::DynamicTypeExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/DynamicTypeExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/DynamicTypeExprImpl.qll new file mode 100644 index 000000000000..2ed7a8734e22 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/DynamicTypeExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.DynamicTypeExpr + +module Impl { + class DynamicTypeExpr extends Generated::DynamicTypeExpr { + override string toString() { result = "type(of: ...)" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/EnumElementExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/EnumElementExpr.qll index 70432ccae456..3a856af1f920 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/EnumElementExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/EnumElementExpr.qll @@ -19,7 +19,7 @@ private import codeql.swift.elements.decl.EnumElementDecl * ... * ``` */ -class EnumElementExpr extends Expr { +final class EnumElementExpr extends Expr { EnumElementDecl decl; EnumElementExpr() { diff --git a/swift/ql/lib/codeql/swift/elements/expr/EnumIsCaseExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/EnumIsCaseExpr.qll index ae1ea5a0b3d7..be4339240eb8 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/EnumIsCaseExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/EnumIsCaseExpr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.expr.EnumIsCaseExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `EnumIsCaseExpr`. + */ -class EnumIsCaseExpr extends Generated::EnumIsCaseExpr { - override string toString() { result = "... is " + this.getElement().toString() } -} +private import EnumIsCaseExprImpl +import codeql.swift.elements.decl.EnumElementDecl +import codeql.swift.elements.expr.Expr + +final class EnumIsCaseExpr = Impl::EnumIsCaseExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/EnumIsCaseExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/EnumIsCaseExprImpl.qll new file mode 100644 index 000000000000..941591e77fa6 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/EnumIsCaseExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.EnumIsCaseExpr + +module Impl { + class EnumIsCaseExpr extends Generated::EnumIsCaseExpr { + override string toString() { result = "... is " + this.getElement().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ErasureExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ErasureExpr.qll index dc4e26b01774..2a88036ce747 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ErasureExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ErasureExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ErasureExpr`. + * This module provides the public class `ErasureExpr`. */ -private import codeql.swift.generated.expr.ErasureExpr +private import ErasureExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class ErasureExpr extends Generated::ErasureExpr { } +final class ErasureExpr = Impl::ErasureExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ErasureExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ErasureExprImpl.qll new file mode 100644 index 000000000000..608d88f4c84d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ErasureExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ErasureExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ErasureExpr + +/** + * INTERNAL: This module contains the customizable definition of `ErasureExpr` and should not + * be referenced directly. + */ +module Impl { + class ErasureExpr extends Generated::ErasureExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ErrorExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ErrorExpr.qll index ebf29c9200ca..5e4d63f9bc4d 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ErrorExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ErrorExpr.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ErrorExpr`. + * This module provides the public class `ErrorExpr`. */ -private import codeql.swift.generated.expr.ErrorExpr +private import ErrorExprImpl +import codeql.swift.elements.ErrorElement +import codeql.swift.elements.expr.Expr -class ErrorExpr extends Generated::ErrorExpr { } +final class ErrorExpr = Impl::ErrorExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ErrorExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ErrorExprImpl.qll new file mode 100644 index 000000000000..9872c302bc2d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ErrorExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ErrorExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ErrorExpr + +/** + * INTERNAL: This module contains the customizable definition of `ErrorExpr` and should not + * be referenced directly. + */ +module Impl { + class ErrorExpr extends Generated::ErrorExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExpr.qll index 494e6858db58..07bc9012ccb5 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ExistentialMetatypeToObjectExpr`. + * This module provides the public class `ExistentialMetatypeToObjectExpr`. */ -private import codeql.swift.generated.expr.ExistentialMetatypeToObjectExpr +private import ExistentialMetatypeToObjectExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class ExistentialMetatypeToObjectExpr extends Generated::ExistentialMetatypeToObjectExpr { } +final class ExistentialMetatypeToObjectExpr = Impl::ExistentialMetatypeToObjectExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExprImpl.qll new file mode 100644 index 000000000000..9009cb335bf5 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ExistentialMetatypeToObjectExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ExistentialMetatypeToObjectExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ExistentialMetatypeToObjectExpr + +/** + * INTERNAL: This module contains the customizable definition of `ExistentialMetatypeToObjectExpr` and should not + * be referenced directly. + */ +module Impl { + class ExistentialMetatypeToObjectExpr extends Generated::ExistentialMetatypeToObjectExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ExplicitCastExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ExplicitCastExpr.qll index ff608b58ba9c..e1834123d507 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ExplicitCastExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ExplicitCastExpr.qll @@ -1,7 +1,9 @@ -private import codeql.swift.generated.expr.ExplicitCastExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ExplicitCastExpr`. + */ -class ExplicitCastExpr extends Generated::ExplicitCastExpr { - override predicate convertsFrom(Expr e) { e = this.getImmediateSubExpr() } +private import ExplicitCastExprImpl +import codeql.swift.elements.expr.Expr - override string toString() { result = "(" + this.getType() + ") ..." } -} +final class ExplicitCastExpr = Impl::ExplicitCastExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ExplicitCastExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ExplicitCastExprImpl.qll new file mode 100644 index 000000000000..9e961502ccd1 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ExplicitCastExprImpl.qll @@ -0,0 +1,9 @@ +private import codeql.swift.generated.expr.ExplicitCastExpr + +module Impl { + class ExplicitCastExpr extends Generated::ExplicitCastExpr { + override predicate convertsFrom(Expr e) { e = this.getImmediateSubExpr() } + + override string toString() { result = "(" + this.getType() + ") ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ExplicitClosureExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ExplicitClosureExpr.qll index d7700f85b291..9f3cfd82108f 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ExplicitClosureExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ExplicitClosureExpr.qll @@ -1,8 +1,9 @@ -private import codeql.swift.generated.expr.ExplicitClosureExpr - +// generated by codegen/codegen.py, do not edit /** - * A Swift explicit closure expr, that is, a closure written using - * `{ ... -> ... in ... }` syntax rather than automatically generated by the - * compiler. + * This module provides the public class `ExplicitClosureExpr`. */ -class ExplicitClosureExpr extends Generated::ExplicitClosureExpr { } + +private import ExplicitClosureExprImpl +import codeql.swift.elements.expr.ClosureExpr + +final class ExplicitClosureExpr = Impl::ExplicitClosureExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ExplicitClosureExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ExplicitClosureExprImpl.qll new file mode 100644 index 000000000000..573b2fc99115 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ExplicitClosureExprImpl.qll @@ -0,0 +1,10 @@ +private import codeql.swift.generated.expr.ExplicitClosureExpr + +module Impl { + /** + * A Swift explicit closure expr, that is, a closure written using + * `{ ... -> ... in ... }` syntax rather than automatically generated by the + * compiler. + */ + class ExplicitClosureExpr extends Generated::ExplicitClosureExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/Expr.qll b/swift/ql/lib/codeql/swift/elements/expr/Expr.qll index f348dbe1815a..8a62f6cdadd0 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/Expr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/Expr.qll @@ -1,27 +1,13 @@ -private import codeql.swift.generated.expr.Expr - -// the following QLdoc is generated: if you need to edit it, do it in the schema file +// generated by codegen/codegen.py, do not edit /** - * The base class for all expressions in Swift. + * This module provides the public class `Expr`. */ -class Expr extends Generated::Expr { - final override Expr getResolveStep() { this.convertsFrom(result) } - - predicate convertsFrom(Expr e) { none() } // overridden by subclasses - - Expr getConversion() { result.convertsFrom(this) } - - Expr getConversion(int n) { - n = 0 and result = this.getConversion() - or - result = this.getConversion(n - 1).getConversion() - } - predicate isConversion() { this.convertsFrom(_) } +private import ExprImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.type.Type - predicate hasConversions() { exists(this.getConversion()) } - - Expr getFullyConverted() { result = this.getFullyUnresolved() } - - Expr getUnconverted() { result = this.resolve() } -} +/** + * The base class for all expressions in Swift. + */ +final class Expr = Impl::Expr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ExprImpl.qll new file mode 100644 index 000000000000..d3de2b05c7f3 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ExprImpl.qll @@ -0,0 +1,29 @@ +private import codeql.swift.generated.expr.Expr + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * The base class for all expressions in Swift. + */ + class Expr extends Generated::Expr { + final override Expr getResolveStep() { this.convertsFrom(result) } + + predicate convertsFrom(Expr e) { none() } // overridden by subclasses + + Expr getConversion() { result.convertsFrom(this) } + + Expr getConversion(int n) { + n = 0 and result = this.getConversion() + or + result = this.getConversion(n - 1).getConversion() + } + + predicate isConversion() { this.convertsFrom(_) } + + predicate hasConversions() { exists(this.getConversion()) } + + Expr getFullyConverted() { result = this.getFullyUnresolved() } + + Expr getUnconverted() { result = this.resolve() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/FloatLiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/FloatLiteralExpr.qll index 527a55c6d231..b78f5a6f7085 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/FloatLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/FloatLiteralExpr.qll @@ -1,7 +1,9 @@ -private import codeql.swift.generated.expr.FloatLiteralExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `FloatLiteralExpr`. + */ -class FloatLiteralExpr extends Generated::FloatLiteralExpr { - override string toString() { result = this.getStringValue() } +private import FloatLiteralExprImpl +import codeql.swift.elements.expr.NumberLiteralExpr - override string getValueString() { result = this.getStringValue() } -} +final class FloatLiteralExpr = Impl::FloatLiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/FloatLiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/FloatLiteralExprImpl.qll new file mode 100644 index 000000000000..c7a7f1c714f4 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/FloatLiteralExprImpl.qll @@ -0,0 +1,9 @@ +private import codeql.swift.generated.expr.FloatLiteralExpr + +module Impl { + class FloatLiteralExpr extends Generated::FloatLiteralExpr { + override string toString() { result = this.getStringValue() } + + override string getValueString() { result = this.getStringValue() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ForceTryExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ForceTryExpr.qll index 36e3a395d09b..47b3787fe172 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ForceTryExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ForceTryExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.ForceTryExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ForceTryExpr`. + */ -class ForceTryExpr extends Generated::ForceTryExpr { - override string toString() { result = "try! ..." } -} +private import ForceTryExprImpl +import codeql.swift.elements.expr.AnyTryExpr + +final class ForceTryExpr = Impl::ForceTryExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ForceTryExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ForceTryExprImpl.qll new file mode 100644 index 000000000000..2f53e5138151 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ForceTryExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.ForceTryExpr + +module Impl { + class ForceTryExpr extends Generated::ForceTryExpr { + override string toString() { result = "try! ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ForceValueExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ForceValueExpr.qll index c54455ce7b79..61d5e11eb018 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ForceValueExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ForceValueExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.ForceValueExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ForceValueExpr`. + */ -class ForceValueExpr extends Generated::ForceValueExpr { - override string toString() { result = "...!" } -} +private import ForceValueExprImpl +import codeql.swift.elements.expr.Expr + +final class ForceValueExpr = Impl::ForceValueExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ForceValueExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ForceValueExprImpl.qll new file mode 100644 index 000000000000..84e89108c949 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ForceValueExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.ForceValueExpr + +module Impl { + class ForceValueExpr extends Generated::ForceValueExpr { + override string toString() { result = "...!" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ForcedCheckedCastExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ForcedCheckedCastExpr.qll index 809588085f1e..11a4f6db4bdb 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ForcedCheckedCastExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ForcedCheckedCastExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ForcedCheckedCastExpr`. + * This module provides the public class `ForcedCheckedCastExpr`. */ -private import codeql.swift.generated.expr.ForcedCheckedCastExpr +private import ForcedCheckedCastExprImpl +import codeql.swift.elements.expr.CheckedCastExpr -class ForcedCheckedCastExpr extends Generated::ForcedCheckedCastExpr { } +final class ForcedCheckedCastExpr = Impl::ForcedCheckedCastExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ForcedCheckedCastExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ForcedCheckedCastExprImpl.qll new file mode 100644 index 000000000000..79aa83af41ef --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ForcedCheckedCastExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ForcedCheckedCastExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ForcedCheckedCastExpr + +/** + * INTERNAL: This module contains the customizable definition of `ForcedCheckedCastExpr` and should not + * be referenced directly. + */ +module Impl { + class ForcedCheckedCastExpr extends Generated::ForcedCheckedCastExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ForeignObjectConversionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ForeignObjectConversionExpr.qll index d6bd94fff233..2e181cb75c13 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ForeignObjectConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ForeignObjectConversionExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ForeignObjectConversionExpr`. + * This module provides the public class `ForeignObjectConversionExpr`. */ -private import codeql.swift.generated.expr.ForeignObjectConversionExpr +private import ForeignObjectConversionExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class ForeignObjectConversionExpr extends Generated::ForeignObjectConversionExpr { } +final class ForeignObjectConversionExpr = Impl::ForeignObjectConversionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ForeignObjectConversionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ForeignObjectConversionExprImpl.qll new file mode 100644 index 000000000000..69d993220bd2 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ForeignObjectConversionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ForeignObjectConversionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ForeignObjectConversionExpr + +/** + * INTERNAL: This module contains the customizable definition of `ForeignObjectConversionExpr` and should not + * be referenced directly. + */ +module Impl { + class ForeignObjectConversionExpr extends Generated::ForeignObjectConversionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/FunctionConversionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/FunctionConversionExpr.qll index 8e92e47c8b20..090391ebe2b5 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/FunctionConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/FunctionConversionExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `FunctionConversionExpr`. + * This module provides the public class `FunctionConversionExpr`. */ -private import codeql.swift.generated.expr.FunctionConversionExpr +private import FunctionConversionExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class FunctionConversionExpr extends Generated::FunctionConversionExpr { } +final class FunctionConversionExpr = Impl::FunctionConversionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/FunctionConversionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/FunctionConversionExprImpl.qll new file mode 100644 index 000000000000..0d4c7c21c357 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/FunctionConversionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `FunctionConversionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.FunctionConversionExpr + +/** + * INTERNAL: This module contains the customizable definition of `FunctionConversionExpr` and should not + * be referenced directly. + */ +module Impl { + class FunctionConversionExpr extends Generated::FunctionConversionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/IdentityExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/IdentityExpr.qll index ecfe0dd3e1af..cb2df6b115b2 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/IdentityExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/IdentityExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.IdentityExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `IdentityExpr`. + */ -class IdentityExpr extends Generated::IdentityExpr { - override predicate convertsFrom(Expr e) { e = this.getImmediateSubExpr() } -} +private import IdentityExprImpl +import codeql.swift.elements.expr.Expr + +final class IdentityExpr = Impl::IdentityExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/IdentityExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/IdentityExprImpl.qll new file mode 100644 index 000000000000..f51b49e2def0 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/IdentityExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.IdentityExpr + +module Impl { + class IdentityExpr extends Generated::IdentityExpr { + override predicate convertsFrom(Expr e) { e = this.getImmediateSubExpr() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/IfExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/IfExpr.qll index 3afcc992089a..f6841c1b5c5e 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/IfExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/IfExpr.qll @@ -1,13 +1,9 @@ -private import codeql.swift.generated.expr.IfExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `IfExpr`. + */ -class IfExpr extends Generated::IfExpr { - Expr getBranch(boolean b) { - b = true and - result = this.getThenExpr() - or - b = false and - result = this.getElseExpr() - } +private import IfExprImpl +import codeql.swift.elements.expr.Expr - override string toString() { result = "... ? ... : ..." } -} +final class IfExpr = Impl::IfExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/IfExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/IfExprImpl.qll new file mode 100644 index 000000000000..359d3ff50945 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/IfExprImpl.qll @@ -0,0 +1,15 @@ +private import codeql.swift.generated.expr.IfExpr + +module Impl { + class IfExpr extends Generated::IfExpr { + Expr getBranch(boolean b) { + b = true and + result = this.getThenExpr() + or + b = false and + result = this.getElseExpr() + } + + override string toString() { result = "... ? ... : ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ImplicitConversionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ImplicitConversionExpr.qll index 37138ed37242..506f4b613465 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ImplicitConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ImplicitConversionExpr.qll @@ -1,7 +1,9 @@ -private import codeql.swift.generated.expr.ImplicitConversionExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ImplicitConversionExpr`. + */ -class ImplicitConversionExpr extends Generated::ImplicitConversionExpr { - override predicate convertsFrom(Expr e) { e = this.getImmediateSubExpr() } +private import ImplicitConversionExprImpl +import codeql.swift.elements.expr.Expr - override string toString() { result = "(" + this.getType().toString() + ") ..." } -} +final class ImplicitConversionExpr = Impl::ImplicitConversionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ImplicitConversionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ImplicitConversionExprImpl.qll new file mode 100644 index 000000000000..f4ab0120cf87 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ImplicitConversionExprImpl.qll @@ -0,0 +1,9 @@ +private import codeql.swift.generated.expr.ImplicitConversionExpr + +module Impl { + class ImplicitConversionExpr extends Generated::ImplicitConversionExpr { + override predicate convertsFrom(Expr e) { e = this.getImmediateSubExpr() } + + override string toString() { result = "(" + this.getType().toString() + ") ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/InOutExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/InOutExpr.qll index 7326cabfdd93..2156a7c7be73 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/InOutExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/InOutExpr.qll @@ -1,7 +1,9 @@ -private import codeql.swift.generated.expr.InOutExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `InOutExpr`. + */ -class InOutExpr extends Generated::InOutExpr { - override string toString() { result = "&..." } +private import InOutExprImpl +import codeql.swift.elements.expr.Expr - override predicate convertsFrom(Expr e) { e = this.getImmediateSubExpr() } -} +final class InOutExpr = Impl::InOutExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/InOutExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/InOutExprImpl.qll new file mode 100644 index 000000000000..54acc229a957 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/InOutExprImpl.qll @@ -0,0 +1,9 @@ +private import codeql.swift.generated.expr.InOutExpr + +module Impl { + class InOutExpr extends Generated::InOutExpr { + override string toString() { result = "&..." } + + override predicate convertsFrom(Expr e) { e = this.getImmediateSubExpr() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/InOutToPointerExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/InOutToPointerExpr.qll index 6ebd5cea3fce..9906dd7db068 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/InOutToPointerExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/InOutToPointerExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `InOutToPointerExpr`. + * This module provides the public class `InOutToPointerExpr`. */ -private import codeql.swift.generated.expr.InOutToPointerExpr +private import InOutToPointerExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class InOutToPointerExpr extends Generated::InOutToPointerExpr { } +final class InOutToPointerExpr = Impl::InOutToPointerExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/InOutToPointerExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/InOutToPointerExprImpl.qll new file mode 100644 index 000000000000..9b543b216ae2 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/InOutToPointerExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `InOutToPointerExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.InOutToPointerExpr + +/** + * INTERNAL: This module contains the customizable definition of `InOutToPointerExpr` and should not + * be referenced directly. + */ +module Impl { + class InOutToPointerExpr extends Generated::InOutToPointerExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/InitializerCallExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/InitializerCallExpr.qll index dcb4dff4ba9d..795dc8e0bebb 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/InitializerCallExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/InitializerCallExpr.qll @@ -2,8 +2,8 @@ private import codeql.swift.elements.expr.MethodCallExpr private import codeql.swift.elements.expr.InitializerLookupExpr private import codeql.swift.elements.decl.Initializer -class InitializerCallExpr extends MethodCallExpr { +final class InitializerCallExpr extends MethodCallExpr { InitializerCallExpr() { this.getFunction() instanceof InitializerLookupExpr } - override Initializer getStaticTarget() { result = super.getStaticTarget() } + Initializer getStaticTarget() { result = super.getStaticTarget() } } diff --git a/swift/ql/lib/codeql/swift/elements/expr/InitializerLookupExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/InitializerLookupExpr.qll index 26972894ec68..4eade2ff5c75 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/InitializerLookupExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/InitializerLookupExpr.qll @@ -1,10 +1,13 @@ private import codeql.swift.elements.expr.MethodLookupExpr +private import codeql.swift.elements.expr.MethodLookupExprImpl::Impl as Impl private import codeql.swift.elements.decl.Initializer -class InitializerLookupExpr extends MethodLookupExpr { - InitializerLookupExpr() { super.getMethod() instanceof Initializer } - - override Initializer getMethod() { result = super.getMethod() } +final private class InitializerLookupExprImpl extends Impl::MethodLookupExpr { + InitializerLookupExprImpl() { super.getMethod() instanceof Initializer } override string toString() { result = this.getMember().toString() } } + +final class InitializerLookupExpr extends MethodLookupExpr, InitializerLookupExprImpl { + Initializer getMethod() { result = super.getMethod() } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/InitializerRefCallExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/InitializerRefCallExpr.qll index ed2f4afef3c8..1f11e950e8e8 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/InitializerRefCallExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/InitializerRefCallExpr.qll @@ -1,12 +1,12 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `InitializerRefCallExpr`. - * INTERNAL: Do not use. + * This module provides the public class `InitializerRefCallExpr`. */ -private import codeql.swift.generated.expr.InitializerRefCallExpr +private import InitializerRefCallExprImpl +import codeql.swift.elements.expr.SelfApplyExpr /** * INTERNAL: Do not use. */ -class InitializerRefCallExpr extends Generated::InitializerRefCallExpr { } +final class InitializerRefCallExpr = Impl::InitializerRefCallExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/InitializerRefCallExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/InitializerRefCallExprImpl.qll new file mode 100644 index 000000000000..d99689b84adf --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/InitializerRefCallExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `InitializerRefCallExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.InitializerRefCallExpr + +/** + * INTERNAL: This module contains the customizable definition of `InitializerRefCallExpr` and should not + * be referenced directly. + */ +module Impl { + class InitializerRefCallExpr extends Generated::InitializerRefCallExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/InjectIntoOptionalExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/InjectIntoOptionalExpr.qll index d51c83f62fb2..d4d610375162 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/InjectIntoOptionalExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/InjectIntoOptionalExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `InjectIntoOptionalExpr`. + * This module provides the public class `InjectIntoOptionalExpr`. */ -private import codeql.swift.generated.expr.InjectIntoOptionalExpr +private import InjectIntoOptionalExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class InjectIntoOptionalExpr extends Generated::InjectIntoOptionalExpr { } +final class InjectIntoOptionalExpr = Impl::InjectIntoOptionalExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/InjectIntoOptionalExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/InjectIntoOptionalExprImpl.qll new file mode 100644 index 000000000000..5e5a74fee8bc --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/InjectIntoOptionalExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `InjectIntoOptionalExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.InjectIntoOptionalExpr + +/** + * INTERNAL: This module contains the customizable definition of `InjectIntoOptionalExpr` and should not + * be referenced directly. + */ +module Impl { + class InjectIntoOptionalExpr extends Generated::InjectIntoOptionalExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/IntegerLiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/IntegerLiteralExpr.qll index 45b442ca5cf7..e331dfc30ac4 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/IntegerLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/IntegerLiteralExpr.qll @@ -1,13 +1,9 @@ -private import codeql.swift.generated.expr.IntegerLiteralExpr - +// generated by codegen/codegen.py, do not edit /** - * An integer literal. For example `1` in: - * ``` - * let x = 1 - * ``` + * This module provides the public class `IntegerLiteralExpr`. */ -class IntegerLiteralExpr extends Generated::IntegerLiteralExpr { - override string toString() { result = this.getStringValue() } - override string getValueString() { result = this.getStringValue() } -} +private import IntegerLiteralExprImpl +import codeql.swift.elements.expr.NumberLiteralExpr + +final class IntegerLiteralExpr = Impl::IntegerLiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/IntegerLiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/IntegerLiteralExprImpl.qll new file mode 100644 index 000000000000..3256c7cd9b36 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/IntegerLiteralExprImpl.qll @@ -0,0 +1,15 @@ +private import codeql.swift.generated.expr.IntegerLiteralExpr + +module Impl { + /** + * An integer literal. For example `1` in: + * ``` + * let x = 1 + * ``` + */ + class IntegerLiteralExpr extends Generated::IntegerLiteralExpr { + override string toString() { result = this.getStringValue() } + + override string getValueString() { result = this.getStringValue() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/InterpolatedStringLiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/InterpolatedStringLiteralExpr.qll index f21b4492e8eb..a325e92d7906 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/InterpolatedStringLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/InterpolatedStringLiteralExpr.qll @@ -1,5 +1,11 @@ -private import codeql.swift.generated.expr.InterpolatedStringLiteralExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `InterpolatedStringLiteralExpr`. + */ -class InterpolatedStringLiteralExpr extends Generated::InterpolatedStringLiteralExpr { - override string toString() { result = "\"...\"" } -} +private import InterpolatedStringLiteralExprImpl +import codeql.swift.elements.expr.LiteralExpr +import codeql.swift.elements.expr.OpaqueValueExpr +import codeql.swift.elements.expr.TapExpr + +final class InterpolatedStringLiteralExpr = Impl::InterpolatedStringLiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/InterpolatedStringLiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/InterpolatedStringLiteralExprImpl.qll new file mode 100644 index 000000000000..01e2ab92c2ab --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/InterpolatedStringLiteralExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.InterpolatedStringLiteralExpr + +module Impl { + class InterpolatedStringLiteralExpr extends Generated::InterpolatedStringLiteralExpr { + override string toString() { result = "\"...\"" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/IsExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/IsExpr.qll index 8eae10827e2c..fe38d7454f3c 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/IsExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/IsExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.IsExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `IsExpr`. + */ -class IsExpr extends Generated::IsExpr { - override string toString() { result = "... is ..." } -} +private import IsExprImpl +import codeql.swift.elements.expr.CheckedCastExpr + +final class IsExpr = Impl::IsExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/IsExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/IsExprImpl.qll new file mode 100644 index 000000000000..69a5855b017a --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/IsExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.IsExpr + +module Impl { + class IsExpr extends Generated::IsExpr { + override string toString() { result = "... is ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/KeyPathApplicationExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/KeyPathApplicationExpr.qll index 1f996cf1e7d5..ea6da7e3b3ea 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/KeyPathApplicationExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/KeyPathApplicationExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.KeyPathApplicationExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `KeyPathApplicationExpr`. + */ -class KeyPathApplicationExpr extends Generated::KeyPathApplicationExpr { - override string toString() { result = "\\...[...]" } -} +private import KeyPathApplicationExprImpl +import codeql.swift.elements.expr.Expr + +final class KeyPathApplicationExpr = Impl::KeyPathApplicationExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/KeyPathApplicationExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/KeyPathApplicationExprImpl.qll new file mode 100644 index 000000000000..f94532ccbcd9 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/KeyPathApplicationExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.KeyPathApplicationExpr + +module Impl { + class KeyPathApplicationExpr extends Generated::KeyPathApplicationExpr { + override string toString() { result = "\\...[...]" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/KeyPathDotExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/KeyPathDotExpr.qll index 535d393e0577..a2caf9802ce4 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/KeyPathDotExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/KeyPathDotExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.KeyPathDotExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `KeyPathDotExpr`. + */ -class KeyPathDotExpr extends Generated::KeyPathDotExpr { - override string toString() { result = "\\...." } -} +private import KeyPathDotExprImpl +import codeql.swift.elements.expr.Expr + +final class KeyPathDotExpr = Impl::KeyPathDotExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/KeyPathDotExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/KeyPathDotExprImpl.qll new file mode 100644 index 000000000000..105644cfed0e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/KeyPathDotExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.KeyPathDotExpr + +module Impl { + class KeyPathDotExpr extends Generated::KeyPathDotExpr { + override string toString() { result = "\\...." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/KeyPathExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/KeyPathExpr.qll index 889fa973f76a..20dbbf1c0516 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/KeyPathExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/KeyPathExpr.qll @@ -1,9 +1,14 @@ -private import codeql.swift.generated.expr.KeyPathExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `KeyPathExpr`. + */ + +private import KeyPathExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.KeyPathComponent +import codeql.swift.elements.type.TypeRepr -// the following QLdoc is generated: if you need to edit it, do it in the schema file /** * A key-path expression. */ -class KeyPathExpr extends Generated::KeyPathExpr { - override string toString() { result = "#keyPath(...)" } -} +final class KeyPathExpr = Impl::KeyPathExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/KeyPathExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/KeyPathExprImpl.qll new file mode 100644 index 000000000000..88a526cc3240 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/KeyPathExprImpl.qll @@ -0,0 +1,11 @@ +private import codeql.swift.generated.expr.KeyPathExpr + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * A key-path expression. + */ + class KeyPathExpr extends Generated::KeyPathExpr { + override string toString() { result = "#keyPath(...)" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/LazyInitializationExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/LazyInitializationExpr.qll index 43ecade87796..7961d75c6b2c 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/LazyInitializationExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/LazyInitializationExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.LazyInitializationExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `LazyInitializationExpr`. + */ -class LazyInitializationExpr extends Generated::LazyInitializationExpr { - override string toString() { result = this.getSubExpr().toString() } -} +private import LazyInitializationExprImpl +import codeql.swift.elements.expr.Expr + +final class LazyInitializationExpr = Impl::LazyInitializationExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/LazyInitializationExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/LazyInitializationExprImpl.qll new file mode 100644 index 000000000000..ed81fc84c287 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/LazyInitializationExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.LazyInitializationExpr + +module Impl { + class LazyInitializationExpr extends Generated::LazyInitializationExpr { + override string toString() { result = this.getSubExpr().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExpr.qll index e20b3d7af3bb..fba1c821f421 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LinearFunctionExpr`. + * This module provides the public class `LinearFunctionExpr`. */ -private import codeql.swift.generated.expr.LinearFunctionExpr +private import LinearFunctionExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class LinearFunctionExpr extends Generated::LinearFunctionExpr { } +final class LinearFunctionExpr = Impl::LinearFunctionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExprImpl.qll new file mode 100644 index 000000000000..02c63eee3c40 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LinearFunctionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.LinearFunctionExpr + +/** + * INTERNAL: This module contains the customizable definition of `LinearFunctionExpr` and should not + * be referenced directly. + */ +module Impl { + class LinearFunctionExpr extends Generated::LinearFunctionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExpr.qll index e6061e3de304..7d00861bec2f 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LinearFunctionExtractOriginalExpr`. + * This module provides the public class `LinearFunctionExtractOriginalExpr`. */ -private import codeql.swift.generated.expr.LinearFunctionExtractOriginalExpr +private import LinearFunctionExtractOriginalExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class LinearFunctionExtractOriginalExpr extends Generated::LinearFunctionExtractOriginalExpr { } +final class LinearFunctionExtractOriginalExpr = Impl::LinearFunctionExtractOriginalExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExprImpl.qll new file mode 100644 index 000000000000..085c2d005720 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/LinearFunctionExtractOriginalExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LinearFunctionExtractOriginalExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.LinearFunctionExtractOriginalExpr + +/** + * INTERNAL: This module contains the customizable definition of `LinearFunctionExtractOriginalExpr` and should not + * be referenced directly. + */ +module Impl { + class LinearFunctionExtractOriginalExpr extends Generated::LinearFunctionExtractOriginalExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExpr.qll index 4fd5f7d991e6..e824e393ac77 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LinearToDifferentiableFunctionExpr`. + * This module provides the public class `LinearToDifferentiableFunctionExpr`. */ -private import codeql.swift.generated.expr.LinearToDifferentiableFunctionExpr +private import LinearToDifferentiableFunctionExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class LinearToDifferentiableFunctionExpr extends Generated::LinearToDifferentiableFunctionExpr { } +final class LinearToDifferentiableFunctionExpr = Impl::LinearToDifferentiableFunctionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExprImpl.qll new file mode 100644 index 000000000000..026132236351 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/LinearToDifferentiableFunctionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LinearToDifferentiableFunctionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.LinearToDifferentiableFunctionExpr + +/** + * INTERNAL: This module contains the customizable definition of `LinearToDifferentiableFunctionExpr` and should not + * be referenced directly. + */ +module Impl { + class LinearToDifferentiableFunctionExpr extends Generated::LinearToDifferentiableFunctionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/LiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/LiteralExpr.qll index 632d65b8e0f6..d16ae34a3d38 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/LiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/LiteralExpr.qll @@ -1,12 +1,9 @@ +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LiteralExpr`. + * This module provides the public class `LiteralExpr`. */ -private import codeql.swift.generated.expr.LiteralExpr +private import LiteralExprImpl +import codeql.swift.elements.expr.Expr -/** - * A Swift literal. - * - * This is the root class for all literals. - */ -class LiteralExpr extends Generated::LiteralExpr { } +final class LiteralExpr = Impl::LiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/LiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/LiteralExprImpl.qll new file mode 100644 index 000000000000..a85174c4b636 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/LiteralExprImpl.qll @@ -0,0 +1,14 @@ +/** + * This module provides a hand-modifiable wrapper around the generated class `LiteralExpr`. + */ + +private import codeql.swift.generated.expr.LiteralExpr + +module Impl { + /** + * A Swift literal. + * + * This is the root class for all literals. + */ + class LiteralExpr extends Generated::LiteralExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/LoadExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/LoadExpr.qll index 0fb5c32d7daf..476d828e4409 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/LoadExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/LoadExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LoadExpr`. + * This module provides the public class `LoadExpr`. */ -private import codeql.swift.generated.expr.LoadExpr +private import LoadExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class LoadExpr extends Generated::LoadExpr { } +final class LoadExpr = Impl::LoadExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/LoadExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/LoadExprImpl.qll new file mode 100644 index 000000000000..027186a5f84f --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/LoadExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LoadExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.LoadExpr + +/** + * INTERNAL: This module contains the customizable definition of `LoadExpr` and should not + * be referenced directly. + */ +module Impl { + class LoadExpr extends Generated::LoadExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/LogicalOperation.qll b/swift/ql/lib/codeql/swift/elements/expr/LogicalOperation.qll index 57713551e431..c261a2a378f9 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/LogicalOperation.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/LogicalOperation.qll @@ -10,28 +10,28 @@ private predicate unaryHasName(PrefixUnaryExpr e, string name) { private predicate binaryHasName(BinaryExpr e, string name) { e.getStaticTarget().getName() = name } -class LogicalAndExpr extends BinaryExpr { +final class LogicalAndExpr extends BinaryExpr { LogicalAndExpr() { binaryHasName(this, "&&(_:_:)") } } -class LogicalOrExpr extends BinaryExpr { +final class LogicalOrExpr extends BinaryExpr { LogicalOrExpr() { binaryHasName(this, "||(_:_:)") } } -class BinaryLogicalOperation extends BinaryExpr { +final class BinaryLogicalOperation extends BinaryExpr { BinaryLogicalOperation() { this instanceof LogicalAndExpr or this instanceof LogicalOrExpr } } -class NotExpr extends PrefixUnaryExpr { +final class NotExpr extends PrefixUnaryExpr { NotExpr() { unaryHasName(this, "!(_:)") } } -class UnaryLogicalOperation extends PrefixUnaryExpr instanceof NotExpr { } +final class UnaryLogicalOperation extends PrefixUnaryExpr instanceof NotExpr { } -class LogicalOperation extends Expr { +final class LogicalOperation extends Expr { LogicalOperation() { this instanceof BinaryLogicalOperation or this instanceof UnaryLogicalOperation diff --git a/swift/ql/lib/codeql/swift/elements/expr/LookupExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/LookupExpr.qll index 3da5211443e9..f4253e4c1d68 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/LookupExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/LookupExpr.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LookupExpr`. + * This module provides the public class `LookupExpr`. */ -private import codeql.swift.generated.expr.LookupExpr +private import LookupExprImpl +import codeql.swift.elements.decl.Decl +import codeql.swift.elements.expr.Expr -class LookupExpr extends Generated::LookupExpr { } +final class LookupExpr = Impl::LookupExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/LookupExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/LookupExprImpl.qll new file mode 100644 index 000000000000..8526a74147e7 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/LookupExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LookupExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.LookupExpr + +/** + * INTERNAL: This module contains the customizable definition of `LookupExpr` and should not + * be referenced directly. + */ +module Impl { + class LookupExpr extends Generated::LookupExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/MagicIdentifierLiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/MagicIdentifierLiteralExpr.qll index acbff48d149d..6069db0a791c 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/MagicIdentifierLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/MagicIdentifierLiteralExpr.qll @@ -1,13 +1,9 @@ -private import codeql.swift.generated.expr.MagicIdentifierLiteralExpr - +// generated by codegen/codegen.py, do not edit /** - * An identifier literal that is expanded at compile time. For example `#file` in: - * ``` - * let x = #file - * ``` + * This module provides the public class `MagicIdentifierLiteralExpr`. */ -class MagicIdentifierLiteralExpr extends Generated::MagicIdentifierLiteralExpr { - override string toString() { result = "#..." } - override string getValueString() { none() } // TODO: value not yet extracted -} +private import MagicIdentifierLiteralExprImpl +import codeql.swift.elements.expr.BuiltinLiteralExpr + +final class MagicIdentifierLiteralExpr = Impl::MagicIdentifierLiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/MagicIdentifierLiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/MagicIdentifierLiteralExprImpl.qll new file mode 100644 index 000000000000..3e561f5f5b03 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/MagicIdentifierLiteralExprImpl.qll @@ -0,0 +1,15 @@ +private import codeql.swift.generated.expr.MagicIdentifierLiteralExpr + +module Impl { + /** + * An identifier literal that is expanded at compile time. For example `#file` in: + * ``` + * let x = #file + * ``` + */ + class MagicIdentifierLiteralExpr extends Generated::MagicIdentifierLiteralExpr { + override string toString() { result = "#..." } + + override string getValueString() { none() } // TODO: value not yet extracted + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/MakeTemporarilyEscapableExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/MakeTemporarilyEscapableExpr.qll index a38e5b3ad293..c0a96f03ef86 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/MakeTemporarilyEscapableExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/MakeTemporarilyEscapableExpr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.expr.MakeTemporarilyEscapableExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `MakeTemporarilyEscapableExpr`. + */ -class MakeTemporarilyEscapableExpr extends Generated::MakeTemporarilyEscapableExpr { - override string toString() { result = this.getSubExpr().toString() } -} +private import MakeTemporarilyEscapableExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.OpaqueValueExpr + +final class MakeTemporarilyEscapableExpr = Impl::MakeTemporarilyEscapableExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/MakeTemporarilyEscapableExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/MakeTemporarilyEscapableExprImpl.qll new file mode 100644 index 000000000000..e9e036bf055e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/MakeTemporarilyEscapableExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.MakeTemporarilyEscapableExpr + +module Impl { + class MakeTemporarilyEscapableExpr extends Generated::MakeTemporarilyEscapableExpr { + override string toString() { result = this.getSubExpr().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/MaterializePackExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/MaterializePackExpr.qll index 675d7a21babe..a585f8929fdd 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/MaterializePackExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/MaterializePackExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `MaterializePackExpr`. + * This module provides the public class `MaterializePackExpr`. */ -private import codeql.swift.generated.expr.MaterializePackExpr +private import MaterializePackExprImpl +import codeql.swift.elements.expr.Expr /** * An expression that materializes a pack during expansion. Appears around PackExpansionExpr. @@ -11,4 +12,4 @@ private import codeql.swift.generated.expr.MaterializePackExpr * More details: * https://github.com/apple/swift-evolution/blob/main/proposals/0393-parameter-packs.md */ -class MaterializePackExpr extends Generated::MaterializePackExpr { } +final class MaterializePackExpr = Impl::MaterializePackExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/MaterializePackExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/MaterializePackExprImpl.qll new file mode 100644 index 000000000000..e2e392553631 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/MaterializePackExprImpl.qll @@ -0,0 +1,22 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `MaterializePackExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.MaterializePackExpr + +/** + * INTERNAL: This module contains the customizable definition of `MaterializePackExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An expression that materializes a pack during expansion. Appears around PackExpansionExpr. + * + * More details: + * https://github.com/apple/swift-evolution/blob/main/proposals/0393-parameter-packs.md + */ + class MaterializePackExpr extends Generated::MaterializePackExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/MemberRefExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/MemberRefExpr.qll index acbe3cb943c2..1e51f6110144 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/MemberRefExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/MemberRefExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.MemberRefExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `MemberRefExpr`. + */ -class MemberRefExpr extends Generated::MemberRefExpr { - override string toString() { result = "." + this.getMember().toString() } -} +private import MemberRefExprImpl +import codeql.swift.elements.expr.LookupExpr + +final class MemberRefExpr = Impl::MemberRefExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/MemberRefExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/MemberRefExprImpl.qll new file mode 100644 index 000000000000..1304062a7a9e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/MemberRefExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.MemberRefExpr + +module Impl { + class MemberRefExpr extends Generated::MemberRefExpr { + override string toString() { result = "." + this.getMember().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/MetatypeConversionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/MetatypeConversionExpr.qll index 11c065725f15..a949b47d20dc 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/MetatypeConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/MetatypeConversionExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `MetatypeConversionExpr`. + * This module provides the public class `MetatypeConversionExpr`. */ -private import codeql.swift.generated.expr.MetatypeConversionExpr +private import MetatypeConversionExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class MetatypeConversionExpr extends Generated::MetatypeConversionExpr { } +final class MetatypeConversionExpr = Impl::MetatypeConversionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/MetatypeConversionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/MetatypeConversionExprImpl.qll new file mode 100644 index 000000000000..af2d0168bafe --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/MetatypeConversionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `MetatypeConversionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.MetatypeConversionExpr + +/** + * INTERNAL: This module contains the customizable definition of `MetatypeConversionExpr` and should not + * be referenced directly. + */ +module Impl { + class MetatypeConversionExpr extends Generated::MetatypeConversionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/MethodApplyExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/MethodApplyExpr.qll new file mode 100644 index 000000000000..ab5bdf561cbd --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/MethodApplyExpr.qll @@ -0,0 +1,3 @@ +private import ApplyExprImpl + +final class MethodApplyExpr = Impl::MethodApplyExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/MethodCallExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/MethodCallExpr.qll index 65d7dac7576d..ac5aa3e2248a 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/MethodCallExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/MethodCallExpr.qll @@ -1,9 +1,10 @@ +private import MethodApplyExpr private import codeql.swift.elements.expr.CallExpr private import codeql.swift.elements.expr.ApplyExpr private import codeql.swift.elements.expr.SuperRefExpr private import codeql.swift.elements.expr.SelfRefExpr -class MethodCallExpr extends CallExpr, MethodApplyExpr { +final class MethodCallExpr extends CallExpr, MethodApplyExpr { predicate isSelfCall() { this.getQualifier() instanceof SelfRefExpr } predicate isSuperCall() { this.getQualifier() instanceof SuperRefExpr } diff --git a/swift/ql/lib/codeql/swift/elements/expr/MethodLookupExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/MethodLookupExpr.qll index ba036ddafcf1..04a535385a68 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/MethodLookupExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/MethodLookupExpr.qll @@ -1,31 +1,10 @@ -private import codeql.swift.generated.expr.MethodLookupExpr -private import codeql.swift.elements.expr.MethodLookupExprConstructor -private import codeql.swift.elements.expr.DeclRefExpr -private import codeql.swift.elements.expr.OtherInitializerRefExpr -private import codeql.swift.elements.decl.Decl -private import codeql.swift.elements.decl.Method -private import codeql.swift.generated.Raw -private import codeql.swift.generated.Synth +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `MethodLookupExpr`. + */ -class MethodLookupExpr extends Generated::MethodLookupExpr { - override string toString() { result = "." + this.getMember().toString() } +private import MethodLookupExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.LookupExpr - override Expr getImmediateBase() { - result = Synth::convertExprFromRaw(this.getUnderlying().getBase()) - } - - override Decl getMember() { - result = this.getMethodRef().(DeclRefExpr).getDecl() - or - result = this.getMethodRef().(OtherInitializerRefExpr).getInitializer() - } - - override Expr getImmediateMethodRef() { - result = Synth::convertExprFromRaw(this.getUnderlying().getFunction()) - } - - Method getMethod() { result = this.getMember() } - - cached - private Raw::SelfApplyExpr getUnderlying() { this = Synth::TMethodLookupExpr(result) } -} +final class MethodLookupExpr = Impl::MethodLookupExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/MethodLookupExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/MethodLookupExprImpl.qll new file mode 100644 index 000000000000..3818817adae1 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/MethodLookupExprImpl.qll @@ -0,0 +1,33 @@ +private import codeql.swift.generated.expr.MethodLookupExpr +private import codeql.swift.elements.expr.MethodLookupExprConstructor +private import codeql.swift.elements.expr.DeclRefExpr +private import codeql.swift.elements.expr.OtherInitializerRefExpr +private import codeql.swift.elements.decl.Decl +private import codeql.swift.elements.decl.Method +private import codeql.swift.generated.Raw +private import codeql.swift.generated.Synth + +module Impl { + class MethodLookupExpr extends Generated::MethodLookupExpr { + override string toString() { result = "." + this.getMember().toString() } + + override Expr getImmediateBase() { + result = Synth::convertExprFromRaw(this.getUnderlying().getBase()) + } + + override Decl getMember() { + result = this.getMethodRef().(DeclRefExpr).getDecl() + or + result = this.getMethodRef().(OtherInitializerRefExpr).getInitializer() + } + + override Expr getImmediateMethodRef() { + result = Synth::convertExprFromRaw(this.getUnderlying().getFunction()) + } + + Method getMethod() { result = this.getMember() } + + cached + private Raw::SelfApplyExpr getUnderlying() { this = Synth::TMethodLookupExpr(result) } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/NilCoalescingExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/NilCoalescingExpr.qll index 23fe5fc09c51..e527541d7bac 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/NilCoalescingExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/NilCoalescingExpr.qll @@ -8,6 +8,6 @@ private import codeql.swift.elements.expr.BinaryExpr /** * A Swift nil-coalesing expr (`??`). */ -class NilCoalescingExpr extends BinaryExpr { +final class NilCoalescingExpr extends BinaryExpr { NilCoalescingExpr() { this.getStaticTarget().getName() = "??(_:_:)" } } diff --git a/swift/ql/lib/codeql/swift/elements/expr/NilLiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/NilLiteralExpr.qll index 6f264279f1e2..2f0d39e9c82e 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/NilLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/NilLiteralExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.NilLiteralExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `NilLiteralExpr`. + */ -class NilLiteralExpr extends Generated::NilLiteralExpr { - override string toString() { result = "nil" } -} +private import NilLiteralExprImpl +import codeql.swift.elements.expr.LiteralExpr + +final class NilLiteralExpr = Impl::NilLiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/NilLiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/NilLiteralExprImpl.qll new file mode 100644 index 000000000000..a80b29f1ab75 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/NilLiteralExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.NilLiteralExpr + +module Impl { + class NilLiteralExpr extends Generated::NilLiteralExpr { + override string toString() { result = "nil" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/NumberLiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/NumberLiteralExpr.qll index 6161befb7963..e176f2dced56 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/NumberLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/NumberLiteralExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `NumberLiteralExpr`. + * This module provides the public class `NumberLiteralExpr`. */ -private import codeql.swift.generated.expr.NumberLiteralExpr +private import NumberLiteralExprImpl +import codeql.swift.elements.expr.BuiltinLiteralExpr -class NumberLiteralExpr extends Generated::NumberLiteralExpr { } +final class NumberLiteralExpr = Impl::NumberLiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/NumberLiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/NumberLiteralExprImpl.qll new file mode 100644 index 000000000000..c57090004f57 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/NumberLiteralExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `NumberLiteralExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.NumberLiteralExpr + +/** + * INTERNAL: This module contains the customizable definition of `NumberLiteralExpr` and should not + * be referenced directly. + */ +module Impl { + class NumberLiteralExpr extends Generated::NumberLiteralExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ObjCSelectorExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ObjCSelectorExpr.qll index f57555858dab..a8bf77a1a769 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ObjCSelectorExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ObjCSelectorExpr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.expr.ObjCSelectorExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ObjCSelectorExpr`. + */ -class ObjCSelectorExpr extends Generated::ObjCSelectorExpr { - override string toString() { result = "#selector(...)" } -} +private import ObjCSelectorExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.decl.Function + +final class ObjCSelectorExpr = Impl::ObjCSelectorExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ObjCSelectorExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ObjCSelectorExprImpl.qll new file mode 100644 index 000000000000..9d96b84a2f04 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ObjCSelectorExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.ObjCSelectorExpr + +module Impl { + class ObjCSelectorExpr extends Generated::ObjCSelectorExpr { + override string toString() { result = "#selector(...)" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ObjectLiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ObjectLiteralExpr.qll index 183bdb49310d..13fb3a051d82 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ObjectLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ObjectLiteralExpr.qll @@ -1,25 +1,13 @@ -private import codeql.swift.generated.expr.ObjectLiteralExpr - -// the following QLdoc is generated: if you need to edit it, do it in the schema file +// generated by codegen/codegen.py, do not edit /** - * An instance of `#fileLiteral`, `#imageLiteral` or `#colorLiteral` expressions, which are used in playgrounds. + * This module provides the public class `ObjectLiteralExpr`. */ -class ObjectLiteralExpr extends Generated::ObjectLiteralExpr { } - -class FileLiteralExpr extends ObjectLiteralExpr { - FileLiteralExpr() { this.getKind() = 0 } - - override string toString() { result = "#fileLiteral(...)" } -} - -class ImageLiteralExpr extends ObjectLiteralExpr { - ImageLiteralExpr() { this.getKind() = 1 } - override string toString() { result = "#imageLiteral(...)" } -} +private import ObjectLiteralExprImpl +import codeql.swift.elements.expr.Argument +import codeql.swift.elements.expr.LiteralExpr -class ColorLiteralExpr extends ObjectLiteralExpr { - ColorLiteralExpr() { this.getKind() = 2 } - - override string toString() { result = "#colorLiteral(...)" } -} +/** + * An instance of `#fileLiteral`, `#imageLiteral` or `#colorLiteral` expressions, which are used in playgrounds. + */ +final class ObjectLiteralExpr = Impl::ObjectLiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ObjectLiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ObjectLiteralExprImpl.qll new file mode 100644 index 000000000000..2d29e1a0cf53 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ObjectLiteralExprImpl.qll @@ -0,0 +1,27 @@ +private import codeql.swift.generated.expr.ObjectLiteralExpr + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * An instance of `#fileLiteral`, `#imageLiteral` or `#colorLiteral` expressions, which are used in playgrounds. + */ + class ObjectLiteralExpr extends Generated::ObjectLiteralExpr { } + + class FileLiteralExpr extends ObjectLiteralExpr { + FileLiteralExpr() { this.getKind() = 0 } + + override string toString() { result = "#fileLiteral(...)" } + } + + class ImageLiteralExpr extends ObjectLiteralExpr { + ImageLiteralExpr() { this.getKind() = 1 } + + override string toString() { result = "#imageLiteral(...)" } + } + + class ColorLiteralExpr extends ObjectLiteralExpr { + ColorLiteralExpr() { this.getKind() = 2 } + + override string toString() { result = "#colorLiteral(...)" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/OneWayExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/OneWayExpr.qll index 27efdd4d402e..188a75f16887 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/OneWayExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/OneWayExpr.qll @@ -1,7 +1,9 @@ -private import codeql.swift.generated.expr.OneWayExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `OneWayExpr`. + */ -class OneWayExpr extends Generated::OneWayExpr { - override predicate convertsFrom(Expr e) { e = this.getImmediateSubExpr() } +private import OneWayExprImpl +import codeql.swift.elements.expr.Expr - override string toString() { result = this.getSubExpr().toString() } -} +final class OneWayExpr = Impl::OneWayExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/OneWayExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/OneWayExprImpl.qll new file mode 100644 index 000000000000..f69a19547fe7 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/OneWayExprImpl.qll @@ -0,0 +1,9 @@ +private import codeql.swift.generated.expr.OneWayExpr + +module Impl { + class OneWayExpr extends Generated::OneWayExpr { + override predicate convertsFrom(Expr e) { e = this.getImmediateSubExpr() } + + override string toString() { result = this.getSubExpr().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/OpaqueValueExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/OpaqueValueExpr.qll index dbbffe12ebcc..151d0be76bba 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/OpaqueValueExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/OpaqueValueExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `OpaqueValueExpr`. + * This module provides the public class `OpaqueValueExpr`. */ -private import codeql.swift.generated.expr.OpaqueValueExpr +private import OpaqueValueExprImpl +import codeql.swift.elements.expr.Expr -class OpaqueValueExpr extends Generated::OpaqueValueExpr { } +final class OpaqueValueExpr = Impl::OpaqueValueExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/OpaqueValueExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/OpaqueValueExprImpl.qll new file mode 100644 index 000000000000..4ed99c66513e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/OpaqueValueExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `OpaqueValueExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.OpaqueValueExpr + +/** + * INTERNAL: This module contains the customizable definition of `OpaqueValueExpr` and should not + * be referenced directly. + */ +module Impl { + class OpaqueValueExpr extends Generated::OpaqueValueExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/OpenExistentialExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/OpenExistentialExpr.qll index 7ce3712d2822..f7b2ce57cade 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/OpenExistentialExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/OpenExistentialExpr.qll @@ -1,9 +1,11 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `OpenExistentialExpr`. + * This module provides the public class `OpenExistentialExpr`. */ -private import codeql.swift.generated.expr.OpenExistentialExpr +private import OpenExistentialExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.OpaqueValueExpr /** * An implicit expression created by the compiler when a method is called on a protocol. For example in @@ -18,4 +20,4 @@ private import codeql.swift.generated.expr.OpenExistentialExpr * an `OpaqueValueExpr`. * ``` */ -class OpenExistentialExpr extends Generated::OpenExistentialExpr { } +final class OpenExistentialExpr = Impl::OpenExistentialExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/OpenExistentialExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/OpenExistentialExprImpl.qll new file mode 100644 index 000000000000..3b3e9a99ebc6 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/OpenExistentialExprImpl.qll @@ -0,0 +1,29 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `OpenExistentialExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.OpenExistentialExpr + +/** + * INTERNAL: This module contains the customizable definition of `OpenExistentialExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An implicit expression created by the compiler when a method is called on a protocol. For example in + * ``` + * protocol P { + * func foo() -> Int + * } + * func bar(x: P) -> Int { + * return x.foo() + * } + * `x.foo()` is actually wrapped in an `OpenExistentialExpr` that "opens" `x` replacing it in its subexpression with + * an `OpaqueValueExpr`. + * ``` + */ + class OpenExistentialExpr extends Generated::OpenExistentialExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/OptionalEvaluationExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/OptionalEvaluationExpr.qll index faf0bdf16896..bd1bf67f032e 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/OptionalEvaluationExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/OptionalEvaluationExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `OptionalEvaluationExpr`. + * This module provides the public class `OptionalEvaluationExpr`. */ -private import codeql.swift.generated.expr.OptionalEvaluationExpr +private import OptionalEvaluationExprImpl +import codeql.swift.elements.expr.Expr -class OptionalEvaluationExpr extends Generated::OptionalEvaluationExpr { } +final class OptionalEvaluationExpr = Impl::OptionalEvaluationExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/OptionalEvaluationExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/OptionalEvaluationExprImpl.qll new file mode 100644 index 000000000000..3ae9a909bd73 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/OptionalEvaluationExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `OptionalEvaluationExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.OptionalEvaluationExpr + +/** + * INTERNAL: This module contains the customizable definition of `OptionalEvaluationExpr` and should not + * be referenced directly. + */ +module Impl { + class OptionalEvaluationExpr extends Generated::OptionalEvaluationExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/OptionalTryExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/OptionalTryExpr.qll index 98388c788588..1d58eb074b93 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/OptionalTryExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/OptionalTryExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.OptionalTryExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `OptionalTryExpr`. + */ -class OptionalTryExpr extends Generated::OptionalTryExpr { - override string toString() { result = "try? ..." } -} +private import OptionalTryExprImpl +import codeql.swift.elements.expr.AnyTryExpr + +final class OptionalTryExpr = Impl::OptionalTryExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/OptionalTryExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/OptionalTryExprImpl.qll new file mode 100644 index 000000000000..2e92c82e5a30 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/OptionalTryExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.OptionalTryExpr + +module Impl { + class OptionalTryExpr extends Generated::OptionalTryExpr { + override string toString() { result = "try? ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/OtherInitializerRefExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/OtherInitializerRefExpr.qll index 088dd30f486b..46ee599518ad 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/OtherInitializerRefExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/OtherInitializerRefExpr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.expr.OtherInitializerRefExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `OtherInitializerRefExpr`. + */ -class OtherInitializerRefExpr extends Generated::OtherInitializerRefExpr { - override string toString() { result = this.getInitializer().toString() } -} +private import OtherInitializerRefExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.decl.Initializer + +final class OtherInitializerRefExpr = Impl::OtherInitializerRefExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/OtherInitializerRefExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/OtherInitializerRefExprImpl.qll new file mode 100644 index 000000000000..50c9355f438e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/OtherInitializerRefExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.OtherInitializerRefExpr + +module Impl { + class OtherInitializerRefExpr extends Generated::OtherInitializerRefExpr { + override string toString() { result = this.getInitializer().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/OverloadedDeclRefExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/OverloadedDeclRefExpr.qll index eef814fab1e9..7334104e3c03 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/OverloadedDeclRefExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/OverloadedDeclRefExpr.qll @@ -1,12 +1,15 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `OverloadedDeclRefExpr`. + * This module provides the public class `OverloadedDeclRefExpr`. */ -private import codeql.swift.generated.expr.OverloadedDeclRefExpr +private import OverloadedDeclRefExprImpl +import codeql.swift.elements.ErrorElement +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.decl.ValueDecl /** * An ambiguous expression that might refer to multiple declarations. This will be present only * for failing compilations. */ -class OverloadedDeclRefExpr extends Generated::OverloadedDeclRefExpr { } +final class OverloadedDeclRefExpr = Impl::OverloadedDeclRefExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/OverloadedDeclRefExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/OverloadedDeclRefExprImpl.qll new file mode 100644 index 000000000000..360fb99e8790 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/OverloadedDeclRefExprImpl.qll @@ -0,0 +1,20 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `OverloadedDeclRefExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.OverloadedDeclRefExpr + +/** + * INTERNAL: This module contains the customizable definition of `OverloadedDeclRefExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An ambiguous expression that might refer to multiple declarations. This will be present only + * for failing compilations. + */ + class OverloadedDeclRefExpr extends Generated::OverloadedDeclRefExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/PackElementExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/PackElementExpr.qll index 287f06efea8c..3637ca9a181b 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/PackElementExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/PackElementExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PackElementExpr`. + * This module provides the public class `PackElementExpr`. */ -private import codeql.swift.generated.expr.PackElementExpr +private import PackElementExprImpl +import codeql.swift.elements.expr.Expr /** * A pack element expression is a child of PackExpansionExpr. @@ -18,4 +19,4 @@ private import codeql.swift.generated.expr.PackElementExpr * More details: * https://github.com/apple/swift-evolution/blob/main/proposals/0393-parameter-packs.md */ -class PackElementExpr extends Generated::PackElementExpr { } +final class PackElementExpr = Impl::PackElementExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/PackElementExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/PackElementExprImpl.qll new file mode 100644 index 000000000000..fc54acbeeaf5 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/PackElementExprImpl.qll @@ -0,0 +1,29 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PackElementExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.PackElementExpr + +/** + * INTERNAL: This module contains the customizable definition of `PackElementExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A pack element expression is a child of PackExpansionExpr. + * + * In the following example, `each t` on the second line is the pack element expression: + * ``` + * func makeTuple(_ t: repeat each T) -> (repeat each T) { + * return (repeat each t) + * } + * ``` + * + * More details: + * https://github.com/apple/swift-evolution/blob/main/proposals/0393-parameter-packs.md + */ + class PackElementExpr extends Generated::PackElementExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/PackExpansionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/PackExpansionExpr.qll index 9a55630e8ca6..e420ec0d7987 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/PackExpansionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/PackExpansionExpr.qll @@ -1,9 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PackExpansionExpr`. + * This module provides the public class `PackExpansionExpr`. */ -private import codeql.swift.generated.expr.PackExpansionExpr +private import PackExpansionExprImpl +import codeql.swift.elements.expr.Expr /** * A pack expansion expression. @@ -18,4 +19,4 @@ private import codeql.swift.generated.expr.PackExpansionExpr * More details: * https://github.com/apple/swift-evolution/blob/main/proposals/0393-parameter-packs.md */ -class PackExpansionExpr extends Generated::PackExpansionExpr { } +final class PackExpansionExpr = Impl::PackExpansionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/PackExpansionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/PackExpansionExprImpl.qll new file mode 100644 index 000000000000..e1c22070f9f8 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/PackExpansionExprImpl.qll @@ -0,0 +1,29 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PackExpansionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.PackExpansionExpr + +/** + * INTERNAL: This module contains the customizable definition of `PackExpansionExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A pack expansion expression. + * + * In the following example, `repeat each t` on the second line is the pack expansion expression: + * ``` + * func makeTuple(_ t: repeat each T) -> (repeat each T) { + * return (repeat each t) + * } + * ``` + * + * More details: + * https://github.com/apple/swift-evolution/blob/main/proposals/0393-parameter-packs.md + */ + class PackExpansionExpr extends Generated::PackExpansionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ParenExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ParenExpr.qll index 072f47dd1bd9..503ec46070f6 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ParenExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ParenExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.ParenExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ParenExpr`. + */ -class ParenExpr extends Generated::ParenExpr { - override string toString() { result = "(...)" } -} +private import ParenExprImpl +import codeql.swift.elements.expr.IdentityExpr + +final class ParenExpr = Impl::ParenExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ParenExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ParenExprImpl.qll new file mode 100644 index 000000000000..0db93aeb20c2 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ParenExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.ParenExpr + +module Impl { + class ParenExpr extends Generated::ParenExpr { + override string toString() { result = "(...)" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/PointerToPointerExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/PointerToPointerExpr.qll index daf0175d173c..5ea9b23aaedc 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/PointerToPointerExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/PointerToPointerExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PointerToPointerExpr`. + * This module provides the public class `PointerToPointerExpr`. */ -private import codeql.swift.generated.expr.PointerToPointerExpr +private import PointerToPointerExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class PointerToPointerExpr extends Generated::PointerToPointerExpr { } +final class PointerToPointerExpr = Impl::PointerToPointerExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/PointerToPointerExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/PointerToPointerExprImpl.qll new file mode 100644 index 000000000000..b2a8f258f93b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/PointerToPointerExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PointerToPointerExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.PointerToPointerExpr + +/** + * INTERNAL: This module contains the customizable definition of `PointerToPointerExpr` and should not + * be referenced directly. + */ +module Impl { + class PointerToPointerExpr extends Generated::PointerToPointerExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/PostfixUnaryExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/PostfixUnaryExpr.qll index 1358f385fc94..52bccd31000d 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/PostfixUnaryExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/PostfixUnaryExpr.qll @@ -1,22 +1,9 @@ -private import codeql.swift.generated.expr.PostfixUnaryExpr -private import codeql.swift.elements.expr.Expr -private import codeql.swift.elements.decl.Function - +// generated by codegen/codegen.py, do not edit /** - * A Swift postfix unary expression, that is, a unary expression that appears - * after its operand. For example: - * ``` - * x! - * ``` + * This module provides the public class `PostfixUnaryExpr`. */ -class PostfixUnaryExpr extends Generated::PostfixUnaryExpr { - /** - * Gets the operand (expression) of this postfix unary expression. - */ - Expr getOperand() { result = this.getAnArgument().getExpr() } - /** - * Gets the operator of this postfix unary expression (the function that is called). - */ - Function getOperator() { result = this.getStaticTarget() } -} +private import PostfixUnaryExprImpl +import codeql.swift.elements.expr.ApplyExpr + +final class PostfixUnaryExpr = Impl::PostfixUnaryExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/PostfixUnaryExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/PostfixUnaryExprImpl.qll new file mode 100644 index 000000000000..26a303d6f462 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/PostfixUnaryExprImpl.qll @@ -0,0 +1,24 @@ +private import codeql.swift.generated.expr.PostfixUnaryExpr +private import codeql.swift.elements.expr.Expr +private import codeql.swift.elements.decl.Function + +module Impl { + /** + * A Swift postfix unary expression, that is, a unary expression that appears + * after its operand. For example: + * ``` + * x! + * ``` + */ + class PostfixUnaryExpr extends Generated::PostfixUnaryExpr { + /** + * Gets the operand (expression) of this postfix unary expression. + */ + Expr getOperand() { result = this.getAnArgument().getExpr() } + + /** + * Gets the operator of this postfix unary expression (the function that is called). + */ + Function getOperator() { result = this.getStaticTarget() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/PrefixUnaryExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/PrefixUnaryExpr.qll index 64b01eb26397..63572eed4ae6 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/PrefixUnaryExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/PrefixUnaryExpr.qll @@ -1,24 +1,9 @@ -private import codeql.swift.generated.expr.PrefixUnaryExpr -private import codeql.swift.elements.expr.Expr -private import codeql.swift.elements.decl.Function - +// generated by codegen/codegen.py, do not edit /** - * A Swift prefix unary expression, that is, a unary expression that appears - * before its operand. For example: - * ``` - * -x - * ``` + * This module provides the public class `PrefixUnaryExpr`. */ -class PrefixUnaryExpr extends Generated::PrefixUnaryExpr { - /** - * Gets the operand (expression) of this prefix unary expression. - */ - Expr getOperand() { result = this.getAnArgument().getExpr() } - /** - * Gets the operator of this prefix unary expression (the function that is called). - */ - Function getOperator() { result = this.getStaticTarget() } +private import PrefixUnaryExprImpl +import codeql.swift.elements.expr.ApplyExpr - override Function getStaticTarget() { result = super.getStaticTarget() } -} +final class PrefixUnaryExpr = Impl::PrefixUnaryExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/PrefixUnaryExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/PrefixUnaryExprImpl.qll new file mode 100644 index 000000000000..18dda27d4d59 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/PrefixUnaryExprImpl.qll @@ -0,0 +1,26 @@ +private import codeql.swift.generated.expr.PrefixUnaryExpr +private import codeql.swift.elements.expr.Expr +private import codeql.swift.elements.decl.Function + +module Impl { + /** + * A Swift prefix unary expression, that is, a unary expression that appears + * before its operand. For example: + * ``` + * -x + * ``` + */ + class PrefixUnaryExpr extends Generated::PrefixUnaryExpr { + /** + * Gets the operand (expression) of this prefix unary expression. + */ + Expr getOperand() { result = this.getAnArgument().getExpr() } + + /** + * Gets the operator of this prefix unary expression (the function that is called). + */ + Function getOperator() { result = this.getStaticTarget() } + + override Function getStaticTarget() { result = super.getStaticTarget() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExpr.qll index 5e9612f17a4b..23de4a964e0a 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExpr.qll @@ -1,12 +1,14 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PropertyWrapperValuePlaceholderExpr`. + * This module provides the public class `PropertyWrapperValuePlaceholderExpr`. */ -private import codeql.swift.generated.expr.PropertyWrapperValuePlaceholderExpr +private import PropertyWrapperValuePlaceholderExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.OpaqueValueExpr /** * A placeholder substituting property initializations with `=` when the property has a property * wrapper with an initializer. */ -class PropertyWrapperValuePlaceholderExpr extends Generated::PropertyWrapperValuePlaceholderExpr { } +final class PropertyWrapperValuePlaceholderExpr = Impl::PropertyWrapperValuePlaceholderExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExprImpl.qll new file mode 100644 index 000000000000..0bef8e2d2d6d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/PropertyWrapperValuePlaceholderExprImpl.qll @@ -0,0 +1,21 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PropertyWrapperValuePlaceholderExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.PropertyWrapperValuePlaceholderExpr + +/** + * INTERNAL: This module contains the customizable definition of `PropertyWrapperValuePlaceholderExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * A placeholder substituting property initializations with `=` when the property has a property + * wrapper with an initializer. + */ + class PropertyWrapperValuePlaceholderExpr extends Generated::PropertyWrapperValuePlaceholderExpr { + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExpr.qll index 90606e3e9328..03ca4bcb94c8 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ProtocolMetatypeToObjectExpr`. + * This module provides the public class `ProtocolMetatypeToObjectExpr`. */ -private import codeql.swift.generated.expr.ProtocolMetatypeToObjectExpr +private import ProtocolMetatypeToObjectExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class ProtocolMetatypeToObjectExpr extends Generated::ProtocolMetatypeToObjectExpr { } +final class ProtocolMetatypeToObjectExpr = Impl::ProtocolMetatypeToObjectExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExprImpl.qll new file mode 100644 index 000000000000..537d388c86a1 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/ProtocolMetatypeToObjectExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ProtocolMetatypeToObjectExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.ProtocolMetatypeToObjectExpr + +/** + * INTERNAL: This module contains the customizable definition of `ProtocolMetatypeToObjectExpr` and should not + * be referenced directly. + */ +module Impl { + class ProtocolMetatypeToObjectExpr extends Generated::ProtocolMetatypeToObjectExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/RebindSelfInInitializerExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/RebindSelfInInitializerExpr.qll index 25d20434189e..8676e4d94402 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/RebindSelfInInitializerExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/RebindSelfInInitializerExpr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.expr.RebindSelfInInitializerExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `RebindSelfInInitializerExpr`. + */ -class RebindSelfInInitializerExpr extends Generated::RebindSelfInInitializerExpr { - override string toString() { result = "self = ..." } -} +private import RebindSelfInInitializerExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.decl.VarDecl + +final class RebindSelfInInitializerExpr = Impl::RebindSelfInInitializerExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/RebindSelfInInitializerExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/RebindSelfInInitializerExprImpl.qll new file mode 100644 index 000000000000..7b74336ceedf --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/RebindSelfInInitializerExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.RebindSelfInInitializerExpr + +module Impl { + class RebindSelfInInitializerExpr extends Generated::RebindSelfInInitializerExpr { + override string toString() { result = "self = ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/RegexLiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/RegexLiteralExpr.qll index af8e18e42ee3..0229cb2787fa 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/RegexLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/RegexLiteralExpr.qll @@ -1,9 +1,12 @@ -private import codeql.swift.generated.expr.RegexLiteralExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `RegexLiteralExpr`. + */ + +private import RegexLiteralExprImpl +import codeql.swift.elements.expr.LiteralExpr -// the following QLdoc is generated: if you need to edit it, do it in the schema file /** * A regular expression literal which is checked at compile time, for example `/a(a|b)*b/`. */ -class RegexLiteralExpr extends Generated::RegexLiteralExpr { - override string toString() { result = this.getPattern() } -} +final class RegexLiteralExpr = Impl::RegexLiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/RegexLiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/RegexLiteralExprImpl.qll new file mode 100644 index 000000000000..8d2271838aef --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/RegexLiteralExprImpl.qll @@ -0,0 +1,11 @@ +private import codeql.swift.generated.expr.RegexLiteralExpr + +module Impl { + // the following QLdoc is generated: if you need to edit it, do it in the schema file + /** + * A regular expression literal which is checked at compile time, for example `/a(a|b)*b/`. + */ + class RegexLiteralExpr extends Generated::RegexLiteralExpr { + override string toString() { result = this.getPattern() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/SelfApplyExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/SelfApplyExpr.qll index dbbe121cf3b3..138b48e01a5e 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/SelfApplyExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/SelfApplyExpr.qll @@ -1,14 +1,15 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `SelfApplyExpr`. - * INTERNAL: Do not use. + * This module provides the public class `SelfApplyExpr`. */ -private import codeql.swift.generated.expr.SelfApplyExpr +private import SelfApplyExprImpl +import codeql.swift.elements.expr.ApplyExpr +import codeql.swift.elements.expr.Expr /** * An internal raw instance of method lookups like `x.foo` in `x.foo()`. * This is completely replaced by the synthesized type `MethodLookupExpr`. * INTERNAL: Do not use. */ -class SelfApplyExpr extends Generated::SelfApplyExpr { } +final class SelfApplyExpr = Impl::SelfApplyExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/SelfApplyExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/SelfApplyExprImpl.qll new file mode 100644 index 000000000000..ce66e7243504 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/SelfApplyExprImpl.qll @@ -0,0 +1,20 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `SelfApplyExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.SelfApplyExpr + +/** + * INTERNAL: This module contains the customizable definition of `SelfApplyExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An internal raw instance of method lookups like `x.foo` in `x.foo()`. + * This is completely replaced by the synthesized type `MethodLookupExpr`. + */ + class SelfApplyExpr extends Generated::SelfApplyExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/SelfRefExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/SelfRefExpr.qll index 7ffc7a6af205..e5178f9ccab9 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/SelfRefExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/SelfRefExpr.qll @@ -3,7 +3,7 @@ private import codeql.swift.elements.decl.Method private import codeql.swift.elements.decl.VarDecl /** A reference to `self`. */ -class SelfRefExpr extends DeclRefExpr { +final class SelfRefExpr extends DeclRefExpr { Method method; SelfRefExpr() { this.getDecl() = method.getSelfParam() } diff --git a/swift/ql/lib/codeql/swift/elements/expr/SequenceExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/SequenceExpr.qll index c419d8fb180a..8b2bb354582a 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/SequenceExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/SequenceExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `SequenceExpr`. + * This module provides the public class `SequenceExpr`. */ -private import codeql.swift.generated.expr.SequenceExpr +private import SequenceExprImpl +import codeql.swift.elements.expr.Expr -class SequenceExpr extends Generated::SequenceExpr { } +final class SequenceExpr = Impl::SequenceExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/SequenceExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/SequenceExprImpl.qll new file mode 100644 index 000000000000..efaf892f2b33 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/SequenceExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `SequenceExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.SequenceExpr + +/** + * INTERNAL: This module contains the customizable definition of `SequenceExpr` and should not + * be referenced directly. + */ +module Impl { + class SequenceExpr extends Generated::SequenceExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/SingleValueStmtExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/SingleValueStmtExpr.qll index 02afcca54994..4fe142ec0788 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/SingleValueStmtExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/SingleValueStmtExpr.qll @@ -1,11 +1,13 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `SingleValueStmtExpr`. + * This module provides the public class `SingleValueStmtExpr`. */ -private import codeql.swift.generated.expr.SingleValueStmtExpr +private import SingleValueStmtExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.stmt.Stmt /** * An expression that wraps a statement which produces a single value. */ -class SingleValueStmtExpr extends Generated::SingleValueStmtExpr { } +final class SingleValueStmtExpr = Impl::SingleValueStmtExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/SingleValueStmtExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/SingleValueStmtExprImpl.qll new file mode 100644 index 000000000000..399a0c19e8df --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/SingleValueStmtExprImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `SingleValueStmtExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.SingleValueStmtExpr + +/** + * INTERNAL: This module contains the customizable definition of `SingleValueStmtExpr` and should not + * be referenced directly. + */ +module Impl { + /** + * An expression that wraps a statement which produces a single value. + */ + class SingleValueStmtExpr extends Generated::SingleValueStmtExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/StringLiteralExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/StringLiteralExpr.qll index c3ead49febbe..1c66bd85027e 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/StringLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/StringLiteralExpr.qll @@ -1,13 +1,9 @@ -private import codeql.swift.generated.expr.StringLiteralExpr - +// generated by codegen/codegen.py, do not edit /** - * A string literal. For example `"abc"` in: - * ``` - * let x = "abc" - * ``` + * This module provides the public class `StringLiteralExpr`. */ -class StringLiteralExpr extends Generated::StringLiteralExpr { - override string toString() { result = this.getValue() } - override string getValueString() { result = this.getValue() } -} +private import StringLiteralExprImpl +import codeql.swift.elements.expr.BuiltinLiteralExpr + +final class StringLiteralExpr = Impl::StringLiteralExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/StringLiteralExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/StringLiteralExprImpl.qll new file mode 100644 index 000000000000..3e8f6e7592ec --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/StringLiteralExprImpl.qll @@ -0,0 +1,15 @@ +private import codeql.swift.generated.expr.StringLiteralExpr + +module Impl { + /** + * A string literal. For example `"abc"` in: + * ``` + * let x = "abc" + * ``` + */ + class StringLiteralExpr extends Generated::StringLiteralExpr { + override string toString() { result = this.getValue() } + + override string getValueString() { result = this.getValue() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/StringToPointerExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/StringToPointerExpr.qll index 6658dcf78ade..e8e6902afba6 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/StringToPointerExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/StringToPointerExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `StringToPointerExpr`. + * This module provides the public class `StringToPointerExpr`. */ -private import codeql.swift.generated.expr.StringToPointerExpr +private import StringToPointerExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class StringToPointerExpr extends Generated::StringToPointerExpr { } +final class StringToPointerExpr = Impl::StringToPointerExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/StringToPointerExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/StringToPointerExprImpl.qll new file mode 100644 index 000000000000..77ef5156b68b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/StringToPointerExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `StringToPointerExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.StringToPointerExpr + +/** + * INTERNAL: This module contains the customizable definition of `StringToPointerExpr` and should not + * be referenced directly. + */ +module Impl { + class StringToPointerExpr extends Generated::StringToPointerExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/SubscriptExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/SubscriptExpr.qll index 143e18523f82..2470f3059379 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/SubscriptExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/SubscriptExpr.qll @@ -1,19 +1,10 @@ -private import codeql.swift.generated.expr.SubscriptExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `SubscriptExpr`. + */ -class SubscriptExpr extends Generated::SubscriptExpr { - Argument getFirstArgument() { - exists(int i | - result = this.getArgument(i) and - not exists(this.getArgument(i - 1)) - ) - } +private import SubscriptExprImpl +import codeql.swift.elements.expr.Argument +import codeql.swift.elements.expr.LookupExpr - Argument getLastArgument() { - exists(int i | - result = this.getArgument(i) and - not exists(this.getArgument(i + 1)) - ) - } - - override string toString() { result = "...[...]" } -} +final class SubscriptExpr = Impl::SubscriptExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/SubscriptExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/SubscriptExprImpl.qll new file mode 100644 index 000000000000..34e19ccfe61c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/SubscriptExprImpl.qll @@ -0,0 +1,21 @@ +private import codeql.swift.generated.expr.SubscriptExpr + +module Impl { + class SubscriptExpr extends Generated::SubscriptExpr { + Argument getFirstArgument() { + exists(int i | + result = this.getArgument(i) and + not exists(this.getArgument(i - 1)) + ) + } + + Argument getLastArgument() { + exists(int i | + result = this.getArgument(i) and + not exists(this.getArgument(i + 1)) + ) + } + + override string toString() { result = "...[...]" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/SuperRefExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/SuperRefExpr.qll index 5931f68488b2..e2925a1a40f7 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/SuperRefExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/SuperRefExpr.qll @@ -1,9 +1,10 @@ -private import codeql.swift.generated.expr.SuperRefExpr -private import codeql.swift.elements.decl.Method +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `SuperRefExpr`. + */ -/** A reference to `super`. */ -class SuperRefExpr extends Generated::SuperRefExpr { - override string toString() { result = "super" } +private import SuperRefExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.decl.VarDecl - Method getDeclaringMethod() { this.getSelf() = result.getSelfParam() } -} +final class SuperRefExpr = Impl::SuperRefExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/SuperRefExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/SuperRefExprImpl.qll new file mode 100644 index 000000000000..d1afe5938967 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/SuperRefExprImpl.qll @@ -0,0 +1,11 @@ +private import codeql.swift.generated.expr.SuperRefExpr +private import codeql.swift.elements.decl.Method + +module Impl { + /** A reference to `super`. */ + class SuperRefExpr extends Generated::SuperRefExpr { + override string toString() { result = "super" } + + Method getDeclaringMethod() { this.getSelf() = result.getSelfParam() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/TapExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/TapExpr.qll index 9dc8f0a44a42..1e1cd971a05b 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/TapExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/TapExpr.qll @@ -1,11 +1,11 @@ -private import codeql.swift.generated.expr.TapExpr - +// generated by codegen/codegen.py, do not edit /** - * A `TapExpr` is an internal expression generated by the Swift compiler. - * - * If `e` is a `TapExpr`, the semantics of evaluating `e` is: - * 1. Create a local variable `e.getVar()` and assign it the value `e.getSubExpr()`. - * 2. Execute `e.getBody()` which potentially modifies the local variable. - * 3. Return the value of the local variable. + * This module provides the public class `TapExpr`. */ -class TapExpr extends Generated::TapExpr { } + +private import TapExprImpl +import codeql.swift.elements.stmt.BraceStmt +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.decl.VarDecl + +final class TapExpr = Impl::TapExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/TapExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/TapExprImpl.qll new file mode 100644 index 000000000000..2d109e0f2b62 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/TapExprImpl.qll @@ -0,0 +1,13 @@ +private import codeql.swift.generated.expr.TapExpr + +module Impl { + /** + * A `TapExpr` is an internal expression generated by the Swift compiler. + * + * If `e` is a `TapExpr`, the semantics of evaluating `e` is: + * 1. Create a local variable `e.getVar()` and assign it the value `e.getSubExpr()`. + * 2. Execute `e.getBody()` which potentially modifies the local variable. + * 3. Return the value of the local variable. + */ + class TapExpr extends Generated::TapExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/TryExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/TryExpr.qll index 88f3955ba45e..cd4240effd4d 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/TryExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/TryExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.TryExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `TryExpr`. + */ -class TryExpr extends Generated::TryExpr { - override string toString() { result = "try ..." } -} +private import TryExprImpl +import codeql.swift.elements.expr.AnyTryExpr + +final class TryExpr = Impl::TryExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/TryExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/TryExprImpl.qll new file mode 100644 index 000000000000..b372e4f22e7b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/TryExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.TryExpr + +module Impl { + class TryExpr extends Generated::TryExpr { + override string toString() { result = "try ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/TupleElementExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/TupleElementExpr.qll index d2dd365234af..988e2861a089 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/TupleElementExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/TupleElementExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.TupleElementExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `TupleElementExpr`. + */ -class TupleElementExpr extends Generated::TupleElementExpr { - override string toString() { result = "." + this.getIndex() } -} +private import TupleElementExprImpl +import codeql.swift.elements.expr.Expr + +final class TupleElementExpr = Impl::TupleElementExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/TupleElementExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/TupleElementExprImpl.qll new file mode 100644 index 000000000000..18ff29f6832d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/TupleElementExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.TupleElementExpr + +module Impl { + class TupleElementExpr extends Generated::TupleElementExpr { + override string toString() { result = "." + this.getIndex() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/TupleExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/TupleExpr.qll index 0431ad5eb58f..88a814483075 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/TupleExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/TupleExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.TupleExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `TupleExpr`. + */ -class TupleExpr extends Generated::TupleExpr { - override string toString() { result = "(...)" } -} +private import TupleExprImpl +import codeql.swift.elements.expr.Expr + +final class TupleExpr = Impl::TupleExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/TupleExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/TupleExprImpl.qll new file mode 100644 index 000000000000..f2322ef2de1f --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/TupleExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.TupleExpr + +module Impl { + class TupleExpr extends Generated::TupleExpr { + override string toString() { result = "(...)" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/TypeExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/TypeExpr.qll index 1930c055f1c9..79e8ee169c24 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/TypeExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/TypeExpr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.expr.TypeExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `TypeExpr`. + */ -class TypeExpr extends Generated::TypeExpr { - override string toString() { result = this.getType().toString() } -} +private import TypeExprImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.type.TypeRepr + +final class TypeExpr = Impl::TypeExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/TypeExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/TypeExprImpl.qll new file mode 100644 index 000000000000..d2e3ad63ebee --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/TypeExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.TypeExpr + +module Impl { + class TypeExpr extends Generated::TypeExpr { + override string toString() { result = this.getType().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnderlyingToOpaqueExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/UnderlyingToOpaqueExpr.qll index cdd57f35fe0b..52d30163e92a 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/UnderlyingToOpaqueExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/UnderlyingToOpaqueExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnderlyingToOpaqueExpr`. + * This module provides the public class `UnderlyingToOpaqueExpr`. */ -private import codeql.swift.generated.expr.UnderlyingToOpaqueExpr +private import UnderlyingToOpaqueExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class UnderlyingToOpaqueExpr extends Generated::UnderlyingToOpaqueExpr { } +final class UnderlyingToOpaqueExpr = Impl::UnderlyingToOpaqueExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnderlyingToOpaqueExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/UnderlyingToOpaqueExprImpl.qll new file mode 100644 index 000000000000..2980c0ab6064 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/UnderlyingToOpaqueExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnderlyingToOpaqueExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.UnderlyingToOpaqueExpr + +/** + * INTERNAL: This module contains the customizable definition of `UnderlyingToOpaqueExpr` and should not + * be referenced directly. + */ +module Impl { + class UnderlyingToOpaqueExpr extends Generated::UnderlyingToOpaqueExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnevaluatedInstanceExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/UnevaluatedInstanceExpr.qll index a7f45210357c..eb114f9d4289 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/UnevaluatedInstanceExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/UnevaluatedInstanceExpr.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnevaluatedInstanceExpr`. + * This module provides the public class `UnevaluatedInstanceExpr`. */ -private import codeql.swift.generated.expr.UnevaluatedInstanceExpr +private import UnevaluatedInstanceExprImpl +import codeql.swift.elements.expr.ImplicitConversionExpr -class UnevaluatedInstanceExpr extends Generated::UnevaluatedInstanceExpr { } +final class UnevaluatedInstanceExpr = Impl::UnevaluatedInstanceExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnevaluatedInstanceExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/UnevaluatedInstanceExprImpl.qll new file mode 100644 index 000000000000..0e321cdd0298 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/UnevaluatedInstanceExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnevaluatedInstanceExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.UnevaluatedInstanceExpr + +/** + * INTERNAL: This module contains the customizable definition of `UnevaluatedInstanceExpr` and should not + * be referenced directly. + */ +module Impl { + class UnevaluatedInstanceExpr extends Generated::UnevaluatedInstanceExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDeclRefExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDeclRefExpr.qll index 879ca417e7b2..f13e67cefb9f 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDeclRefExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDeclRefExpr.qll @@ -1,9 +1,10 @@ -private import codeql.swift.generated.expr.UnresolvedDeclRefExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `UnresolvedDeclRefExpr`. + */ -class UnresolvedDeclRefExpr extends Generated::UnresolvedDeclRefExpr { - override string toString() { - result = this.getName() + " (unresolved)" - or - not this.hasName() and result = "(unresolved)" - } -} +private import UnresolvedDeclRefExprImpl +import codeql.swift.elements.ErrorElement +import codeql.swift.elements.expr.Expr + +final class UnresolvedDeclRefExpr = Impl::UnresolvedDeclRefExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDeclRefExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDeclRefExprImpl.qll new file mode 100644 index 000000000000..92a534e9226f --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDeclRefExprImpl.qll @@ -0,0 +1,11 @@ +private import codeql.swift.generated.expr.UnresolvedDeclRefExpr + +module Impl { + class UnresolvedDeclRefExpr extends Generated::UnresolvedDeclRefExpr { + override string toString() { + result = this.getName() + " (unresolved)" + or + not this.hasName() and result = "(unresolved)" + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDotExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDotExpr.qll index 82dcc0b4eec6..c1ab3ec25bfd 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDotExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDotExpr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.expr.UnresolvedDotExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `UnresolvedDotExpr`. + */ -class UnresolvedDotExpr extends Generated::UnresolvedDotExpr { - override string toString() { result = "... ." + this.getName() } -} +private import UnresolvedDotExprImpl +import codeql.swift.elements.ErrorElement +import codeql.swift.elements.expr.Expr + +final class UnresolvedDotExpr = Impl::UnresolvedDotExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDotExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDotExprImpl.qll new file mode 100644 index 000000000000..4ecd37ad0f72 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedDotExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.UnresolvedDotExpr + +module Impl { + class UnresolvedDotExpr extends Generated::UnresolvedDotExpr { + override string toString() { result = "... ." + this.getName() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExpr.qll index 8c456c35c862..939d2aa26a70 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExpr.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnresolvedMemberChainResultExpr`. + * This module provides the public class `UnresolvedMemberChainResultExpr`. */ -private import codeql.swift.generated.expr.UnresolvedMemberChainResultExpr +private import UnresolvedMemberChainResultExprImpl +import codeql.swift.elements.ErrorElement +import codeql.swift.elements.expr.IdentityExpr -class UnresolvedMemberChainResultExpr extends Generated::UnresolvedMemberChainResultExpr { } +final class UnresolvedMemberChainResultExpr = Impl::UnresolvedMemberChainResultExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExprImpl.qll new file mode 100644 index 000000000000..ceded4932739 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberChainResultExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnresolvedMemberChainResultExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.UnresolvedMemberChainResultExpr + +/** + * INTERNAL: This module contains the customizable definition of `UnresolvedMemberChainResultExpr` and should not + * be referenced directly. + */ +module Impl { + class UnresolvedMemberChainResultExpr extends Generated::UnresolvedMemberChainResultExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberExpr.qll index c1a8ef3211ec..8711a466be52 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberExpr.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnresolvedMemberExpr`. + * This module provides the public class `UnresolvedMemberExpr`. */ -private import codeql.swift.generated.expr.UnresolvedMemberExpr +private import UnresolvedMemberExprImpl +import codeql.swift.elements.ErrorElement +import codeql.swift.elements.expr.Expr -class UnresolvedMemberExpr extends Generated::UnresolvedMemberExpr { } +final class UnresolvedMemberExpr = Impl::UnresolvedMemberExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberExprImpl.qll new file mode 100644 index 000000000000..a3dffb135974 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedMemberExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnresolvedMemberExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.UnresolvedMemberExpr + +/** + * INTERNAL: This module contains the customizable definition of `UnresolvedMemberExpr` and should not + * be referenced directly. + */ +module Impl { + class UnresolvedMemberExpr extends Generated::UnresolvedMemberExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedPatternExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedPatternExpr.qll index c6a1e6a81818..de80ed6accc3 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedPatternExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedPatternExpr.qll @@ -1,8 +1,11 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnresolvedPatternExpr`. + * This module provides the public class `UnresolvedPatternExpr`. */ -private import codeql.swift.generated.expr.UnresolvedPatternExpr +private import UnresolvedPatternExprImpl +import codeql.swift.elements.ErrorElement +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.pattern.Pattern -class UnresolvedPatternExpr extends Generated::UnresolvedPatternExpr { } +final class UnresolvedPatternExpr = Impl::UnresolvedPatternExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedPatternExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedPatternExprImpl.qll new file mode 100644 index 000000000000..37cfa434a6b3 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedPatternExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnresolvedPatternExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.UnresolvedPatternExpr + +/** + * INTERNAL: This module contains the customizable definition of `UnresolvedPatternExpr` and should not + * be referenced directly. + */ +module Impl { + class UnresolvedPatternExpr extends Generated::UnresolvedPatternExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedSpecializeExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedSpecializeExpr.qll index 91e620e264fb..619fc6890da3 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedSpecializeExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedSpecializeExpr.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnresolvedSpecializeExpr`. + * This module provides the public class `UnresolvedSpecializeExpr`. */ -private import codeql.swift.generated.expr.UnresolvedSpecializeExpr +private import UnresolvedSpecializeExprImpl +import codeql.swift.elements.ErrorElement +import codeql.swift.elements.expr.Expr -class UnresolvedSpecializeExpr extends Generated::UnresolvedSpecializeExpr { } +final class UnresolvedSpecializeExpr = Impl::UnresolvedSpecializeExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedSpecializeExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedSpecializeExprImpl.qll new file mode 100644 index 000000000000..6a2703b867f2 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedSpecializeExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnresolvedSpecializeExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.UnresolvedSpecializeExpr + +/** + * INTERNAL: This module contains the customizable definition of `UnresolvedSpecializeExpr` and should not + * be referenced directly. + */ +module Impl { + class UnresolvedSpecializeExpr extends Generated::UnresolvedSpecializeExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedTypeConversionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedTypeConversionExpr.qll index ec337d244ff8..be9a5216b641 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedTypeConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedTypeConversionExpr.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnresolvedTypeConversionExpr`. + * This module provides the public class `UnresolvedTypeConversionExpr`. */ -private import codeql.swift.generated.expr.UnresolvedTypeConversionExpr +private import UnresolvedTypeConversionExprImpl +import codeql.swift.elements.ErrorElement +import codeql.swift.elements.expr.ImplicitConversionExpr -class UnresolvedTypeConversionExpr extends Generated::UnresolvedTypeConversionExpr { } +final class UnresolvedTypeConversionExpr = Impl::UnresolvedTypeConversionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/UnresolvedTypeConversionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedTypeConversionExprImpl.qll new file mode 100644 index 000000000000..005600165c25 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/UnresolvedTypeConversionExprImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnresolvedTypeConversionExpr`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.expr.UnresolvedTypeConversionExpr + +/** + * INTERNAL: This module contains the customizable definition of `UnresolvedTypeConversionExpr` and should not + * be referenced directly. + */ +module Impl { + class UnresolvedTypeConversionExpr extends Generated::UnresolvedTypeConversionExpr { } +} diff --git a/swift/ql/lib/codeql/swift/elements/expr/VarargExpansionExpr.qll b/swift/ql/lib/codeql/swift/elements/expr/VarargExpansionExpr.qll index 2547237c1e8a..dab4064dff90 100644 --- a/swift/ql/lib/codeql/swift/elements/expr/VarargExpansionExpr.qll +++ b/swift/ql/lib/codeql/swift/elements/expr/VarargExpansionExpr.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.expr.VarargExpansionExpr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `VarargExpansionExpr`. + */ -class VarargExpansionExpr extends Generated::VarargExpansionExpr { - override string toString() { result = this.getSubExpr().toString() } -} +private import VarargExpansionExprImpl +import codeql.swift.elements.expr.Expr + +final class VarargExpansionExpr = Impl::VarargExpansionExpr; diff --git a/swift/ql/lib/codeql/swift/elements/expr/VarargExpansionExprImpl.qll b/swift/ql/lib/codeql/swift/elements/expr/VarargExpansionExprImpl.qll new file mode 100644 index 000000000000..98ceee8e8e7b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/expr/VarargExpansionExprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.expr.VarargExpansionExpr + +module Impl { + class VarargExpansionExpr extends Generated::VarargExpansionExpr { + override string toString() { result = this.getSubExpr().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/AnyPattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/AnyPattern.qll index 0f57e9c7f832..8422d60981ea 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/AnyPattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/AnyPattern.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.pattern.AnyPattern +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `AnyPattern`. + */ -class AnyPattern extends Generated::AnyPattern { - override string toString() { result = "_" } -} +private import AnyPatternImpl +import codeql.swift.elements.pattern.Pattern + +final class AnyPattern = Impl::AnyPattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/AnyPatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/AnyPatternImpl.qll new file mode 100644 index 000000000000..98e755da2c61 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/AnyPatternImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.pattern.AnyPattern + +module Impl { + class AnyPattern extends Generated::AnyPattern { + override string toString() { result = "_" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/BindingPattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/BindingPattern.qll index 9f0cd057c3d6..942ddba3d130 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/BindingPattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/BindingPattern.qll @@ -1,7 +1,9 @@ -private import codeql.swift.generated.pattern.BindingPattern +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `BindingPattern`. + */ -class BindingPattern extends Generated::BindingPattern { - final override Pattern getResolveStep() { result = this.getImmediateSubPattern() } +private import BindingPatternImpl +import codeql.swift.elements.pattern.Pattern - override string toString() { result = "let ..." } -} +final class BindingPattern = Impl::BindingPattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/BindingPatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/BindingPatternImpl.qll new file mode 100644 index 000000000000..b896afe51902 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/BindingPatternImpl.qll @@ -0,0 +1,9 @@ +private import codeql.swift.generated.pattern.BindingPattern + +module Impl { + class BindingPattern extends Generated::BindingPattern { + final override Pattern getResolveStep() { result = this.getImmediateSubPattern() } + + override string toString() { result = "let ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/BoolPattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/BoolPattern.qll index bbe3e57291f7..514b5196b249 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/BoolPattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/BoolPattern.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.pattern.BoolPattern +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `BoolPattern`. + */ -class BoolPattern extends Generated::BoolPattern { - override string toString() { result = this.getValue().toString() } -} +private import BoolPatternImpl +import codeql.swift.elements.pattern.Pattern + +final class BoolPattern = Impl::BoolPattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/BoolPatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/BoolPatternImpl.qll new file mode 100644 index 000000000000..471993c4b3b8 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/BoolPatternImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.pattern.BoolPattern + +module Impl { + class BoolPattern extends Generated::BoolPattern { + override string toString() { result = this.getValue().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/EnumElementPattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/EnumElementPattern.qll index 7321341abf2f..82a598ba7a3e 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/EnumElementPattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/EnumElementPattern.qll @@ -1,22 +1,10 @@ -private import codeql.swift.generated.pattern.EnumElementPattern -private import codeql.swift.elements.pattern.TuplePattern +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `EnumElementPattern`. + */ -class EnumElementPattern extends Generated::EnumElementPattern { - /** - * Gets the `i`th element (0-based) of this enum element's tuple - * sub-pattern, if any, or the sub-pattern itself if it is not a tuple pattern. - */ - Pattern getSubPattern(int i) { - result = this.getSubPattern().(TuplePattern).getElement(i) - or - not this.getSubPattern() instanceof TuplePattern and - result = this.getSubPattern() and - i = 0 - } +private import EnumElementPatternImpl +import codeql.swift.elements.decl.EnumElementDecl +import codeql.swift.elements.pattern.Pattern - override string toString() { - if this.hasSubPattern() - then result = "." + this.getElement().toString() + "(...)" - else result = "." + this.getElement().toString() - } -} +final class EnumElementPattern = Impl::EnumElementPattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/EnumElementPatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/EnumElementPatternImpl.qll new file mode 100644 index 000000000000..c46a0b85a088 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/EnumElementPatternImpl.qll @@ -0,0 +1,24 @@ +private import codeql.swift.generated.pattern.EnumElementPattern +private import codeql.swift.elements.pattern.TuplePattern + +module Impl { + class EnumElementPattern extends Generated::EnumElementPattern { + /** + * Gets the `i`th element (0-based) of this enum element's tuple + * sub-pattern, if any, or the sub-pattern itself if it is not a tuple pattern. + */ + Pattern getSubPattern(int i) { + result = this.getSubPattern().(TuplePattern).getElement(i) + or + not this.getSubPattern() instanceof TuplePattern and + result = this.getSubPattern() and + i = 0 + } + + override string toString() { + if this.hasSubPattern() + then result = "." + this.getElement().toString() + "(...)" + else result = "." + this.getElement().toString() + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/ExprPattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/ExprPattern.qll index 16e0d3f024bf..9d7c181ae92c 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/ExprPattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/ExprPattern.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.pattern.ExprPattern +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ExprPattern`. + */ -class ExprPattern extends Generated::ExprPattern { - override string toString() { result = "=~ ..." } -} +private import ExprPatternImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.pattern.Pattern + +final class ExprPattern = Impl::ExprPattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/ExprPatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/ExprPatternImpl.qll new file mode 100644 index 000000000000..e313a5ce10da --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/ExprPatternImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.pattern.ExprPattern + +module Impl { + class ExprPattern extends Generated::ExprPattern { + override string toString() { result = "=~ ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/IsPattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/IsPattern.qll index c594952d83f5..7b18ebf813b0 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/IsPattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/IsPattern.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.pattern.IsPattern +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `IsPattern`. + */ -class IsPattern extends Generated::IsPattern { - override string toString() { result = "... is ..." } -} +private import IsPatternImpl +import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.type.TypeRepr + +final class IsPattern = Impl::IsPattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/IsPatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/IsPatternImpl.qll new file mode 100644 index 000000000000..9fb6e84cc238 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/IsPatternImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.pattern.IsPattern + +module Impl { + class IsPattern extends Generated::IsPattern { + override string toString() { result = "... is ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/NamedPattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/NamedPattern.qll index 689ebb8ab295..10e1beb4df68 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/NamedPattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/NamedPattern.qll @@ -1,24 +1,10 @@ -private import codeql.swift.generated.pattern.NamedPattern -private import codeql.swift.elements.decl.VarDecl - +// generated by codegen/codegen.py, do not edit /** - * A pattern that corresponds to a fresh variable binding. - * - * For example, `x` as in `if case let .some(x) = ...` is a `NamedPattern`, - * whereas `y` as in `if case .some(y) = ...` is instead an `ExprPattern`. + * This module provides the public class `NamedPattern`. */ -class NamedPattern extends Generated::NamedPattern { - /** - * Holds if this named pattern has a corresponding `VarDecl`, which is currently always true. - * - * DEPRECATED: unless there was a compilation error, this will always hold. - */ - deprecated predicate hasVarDecl() { exists(this.getVarDecl()) } - /** - * Gets the name of the variable bound by this pattern. - */ - string getName() { result = this.getVarDecl().getName() } +private import NamedPatternImpl +import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.decl.VarDecl - override string toString() { result = this.getName() } -} +final class NamedPattern = Impl::NamedPattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/NamedPatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/NamedPatternImpl.qll new file mode 100644 index 000000000000..fc6ebb52e7a6 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/NamedPatternImpl.qll @@ -0,0 +1,26 @@ +private import codeql.swift.generated.pattern.NamedPattern +private import codeql.swift.elements.decl.VarDecl + +module Impl { + /** + * A pattern that corresponds to a fresh variable binding. + * + * For example, `x` as in `if case let .some(x) = ...` is a `NamedPattern`, + * whereas `y` as in `if case .some(y) = ...` is instead an `ExprPattern`. + */ + class NamedPattern extends Generated::NamedPattern { + /** + * Holds if this named pattern has a corresponding `VarDecl`, which is currently always true. + * + * DEPRECATED: unless there was a compilation error, this will always hold. + */ + deprecated predicate hasVarDecl() { exists(this.getVarDecl()) } + + /** + * Gets the name of the variable bound by this pattern. + */ + string getName() { result = this.getVarDecl().getName() } + + override string toString() { result = this.getName() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/OptionalSomePattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/OptionalSomePattern.qll index 870e24766a09..529e9bd735fe 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/OptionalSomePattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/OptionalSomePattern.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.pattern.OptionalSomePattern +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `OptionalSomePattern`. + */ -class OptionalSomePattern extends Generated::OptionalSomePattern { - override string toString() { result = "let ...?" } -} +private import OptionalSomePatternImpl +import codeql.swift.elements.pattern.Pattern + +final class OptionalSomePattern = Impl::OptionalSomePattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/OptionalSomePatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/OptionalSomePatternImpl.qll new file mode 100644 index 000000000000..1c8aee702b00 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/OptionalSomePatternImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.pattern.OptionalSomePattern + +module Impl { + class OptionalSomePattern extends Generated::OptionalSomePattern { + override string toString() { result = "let ...?" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/ParenPattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/ParenPattern.qll index 40ffc318df1e..4bf8e44b65f7 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/ParenPattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/ParenPattern.qll @@ -1,7 +1,9 @@ -private import codeql.swift.generated.pattern.ParenPattern +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ParenPattern`. + */ -class ParenPattern extends Generated::ParenPattern { - final override Pattern getResolveStep() { result = this.getImmediateSubPattern() } +private import ParenPatternImpl +import codeql.swift.elements.pattern.Pattern - override string toString() { result = "(...)" } -} +final class ParenPattern = Impl::ParenPattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/ParenPatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/ParenPatternImpl.qll new file mode 100644 index 000000000000..fd5c9ab54431 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/ParenPatternImpl.qll @@ -0,0 +1,9 @@ +private import codeql.swift.generated.pattern.ParenPattern + +module Impl { + class ParenPattern extends Generated::ParenPattern { + final override Pattern getResolveStep() { result = this.getImmediateSubPattern() } + + override string toString() { result = "(...)" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/Pattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/Pattern.qll index 5136ee712344..addfc640cd3a 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/Pattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/Pattern.qll @@ -1,111 +1,10 @@ -private import codeql.swift.generated.pattern.Pattern -private import codeql.swift.elements.pattern.EnumElementPattern -private import codeql.swift.elements.pattern.IsPattern -private import codeql.swift.elements.pattern.OptionalSomePattern -private import codeql.swift.elements.pattern.TypedPattern -private import codeql.swift.elements.pattern.TuplePattern -private import codeql.swift.elements.expr.Expr -private import codeql.swift.elements.expr.TupleExpr -private import codeql.swift.elements.expr.EnumElementExpr -private import codeql.swift.elements.expr.LookupExpr -private import codeql.swift.elements.expr.MethodLookupExpr -private import codeql.swift.elements.expr.DeclRefExpr -private import codeql.swift.elements.stmt.ConditionElement -private import codeql.swift.elements.stmt.SwitchStmt -private import codeql.swift.elements.stmt.CaseStmt -private import codeql.swift.elements.decl.VarDecl -private import codeql.swift.elements.decl.PatternBindingDecl -private import codeql.swift.elements.decl.EnumElementDecl -private import codeql.swift.generated.ParentChild - +// generated by codegen/codegen.py, do not edit /** - * A syntactic construct that can be matched against an expression, - * occurring in switch cases, conditions, and variable bindings. + * This module provides the public class `Pattern`. */ -class Pattern extends Generated::Pattern { - /** - * Gets the expression that this top-level pattern is matched against, if any. - * - * For example, in `switch e { case p: ... }`, the pattern `p` - * is immediately matched against the expression `e`. - */ - Expr getImmediateMatchingExpr() { - exists(ConditionElement c | - c.getPattern() = this and - result = c.getInitializer() - ) - or - exists(SwitchStmt s | - s.getExpr() = result and - s.getACase().getALabel().getPattern() = this - ) - or - exists(PatternBindingDecl v, int i | - v.getPattern(i) = pragma[only_bind_out](this) and - result = v.getInit(i) - ) - } - - /** - * Gets the expression that this pattern is matched against, if any. - * The expression and the pattern need not be top-level children of - * a pattern-matching construct, but they must match each other syntactically. - * - * For example, in `switch .some(e) { case let .some(p): ... }`, the pattern `p` - * is matched against the expression `e`. - */ - pragma[nomagic] - Expr getMatchingExpr() { - result = this.getImmediateMatchingExpr() - or - exists(Pattern p | p.getMatchingExpr() = result | - this = p.(IsPattern).getSubPattern() - or - this = p.(OptionalSomePattern).getSubPattern() - or - this = p.(TypedPattern).getSubPattern() - ) - or - exists(TuplePattern p, TupleExpr e, int i | - p.getMatchingExpr() = e and - this = p.getElement(i) and - result = e.getElement(i) - ) - or - exists(EnumElementPattern p, EnumElementExpr e, int i | - p.getMatchingExpr() = e and - this = p.getSubPattern(i) and - result = e.getArgument(i).getExpr() and - p.getElement() = e.getElement() - ) - } - - /** Holds if this pattern is matched against an expression. */ - final predicate hasMatchingExpr() { exists(this.getMatchingExpr()) } - /** - * Gets the parent pattern of this pattern, if any. - */ - final Pattern getEnclosingPattern() { - result = this.getFullyUnresolved().(Pattern).getImmediateEnclosingPattern() - } +private import PatternImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.type.Type - /** - * Gets the parent pattern of this pattern, if any. - */ - Pattern getImmediateEnclosingPattern() { - this = result.(EnumElementPattern).getImmediateSubPattern() - or - this = result.(OptionalSomePattern).getImmediateSubPattern() - or - this = result.(TuplePattern).getImmediateElement(_) - or - this = result.(BindingPattern).getImmediateSubPattern() - or - this = result.(IsPattern).getImmediateSubPattern() - or - this = result.(ParenPattern).getImmediateSubPattern() - or - this = result.(TypedPattern).getImmediateSubPattern() - } -} +final class Pattern = Impl::Pattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/PatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/PatternImpl.qll new file mode 100644 index 000000000000..173254b84b3b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/PatternImpl.qll @@ -0,0 +1,113 @@ +private import codeql.swift.generated.pattern.Pattern +private import codeql.swift.elements.pattern.EnumElementPattern +private import codeql.swift.elements.pattern.IsPattern +private import codeql.swift.elements.pattern.OptionalSomePattern +private import codeql.swift.elements.pattern.TypedPattern +private import codeql.swift.elements.pattern.TuplePattern +private import codeql.swift.elements.expr.Expr +private import codeql.swift.elements.expr.TupleExpr +private import codeql.swift.elements.expr.EnumElementExpr +private import codeql.swift.elements.expr.LookupExpr +private import codeql.swift.elements.expr.MethodLookupExpr +private import codeql.swift.elements.expr.DeclRefExpr +private import codeql.swift.elements.stmt.ConditionElement +private import codeql.swift.elements.stmt.SwitchStmt +private import codeql.swift.elements.stmt.CaseStmt +private import codeql.swift.elements.decl.VarDecl +private import codeql.swift.elements.decl.PatternBindingDecl +private import codeql.swift.elements.decl.EnumElementDecl +private import codeql.swift.generated.ParentChild + +module Impl { + /** + * A syntactic construct that can be matched against an expression, + * occurring in switch cases, conditions, and variable bindings. + */ + class Pattern extends Generated::Pattern { + /** + * Gets the expression that this top-level pattern is matched against, if any. + * + * For example, in `switch e { case p: ... }`, the pattern `p` + * is immediately matched against the expression `e`. + */ + Expr getImmediateMatchingExpr() { + exists(ConditionElement c | + c.getPattern() = this and + result = c.getInitializer() + ) + or + exists(SwitchStmt s | + s.getExpr() = result and + s.getACase().getALabel().getPattern() = this + ) + or + exists(PatternBindingDecl v, int i | + v.getPattern(i) = pragma[only_bind_out](this) and + result = v.getInit(i) + ) + } + + /** + * Gets the expression that this pattern is matched against, if any. + * The expression and the pattern need not be top-level children of + * a pattern-matching construct, but they must match each other syntactically. + * + * For example, in `switch .some(e) { case let .some(p): ... }`, the pattern `p` + * is matched against the expression `e`. + */ + pragma[nomagic] + Expr getMatchingExpr() { + result = this.getImmediateMatchingExpr() + or + exists(Pattern p | p.getMatchingExpr() = result | + this = p.(IsPattern).getSubPattern() + or + this = p.(OptionalSomePattern).getSubPattern() + or + this = p.(TypedPattern).getSubPattern() + ) + or + exists(TuplePattern p, TupleExpr e, int i | + p.getMatchingExpr() = e and + this = p.getElement(i) and + result = e.getElement(i) + ) + or + exists(EnumElementPattern p, EnumElementExpr e, int i | + p.getMatchingExpr() = e and + this = p.getSubPattern(i) and + result = e.getArgument(i).getExpr() and + p.getElement() = e.getElement() + ) + } + + /** Holds if this pattern is matched against an expression. */ + final predicate hasMatchingExpr() { exists(this.getMatchingExpr()) } + + /** + * Gets the parent pattern of this pattern, if any. + */ + final Pattern getEnclosingPattern() { + result = this.getFullyUnresolved().(Pattern).getImmediateEnclosingPattern() + } + + /** + * Gets the parent pattern of this pattern, if any. + */ + Pattern getImmediateEnclosingPattern() { + this = result.(EnumElementPattern).getImmediateSubPattern() + or + this = result.(OptionalSomePattern).getImmediateSubPattern() + or + this = result.(TuplePattern).getImmediateElement(_) + or + this = result.(BindingPattern).getImmediateSubPattern() + or + this = result.(IsPattern).getImmediateSubPattern() + or + this = result.(ParenPattern).getImmediateSubPattern() + or + this = result.(TypedPattern).getImmediateSubPattern() + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/TuplePattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/TuplePattern.qll index 03579631ca0a..4531e5db0dc3 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/TuplePattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/TuplePattern.qll @@ -1,14 +1,9 @@ -private import codeql.swift.generated.pattern.TuplePattern +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `TuplePattern`. + */ -class TuplePattern extends Generated::TuplePattern { - Pattern getFirstElement() { result = this.getElement(0) } +private import TuplePatternImpl +import codeql.swift.elements.pattern.Pattern - Pattern getLastElement() { - exists(int i | - result = this.getElement(i) and - not exists(this.getElement(i + 1)) - ) - } - - override string toString() { result = "(...)" } -} +final class TuplePattern = Impl::TuplePattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/TuplePatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/TuplePatternImpl.qll new file mode 100644 index 000000000000..6ed969e4a106 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/TuplePatternImpl.qll @@ -0,0 +1,16 @@ +private import codeql.swift.generated.pattern.TuplePattern + +module Impl { + class TuplePattern extends Generated::TuplePattern { + Pattern getFirstElement() { result = this.getElement(0) } + + Pattern getLastElement() { + exists(int i | + result = this.getElement(i) and + not exists(this.getElement(i + 1)) + ) + } + + override string toString() { result = "(...)" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/pattern/TypedPattern.qll b/swift/ql/lib/codeql/swift/elements/pattern/TypedPattern.qll index 852437a60f1f..4de21109dd4d 100644 --- a/swift/ql/lib/codeql/swift/elements/pattern/TypedPattern.qll +++ b/swift/ql/lib/codeql/swift/elements/pattern/TypedPattern.qll @@ -1,7 +1,10 @@ -private import codeql.swift.generated.pattern.TypedPattern +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `TypedPattern`. + */ -class TypedPattern extends Generated::TypedPattern { - override string toString() { - if exists(this.getSubPattern()) then result = "... as ..." else result = "is ..." - } -} +private import TypedPatternImpl +import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.type.TypeRepr + +final class TypedPattern = Impl::TypedPattern; diff --git a/swift/ql/lib/codeql/swift/elements/pattern/TypedPatternImpl.qll b/swift/ql/lib/codeql/swift/elements/pattern/TypedPatternImpl.qll new file mode 100644 index 000000000000..49b905f8d643 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/pattern/TypedPatternImpl.qll @@ -0,0 +1,9 @@ +private import codeql.swift.generated.pattern.TypedPattern + +module Impl { + class TypedPattern extends Generated::TypedPattern { + override string toString() { + if exists(this.getSubPattern()) then result = "... as ..." else result = "is ..." + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/BraceStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/BraceStmt.qll index 87bbfac85286..cf7de0390194 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/BraceStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/BraceStmt.qll @@ -1,33 +1,11 @@ -private import codeql.swift.generated.stmt.BraceStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `BraceStmt`. + */ -class BraceStmt extends Generated::BraceStmt { - AstNode getFirstElement() { result = this.getElement(0) } +private import BraceStmtImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.decl.VarDecl - AstNode getLastElement() { - exists(int i | - result = this.getElement(i) and - not exists(this.getElement(i + 1)) - ) - } - - override string toString() { result = "{ ... }" } - - override AstNode getImmediateElement(int index) { - result = - rank[index + 1](AstNode element, int i | - element = super.getImmediateElement(i) and - not element instanceof VarDecl - | - element order by i - ) - } - - override VarDecl getVariable(int index) { - result = - rank[index + 1](VarDecl variable, int i | - variable = super.getImmediateElement(i) - | - variable order by i - ) - } -} +final class BraceStmt = Impl::BraceStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/BraceStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/BraceStmtImpl.qll new file mode 100644 index 000000000000..6f4cdbd37742 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/BraceStmtImpl.qll @@ -0,0 +1,35 @@ +private import codeql.swift.generated.stmt.BraceStmt + +module Impl { + class BraceStmt extends Generated::BraceStmt { + AstNode getFirstElement() { result = this.getElement(0) } + + AstNode getLastElement() { + exists(int i | + result = this.getElement(i) and + not exists(this.getElement(i + 1)) + ) + } + + override string toString() { result = "{ ... }" } + + override AstNode getImmediateElement(int index) { + result = + rank[index + 1](AstNode element, int i | + element = super.getImmediateElement(i) and + not element instanceof VarDecl + | + element order by i + ) + } + + override VarDecl getVariable(int index) { + result = + rank[index + 1](VarDecl variable, int i | + variable = super.getImmediateElement(i) + | + variable order by i + ) + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/BreakStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/BreakStmt.qll index a92663eb7247..087ae2135c55 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/BreakStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/BreakStmt.qll @@ -1,10 +1,9 @@ -private import codeql.swift.generated.stmt.BreakStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `BreakStmt`. + */ -class BreakStmt extends Generated::BreakStmt { - override string toString() { - result = "break " + this.getTargetName() - or - not this.hasTargetName() and - result = "break" - } -} +private import BreakStmtImpl +import codeql.swift.elements.stmt.Stmt + +final class BreakStmt = Impl::BreakStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/BreakStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/BreakStmtImpl.qll new file mode 100644 index 000000000000..6f1b58aecd4e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/BreakStmtImpl.qll @@ -0,0 +1,12 @@ +private import codeql.swift.generated.stmt.BreakStmt + +module Impl { + class BreakStmt extends Generated::BreakStmt { + override string toString() { + result = "break " + this.getTargetName() + or + not this.hasTargetName() and + result = "break" + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/CaseLabelItem.qll b/swift/ql/lib/codeql/swift/elements/stmt/CaseLabelItem.qll index bdd176d322a8..11707cd1bb47 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/CaseLabelItem.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/CaseLabelItem.qll @@ -1,9 +1,11 @@ -private import codeql.swift.generated.stmt.CaseLabelItem +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `CaseLabelItem`. + */ -class CaseLabelItem extends Generated::CaseLabelItem { - override string toString() { - if this.hasGuard() - then result = this.getPattern().toString() + " where ..." - else result = this.getPattern().toString() - } -} +private import CaseLabelItemImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.pattern.Pattern + +final class CaseLabelItem = Impl::CaseLabelItem; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/CaseLabelItemImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/CaseLabelItemImpl.qll new file mode 100644 index 000000000000..003d2b342b16 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/CaseLabelItemImpl.qll @@ -0,0 +1,11 @@ +private import codeql.swift.generated.stmt.CaseLabelItem + +module Impl { + class CaseLabelItem extends Generated::CaseLabelItem { + override string toString() { + if this.hasGuard() + then result = this.getPattern().toString() + " where ..." + else result = this.getPattern().toString() + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/CaseStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/CaseStmt.qll index 6236178ebb38..1503634f8fc1 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/CaseStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/CaseStmt.qll @@ -1,14 +1,11 @@ -private import codeql.swift.generated.stmt.CaseStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `CaseStmt`. + */ -class CaseStmt extends Generated::CaseStmt { - CaseLabelItem getFirstLabel() { result = this.getLabel(0) } +private import CaseStmtImpl +import codeql.swift.elements.stmt.CaseLabelItem +import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.decl.VarDecl - CaseLabelItem getLastLabel() { - exists(int i | - result = this.getLabel(i) and - not exists(this.getLabel(i + 1)) - ) - } - - override string toString() { result = "case ..." } -} +final class CaseStmt = Impl::CaseStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/CaseStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/CaseStmtImpl.qll new file mode 100644 index 000000000000..17b9b6462144 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/CaseStmtImpl.qll @@ -0,0 +1,16 @@ +private import codeql.swift.generated.stmt.CaseStmt + +module Impl { + class CaseStmt extends Generated::CaseStmt { + CaseLabelItem getFirstLabel() { result = this.getLabel(0) } + + CaseLabelItem getLastLabel() { + exists(int i | + result = this.getLabel(i) and + not exists(this.getLabel(i + 1)) + ) + } + + override string toString() { result = "case ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ConditionElement.qll b/swift/ql/lib/codeql/swift/elements/stmt/ConditionElement.qll index 2ee722f58a21..3166291adb2e 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/ConditionElement.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/ConditionElement.qll @@ -1,12 +1,12 @@ -private import codeql.swift.generated.stmt.ConditionElement -private import codeql.swift.elements.AstNode +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ConditionElement`. + */ -class ConditionElement extends Generated::ConditionElement { - override string toString() { - result = this.getBoolean().toString() - or - result = this.getPattern().toString() + " = ... " - or - result = this.getAvailability().toString() - } -} +private import ConditionElementImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.AvailabilityInfo +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.pattern.Pattern + +final class ConditionElement = Impl::ConditionElement; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ConditionElementImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/ConditionElementImpl.qll new file mode 100644 index 000000000000..72740933998d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/ConditionElementImpl.qll @@ -0,0 +1,14 @@ +private import codeql.swift.generated.stmt.ConditionElement +private import codeql.swift.elements.AstNode + +module Impl { + class ConditionElement extends Generated::ConditionElement { + override string toString() { + result = this.getBoolean().toString() + or + result = this.getPattern().toString() + " = ... " + or + result = this.getAvailability().toString() + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ContinueStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/ContinueStmt.qll index 44311720dd63..6e479da87346 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/ContinueStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/ContinueStmt.qll @@ -1,10 +1,9 @@ -private import codeql.swift.generated.stmt.ContinueStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ContinueStmt`. + */ -class ContinueStmt extends Generated::ContinueStmt { - override string toString() { - result = "continue " + this.getTargetName() - or - not this.hasTargetName() and - result = "continue" - } -} +private import ContinueStmtImpl +import codeql.swift.elements.stmt.Stmt + +final class ContinueStmt = Impl::ContinueStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ContinueStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/ContinueStmtImpl.qll new file mode 100644 index 000000000000..58747a44e420 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/ContinueStmtImpl.qll @@ -0,0 +1,12 @@ +private import codeql.swift.generated.stmt.ContinueStmt + +module Impl { + class ContinueStmt extends Generated::ContinueStmt { + override string toString() { + result = "continue " + this.getTargetName() + or + not this.hasTargetName() and + result = "continue" + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/DeferStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/DeferStmt.qll index 2f10e4175066..e95a5793a85b 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/DeferStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/DeferStmt.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.stmt.DeferStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DeferStmt`. + */ -class DeferStmt extends Generated::DeferStmt { - override string toString() { result = "defer { ... }" } -} +private import DeferStmtImpl +import codeql.swift.elements.stmt.BraceStmt +import codeql.swift.elements.stmt.Stmt + +final class DeferStmt = Impl::DeferStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/DeferStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/DeferStmtImpl.qll new file mode 100644 index 000000000000..97e565d4160f --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/DeferStmtImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.stmt.DeferStmt + +module Impl { + class DeferStmt extends Generated::DeferStmt { + override string toString() { result = "defer { ... }" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/DiscardStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/DiscardStmt.qll index ae0dcdf2488a..322a309721ff 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/DiscardStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/DiscardStmt.qll @@ -1,9 +1,11 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `DiscardStmt`. + * This module provides the public class `DiscardStmt`. */ -private import codeql.swift.generated.stmt.DiscardStmt +private import DiscardStmtImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.stmt.Stmt /** * A statement that takes a non-copyable value and destructs its members/fields. @@ -13,4 +15,4 @@ private import codeql.swift.generated.stmt.DiscardStmt * destruct self * ``` */ -class DiscardStmt extends Generated::DiscardStmt { } +final class DiscardStmt = Impl::DiscardStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/DiscardStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/DiscardStmtImpl.qll new file mode 100644 index 000000000000..5c70ce657687 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/DiscardStmtImpl.qll @@ -0,0 +1,24 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `DiscardStmt`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.stmt.DiscardStmt + +/** + * INTERNAL: This module contains the customizable definition of `DiscardStmt` and should not + * be referenced directly. + */ +module Impl { + /** + * A statement that takes a non-copyable value and destructs its members/fields. + * + * The only valid syntax: + * ``` + * destruct self + * ``` + */ + class DiscardStmt extends Generated::DiscardStmt { } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/DoCatchStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/DoCatchStmt.qll index 3795087b97bd..bc6075868bde 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/DoCatchStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/DoCatchStmt.qll @@ -1,14 +1,11 @@ -private import codeql.swift.generated.stmt.DoCatchStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DoCatchStmt`. + */ -class DoCatchStmt extends Generated::DoCatchStmt { - CaseStmt getFirstCatch() { result = this.getCatch(0) } +private import DoCatchStmtImpl +import codeql.swift.elements.stmt.CaseStmt +import codeql.swift.elements.stmt.LabeledStmt +import codeql.swift.elements.stmt.Stmt - CaseStmt getLastCatch() { - exists(int i | - result = this.getCatch(i) and - not exists(this.getCatch(i + 1)) - ) - } - - override string toString() { result = "do { ... } catch { ... }" } -} +final class DoCatchStmt = Impl::DoCatchStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/DoCatchStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/DoCatchStmtImpl.qll new file mode 100644 index 000000000000..20fb2b8ddbc3 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/DoCatchStmtImpl.qll @@ -0,0 +1,16 @@ +private import codeql.swift.generated.stmt.DoCatchStmt + +module Impl { + class DoCatchStmt extends Generated::DoCatchStmt { + CaseStmt getFirstCatch() { result = this.getCatch(0) } + + CaseStmt getLastCatch() { + exists(int i | + result = this.getCatch(i) and + not exists(this.getCatch(i + 1)) + ) + } + + override string toString() { result = "do { ... } catch { ... }" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/DoStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/DoStmt.qll index 275f5dd53adb..a619889875c0 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/DoStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/DoStmt.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.stmt.DoStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DoStmt`. + */ -class DoStmt extends Generated::DoStmt { - override string toString() { result = "do { ... }" } -} +private import DoStmtImpl +import codeql.swift.elements.stmt.BraceStmt +import codeql.swift.elements.stmt.LabeledStmt + +final class DoStmt = Impl::DoStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/DoStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/DoStmtImpl.qll new file mode 100644 index 000000000000..0e43521181fa --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/DoStmtImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.stmt.DoStmt + +module Impl { + class DoStmt extends Generated::DoStmt { + override string toString() { result = "do { ... }" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/FailStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/FailStmt.qll index 8fa73e170c8c..d11b13df085b 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/FailStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/FailStmt.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.stmt.FailStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `FailStmt`. + */ -class FailStmt extends Generated::FailStmt { - override string toString() { result = "fail" } -} +private import FailStmtImpl +import codeql.swift.elements.stmt.Stmt + +final class FailStmt = Impl::FailStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/FailStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/FailStmtImpl.qll new file mode 100644 index 000000000000..9ab2240102eb --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/FailStmtImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.stmt.FailStmt + +module Impl { + class FailStmt extends Generated::FailStmt { + override string toString() { result = "fail" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/FallthroughStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/FallthroughStmt.qll index 8ee330c72f90..1a1c74e457c8 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/FallthroughStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/FallthroughStmt.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.stmt.FallthroughStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `FallthroughStmt`. + */ -class FallthroughStmt extends Generated::FallthroughStmt { - override string toString() { result = "fallthrough" } -} +private import FallthroughStmtImpl +import codeql.swift.elements.stmt.CaseStmt +import codeql.swift.elements.stmt.Stmt + +final class FallthroughStmt = Impl::FallthroughStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/FallthroughStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/FallthroughStmtImpl.qll new file mode 100644 index 000000000000..85fa9e95a655 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/FallthroughStmtImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.stmt.FallthroughStmt + +module Impl { + class FallthroughStmt extends Generated::FallthroughStmt { + override string toString() { result = "fallthrough" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ForEachStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/ForEachStmt.qll index e42f13e5664b..e781ae812b19 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/ForEachStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/ForEachStmt.qll @@ -1,14 +1,13 @@ -private import codeql.swift.generated.stmt.ForEachStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ForEachStmt`. + */ -class ForEachStmt extends Generated::ForEachStmt { - override string toString() { - if this.hasWhere() - then result = "for ... in ... where ... { ... }" - else result = "for ... in ... { ... }" - } +private import ForEachStmtImpl +import codeql.swift.elements.stmt.BraceStmt +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.stmt.LabeledStmt +import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.decl.PatternBindingDecl - /** - * Gets the sequence which this statement is iterating over. - */ - final Expr getSequence() { result = this.getIteratorVar().getInit(0) } -} +final class ForEachStmt = Impl::ForEachStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ForEachStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/ForEachStmtImpl.qll new file mode 100644 index 000000000000..bc8d67d01335 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/ForEachStmtImpl.qll @@ -0,0 +1,16 @@ +private import codeql.swift.generated.stmt.ForEachStmt + +module Impl { + class ForEachStmt extends Generated::ForEachStmt { + override string toString() { + if this.hasWhere() + then result = "for ... in ... where ... { ... }" + else result = "for ... in ... { ... }" + } + + /** + * Gets the sequence which this statement is iterating over. + */ + final Expr getSequence() { result = this.getIteratorVar().getInit(0) } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/GuardStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/GuardStmt.qll index f3566ec40749..df00eb979547 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/GuardStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/GuardStmt.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.stmt.GuardStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `GuardStmt`. + */ -class GuardStmt extends Generated::GuardStmt { - override string toString() { result = "guard ... else { ... }" } -} +private import GuardStmtImpl +import codeql.swift.elements.stmt.BraceStmt +import codeql.swift.elements.stmt.LabeledConditionalStmt + +final class GuardStmt = Impl::GuardStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/GuardStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/GuardStmtImpl.qll new file mode 100644 index 000000000000..d2281c8ef592 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/GuardStmtImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.stmt.GuardStmt + +module Impl { + class GuardStmt extends Generated::GuardStmt { + override string toString() { result = "guard ... else { ... }" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/IfStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/IfStmt.qll index 79da7b244141..7c30ebeaa108 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/IfStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/IfStmt.qll @@ -1,22 +1,10 @@ -private import codeql.swift.generated.stmt.IfStmt -private import codeql.swift.elements.stmt.ConditionElement +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `IfStmt`. + */ -class IfStmt extends Generated::IfStmt { - ConditionElement getACondition() { result = this.getCondition(_) } +private import IfStmtImpl +import codeql.swift.elements.stmt.LabeledConditionalStmt +import codeql.swift.elements.stmt.Stmt - ConditionElement getCondition(int i) { result = this.getCondition().getElement(i) } - - Stmt getBranch(boolean b) { - b = true and - result = this.getThen() - or - b = false and - result = this.getElse() - } - - override string toString() { - if this.hasElse() - then result = "if ... then { ... } else { ... }" - else result = "if ... then { ... }" - } -} +final class IfStmt = Impl::IfStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/IfStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/IfStmtImpl.qll new file mode 100644 index 000000000000..8d1349631982 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/IfStmtImpl.qll @@ -0,0 +1,24 @@ +private import codeql.swift.generated.stmt.IfStmt +private import codeql.swift.elements.stmt.ConditionElement + +module Impl { + class IfStmt extends Generated::IfStmt { + ConditionElement getACondition() { result = this.getCondition(_) } + + ConditionElement getCondition(int i) { result = this.getCondition().getElement(i) } + + Stmt getBranch(boolean b) { + b = true and + result = this.getThen() + or + b = false and + result = this.getElse() + } + + override string toString() { + if this.hasElse() + then result = "if ... then { ... } else { ... }" + else result = "if ... then { ... }" + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/LabeledConditionalStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/LabeledConditionalStmt.qll index 91e5ecf139b4..589050c86d7b 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/LabeledConditionalStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/LabeledConditionalStmt.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LabeledConditionalStmt`. + * This module provides the public class `LabeledConditionalStmt`. */ -private import codeql.swift.generated.stmt.LabeledConditionalStmt +private import LabeledConditionalStmtImpl +import codeql.swift.elements.stmt.LabeledStmt +import codeql.swift.elements.stmt.StmtCondition -class LabeledConditionalStmt extends Generated::LabeledConditionalStmt { } +final class LabeledConditionalStmt = Impl::LabeledConditionalStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/LabeledConditionalStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/LabeledConditionalStmtImpl.qll new file mode 100644 index 000000000000..04d4c30abcaa --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/LabeledConditionalStmtImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LabeledConditionalStmt`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.stmt.LabeledConditionalStmt + +/** + * INTERNAL: This module contains the customizable definition of `LabeledConditionalStmt` and should not + * be referenced directly. + */ +module Impl { + class LabeledConditionalStmt extends Generated::LabeledConditionalStmt { } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/LabeledStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/LabeledStmt.qll index 1d31de51b883..4d3b6a683c20 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/LabeledStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/LabeledStmt.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.stmt.LabeledStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `LabeledStmt`. + */ -class LabeledStmt extends Generated::LabeledStmt { - override string toString() { result = this.getLabel() + ": ..." } -} +private import LabeledStmtImpl +import codeql.swift.elements.stmt.Stmt + +final class LabeledStmt = Impl::LabeledStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/LabeledStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/LabeledStmtImpl.qll new file mode 100644 index 000000000000..677e21f3e5ba --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/LabeledStmtImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.stmt.LabeledStmt + +module Impl { + class LabeledStmt extends Generated::LabeledStmt { + override string toString() { result = this.getLabel() + ": ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/PoundAssertStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/PoundAssertStmt.qll index ed35a59f8ee7..b32f3fe179df 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/PoundAssertStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/PoundAssertStmt.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.stmt.PoundAssertStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `PoundAssertStmt`. + */ -class PoundAssertStmt extends Generated::PoundAssertStmt { - override string toString() { result = "#assert ..." } -} +private import PoundAssertStmtImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.stmt.Stmt + +final class PoundAssertStmt = Impl::PoundAssertStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/PoundAssertStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/PoundAssertStmtImpl.qll new file mode 100644 index 000000000000..e7d208998d4b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/PoundAssertStmtImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.stmt.PoundAssertStmt + +module Impl { + class PoundAssertStmt extends Generated::PoundAssertStmt { + override string toString() { result = "#assert ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/RepeatWhileStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/RepeatWhileStmt.qll index a21ed2c89ec6..4fee23eb18af 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/RepeatWhileStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/RepeatWhileStmt.qll @@ -1,5 +1,11 @@ -private import codeql.swift.generated.stmt.RepeatWhileStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `RepeatWhileStmt`. + */ -class RepeatWhileStmt extends Generated::RepeatWhileStmt { - override string toString() { result = "repeat { ... } while ... " } -} +private import RepeatWhileStmtImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.stmt.LabeledStmt +import codeql.swift.elements.stmt.Stmt + +final class RepeatWhileStmt = Impl::RepeatWhileStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/RepeatWhileStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/RepeatWhileStmtImpl.qll new file mode 100644 index 000000000000..867aee0d5de0 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/RepeatWhileStmtImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.stmt.RepeatWhileStmt + +module Impl { + class RepeatWhileStmt extends Generated::RepeatWhileStmt { + override string toString() { result = "repeat { ... } while ... " } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ReturnStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/ReturnStmt.qll index 9ee511913b13..185ebb7d59ad 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/ReturnStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/ReturnStmt.qll @@ -1,7 +1,10 @@ -private import codeql.swift.generated.stmt.ReturnStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ReturnStmt`. + */ -class ReturnStmt extends Generated::ReturnStmt { - override string toString() { - if this.hasResult() then result = "return ..." else result = "return" - } -} +private import ReturnStmtImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.stmt.Stmt + +final class ReturnStmt = Impl::ReturnStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ReturnStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/ReturnStmtImpl.qll new file mode 100644 index 000000000000..d53eb3d0eee0 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/ReturnStmtImpl.qll @@ -0,0 +1,9 @@ +private import codeql.swift.generated.stmt.ReturnStmt + +module Impl { + class ReturnStmt extends Generated::ReturnStmt { + override string toString() { + if this.hasResult() then result = "return ..." else result = "return" + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/Stmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/Stmt.qll index 48378cb2f2f2..ce658ac1aac9 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/Stmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/Stmt.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `Stmt`. + * This module provides the public class `Stmt`. */ -private import codeql.swift.generated.stmt.Stmt +private import StmtImpl +import codeql.swift.elements.AstNode -class Stmt extends Generated::Stmt { } +final class Stmt = Impl::Stmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/StmtCondition.qll b/swift/ql/lib/codeql/swift/elements/stmt/StmtCondition.qll index 8344a631eeee..cd2082f25ceb 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/StmtCondition.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/StmtCondition.qll @@ -1,12 +1,10 @@ -private import codeql.swift.generated.stmt.StmtCondition +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `StmtCondition`. + */ -class StmtCondition extends Generated::StmtCondition { - ConditionElement getFirstElement() { result = this.getElement(0) } +private import StmtConditionImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.stmt.ConditionElement - ConditionElement getLastElement() { - exists(int i | - result = this.getElement(i) and - not exists(this.getElement(i + 1)) - ) - } -} +final class StmtCondition = Impl::StmtCondition; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/StmtConditionImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/StmtConditionImpl.qll new file mode 100644 index 000000000000..dd0e3ed1be5c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/StmtConditionImpl.qll @@ -0,0 +1,14 @@ +private import codeql.swift.generated.stmt.StmtCondition + +module Impl { + class StmtCondition extends Generated::StmtCondition { + ConditionElement getFirstElement() { result = this.getElement(0) } + + ConditionElement getLastElement() { + exists(int i | + result = this.getElement(i) and + not exists(this.getElement(i + 1)) + ) + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/StmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/StmtImpl.qll new file mode 100644 index 000000000000..e9a075dcc8dc --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/StmtImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `Stmt`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.stmt.Stmt + +/** + * INTERNAL: This module contains the customizable definition of `Stmt` and should not + * be referenced directly. + */ +module Impl { + class Stmt extends Generated::Stmt { } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/SwitchStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/SwitchStmt.qll index 41c531b2311f..1ff840399fea 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/SwitchStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/SwitchStmt.qll @@ -1,14 +1,11 @@ -private import codeql.swift.generated.stmt.SwitchStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `SwitchStmt`. + */ -class SwitchStmt extends Generated::SwitchStmt { - CaseStmt getFirstCase() { result = this.getCase(0) } +private import SwitchStmtImpl +import codeql.swift.elements.stmt.CaseStmt +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.stmt.LabeledStmt - CaseStmt getLastCase() { - exists(int i | - result = this.getCase(i) and - not exists(this.getCase(i + 1)) - ) - } - - override string toString() { result = "switch " + this.getExpr().toString() + " { ... }" } -} +final class SwitchStmt = Impl::SwitchStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/SwitchStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/SwitchStmtImpl.qll new file mode 100644 index 000000000000..850f857bdccb --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/SwitchStmtImpl.qll @@ -0,0 +1,16 @@ +private import codeql.swift.generated.stmt.SwitchStmt + +module Impl { + class SwitchStmt extends Generated::SwitchStmt { + CaseStmt getFirstCase() { result = this.getCase(0) } + + CaseStmt getLastCase() { + exists(int i | + result = this.getCase(i) and + not exists(this.getCase(i + 1)) + ) + } + + override string toString() { result = "switch " + this.getExpr().toString() + " { ... }" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ThenStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/ThenStmt.qll index 49291d43b8c2..af902348b785 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/ThenStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/ThenStmt.qll @@ -1,9 +1,11 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ThenStmt`. + * This module provides the public class `ThenStmt`. */ -private import codeql.swift.generated.stmt.ThenStmt +private import ThenStmtImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.stmt.Stmt /** * A statement implicitly wrapping values to be used in branches of if/switch expressions. For example in: @@ -16,4 +18,4 @@ private import codeql.swift.generated.stmt.ThenStmt * ``` * the literal expressions `1`, `2` and `3` are wrapped in `ThenStmt`. */ -class ThenStmt extends Generated::ThenStmt { } +final class ThenStmt = Impl::ThenStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ThenStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/ThenStmtImpl.qll new file mode 100644 index 000000000000..adc42fdad4f1 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/ThenStmtImpl.qll @@ -0,0 +1,27 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ThenStmt`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.stmt.ThenStmt + +/** + * INTERNAL: This module contains the customizable definition of `ThenStmt` and should not + * be referenced directly. + */ +module Impl { + /** + * A statement implicitly wrapping values to be used in branches of if/switch expressions. For example in: + * ``` + * let rank = switch value { + * case 0..<0x80: 1 + * case 0x80..<0x0800: 2 + * default: 3 + * } + * ``` + * the literal expressions `1`, `2` and `3` are wrapped in `ThenStmt`. + */ + class ThenStmt extends Generated::ThenStmt { } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ThrowStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/ThrowStmt.qll index 74c5058c2d01..6a771efbe9f1 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/ThrowStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/ThrowStmt.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.stmt.ThrowStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `ThrowStmt`. + */ -class ThrowStmt extends Generated::ThrowStmt { - override string toString() { result = "throw ..." } -} +private import ThrowStmtImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.stmt.Stmt + +final class ThrowStmt = Impl::ThrowStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/ThrowStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/ThrowStmtImpl.qll new file mode 100644 index 000000000000..2865061216d6 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/ThrowStmtImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.stmt.ThrowStmt + +module Impl { + class ThrowStmt extends Generated::ThrowStmt { + override string toString() { result = "throw ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/WhileStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/WhileStmt.qll index 89eec1e4c64e..c80a3fcaef4f 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/WhileStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/WhileStmt.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.stmt.WhileStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `WhileStmt`. + */ -class WhileStmt extends Generated::WhileStmt { - override string toString() { result = "while ... { ... }" } -} +private import WhileStmtImpl +import codeql.swift.elements.stmt.LabeledConditionalStmt +import codeql.swift.elements.stmt.Stmt + +final class WhileStmt = Impl::WhileStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/WhileStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/WhileStmtImpl.qll new file mode 100644 index 000000000000..9359c6ccd20a --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/WhileStmtImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.stmt.WhileStmt + +module Impl { + class WhileStmt extends Generated::WhileStmt { + override string toString() { result = "while ... { ... }" } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/stmt/YieldStmt.qll b/swift/ql/lib/codeql/swift/elements/stmt/YieldStmt.qll index 9c830c5e655a..43bfdde57434 100644 --- a/swift/ql/lib/codeql/swift/elements/stmt/YieldStmt.qll +++ b/swift/ql/lib/codeql/swift/elements/stmt/YieldStmt.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.stmt.YieldStmt +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `YieldStmt`. + */ -class YieldStmt extends Generated::YieldStmt { - override string toString() { result = "yield ..." } -} +private import YieldStmtImpl +import codeql.swift.elements.expr.Expr +import codeql.swift.elements.stmt.Stmt + +final class YieldStmt = Impl::YieldStmt; diff --git a/swift/ql/lib/codeql/swift/elements/stmt/YieldStmtImpl.qll b/swift/ql/lib/codeql/swift/elements/stmt/YieldStmtImpl.qll new file mode 100644 index 000000000000..aeb1623d9bb7 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/stmt/YieldStmtImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.stmt.YieldStmt + +module Impl { + class YieldStmt extends Generated::YieldStmt { + override string toString() { result = "yield ..." } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/AnyBuiltinIntegerType.qll b/swift/ql/lib/codeql/swift/elements/type/AnyBuiltinIntegerType.qll index 16ee527581d8..b2a131f1d191 100644 --- a/swift/ql/lib/codeql/swift/elements/type/AnyBuiltinIntegerType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/AnyBuiltinIntegerType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AnyBuiltinIntegerType`. + * This module provides the public class `AnyBuiltinIntegerType`. */ -private import codeql.swift.generated.type.AnyBuiltinIntegerType +private import AnyBuiltinIntegerTypeImpl +import codeql.swift.elements.type.BuiltinType -class AnyBuiltinIntegerType extends Generated::AnyBuiltinIntegerType { } +final class AnyBuiltinIntegerType = Impl::AnyBuiltinIntegerType; diff --git a/swift/ql/lib/codeql/swift/elements/type/AnyBuiltinIntegerTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/AnyBuiltinIntegerTypeImpl.qll new file mode 100644 index 000000000000..393c754de830 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/AnyBuiltinIntegerTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AnyBuiltinIntegerType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.AnyBuiltinIntegerType + +/** + * INTERNAL: This module contains the customizable definition of `AnyBuiltinIntegerType` and should not + * be referenced directly. + */ +module Impl { + class AnyBuiltinIntegerType extends Generated::AnyBuiltinIntegerType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/AnyFunctionType.qll b/swift/ql/lib/codeql/swift/elements/type/AnyFunctionType.qll index af6f95621a59..9a1215c6e806 100644 --- a/swift/ql/lib/codeql/swift/elements/type/AnyFunctionType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/AnyFunctionType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AnyFunctionType`. + * This module provides the public class `AnyFunctionType`. */ -private import codeql.swift.generated.type.AnyFunctionType +private import AnyFunctionTypeImpl +import codeql.swift.elements.type.Type -class AnyFunctionType extends Generated::AnyFunctionType { } +final class AnyFunctionType = Impl::AnyFunctionType; diff --git a/swift/ql/lib/codeql/swift/elements/type/AnyFunctionTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/AnyFunctionTypeImpl.qll new file mode 100644 index 000000000000..e767cede6c43 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/AnyFunctionTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AnyFunctionType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.AnyFunctionType + +/** + * INTERNAL: This module contains the customizable definition of `AnyFunctionType` and should not + * be referenced directly. + */ +module Impl { + class AnyFunctionType extends Generated::AnyFunctionType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/AnyGenericType.qll b/swift/ql/lib/codeql/swift/elements/type/AnyGenericType.qll index 841fe11121aa..a8e9da1bda96 100644 --- a/swift/ql/lib/codeql/swift/elements/type/AnyGenericType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/AnyGenericType.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AnyGenericType`. + * This module provides the public class `AnyGenericType`. */ -private import codeql.swift.generated.type.AnyGenericType +private import AnyGenericTypeImpl +import codeql.swift.elements.decl.GenericTypeDecl +import codeql.swift.elements.type.Type -class AnyGenericType extends Generated::AnyGenericType { } +final class AnyGenericType = Impl::AnyGenericType; diff --git a/swift/ql/lib/codeql/swift/elements/type/AnyGenericTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/AnyGenericTypeImpl.qll new file mode 100644 index 000000000000..8d293a559cf0 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/AnyGenericTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AnyGenericType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.AnyGenericType + +/** + * INTERNAL: This module contains the customizable definition of `AnyGenericType` and should not + * be referenced directly. + */ +module Impl { + class AnyGenericType extends Generated::AnyGenericType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/AnyMetatypeType.qll b/swift/ql/lib/codeql/swift/elements/type/AnyMetatypeType.qll index 2c1e19693403..bd28205cd180 100644 --- a/swift/ql/lib/codeql/swift/elements/type/AnyMetatypeType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/AnyMetatypeType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `AnyMetatypeType`. + * This module provides the public class `AnyMetatypeType`. */ -private import codeql.swift.generated.type.AnyMetatypeType +private import AnyMetatypeTypeImpl +import codeql.swift.elements.type.Type -class AnyMetatypeType extends Generated::AnyMetatypeType { } +final class AnyMetatypeType = Impl::AnyMetatypeType; diff --git a/swift/ql/lib/codeql/swift/elements/type/AnyMetatypeTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/AnyMetatypeTypeImpl.qll new file mode 100644 index 000000000000..5c31802332c1 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/AnyMetatypeTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `AnyMetatypeType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.AnyMetatypeType + +/** + * INTERNAL: This module contains the customizable definition of `AnyMetatypeType` and should not + * be referenced directly. + */ +module Impl { + class AnyMetatypeType extends Generated::AnyMetatypeType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ArchetypeType.qll b/swift/ql/lib/codeql/swift/elements/type/ArchetypeType.qll index d5b308be5d2b..476945118c55 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ArchetypeType.qll @@ -1,8 +1,11 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ArchetypeType`. + * This module provides the public class `ArchetypeType`. */ -private import codeql.swift.generated.type.ArchetypeType +private import ArchetypeTypeImpl +import codeql.swift.elements.decl.ProtocolDecl +import codeql.swift.elements.type.SubstitutableType +import codeql.swift.elements.type.Type -class ArchetypeType extends Generated::ArchetypeType { } +final class ArchetypeType = Impl::ArchetypeType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ArchetypeTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ArchetypeTypeImpl.qll new file mode 100644 index 000000000000..68a1c1bd3c1f --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ArchetypeTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ArchetypeType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ArchetypeType + +/** + * INTERNAL: This module contains the customizable definition of `ArchetypeType` and should not + * be referenced directly. + */ +module Impl { + class ArchetypeType extends Generated::ArchetypeType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ArraySliceType.qll b/swift/ql/lib/codeql/swift/elements/type/ArraySliceType.qll index dd68e733bc5e..7d4741da1641 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ArraySliceType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ArraySliceType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ArraySliceType`. + * This module provides the public class `ArraySliceType`. */ -private import codeql.swift.generated.type.ArraySliceType +private import ArraySliceTypeImpl +import codeql.swift.elements.type.UnarySyntaxSugarType -class ArraySliceType extends Generated::ArraySliceType { } +final class ArraySliceType = Impl::ArraySliceType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ArraySliceTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ArraySliceTypeImpl.qll new file mode 100644 index 000000000000..bc8a244ec5ee --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ArraySliceTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ArraySliceType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ArraySliceType + +/** + * INTERNAL: This module contains the customizable definition of `ArraySliceType` and should not + * be referenced directly. + */ +module Impl { + class ArraySliceType extends Generated::ArraySliceType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BoundGenericClassType.qll b/swift/ql/lib/codeql/swift/elements/type/BoundGenericClassType.qll index 119d8f0bf51b..dbe2c507f62a 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BoundGenericClassType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BoundGenericClassType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BoundGenericClassType`. + * This module provides the public class `BoundGenericClassType`. */ -private import codeql.swift.generated.type.BoundGenericClassType +private import BoundGenericClassTypeImpl +import codeql.swift.elements.type.BoundGenericType -class BoundGenericClassType extends Generated::BoundGenericClassType { } +final class BoundGenericClassType = Impl::BoundGenericClassType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BoundGenericClassTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BoundGenericClassTypeImpl.qll new file mode 100644 index 000000000000..e13eca0840d3 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BoundGenericClassTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BoundGenericClassType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BoundGenericClassType + +/** + * INTERNAL: This module contains the customizable definition of `BoundGenericClassType` and should not + * be referenced directly. + */ +module Impl { + class BoundGenericClassType extends Generated::BoundGenericClassType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BoundGenericEnumType.qll b/swift/ql/lib/codeql/swift/elements/type/BoundGenericEnumType.qll index c7b65bc44305..55b1e6a495a2 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BoundGenericEnumType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BoundGenericEnumType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BoundGenericEnumType`. + * This module provides the public class `BoundGenericEnumType`. */ -private import codeql.swift.generated.type.BoundGenericEnumType +private import BoundGenericEnumTypeImpl +import codeql.swift.elements.type.BoundGenericType -class BoundGenericEnumType extends Generated::BoundGenericEnumType { } +final class BoundGenericEnumType = Impl::BoundGenericEnumType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BoundGenericEnumTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BoundGenericEnumTypeImpl.qll new file mode 100644 index 000000000000..4d811a73366c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BoundGenericEnumTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BoundGenericEnumType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BoundGenericEnumType + +/** + * INTERNAL: This module contains the customizable definition of `BoundGenericEnumType` and should not + * be referenced directly. + */ +module Impl { + class BoundGenericEnumType extends Generated::BoundGenericEnumType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BoundGenericStructType.qll b/swift/ql/lib/codeql/swift/elements/type/BoundGenericStructType.qll index c1ad5d6dc370..61793ddaf4a7 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BoundGenericStructType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BoundGenericStructType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BoundGenericStructType`. + * This module provides the public class `BoundGenericStructType`. */ -private import codeql.swift.generated.type.BoundGenericStructType +private import BoundGenericStructTypeImpl +import codeql.swift.elements.type.BoundGenericType -class BoundGenericStructType extends Generated::BoundGenericStructType { } +final class BoundGenericStructType = Impl::BoundGenericStructType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BoundGenericStructTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BoundGenericStructTypeImpl.qll new file mode 100644 index 000000000000..0761d8f4c9cc --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BoundGenericStructTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BoundGenericStructType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BoundGenericStructType + +/** + * INTERNAL: This module contains the customizable definition of `BoundGenericStructType` and should not + * be referenced directly. + */ +module Impl { + class BoundGenericStructType extends Generated::BoundGenericStructType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BoundGenericType.qll b/swift/ql/lib/codeql/swift/elements/type/BoundGenericType.qll index 0c3e9dc327de..f1de2fa1a7bc 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BoundGenericType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BoundGenericType.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BoundGenericType`. + * This module provides the public class `BoundGenericType`. */ -private import codeql.swift.generated.type.BoundGenericType +private import BoundGenericTypeImpl +import codeql.swift.elements.type.NominalOrBoundGenericNominalType +import codeql.swift.elements.type.Type -class BoundGenericType extends Generated::BoundGenericType { } +final class BoundGenericType = Impl::BoundGenericType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BoundGenericTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BoundGenericTypeImpl.qll new file mode 100644 index 000000000000..74d8984abb67 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BoundGenericTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BoundGenericType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BoundGenericType + +/** + * INTERNAL: This module contains the customizable definition of `BoundGenericType` and should not + * be referenced directly. + */ +module Impl { + class BoundGenericType extends Generated::BoundGenericType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinBridgeObjectType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinBridgeObjectType.qll index c35d458536f7..c706e6d2e8fd 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinBridgeObjectType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinBridgeObjectType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinBridgeObjectType`. + * This module provides the public class `BuiltinBridgeObjectType`. */ -private import codeql.swift.generated.type.BuiltinBridgeObjectType +private import BuiltinBridgeObjectTypeImpl +import codeql.swift.elements.type.BuiltinType -class BuiltinBridgeObjectType extends Generated::BuiltinBridgeObjectType { } +final class BuiltinBridgeObjectType = Impl::BuiltinBridgeObjectType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinBridgeObjectTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinBridgeObjectTypeImpl.qll new file mode 100644 index 000000000000..3ff27c2798a5 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinBridgeObjectTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinBridgeObjectType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinBridgeObjectType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinBridgeObjectType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinBridgeObjectType extends Generated::BuiltinBridgeObjectType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinDefaultActorStorageType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinDefaultActorStorageType.qll index 939b8e2b0b69..69994e5cfa1d 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinDefaultActorStorageType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinDefaultActorStorageType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinDefaultActorStorageType`. + * This module provides the public class `BuiltinDefaultActorStorageType`. */ -private import codeql.swift.generated.type.BuiltinDefaultActorStorageType +private import BuiltinDefaultActorStorageTypeImpl +import codeql.swift.elements.type.BuiltinType -class BuiltinDefaultActorStorageType extends Generated::BuiltinDefaultActorStorageType { } +final class BuiltinDefaultActorStorageType = Impl::BuiltinDefaultActorStorageType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinDefaultActorStorageTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinDefaultActorStorageTypeImpl.qll new file mode 100644 index 000000000000..2baee615e752 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinDefaultActorStorageTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinDefaultActorStorageType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinDefaultActorStorageType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinDefaultActorStorageType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinDefaultActorStorageType extends Generated::BuiltinDefaultActorStorageType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinExecutorType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinExecutorType.qll index d01ed09a269d..4336a27d20c8 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinExecutorType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinExecutorType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinExecutorType`. + * This module provides the public class `BuiltinExecutorType`. */ -private import codeql.swift.generated.type.BuiltinExecutorType +private import BuiltinExecutorTypeImpl +import codeql.swift.elements.type.BuiltinType -class BuiltinExecutorType extends Generated::BuiltinExecutorType { } +final class BuiltinExecutorType = Impl::BuiltinExecutorType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinExecutorTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinExecutorTypeImpl.qll new file mode 100644 index 000000000000..78fe9438ecd0 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinExecutorTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinExecutorType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinExecutorType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinExecutorType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinExecutorType extends Generated::BuiltinExecutorType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinFloatType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinFloatType.qll index c590a417a643..0dcaa2944a09 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinFloatType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinFloatType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinFloatType`. + * This module provides the public class `BuiltinFloatType`. */ -private import codeql.swift.generated.type.BuiltinFloatType +private import BuiltinFloatTypeImpl +import codeql.swift.elements.type.BuiltinType -class BuiltinFloatType extends Generated::BuiltinFloatType { } +final class BuiltinFloatType = Impl::BuiltinFloatType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinFloatTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinFloatTypeImpl.qll new file mode 100644 index 000000000000..0ec7a8015eff --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinFloatTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinFloatType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinFloatType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinFloatType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinFloatType extends Generated::BuiltinFloatType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerLiteralType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerLiteralType.qll index e28908c59850..4a854d0a242a 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerLiteralType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerLiteralType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinIntegerLiteralType`. + * This module provides the public class `BuiltinIntegerLiteralType`. */ -private import codeql.swift.generated.type.BuiltinIntegerLiteralType +private import BuiltinIntegerLiteralTypeImpl +import codeql.swift.elements.type.AnyBuiltinIntegerType -class BuiltinIntegerLiteralType extends Generated::BuiltinIntegerLiteralType { } +final class BuiltinIntegerLiteralType = Impl::BuiltinIntegerLiteralType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerLiteralTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerLiteralTypeImpl.qll new file mode 100644 index 000000000000..89c89f75a7fe --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerLiteralTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinIntegerLiteralType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinIntegerLiteralType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinIntegerLiteralType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinIntegerLiteralType extends Generated::BuiltinIntegerLiteralType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerType.qll index ce516d01bbee..9f7f76a21b84 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinIntegerType`. + * This module provides the public class `BuiltinIntegerType`. */ -private import codeql.swift.generated.type.BuiltinIntegerType +private import BuiltinIntegerTypeImpl +import codeql.swift.elements.type.AnyBuiltinIntegerType -class BuiltinIntegerType extends Generated::BuiltinIntegerType { } +final class BuiltinIntegerType = Impl::BuiltinIntegerType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerTypeImpl.qll new file mode 100644 index 000000000000..c2726f720c13 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinIntegerTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinIntegerType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinIntegerType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinIntegerType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinIntegerType extends Generated::BuiltinIntegerType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinJobType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinJobType.qll index ea4a30b442ee..842b9e30761b 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinJobType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinJobType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinJobType`. + * This module provides the public class `BuiltinJobType`. */ -private import codeql.swift.generated.type.BuiltinJobType +private import BuiltinJobTypeImpl +import codeql.swift.elements.type.BuiltinType -class BuiltinJobType extends Generated::BuiltinJobType { } +final class BuiltinJobType = Impl::BuiltinJobType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinJobTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinJobTypeImpl.qll new file mode 100644 index 000000000000..2bb897c03929 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinJobTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinJobType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinJobType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinJobType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinJobType extends Generated::BuiltinJobType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinNativeObjectType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinNativeObjectType.qll index 6d8b295a4a7b..661beda76896 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinNativeObjectType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinNativeObjectType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinNativeObjectType`. + * This module provides the public class `BuiltinNativeObjectType`. */ -private import codeql.swift.generated.type.BuiltinNativeObjectType +private import BuiltinNativeObjectTypeImpl +import codeql.swift.elements.type.BuiltinType -class BuiltinNativeObjectType extends Generated::BuiltinNativeObjectType { } +final class BuiltinNativeObjectType = Impl::BuiltinNativeObjectType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinNativeObjectTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinNativeObjectTypeImpl.qll new file mode 100644 index 000000000000..6445ce9d730c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinNativeObjectTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinNativeObjectType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinNativeObjectType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinNativeObjectType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinNativeObjectType extends Generated::BuiltinNativeObjectType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinRawPointerType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinRawPointerType.qll index 864f2656f678..5f88bed3f2e9 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinRawPointerType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinRawPointerType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinRawPointerType`. + * This module provides the public class `BuiltinRawPointerType`. */ -private import codeql.swift.generated.type.BuiltinRawPointerType +private import BuiltinRawPointerTypeImpl +import codeql.swift.elements.type.BuiltinType -class BuiltinRawPointerType extends Generated::BuiltinRawPointerType { } +final class BuiltinRawPointerType = Impl::BuiltinRawPointerType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinRawPointerTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinRawPointerTypeImpl.qll new file mode 100644 index 000000000000..9e948f2ce6dc --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinRawPointerTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinRawPointerType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinRawPointerType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinRawPointerType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinRawPointerType extends Generated::BuiltinRawPointerType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationType.qll index ae3e6c400d89..70b70ddde01f 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinRawUnsafeContinuationType`. + * This module provides the public class `BuiltinRawUnsafeContinuationType`. */ -private import codeql.swift.generated.type.BuiltinRawUnsafeContinuationType +private import BuiltinRawUnsafeContinuationTypeImpl +import codeql.swift.elements.type.BuiltinType -class BuiltinRawUnsafeContinuationType extends Generated::BuiltinRawUnsafeContinuationType { } +final class BuiltinRawUnsafeContinuationType = Impl::BuiltinRawUnsafeContinuationType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationTypeImpl.qll new file mode 100644 index 000000000000..f88a78559749 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinRawUnsafeContinuationTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinRawUnsafeContinuationType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinRawUnsafeContinuationType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinRawUnsafeContinuationType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinRawUnsafeContinuationType extends Generated::BuiltinRawUnsafeContinuationType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinType.qll index 38b6abc1a4fa..a1f3e4e5516e 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinType`. + * This module provides the public class `BuiltinType`. */ -private import codeql.swift.generated.type.BuiltinType +private import BuiltinTypeImpl +import codeql.swift.elements.type.Type -class BuiltinType extends Generated::BuiltinType { } +final class BuiltinType = Impl::BuiltinType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinTypeImpl.qll new file mode 100644 index 000000000000..a9c8e0f1b739 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinType extends Generated::BuiltinType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferType.qll index 6c695cc09c49..235d17143123 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinUnsafeValueBufferType`. + * This module provides the public class `BuiltinUnsafeValueBufferType`. */ -private import codeql.swift.generated.type.BuiltinUnsafeValueBufferType +private import BuiltinUnsafeValueBufferTypeImpl +import codeql.swift.elements.type.BuiltinType -class BuiltinUnsafeValueBufferType extends Generated::BuiltinUnsafeValueBufferType { } +final class BuiltinUnsafeValueBufferType = Impl::BuiltinUnsafeValueBufferType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferTypeImpl.qll new file mode 100644 index 000000000000..53d8204dac27 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinUnsafeValueBufferTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinUnsafeValueBufferType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinUnsafeValueBufferType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinUnsafeValueBufferType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinUnsafeValueBufferType extends Generated::BuiltinUnsafeValueBufferType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinVectorType.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinVectorType.qll index 462c27480490..16c360711193 100644 --- a/swift/ql/lib/codeql/swift/elements/type/BuiltinVectorType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinVectorType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `BuiltinVectorType`. + * This module provides the public class `BuiltinVectorType`. */ -private import codeql.swift.generated.type.BuiltinVectorType +private import BuiltinVectorTypeImpl +import codeql.swift.elements.type.BuiltinType -class BuiltinVectorType extends Generated::BuiltinVectorType { } +final class BuiltinVectorType = Impl::BuiltinVectorType; diff --git a/swift/ql/lib/codeql/swift/elements/type/BuiltinVectorTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/BuiltinVectorTypeImpl.qll new file mode 100644 index 000000000000..017568a82f74 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/BuiltinVectorTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `BuiltinVectorType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.BuiltinVectorType + +/** + * INTERNAL: This module contains the customizable definition of `BuiltinVectorType` and should not + * be referenced directly. + */ +module Impl { + class BuiltinVectorType extends Generated::BuiltinVectorType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ClassType.qll b/swift/ql/lib/codeql/swift/elements/type/ClassType.qll index f46e7e8bbb04..2160ba2e58a9 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ClassType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ClassType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ClassType`. + * This module provides the public class `ClassType`. */ -private import codeql.swift.generated.type.ClassType +private import ClassTypeImpl +import codeql.swift.elements.type.NominalType -class ClassType extends Generated::ClassType { } +final class ClassType = Impl::ClassType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ClassTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ClassTypeImpl.qll new file mode 100644 index 000000000000..d2f28ca9b3b5 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ClassTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ClassType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ClassType + +/** + * INTERNAL: This module contains the customizable definition of `ClassType` and should not + * be referenced directly. + */ +module Impl { + class ClassType extends Generated::ClassType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/DependentMemberType.qll b/swift/ql/lib/codeql/swift/elements/type/DependentMemberType.qll index aa0809e4b59f..18f7e14f207c 100644 --- a/swift/ql/lib/codeql/swift/elements/type/DependentMemberType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/DependentMemberType.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `DependentMemberType`. + * This module provides the public class `DependentMemberType`. */ -private import codeql.swift.generated.type.DependentMemberType +private import DependentMemberTypeImpl +import codeql.swift.elements.decl.AssociatedTypeDecl +import codeql.swift.elements.type.Type -class DependentMemberType extends Generated::DependentMemberType { } +final class DependentMemberType = Impl::DependentMemberType; diff --git a/swift/ql/lib/codeql/swift/elements/type/DependentMemberTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/DependentMemberTypeImpl.qll new file mode 100644 index 000000000000..4b5b3bf98064 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/DependentMemberTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `DependentMemberType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.DependentMemberType + +/** + * INTERNAL: This module contains the customizable definition of `DependentMemberType` and should not + * be referenced directly. + */ +module Impl { + class DependentMemberType extends Generated::DependentMemberType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/DictionaryType.qll b/swift/ql/lib/codeql/swift/elements/type/DictionaryType.qll index 595d0504f9a7..abeccc2e96b0 100644 --- a/swift/ql/lib/codeql/swift/elements/type/DictionaryType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/DictionaryType.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `DictionaryType`. + * This module provides the public class `DictionaryType`. */ -private import codeql.swift.generated.type.DictionaryType +private import DictionaryTypeImpl +import codeql.swift.elements.type.SyntaxSugarType +import codeql.swift.elements.type.Type -class DictionaryType extends Generated::DictionaryType { } +final class DictionaryType = Impl::DictionaryType; diff --git a/swift/ql/lib/codeql/swift/elements/type/DictionaryTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/DictionaryTypeImpl.qll new file mode 100644 index 000000000000..c5ca19e485a4 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/DictionaryTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `DictionaryType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.DictionaryType + +/** + * INTERNAL: This module contains the customizable definition of `DictionaryType` and should not + * be referenced directly. + */ +module Impl { + class DictionaryType extends Generated::DictionaryType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/DynamicSelfType.qll b/swift/ql/lib/codeql/swift/elements/type/DynamicSelfType.qll index 53455f43e2a6..7925b4ae9059 100644 --- a/swift/ql/lib/codeql/swift/elements/type/DynamicSelfType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/DynamicSelfType.qll @@ -1,9 +1,9 @@ -private import codeql.swift.generated.type.DynamicSelfType +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `DynamicSelfType`. + */ -class DynamicSelfType extends Generated::DynamicSelfType { - override Type getResolveStep() { - // The type of qualifiers in a Swift constructor is assigned the type `Self` by the Swift compiler - // This `getResolveStep` replaces that `Self` type with the type of the enclosing class. - result = this.getImmediateStaticSelfType() - } -} +private import DynamicSelfTypeImpl +import codeql.swift.elements.type.Type + +final class DynamicSelfType = Impl::DynamicSelfType; diff --git a/swift/ql/lib/codeql/swift/elements/type/DynamicSelfTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/DynamicSelfTypeImpl.qll new file mode 100644 index 000000000000..2a325f96e061 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/DynamicSelfTypeImpl.qll @@ -0,0 +1,11 @@ +private import codeql.swift.generated.type.DynamicSelfType + +module Impl { + class DynamicSelfType extends Generated::DynamicSelfType { + override Type getResolveStep() { + // The type of qualifiers in a Swift constructor is assigned the type `Self` by the Swift compiler + // This `getResolveStep` replaces that `Self` type with the type of the enclosing class. + result = this.getImmediateStaticSelfType() + } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ElementArchetypeType.qll b/swift/ql/lib/codeql/swift/elements/type/ElementArchetypeType.qll index f21035f1a64d..0a923dbbb232 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ElementArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ElementArchetypeType.qll @@ -1,11 +1,12 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ElementArchetypeType`. + * This module provides the public class `ElementArchetypeType`. */ -private import codeql.swift.generated.type.ElementArchetypeType +private import ElementArchetypeTypeImpl +import codeql.swift.elements.type.LocalArchetypeType /** * An archetype type of PackElementType. */ -class ElementArchetypeType extends Generated::ElementArchetypeType { } +final class ElementArchetypeType = Impl::ElementArchetypeType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ElementArchetypeTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ElementArchetypeTypeImpl.qll new file mode 100644 index 000000000000..3a18a7d4a591 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ElementArchetypeTypeImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ElementArchetypeType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ElementArchetypeType + +/** + * INTERNAL: This module contains the customizable definition of `ElementArchetypeType` and should not + * be referenced directly. + */ +module Impl { + /** + * An archetype type of PackElementType. + */ + class ElementArchetypeType extends Generated::ElementArchetypeType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/EnumType.qll b/swift/ql/lib/codeql/swift/elements/type/EnumType.qll index 5e2f8498f3ec..8d4f263546cd 100644 --- a/swift/ql/lib/codeql/swift/elements/type/EnumType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/EnumType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `EnumType`. + * This module provides the public class `EnumType`. */ -private import codeql.swift.generated.type.EnumType +private import EnumTypeImpl +import codeql.swift.elements.type.NominalType -class EnumType extends Generated::EnumType { } +final class EnumType = Impl::EnumType; diff --git a/swift/ql/lib/codeql/swift/elements/type/EnumTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/EnumTypeImpl.qll new file mode 100644 index 000000000000..c161cdc6613b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/EnumTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `EnumType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.EnumType + +/** + * INTERNAL: This module contains the customizable definition of `EnumType` and should not + * be referenced directly. + */ +module Impl { + class EnumType extends Generated::EnumType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ErrorType.qll b/swift/ql/lib/codeql/swift/elements/type/ErrorType.qll index 335e447d6992..aa4cb2b52878 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ErrorType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ErrorType.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ErrorType`. + * This module provides the public class `ErrorType`. */ -private import codeql.swift.generated.type.ErrorType +private import ErrorTypeImpl +import codeql.swift.elements.ErrorElement +import codeql.swift.elements.type.Type -class ErrorType extends Generated::ErrorType { } +final class ErrorType = Impl::ErrorType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ErrorTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ErrorTypeImpl.qll new file mode 100644 index 000000000000..002d30ec2df3 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ErrorTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ErrorType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ErrorType + +/** + * INTERNAL: This module contains the customizable definition of `ErrorType` and should not + * be referenced directly. + */ +module Impl { + class ErrorType extends Generated::ErrorType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ExistentialMetatypeType.qll b/swift/ql/lib/codeql/swift/elements/type/ExistentialMetatypeType.qll index d4a1ef03bf77..6cb2f189e936 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ExistentialMetatypeType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ExistentialMetatypeType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ExistentialMetatypeType`. + * This module provides the public class `ExistentialMetatypeType`. */ -private import codeql.swift.generated.type.ExistentialMetatypeType +private import ExistentialMetatypeTypeImpl +import codeql.swift.elements.type.AnyMetatypeType -class ExistentialMetatypeType extends Generated::ExistentialMetatypeType { } +final class ExistentialMetatypeType = Impl::ExistentialMetatypeType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ExistentialMetatypeTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ExistentialMetatypeTypeImpl.qll new file mode 100644 index 000000000000..eb4ba7df3cf8 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ExistentialMetatypeTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ExistentialMetatypeType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ExistentialMetatypeType + +/** + * INTERNAL: This module contains the customizable definition of `ExistentialMetatypeType` and should not + * be referenced directly. + */ +module Impl { + class ExistentialMetatypeType extends Generated::ExistentialMetatypeType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ExistentialType.qll b/swift/ql/lib/codeql/swift/elements/type/ExistentialType.qll index 4e3edbcb18ec..a52a7cc97f01 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ExistentialType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ExistentialType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ExistentialType`. + * This module provides the public class `ExistentialType`. */ -private import codeql.swift.generated.type.ExistentialType +private import ExistentialTypeImpl +import codeql.swift.elements.type.Type -class ExistentialType extends Generated::ExistentialType { } +final class ExistentialType = Impl::ExistentialType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ExistentialTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ExistentialTypeImpl.qll new file mode 100644 index 000000000000..6f7fa7ee27eb --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ExistentialTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ExistentialType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ExistentialType + +/** + * INTERNAL: This module contains the customizable definition of `ExistentialType` and should not + * be referenced directly. + */ +module Impl { + class ExistentialType extends Generated::ExistentialType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/FunctionType.qll b/swift/ql/lib/codeql/swift/elements/type/FunctionType.qll index 865dc0c57f71..8195fc2d52ea 100644 --- a/swift/ql/lib/codeql/swift/elements/type/FunctionType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/FunctionType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `FunctionType`. + * This module provides the public class `FunctionType`. */ -private import codeql.swift.generated.type.FunctionType +private import FunctionTypeImpl +import codeql.swift.elements.type.AnyFunctionType -class FunctionType extends Generated::FunctionType { } +final class FunctionType = Impl::FunctionType; diff --git a/swift/ql/lib/codeql/swift/elements/type/FunctionTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/FunctionTypeImpl.qll new file mode 100644 index 000000000000..fdaaa523a355 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/FunctionTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `FunctionType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.FunctionType + +/** + * INTERNAL: This module contains the customizable definition of `FunctionType` and should not + * be referenced directly. + */ +module Impl { + class FunctionType extends Generated::FunctionType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/GenericFunctionType.qll b/swift/ql/lib/codeql/swift/elements/type/GenericFunctionType.qll index 43eb12375e12..179a86932891 100644 --- a/swift/ql/lib/codeql/swift/elements/type/GenericFunctionType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/GenericFunctionType.qll @@ -1,11 +1,13 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `GenericFunctionType`. + * This module provides the public class `GenericFunctionType`. */ -private import codeql.swift.generated.type.GenericFunctionType +private import GenericFunctionTypeImpl +import codeql.swift.elements.type.AnyFunctionType +import codeql.swift.elements.type.GenericTypeParamType /** * The type of a generic function with type parameters */ -class GenericFunctionType extends Generated::GenericFunctionType { } +final class GenericFunctionType = Impl::GenericFunctionType; diff --git a/swift/ql/lib/codeql/swift/elements/type/GenericFunctionTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/GenericFunctionTypeImpl.qll new file mode 100644 index 000000000000..10f3d23f15fc --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/GenericFunctionTypeImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `GenericFunctionType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.GenericFunctionType + +/** + * INTERNAL: This module contains the customizable definition of `GenericFunctionType` and should not + * be referenced directly. + */ +module Impl { + /** + * The type of a generic function with type parameters + */ + class GenericFunctionType extends Generated::GenericFunctionType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/GenericTypeParamType.qll b/swift/ql/lib/codeql/swift/elements/type/GenericTypeParamType.qll index 3308e0f4f5df..2512996b49db 100644 --- a/swift/ql/lib/codeql/swift/elements/type/GenericTypeParamType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/GenericTypeParamType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `GenericTypeParamType`. + * This module provides the public class `GenericTypeParamType`. */ -private import codeql.swift.generated.type.GenericTypeParamType +private import GenericTypeParamTypeImpl +import codeql.swift.elements.type.SubstitutableType -class GenericTypeParamType extends Generated::GenericTypeParamType { } +final class GenericTypeParamType = Impl::GenericTypeParamType; diff --git a/swift/ql/lib/codeql/swift/elements/type/GenericTypeParamTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/GenericTypeParamTypeImpl.qll new file mode 100644 index 000000000000..d26568dba1c0 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/GenericTypeParamTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `GenericTypeParamType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.GenericTypeParamType + +/** + * INTERNAL: This module contains the customizable definition of `GenericTypeParamType` and should not + * be referenced directly. + */ +module Impl { + class GenericTypeParamType extends Generated::GenericTypeParamType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/InOutType.qll b/swift/ql/lib/codeql/swift/elements/type/InOutType.qll index ad1f319bb696..6e2bab5b2512 100644 --- a/swift/ql/lib/codeql/swift/elements/type/InOutType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/InOutType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `InOutType`. + * This module provides the public class `InOutType`. */ -private import codeql.swift.generated.type.InOutType +private import InOutTypeImpl +import codeql.swift.elements.type.Type -class InOutType extends Generated::InOutType { } +final class InOutType = Impl::InOutType; diff --git a/swift/ql/lib/codeql/swift/elements/type/InOutTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/InOutTypeImpl.qll new file mode 100644 index 000000000000..6f104e962472 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/InOutTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `InOutType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.InOutType + +/** + * INTERNAL: This module contains the customizable definition of `InOutType` and should not + * be referenced directly. + */ +module Impl { + class InOutType extends Generated::InOutType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/LValueType.qll b/swift/ql/lib/codeql/swift/elements/type/LValueType.qll index d6b4048bdd77..4fc3a5153166 100644 --- a/swift/ql/lib/codeql/swift/elements/type/LValueType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/LValueType.qll @@ -1,5 +1,9 @@ -private import codeql.swift.generated.type.LValueType +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `LValueType`. + */ -class LValueType extends Generated::LValueType { - override Type getResolveStep() { result = this.getImmediateObjectType() } -} +private import LValueTypeImpl +import codeql.swift.elements.type.Type + +final class LValueType = Impl::LValueType; diff --git a/swift/ql/lib/codeql/swift/elements/type/LValueTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/LValueTypeImpl.qll new file mode 100644 index 000000000000..844e0f639a9b --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/LValueTypeImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.type.LValueType + +module Impl { + class LValueType extends Generated::LValueType { + override Type getResolveStep() { result = this.getImmediateObjectType() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/LocalArchetypeType.qll b/swift/ql/lib/codeql/swift/elements/type/LocalArchetypeType.qll index 36adc899cc5a..a31f4f01cac7 100644 --- a/swift/ql/lib/codeql/swift/elements/type/LocalArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/LocalArchetypeType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `LocalArchetypeType`. + * This module provides the public class `LocalArchetypeType`. */ -private import codeql.swift.generated.type.LocalArchetypeType +private import LocalArchetypeTypeImpl +import codeql.swift.elements.type.ArchetypeType -class LocalArchetypeType extends Generated::LocalArchetypeType { } +final class LocalArchetypeType = Impl::LocalArchetypeType; diff --git a/swift/ql/lib/codeql/swift/elements/type/LocalArchetypeTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/LocalArchetypeTypeImpl.qll new file mode 100644 index 000000000000..b6926eec54dd --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/LocalArchetypeTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `LocalArchetypeType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.LocalArchetypeType + +/** + * INTERNAL: This module contains the customizable definition of `LocalArchetypeType` and should not + * be referenced directly. + */ +module Impl { + class LocalArchetypeType extends Generated::LocalArchetypeType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/MetatypeType.qll b/swift/ql/lib/codeql/swift/elements/type/MetatypeType.qll index 011518c54dd2..e87fda9a94e2 100644 --- a/swift/ql/lib/codeql/swift/elements/type/MetatypeType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/MetatypeType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `MetatypeType`. + * This module provides the public class `MetatypeType`. */ -private import codeql.swift.generated.type.MetatypeType +private import MetatypeTypeImpl +import codeql.swift.elements.type.AnyMetatypeType -class MetatypeType extends Generated::MetatypeType { } +final class MetatypeType = Impl::MetatypeType; diff --git a/swift/ql/lib/codeql/swift/elements/type/MetatypeTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/MetatypeTypeImpl.qll new file mode 100644 index 000000000000..3e15fe076916 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/MetatypeTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `MetatypeType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.MetatypeType + +/** + * INTERNAL: This module contains the customizable definition of `MetatypeType` and should not + * be referenced directly. + */ +module Impl { + class MetatypeType extends Generated::MetatypeType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ModuleType.qll b/swift/ql/lib/codeql/swift/elements/type/ModuleType.qll index 39d320b4f2e1..fdf32b7d585f 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ModuleType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ModuleType.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ModuleType`. + * This module provides the public class `ModuleType`. */ -private import codeql.swift.generated.type.ModuleType +private import ModuleTypeImpl +import codeql.swift.elements.decl.ModuleDecl +import codeql.swift.elements.type.Type -class ModuleType extends Generated::ModuleType { } +final class ModuleType = Impl::ModuleType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ModuleTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ModuleTypeImpl.qll new file mode 100644 index 000000000000..c50178912f67 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ModuleTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ModuleType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ModuleType + +/** + * INTERNAL: This module contains the customizable definition of `ModuleType` and should not + * be referenced directly. + */ +module Impl { + class ModuleType extends Generated::ModuleType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/NominalOrBoundGenericNominalType.qll b/swift/ql/lib/codeql/swift/elements/type/NominalOrBoundGenericNominalType.qll index 6d5addcb0f34..74f3fa123c53 100644 --- a/swift/ql/lib/codeql/swift/elements/type/NominalOrBoundGenericNominalType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/NominalOrBoundGenericNominalType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `NominalOrBoundGenericNominalType`. + * This module provides the public class `NominalOrBoundGenericNominalType`. */ -private import codeql.swift.generated.type.NominalOrBoundGenericNominalType +private import NominalOrBoundGenericNominalTypeImpl +import codeql.swift.elements.type.AnyGenericType -class NominalOrBoundGenericNominalType extends Generated::NominalOrBoundGenericNominalType { } +final class NominalOrBoundGenericNominalType = Impl::NominalOrBoundGenericNominalType; diff --git a/swift/ql/lib/codeql/swift/elements/type/NominalOrBoundGenericNominalTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/NominalOrBoundGenericNominalTypeImpl.qll new file mode 100644 index 000000000000..a748f3c3ff50 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/NominalOrBoundGenericNominalTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `NominalOrBoundGenericNominalType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.NominalOrBoundGenericNominalType + +/** + * INTERNAL: This module contains the customizable definition of `NominalOrBoundGenericNominalType` and should not + * be referenced directly. + */ +module Impl { + class NominalOrBoundGenericNominalType extends Generated::NominalOrBoundGenericNominalType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/NominalType.qll b/swift/ql/lib/codeql/swift/elements/type/NominalType.qll index bea26b684865..8f5389b1b8a6 100644 --- a/swift/ql/lib/codeql/swift/elements/type/NominalType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/NominalType.qll @@ -1,6 +1,9 @@ -private import codeql.swift.generated.type.NominalType - +// generated by codegen/codegen.py, do not edit /** - * A class, struct, enum or protocol. + * This module provides the public class `NominalType`. */ -class NominalType extends Generated::NominalType { } + +private import NominalTypeImpl +import codeql.swift.elements.type.NominalOrBoundGenericNominalType + +final class NominalType = Impl::NominalType; diff --git a/swift/ql/lib/codeql/swift/elements/type/NominalTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/NominalTypeImpl.qll new file mode 100644 index 000000000000..291d90bdb529 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/NominalTypeImpl.qll @@ -0,0 +1,8 @@ +private import codeql.swift.generated.type.NominalType + +module Impl { + /** + * A class, struct, enum or protocol. + */ + class NominalType extends Generated::NominalType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/NumericType.qll b/swift/ql/lib/codeql/swift/elements/type/NumericType.qll index 1becac4493b4..b4c4975d4bd3 100644 --- a/swift/ql/lib/codeql/swift/elements/type/NumericType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/NumericType.qll @@ -4,7 +4,7 @@ private import swift * A floating-point type. This includes the `Float` type, the `Double`, and * builtin floating-point types. */ -class FloatingPointType extends Type { +final class FloatingPointType extends Type { FloatingPointType() { this.getName() = ["Float", "Double"] or this instanceof BuiltinFloatType @@ -12,14 +12,14 @@ class FloatingPointType extends Type { } /** The `Character` type. */ -class CharacterType extends StructType { +final class CharacterType extends StructType { CharacterType() { this.getName() = "Character" } } /** * An integer-like type. For example, `Int`, `Int16`, `Uint16`, etc. */ -class IntegralType extends Type { +final class IntegralType extends Type { IntegralType() { this.getName() = ["Int", "Int8", "Int16", "Int32", "Int64", "UInt", "UInt8", "UInt16", "UInt32", "UInt64"] @@ -29,14 +29,14 @@ class IntegralType extends Type { } /** The `Bool` type. */ -class BoolType extends Type { +final class BoolType extends Type { BoolType() { this.getName() = "Bool" } } /** * A numeric type. This includes the integer and floating point types. */ -class NumericType extends Type { +final class NumericType extends Type { NumericType() { this instanceof IntegralType or this instanceof FloatingPointType diff --git a/swift/ql/lib/codeql/swift/elements/type/OpaqueTypeArchetypeType.qll b/swift/ql/lib/codeql/swift/elements/type/OpaqueTypeArchetypeType.qll index 07a4b7d75800..b0dc5b9bcc3b 100644 --- a/swift/ql/lib/codeql/swift/elements/type/OpaqueTypeArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/OpaqueTypeArchetypeType.qll @@ -1,13 +1,15 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `OpaqueTypeArchetypeType`. + * This module provides the public class `OpaqueTypeArchetypeType`. */ -private import codeql.swift.generated.type.OpaqueTypeArchetypeType +private import OpaqueTypeArchetypeTypeImpl +import codeql.swift.elements.type.ArchetypeType +import codeql.swift.elements.decl.OpaqueTypeDecl /** * An opaque type, that is a type formally equivalent to an underlying type but abstracting it away. * * See https://docs.swift.org/swift-book/LanguageGuide/OpaqueTypes.html. */ -class OpaqueTypeArchetypeType extends Generated::OpaqueTypeArchetypeType { } +final class OpaqueTypeArchetypeType = Impl::OpaqueTypeArchetypeType; diff --git a/swift/ql/lib/codeql/swift/elements/type/OpaqueTypeArchetypeTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/OpaqueTypeArchetypeTypeImpl.qll new file mode 100644 index 000000000000..fccf02e6d7e1 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/OpaqueTypeArchetypeTypeImpl.qll @@ -0,0 +1,21 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `OpaqueTypeArchetypeType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.OpaqueTypeArchetypeType + +/** + * INTERNAL: This module contains the customizable definition of `OpaqueTypeArchetypeType` and should not + * be referenced directly. + */ +module Impl { + /** + * An opaque type, that is a type formally equivalent to an underlying type but abstracting it away. + * + * See https://docs.swift.org/swift-book/LanguageGuide/OpaqueTypes.html. + */ + class OpaqueTypeArchetypeType extends Generated::OpaqueTypeArchetypeType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/OpenedArchetypeType.qll b/swift/ql/lib/codeql/swift/elements/type/OpenedArchetypeType.qll index e3ca1f6029c6..182de93a570e 100644 --- a/swift/ql/lib/codeql/swift/elements/type/OpenedArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/OpenedArchetypeType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `OpenedArchetypeType`. + * This module provides the public class `OpenedArchetypeType`. */ -private import codeql.swift.generated.type.OpenedArchetypeType +private import OpenedArchetypeTypeImpl +import codeql.swift.elements.type.LocalArchetypeType -class OpenedArchetypeType extends Generated::OpenedArchetypeType { } +final class OpenedArchetypeType = Impl::OpenedArchetypeType; diff --git a/swift/ql/lib/codeql/swift/elements/type/OpenedArchetypeTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/OpenedArchetypeTypeImpl.qll new file mode 100644 index 000000000000..cb45d637c730 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/OpenedArchetypeTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `OpenedArchetypeType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.OpenedArchetypeType + +/** + * INTERNAL: This module contains the customizable definition of `OpenedArchetypeType` and should not + * be referenced directly. + */ +module Impl { + class OpenedArchetypeType extends Generated::OpenedArchetypeType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/OptionalType.qll b/swift/ql/lib/codeql/swift/elements/type/OptionalType.qll index 9b6052be2d4d..34b8c7ce8e29 100644 --- a/swift/ql/lib/codeql/swift/elements/type/OptionalType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/OptionalType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `OptionalType`. + * This module provides the public class `OptionalType`. */ -private import codeql.swift.generated.type.OptionalType +private import OptionalTypeImpl +import codeql.swift.elements.type.UnarySyntaxSugarType -class OptionalType extends Generated::OptionalType { } +final class OptionalType = Impl::OptionalType; diff --git a/swift/ql/lib/codeql/swift/elements/type/OptionalTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/OptionalTypeImpl.qll new file mode 100644 index 000000000000..71dca2cae4b3 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/OptionalTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `OptionalType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.OptionalType + +/** + * INTERNAL: This module contains the customizable definition of `OptionalType` and should not + * be referenced directly. + */ +module Impl { + class OptionalType extends Generated::OptionalType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/PackArchetypeType.qll b/swift/ql/lib/codeql/swift/elements/type/PackArchetypeType.qll index 7c59c80b9a31..1377b59bc957 100644 --- a/swift/ql/lib/codeql/swift/elements/type/PackArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/PackArchetypeType.qll @@ -1,11 +1,12 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PackArchetypeType`. + * This module provides the public class `PackArchetypeType`. */ -private import codeql.swift.generated.type.PackArchetypeType +private import PackArchetypeTypeImpl +import codeql.swift.elements.type.ArchetypeType /** * An archetype type of PackType. */ -class PackArchetypeType extends Generated::PackArchetypeType { } +final class PackArchetypeType = Impl::PackArchetypeType; diff --git a/swift/ql/lib/codeql/swift/elements/type/PackArchetypeTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/PackArchetypeTypeImpl.qll new file mode 100644 index 000000000000..f3db27e4e785 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/PackArchetypeTypeImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PackArchetypeType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.PackArchetypeType + +/** + * INTERNAL: This module contains the customizable definition of `PackArchetypeType` and should not + * be referenced directly. + */ +module Impl { + /** + * An archetype type of PackType. + */ + class PackArchetypeType extends Generated::PackArchetypeType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/PackElementType.qll b/swift/ql/lib/codeql/swift/elements/type/PackElementType.qll index f9efa8d2fb7e..9b8dcdd9b681 100644 --- a/swift/ql/lib/codeql/swift/elements/type/PackElementType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/PackElementType.qll @@ -1,11 +1,12 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PackElementType`. + * This module provides the public class `PackElementType`. */ -private import codeql.swift.generated.type.PackElementType +private import PackElementTypeImpl +import codeql.swift.elements.type.Type /** * A type of PackElementExpr, see PackElementExpr for more information. */ -class PackElementType extends Generated::PackElementType { } +final class PackElementType = Impl::PackElementType; diff --git a/swift/ql/lib/codeql/swift/elements/type/PackElementTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/PackElementTypeImpl.qll new file mode 100644 index 000000000000..acc63e70ec21 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/PackElementTypeImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PackElementType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.PackElementType + +/** + * INTERNAL: This module contains the customizable definition of `PackElementType` and should not + * be referenced directly. + */ +module Impl { + /** + * A type of PackElementExpr, see PackElementExpr for more information. + */ + class PackElementType extends Generated::PackElementType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/PackExpansionType.qll b/swift/ql/lib/codeql/swift/elements/type/PackExpansionType.qll index fb8e528eeaae..566bc752dd86 100644 --- a/swift/ql/lib/codeql/swift/elements/type/PackExpansionType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/PackExpansionType.qll @@ -1,11 +1,12 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PackExpansionType`. + * This module provides the public class `PackExpansionType`. */ -private import codeql.swift.generated.type.PackExpansionType +private import PackExpansionTypeImpl +import codeql.swift.elements.type.Type /** * A type of PackExpansionExpr, see PackExpansionExpr for more information. */ -class PackExpansionType extends Generated::PackExpansionType { } +final class PackExpansionType = Impl::PackExpansionType; diff --git a/swift/ql/lib/codeql/swift/elements/type/PackExpansionTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/PackExpansionTypeImpl.qll new file mode 100644 index 000000000000..8a86bcf5dc1e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/PackExpansionTypeImpl.qll @@ -0,0 +1,19 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PackExpansionType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.PackExpansionType + +/** + * INTERNAL: This module contains the customizable definition of `PackExpansionType` and should not + * be referenced directly. + */ +module Impl { + /** + * A type of PackExpansionExpr, see PackExpansionExpr for more information. + */ + class PackExpansionType extends Generated::PackExpansionType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/PackType.qll b/swift/ql/lib/codeql/swift/elements/type/PackType.qll index 0aa0a9384e6b..4afbb240e183 100644 --- a/swift/ql/lib/codeql/swift/elements/type/PackType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/PackType.qll @@ -1,9 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PackType`. + * This module provides the public class `PackType`. */ -private import codeql.swift.generated.type.PackType +private import PackTypeImpl +import codeql.swift.elements.type.Type /** * An actual type of a pack expression at the instatiation point. @@ -17,4 +18,4 @@ private import codeql.swift.generated.type.PackType * More details: * https://github.com/apple/swift-evolution/blob/main/proposals/0393-parameter-packs.md */ -class PackType extends Generated::PackType { } +final class PackType = Impl::PackType; diff --git a/swift/ql/lib/codeql/swift/elements/type/PackTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/PackTypeImpl.qll new file mode 100644 index 000000000000..ea995934efa1 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/PackTypeImpl.qll @@ -0,0 +1,28 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PackType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.PackType + +/** + * INTERNAL: This module contains the customizable definition of `PackType` and should not + * be referenced directly. + */ +module Impl { + /** + * An actual type of a pack expression at the instatiation point. + * + * In the following example, PackType will appear around `makeTuple` call site as `Pack{String, Int}`: + * ``` + * func makeTuple(_ t: repeat each T) -> (repeat each T) { ... } + * makeTuple("A", 2) + * ``` + * + * More details: + * https://github.com/apple/swift-evolution/blob/main/proposals/0393-parameter-packs.md + */ + class PackType extends Generated::PackType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ParameterizedProtocolType.qll b/swift/ql/lib/codeql/swift/elements/type/ParameterizedProtocolType.qll index 96d17af2314d..ff949faa0ffc 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ParameterizedProtocolType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ParameterizedProtocolType.qll @@ -1,13 +1,15 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ParameterizedProtocolType`. + * This module provides the public class `ParameterizedProtocolType`. */ -private import codeql.swift.generated.type.ParameterizedProtocolType +private import ParameterizedProtocolTypeImpl +import codeql.swift.elements.type.ProtocolType +import codeql.swift.elements.type.Type /** * A sugar type of the form `P` with `P` a protocol. * * If `P` has primary associated type `A`, then `T: P` is a shortcut for `T: P where T.A == X`. */ -class ParameterizedProtocolType extends Generated::ParameterizedProtocolType { } +final class ParameterizedProtocolType = Impl::ParameterizedProtocolType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ParameterizedProtocolTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ParameterizedProtocolTypeImpl.qll new file mode 100644 index 000000000000..60cb218321bb --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ParameterizedProtocolTypeImpl.qll @@ -0,0 +1,21 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ParameterizedProtocolType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ParameterizedProtocolType + +/** + * INTERNAL: This module contains the customizable definition of `ParameterizedProtocolType` and should not + * be referenced directly. + */ +module Impl { + /** + * A sugar type of the form `P` with `P` a protocol. + * + * If `P` has primary associated type `A`, then `T: P` is a shortcut for `T: P where T.A == X`. + */ + class ParameterizedProtocolType extends Generated::ParameterizedProtocolType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ParenType.qll b/swift/ql/lib/codeql/swift/elements/type/ParenType.qll index c36c126497ee..5c6b069b3dbe 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ParenType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ParenType.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ParenType`. + * This module provides the public class `ParenType`. */ -private import codeql.swift.generated.type.ParenType +private import ParenTypeImpl +import codeql.swift.elements.type.SugarType +import codeql.swift.elements.type.Type -class ParenType extends Generated::ParenType { } +final class ParenType = Impl::ParenType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ParenTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ParenTypeImpl.qll new file mode 100644 index 000000000000..60ceaee7fa2f --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ParenTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ParenType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ParenType + +/** + * INTERNAL: This module contains the customizable definition of `ParenType` and should not + * be referenced directly. + */ +module Impl { + class ParenType extends Generated::ParenType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/PrimaryArchetypeType.qll b/swift/ql/lib/codeql/swift/elements/type/PrimaryArchetypeType.qll index e644616b03df..2f1d0a077d0f 100644 --- a/swift/ql/lib/codeql/swift/elements/type/PrimaryArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/PrimaryArchetypeType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `PrimaryArchetypeType`. + * This module provides the public class `PrimaryArchetypeType`. */ -private import codeql.swift.generated.type.PrimaryArchetypeType +private import PrimaryArchetypeTypeImpl +import codeql.swift.elements.type.ArchetypeType -class PrimaryArchetypeType extends Generated::PrimaryArchetypeType { } +final class PrimaryArchetypeType = Impl::PrimaryArchetypeType; diff --git a/swift/ql/lib/codeql/swift/elements/type/PrimaryArchetypeTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/PrimaryArchetypeTypeImpl.qll new file mode 100644 index 000000000000..fe2751c2282d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/PrimaryArchetypeTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `PrimaryArchetypeType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.PrimaryArchetypeType + +/** + * INTERNAL: This module contains the customizable definition of `PrimaryArchetypeType` and should not + * be referenced directly. + */ +module Impl { + class PrimaryArchetypeType extends Generated::PrimaryArchetypeType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ProtocolCompositionType.qll b/swift/ql/lib/codeql/swift/elements/type/ProtocolCompositionType.qll index e56611e8848e..4360f7a3182b 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ProtocolCompositionType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ProtocolCompositionType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ProtocolCompositionType`. + * This module provides the public class `ProtocolCompositionType`. */ -private import codeql.swift.generated.type.ProtocolCompositionType +private import ProtocolCompositionTypeImpl +import codeql.swift.elements.type.Type -class ProtocolCompositionType extends Generated::ProtocolCompositionType { } +final class ProtocolCompositionType = Impl::ProtocolCompositionType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ProtocolCompositionTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ProtocolCompositionTypeImpl.qll new file mode 100644 index 000000000000..5642fcc78293 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ProtocolCompositionTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ProtocolCompositionType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ProtocolCompositionType + +/** + * INTERNAL: This module contains the customizable definition of `ProtocolCompositionType` and should not + * be referenced directly. + */ +module Impl { + class ProtocolCompositionType extends Generated::ProtocolCompositionType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ProtocolType.qll b/swift/ql/lib/codeql/swift/elements/type/ProtocolType.qll index 2dd720e83f70..c5c903bf0299 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ProtocolType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ProtocolType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ProtocolType`. + * This module provides the public class `ProtocolType`. */ -private import codeql.swift.generated.type.ProtocolType +private import ProtocolTypeImpl +import codeql.swift.elements.type.NominalType -class ProtocolType extends Generated::ProtocolType { } +final class ProtocolType = Impl::ProtocolType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ProtocolTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ProtocolTypeImpl.qll new file mode 100644 index 000000000000..b451bcceb4db --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ProtocolTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ProtocolType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ProtocolType + +/** + * INTERNAL: This module contains the customizable definition of `ProtocolType` and should not + * be referenced directly. + */ +module Impl { + class ProtocolType extends Generated::ProtocolType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/ReferenceStorageType.qll b/swift/ql/lib/codeql/swift/elements/type/ReferenceStorageType.qll index e8c4256f6fa2..3ff69ee7a083 100644 --- a/swift/ql/lib/codeql/swift/elements/type/ReferenceStorageType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/ReferenceStorageType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `ReferenceStorageType`. + * This module provides the public class `ReferenceStorageType`. */ -private import codeql.swift.generated.type.ReferenceStorageType +private import ReferenceStorageTypeImpl +import codeql.swift.elements.type.Type -class ReferenceStorageType extends Generated::ReferenceStorageType { } +final class ReferenceStorageType = Impl::ReferenceStorageType; diff --git a/swift/ql/lib/codeql/swift/elements/type/ReferenceStorageTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/ReferenceStorageTypeImpl.qll new file mode 100644 index 000000000000..b9985c263419 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/ReferenceStorageTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `ReferenceStorageType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.ReferenceStorageType + +/** + * INTERNAL: This module contains the customizable definition of `ReferenceStorageType` and should not + * be referenced directly. + */ +module Impl { + class ReferenceStorageType extends Generated::ReferenceStorageType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/StructType.qll b/swift/ql/lib/codeql/swift/elements/type/StructType.qll index 484c02cc1346..11712a315fa6 100644 --- a/swift/ql/lib/codeql/swift/elements/type/StructType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/StructType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `StructType`. + * This module provides the public class `StructType`. */ -private import codeql.swift.generated.type.StructType +private import StructTypeImpl +import codeql.swift.elements.type.NominalType -class StructType extends Generated::StructType { } +final class StructType = Impl::StructType; diff --git a/swift/ql/lib/codeql/swift/elements/type/StructTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/StructTypeImpl.qll new file mode 100644 index 000000000000..d2390ff34e96 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/StructTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `StructType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.StructType + +/** + * INTERNAL: This module contains the customizable definition of `StructType` and should not + * be referenced directly. + */ +module Impl { + class StructType extends Generated::StructType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/SubstitutableType.qll b/swift/ql/lib/codeql/swift/elements/type/SubstitutableType.qll index eac92655ef1c..5875444499d0 100644 --- a/swift/ql/lib/codeql/swift/elements/type/SubstitutableType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/SubstitutableType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `SubstitutableType`. + * This module provides the public class `SubstitutableType`. */ -private import codeql.swift.generated.type.SubstitutableType +private import SubstitutableTypeImpl +import codeql.swift.elements.type.Type -class SubstitutableType extends Generated::SubstitutableType { } +final class SubstitutableType = Impl::SubstitutableType; diff --git a/swift/ql/lib/codeql/swift/elements/type/SubstitutableTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/SubstitutableTypeImpl.qll new file mode 100644 index 000000000000..24d4133298e2 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/SubstitutableTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `SubstitutableType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.SubstitutableType + +/** + * INTERNAL: This module contains the customizable definition of `SubstitutableType` and should not + * be referenced directly. + */ +module Impl { + class SubstitutableType extends Generated::SubstitutableType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/SugarType.qll b/swift/ql/lib/codeql/swift/elements/type/SugarType.qll index 34fe812041ae..d23979d52cc4 100644 --- a/swift/ql/lib/codeql/swift/elements/type/SugarType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/SugarType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `SugarType`. + * This module provides the public class `SugarType`. */ -private import codeql.swift.generated.type.SugarType +private import SugarTypeImpl +import codeql.swift.elements.type.Type -class SugarType extends Generated::SugarType { } +final class SugarType = Impl::SugarType; diff --git a/swift/ql/lib/codeql/swift/elements/type/SugarTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/SugarTypeImpl.qll new file mode 100644 index 000000000000..775f3fe1349c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/SugarTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `SugarType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.SugarType + +/** + * INTERNAL: This module contains the customizable definition of `SugarType` and should not + * be referenced directly. + */ +module Impl { + class SugarType extends Generated::SugarType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/SyntaxSugarType.qll b/swift/ql/lib/codeql/swift/elements/type/SyntaxSugarType.qll index 489d62ff0460..56cccb96d5ae 100644 --- a/swift/ql/lib/codeql/swift/elements/type/SyntaxSugarType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/SyntaxSugarType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `SyntaxSugarType`. + * This module provides the public class `SyntaxSugarType`. */ -private import codeql.swift.generated.type.SyntaxSugarType +private import SyntaxSugarTypeImpl +import codeql.swift.elements.type.SugarType -class SyntaxSugarType extends Generated::SyntaxSugarType { } +final class SyntaxSugarType = Impl::SyntaxSugarType; diff --git a/swift/ql/lib/codeql/swift/elements/type/SyntaxSugarTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/SyntaxSugarTypeImpl.qll new file mode 100644 index 000000000000..c58ade59878e --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/SyntaxSugarTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `SyntaxSugarType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.SyntaxSugarType + +/** + * INTERNAL: This module contains the customizable definition of `SyntaxSugarType` and should not + * be referenced directly. + */ +module Impl { + class SyntaxSugarType extends Generated::SyntaxSugarType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/TupleType.qll b/swift/ql/lib/codeql/swift/elements/type/TupleType.qll index 13f50a5d0d4c..89246a96b6ce 100644 --- a/swift/ql/lib/codeql/swift/elements/type/TupleType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/TupleType.qll @@ -1,9 +1,9 @@ -private import codeql.swift.generated.type.TupleType - +// generated by codegen/codegen.py, do not edit /** - * A tuple type, for example: - * ``` - * (Int, String) - * ``` + * This module provides the public class `TupleType`. */ -class TupleType extends Generated::TupleType { } + +private import TupleTypeImpl +import codeql.swift.elements.type.Type + +final class TupleType = Impl::TupleType; diff --git a/swift/ql/lib/codeql/swift/elements/type/TupleTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/TupleTypeImpl.qll new file mode 100644 index 000000000000..1c09edb5bfa5 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/TupleTypeImpl.qll @@ -0,0 +1,11 @@ +private import codeql.swift.generated.type.TupleType + +module Impl { + /** + * A tuple type, for example: + * ``` + * (Int, String) + * ``` + */ + class TupleType extends Generated::TupleType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/Type.qll b/swift/ql/lib/codeql/swift/elements/type/Type.qll index b5d30140e83c..52c0b3208091 100644 --- a/swift/ql/lib/codeql/swift/elements/type/Type.qll +++ b/swift/ql/lib/codeql/swift/elements/type/Type.qll @@ -1,66 +1,9 @@ -private import codeql.swift.generated.type.Type -private import codeql.swift.elements.type.AnyGenericType - +// generated by codegen/codegen.py, do not edit /** - * A Swift type. - * - * This QL class is the root of the Swift type hierarchy. + * This module provides the public class `Type`. */ -class Type extends Generated::Type { - override string toString() { result = this.getFullName() } - - /** - * Gets the name of this type. - */ - override string getName() { - // replace anything that looks like a full name `a.b.c` with just the - // short name `c`, by removing the `a.` and `b.` parts. Note that this - // has to be robust for tuple type names such as `(a, b.c)`. - result = super.getName().regexpReplaceAll("[^(),. ]++\\.(?!\\.)", "") - } - - /** - * Gets the full name of this `Type`. For example in: - * ```swift - * struct A { - * struct B { - * // ... - * } - * } - * ``` - * The name and full name of `A` is `A`. The name of `B` is `B`, but the - * full name of `B` is `A.B`. - */ - string getFullName() { result = super.getName() } - - /** - * Gets this type after any type aliases have been resolved. For example in - * the following code, the underlying type of `MyInt` is `Int`: - * ``` - * typealias MyInt = Int - * ``` - */ - Type getUnderlyingType() { result = this } - /** - * Gets any base type of this type. Expands protocols added in extensions and expands - * type aliases. For example in the following code, `B` has base type `A`: - * ``` - * typealias A_alias = A - * - * class B : A_alias {} - * ``` - */ - Type getABaseType() { result = this.(AnyGenericType).getDeclaration().getABaseType() } +private import TypeImpl +import codeql.swift.elements.Element - /** - * Gets a type derived from this type. Expands type aliases, for example in the following - * code, `B` derives from type `A`. - * ``` - * typealias A_alias = A - * - * class B : A_alias {} - * ``` - */ - Type getADerivedType() { result.getABaseType() = this } -} +final class Type = Impl::Type; diff --git a/swift/ql/lib/codeql/swift/elements/type/TypeAliasType.qll b/swift/ql/lib/codeql/swift/elements/type/TypeAliasType.qll index d9e9e4e2cbe3..9d1707d22740 100644 --- a/swift/ql/lib/codeql/swift/elements/type/TypeAliasType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/TypeAliasType.qll @@ -1,22 +1,10 @@ -private import codeql.swift.elements.type.Type -private import codeql.swift.generated.type.TypeAliasType - +// generated by codegen/codegen.py, do not edit /** - * A type alias to another type. For example: - * ``` - * typealias MyInt = Int - * ``` + * This module provides the public class `TypeAliasType`. */ -class TypeAliasType extends Generated::TypeAliasType { - /** - * Gets the aliased type of this type alias type. - * - * For example the aliased type of `MyInt` in the following code is `Int`: - * ``` - * typealias MyInt = Int - * ``` - */ - Type getAliasedType() { result = this.getDecl().getAliasedType() } - override Type getUnderlyingType() { result = this.getAliasedType().getUnderlyingType() } -} +private import TypeAliasTypeImpl +import codeql.swift.elements.type.SugarType +import codeql.swift.elements.decl.TypeAliasDecl + +final class TypeAliasType = Impl::TypeAliasType; diff --git a/swift/ql/lib/codeql/swift/elements/type/TypeAliasTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/TypeAliasTypeImpl.qll new file mode 100644 index 000000000000..8f16e9a406e7 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/TypeAliasTypeImpl.qll @@ -0,0 +1,24 @@ +private import codeql.swift.elements.type.Type +private import codeql.swift.generated.type.TypeAliasType + +module Impl { + /** + * A type alias to another type. For example: + * ``` + * typealias MyInt = Int + * ``` + */ + class TypeAliasType extends Generated::TypeAliasType { + /** + * Gets the aliased type of this type alias type. + * + * For example the aliased type of `MyInt` in the following code is `Int`: + * ``` + * typealias MyInt = Int + * ``` + */ + Type getAliasedType() { result = this.getDecl().getAliasedType() } + + override Type getUnderlyingType() { result = this.getAliasedType().getUnderlyingType() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/TypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/TypeImpl.qll new file mode 100644 index 000000000000..625d5b5312df --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/TypeImpl.qll @@ -0,0 +1,68 @@ +private import codeql.swift.generated.type.Type +private import codeql.swift.elements.type.AnyGenericType + +module Impl { + /** + * A Swift type. + * + * This QL class is the root of the Swift type hierarchy. + */ + class Type extends Generated::Type { + override string toString() { result = this.getFullName() } + + /** + * Gets the name of this type. + */ + override string getName() { + // replace anything that looks like a full name `a.b.c` with just the + // short name `c`, by removing the `a.` and `b.` parts. Note that this + // has to be robust for tuple type names such as `(a, b.c)`. + result = super.getName().regexpReplaceAll("[^(),. ]++\\.(?!\\.)", "") + } + + /** + * Gets the full name of this `Type`. For example in: + * ```swift + * struct A { + * struct B { + * // ... + * } + * } + * ``` + * The name and full name of `A` is `A`. The name of `B` is `B`, but the + * full name of `B` is `A.B`. + */ + string getFullName() { result = super.getName() } + + /** + * Gets this type after any type aliases have been resolved. For example in + * the following code, the underlying type of `MyInt` is `Int`: + * ``` + * typealias MyInt = Int + * ``` + */ + Type getUnderlyingType() { result = this } + + /** + * Gets any base type of this type. Expands protocols added in extensions and expands + * type aliases. For example in the following code, `B` has base type `A`: + * ``` + * typealias A_alias = A + * + * class B : A_alias {} + * ``` + */ + Type getABaseType() { result = this.(AnyGenericType).getDeclaration().getABaseType() } + + /** + * Gets a type derived from this type. Expands type aliases, for example in the following + * code, `B` derives from type `A`. + * ``` + * typealias A_alias = A + * + * class B : A_alias {} + * ``` + */ + Type getADerivedType() { result.getABaseType() = this } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/TypeRepr.qll b/swift/ql/lib/codeql/swift/elements/type/TypeRepr.qll index ad870d4a868c..01acd17c4377 100644 --- a/swift/ql/lib/codeql/swift/elements/type/TypeRepr.qll +++ b/swift/ql/lib/codeql/swift/elements/type/TypeRepr.qll @@ -1,5 +1,10 @@ -private import codeql.swift.generated.type.TypeRepr +// generated by codegen/codegen.py, do not edit +/** + * This module provides the public class `TypeRepr`. + */ -class TypeRepr extends Generated::TypeRepr { - override string toString() { result = this.getType().toString() } -} +private import TypeReprImpl +import codeql.swift.elements.AstNode +import codeql.swift.elements.type.Type + +final class TypeRepr = Impl::TypeRepr; diff --git a/swift/ql/lib/codeql/swift/elements/type/TypeReprImpl.qll b/swift/ql/lib/codeql/swift/elements/type/TypeReprImpl.qll new file mode 100644 index 000000000000..98b4b0f05283 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/TypeReprImpl.qll @@ -0,0 +1,7 @@ +private import codeql.swift.generated.type.TypeRepr + +module Impl { + class TypeRepr extends Generated::TypeRepr { + override string toString() { result = this.getType().toString() } + } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/UnarySyntaxSugarType.qll b/swift/ql/lib/codeql/swift/elements/type/UnarySyntaxSugarType.qll index 1e327dc795c0..7ebed0c6f5a9 100644 --- a/swift/ql/lib/codeql/swift/elements/type/UnarySyntaxSugarType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/UnarySyntaxSugarType.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnarySyntaxSugarType`. + * This module provides the public class `UnarySyntaxSugarType`. */ -private import codeql.swift.generated.type.UnarySyntaxSugarType +private import UnarySyntaxSugarTypeImpl +import codeql.swift.elements.type.SyntaxSugarType +import codeql.swift.elements.type.Type -class UnarySyntaxSugarType extends Generated::UnarySyntaxSugarType { } +final class UnarySyntaxSugarType = Impl::UnarySyntaxSugarType; diff --git a/swift/ql/lib/codeql/swift/elements/type/UnarySyntaxSugarTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/UnarySyntaxSugarTypeImpl.qll new file mode 100644 index 000000000000..5af9d77f50be --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/UnarySyntaxSugarTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnarySyntaxSugarType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.UnarySyntaxSugarType + +/** + * INTERNAL: This module contains the customizable definition of `UnarySyntaxSugarType` and should not + * be referenced directly. + */ +module Impl { + class UnarySyntaxSugarType extends Generated::UnarySyntaxSugarType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/UnboundGenericType.qll b/swift/ql/lib/codeql/swift/elements/type/UnboundGenericType.qll index 2e44ba7de7a7..ede30f8acd80 100644 --- a/swift/ql/lib/codeql/swift/elements/type/UnboundGenericType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/UnboundGenericType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnboundGenericType`. + * This module provides the public class `UnboundGenericType`. */ -private import codeql.swift.generated.type.UnboundGenericType +private import UnboundGenericTypeImpl +import codeql.swift.elements.type.AnyGenericType -class UnboundGenericType extends Generated::UnboundGenericType { } +final class UnboundGenericType = Impl::UnboundGenericType; diff --git a/swift/ql/lib/codeql/swift/elements/type/UnboundGenericTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/UnboundGenericTypeImpl.qll new file mode 100644 index 000000000000..e823968015a9 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/UnboundGenericTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnboundGenericType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.UnboundGenericType + +/** + * INTERNAL: This module contains the customizable definition of `UnboundGenericType` and should not + * be referenced directly. + */ +module Impl { + class UnboundGenericType extends Generated::UnboundGenericType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/UnmanagedStorageType.qll b/swift/ql/lib/codeql/swift/elements/type/UnmanagedStorageType.qll index 5328982c0b81..38f351f8bbed 100644 --- a/swift/ql/lib/codeql/swift/elements/type/UnmanagedStorageType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/UnmanagedStorageType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnmanagedStorageType`. + * This module provides the public class `UnmanagedStorageType`. */ -private import codeql.swift.generated.type.UnmanagedStorageType +private import UnmanagedStorageTypeImpl +import codeql.swift.elements.type.ReferenceStorageType -class UnmanagedStorageType extends Generated::UnmanagedStorageType { } +final class UnmanagedStorageType = Impl::UnmanagedStorageType; diff --git a/swift/ql/lib/codeql/swift/elements/type/UnmanagedStorageTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/UnmanagedStorageTypeImpl.qll new file mode 100644 index 000000000000..8117911aec3d --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/UnmanagedStorageTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnmanagedStorageType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.UnmanagedStorageType + +/** + * INTERNAL: This module contains the customizable definition of `UnmanagedStorageType` and should not + * be referenced directly. + */ +module Impl { + class UnmanagedStorageType extends Generated::UnmanagedStorageType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/UnownedStorageType.qll b/swift/ql/lib/codeql/swift/elements/type/UnownedStorageType.qll index f99d06e854f3..72e62335d8d6 100644 --- a/swift/ql/lib/codeql/swift/elements/type/UnownedStorageType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/UnownedStorageType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnownedStorageType`. + * This module provides the public class `UnownedStorageType`. */ -private import codeql.swift.generated.type.UnownedStorageType +private import UnownedStorageTypeImpl +import codeql.swift.elements.type.ReferenceStorageType -class UnownedStorageType extends Generated::UnownedStorageType { } +final class UnownedStorageType = Impl::UnownedStorageType; diff --git a/swift/ql/lib/codeql/swift/elements/type/UnownedStorageTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/UnownedStorageTypeImpl.qll new file mode 100644 index 000000000000..c7054052325c --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/UnownedStorageTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnownedStorageType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.UnownedStorageType + +/** + * INTERNAL: This module contains the customizable definition of `UnownedStorageType` and should not + * be referenced directly. + */ +module Impl { + class UnownedStorageType extends Generated::UnownedStorageType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/UnresolvedType.qll b/swift/ql/lib/codeql/swift/elements/type/UnresolvedType.qll index baeb03bcd25a..d610b64fea35 100644 --- a/swift/ql/lib/codeql/swift/elements/type/UnresolvedType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/UnresolvedType.qll @@ -1,8 +1,10 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `UnresolvedType`. + * This module provides the public class `UnresolvedType`. */ -private import codeql.swift.generated.type.UnresolvedType +private import UnresolvedTypeImpl +import codeql.swift.elements.ErrorElement +import codeql.swift.elements.type.Type -class UnresolvedType extends Generated::UnresolvedType { } +final class UnresolvedType = Impl::UnresolvedType; diff --git a/swift/ql/lib/codeql/swift/elements/type/UnresolvedTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/UnresolvedTypeImpl.qll new file mode 100644 index 000000000000..2714679b9732 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/UnresolvedTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `UnresolvedType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.UnresolvedType + +/** + * INTERNAL: This module contains the customizable definition of `UnresolvedType` and should not + * be referenced directly. + */ +module Impl { + class UnresolvedType extends Generated::UnresolvedType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/VariadicSequenceType.qll b/swift/ql/lib/codeql/swift/elements/type/VariadicSequenceType.qll index 3e64b313c9c0..8a3c585ac3bf 100644 --- a/swift/ql/lib/codeql/swift/elements/type/VariadicSequenceType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/VariadicSequenceType.qll @@ -1,12 +1,9 @@ -private import codeql.swift.generated.type.VariadicSequenceType - +// generated by codegen/codegen.py, do not edit /** - * A variadic sequence type, that is, an array-like type that holds - * variadic arguments. For example the type `Int...` of `args` in: - * ``` - * func myVarargsFunction(args: Int...) { - * ... - * } - * ``` + * This module provides the public class `VariadicSequenceType`. */ -class VariadicSequenceType extends Generated::VariadicSequenceType { } + +private import VariadicSequenceTypeImpl +import codeql.swift.elements.type.UnarySyntaxSugarType + +final class VariadicSequenceType = Impl::VariadicSequenceType; diff --git a/swift/ql/lib/codeql/swift/elements/type/VariadicSequenceTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/VariadicSequenceTypeImpl.qll new file mode 100644 index 000000000000..8f35271cb8b7 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/VariadicSequenceTypeImpl.qll @@ -0,0 +1,14 @@ +private import codeql.swift.generated.type.VariadicSequenceType + +module Impl { + /** + * A variadic sequence type, that is, an array-like type that holds + * variadic arguments. For example the type `Int...` of `args` in: + * ``` + * func myVarargsFunction(args: Int...) { + * ... + * } + * ``` + */ + class VariadicSequenceType extends Generated::VariadicSequenceType { } +} diff --git a/swift/ql/lib/codeql/swift/elements/type/WeakStorageType.qll b/swift/ql/lib/codeql/swift/elements/type/WeakStorageType.qll index 0a9af4df3470..9010e00f5be0 100644 --- a/swift/ql/lib/codeql/swift/elements/type/WeakStorageType.qll +++ b/swift/ql/lib/codeql/swift/elements/type/WeakStorageType.qll @@ -1,8 +1,9 @@ -// generated by codegen/codegen.py, remove this comment if you wish to edit this file +// generated by codegen/codegen.py, do not edit /** - * This module provides a hand-modifiable wrapper around the generated class `WeakStorageType`. + * This module provides the public class `WeakStorageType`. */ -private import codeql.swift.generated.type.WeakStorageType +private import WeakStorageTypeImpl +import codeql.swift.elements.type.ReferenceStorageType -class WeakStorageType extends Generated::WeakStorageType { } +final class WeakStorageType = Impl::WeakStorageType; diff --git a/swift/ql/lib/codeql/swift/elements/type/WeakStorageTypeImpl.qll b/swift/ql/lib/codeql/swift/elements/type/WeakStorageTypeImpl.qll new file mode 100644 index 000000000000..564791c00f91 --- /dev/null +++ b/swift/ql/lib/codeql/swift/elements/type/WeakStorageTypeImpl.qll @@ -0,0 +1,16 @@ +// generated by codegen/codegen.py, remove this comment if you wish to edit this file +/** + * This module provides a hand-modifiable wrapper around the generated class `WeakStorageType`. + * + * INTERNAL: Do not use. + */ + +private import codeql.swift.generated.type.WeakStorageType + +/** + * INTERNAL: This module contains the customizable definition of `WeakStorageType` and should not + * be referenced directly. + */ +module Impl { + class WeakStorageType extends Generated::WeakStorageType { } +} diff --git a/swift/ql/lib/codeql/swift/generated/AstNode.qll b/swift/ql/lib/codeql/swift/generated/AstNode.qll index ec3a61350839..71e0f848aa8d 100644 --- a/swift/ql/lib/codeql/swift/generated/AstNode.qll +++ b/swift/ql/lib/codeql/swift/generated/AstNode.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AstNode`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Locatable +import codeql.swift.elements.LocatableImpl::Impl as LocatableImpl /** * INTERNAL: This module contains the fully generated definition of `AstNode` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::AstNode` class directly. * Use the subclass `AstNode`, where the following predicates are available. */ - class AstNode extends Synth::TAstNode, Locatable { } + class AstNode extends Synth::TAstNode, LocatableImpl::Locatable { } } diff --git a/swift/ql/lib/codeql/swift/generated/AvailabilityInfo.qll b/swift/ql/lib/codeql/swift/generated/AvailabilityInfo.qll index 809d30971d05..f4d3503a4f8b 100644 --- a/swift/ql/lib/codeql/swift/generated/AvailabilityInfo.qll +++ b/swift/ql/lib/codeql/swift/generated/AvailabilityInfo.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AvailabilityInfo`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.swift.elements.AvailabilitySpec /** @@ -31,7 +31,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AvailabilityInfo` class directly. * Use the subclass `AvailabilityInfo`, where the following predicates are available. */ - class AvailabilityInfo extends Synth::TAvailabilityInfo, AstNode { + class AvailabilityInfo extends Synth::TAvailabilityInfo, AstNodeImpl::AstNode { override string getAPrimaryQlClass() { result = "AvailabilityInfo" } /** diff --git a/swift/ql/lib/codeql/swift/generated/AvailabilitySpec.qll b/swift/ql/lib/codeql/swift/generated/AvailabilitySpec.qll index fcbea7559071..f34b000ab34a 100644 --- a/swift/ql/lib/codeql/swift/generated/AvailabilitySpec.qll +++ b/swift/ql/lib/codeql/swift/generated/AvailabilitySpec.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AvailabilitySpec`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl /** * INTERNAL: This module contains the fully generated definition of `AvailabilitySpec` and should not @@ -21,5 +21,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::AvailabilitySpec` class directly. * Use the subclass `AvailabilitySpec`, where the following predicates are available. */ - class AvailabilitySpec extends Synth::TAvailabilitySpec, AstNode { } + class AvailabilitySpec extends Synth::TAvailabilitySpec, AstNodeImpl::AstNode { } } diff --git a/swift/ql/lib/codeql/swift/generated/Callable.qll b/swift/ql/lib/codeql/swift/generated/Callable.qll index 4ad169e81c0f..3e969bcc8dae 100644 --- a/swift/ql/lib/codeql/swift/generated/Callable.qll +++ b/swift/ql/lib/codeql/swift/generated/Callable.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Callable`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.swift.elements.stmt.BraceStmt import codeql.swift.elements.decl.CapturedDecl import codeql.swift.elements.decl.ParamDecl @@ -20,7 +20,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Callable` class directly. * Use the subclass `Callable`, where the following predicates are available. */ - class Callable extends Synth::TCallable, AstNode { + class Callable extends Synth::TCallable, AstNodeImpl::AstNode { /** * Gets the name of this callable, if it exists. * diff --git a/swift/ql/lib/codeql/swift/generated/Comment.qll b/swift/ql/lib/codeql/swift/generated/Comment.qll index c6aaf2089e76..77f4436c71fa 100644 --- a/swift/ql/lib/codeql/swift/generated/Comment.qll +++ b/swift/ql/lib/codeql/swift/generated/Comment.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Comment`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Locatable +import codeql.swift.elements.LocatableImpl::Impl as LocatableImpl /** * INTERNAL: This module contains the fully generated definition of `Comment` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Comment` class directly. * Use the subclass `Comment`, where the following predicates are available. */ - class Comment extends Synth::TComment, Locatable { + class Comment extends Synth::TComment, LocatableImpl::Locatable { override string getAPrimaryQlClass() { result = "Comment" } /** diff --git a/swift/ql/lib/codeql/swift/generated/DbFile.qll b/swift/ql/lib/codeql/swift/generated/DbFile.qll index a14fa65b441c..950293a23c0b 100644 --- a/swift/ql/lib/codeql/swift/generated/DbFile.qll +++ b/swift/ql/lib/codeql/swift/generated/DbFile.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DbFile`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.File +import codeql.swift.elements.FileImpl::Impl as FileImpl /** * INTERNAL: This module contains the fully generated definition of `DbFile` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DbFile` class directly. * Use the subclass `DbFile`, where the following predicates are available. */ - class DbFile extends Synth::TDbFile, File { + class DbFile extends Synth::TDbFile, FileImpl::File { override string getAPrimaryQlClass() { result = "DbFile" } } } diff --git a/swift/ql/lib/codeql/swift/generated/DbLocation.qll b/swift/ql/lib/codeql/swift/generated/DbLocation.qll index b2dd3b9837d8..b8df6544381e 100644 --- a/swift/ql/lib/codeql/swift/generated/DbLocation.qll +++ b/swift/ql/lib/codeql/swift/generated/DbLocation.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DbLocation`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Location +import codeql.swift.elements.LocationImpl::Impl as LocationImpl /** * INTERNAL: This module contains the fully generated definition of `DbLocation` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DbLocation` class directly. * Use the subclass `DbLocation`, where the following predicates are available. */ - class DbLocation extends Synth::TDbLocation, Location { + class DbLocation extends Synth::TDbLocation, LocationImpl::Location { override string getAPrimaryQlClass() { result = "DbLocation" } } } diff --git a/swift/ql/lib/codeql/swift/generated/Diagnostics.qll b/swift/ql/lib/codeql/swift/generated/Diagnostics.qll index 517768034148..7bcf79651fb3 100644 --- a/swift/ql/lib/codeql/swift/generated/Diagnostics.qll +++ b/swift/ql/lib/codeql/swift/generated/Diagnostics.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Diagnostics`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Locatable +import codeql.swift.elements.LocatableImpl::Impl as LocatableImpl /** * INTERNAL: This module contains the fully generated definition of `Diagnostics` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Diagnostics` class directly. * Use the subclass `Diagnostics`, where the following predicates are available. */ - class Diagnostics extends Synth::TDiagnostics, Locatable { + class Diagnostics extends Synth::TDiagnostics, LocatableImpl::Locatable { override string getAPrimaryQlClass() { result = "Diagnostics" } /** diff --git a/swift/ql/lib/codeql/swift/generated/Element.qll b/swift/ql/lib/codeql/swift/generated/Element.qll index 14aab08b16e6..94315ea3e554 100644 --- a/swift/ql/lib/codeql/swift/generated/Element.qll +++ b/swift/ql/lib/codeql/swift/generated/Element.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Element`. * INTERNAL: Do not import directly. @@ -6,6 +6,9 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw +import codeql.swift.elements.Element + +private class ElementAlias = Element; /** * INTERNAL: This module contains the fully generated definition of `Element` and should not @@ -42,13 +45,13 @@ module Generated { * Classes can override this to indicate this node should be in the "hidden" AST, mostly reserved * for conversions and syntactic sugar nodes like parentheses. */ - Element getResolveStep() { none() } // overridden by subclasses + ElementAlias getResolveStep() { none() } // overridden by subclasses /** * Gets the element that should substitute this element in the explicit AST, applying `getResolveStep` * transitively. */ - final Element resolve() { + final ElementAlias resolve() { not exists(this.getResolveStep()) and result = this or result = this.getResolveStep().resolve() diff --git a/swift/ql/lib/codeql/swift/generated/ErrorElement.qll b/swift/ql/lib/codeql/swift/generated/ErrorElement.qll index 66f8d9993b75..5345780ba0c9 100644 --- a/swift/ql/lib/codeql/swift/generated/ErrorElement.qll +++ b/swift/ql/lib/codeql/swift/generated/ErrorElement.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ErrorElement`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Locatable +import codeql.swift.elements.LocatableImpl::Impl as LocatableImpl /** * INTERNAL: This module contains the fully generated definition of `ErrorElement` and should not @@ -18,5 +18,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::ErrorElement` class directly. * Use the subclass `ErrorElement`, where the following predicates are available. */ - class ErrorElement extends Synth::TErrorElement, Locatable { } + class ErrorElement extends Synth::TErrorElement, LocatableImpl::Locatable { } } diff --git a/swift/ql/lib/codeql/swift/generated/File.qll b/swift/ql/lib/codeql/swift/generated/File.qll index ad8d039635b9..958a20c117c6 100644 --- a/swift/ql/lib/codeql/swift/generated/File.qll +++ b/swift/ql/lib/codeql/swift/generated/File.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `File`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Element +import codeql.swift.elements.ElementImpl::Impl as ElementImpl /** * INTERNAL: This module contains the fully generated definition of `File` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::File` class directly. * Use the subclass `File`, where the following predicates are available. */ - class File extends Synth::TFile, Element { + class File extends Synth::TFile, ElementImpl::Element { /** * Gets the name of this file. */ diff --git a/swift/ql/lib/codeql/swift/generated/KeyPathComponent.qll b/swift/ql/lib/codeql/swift/generated/KeyPathComponent.qll index 37656c451104..4cb06315bb89 100644 --- a/swift/ql/lib/codeql/swift/generated/KeyPathComponent.qll +++ b/swift/ql/lib/codeql/swift/generated/KeyPathComponent.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `KeyPathComponent`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Argument -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.swift.elements.type.Type import codeql.swift.elements.decl.ValueDecl @@ -21,7 +21,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::KeyPathComponent` class directly. * Use the subclass `KeyPathComponent`, where the following predicates are available. */ - class KeyPathComponent extends Synth::TKeyPathComponent, AstNode { + class KeyPathComponent extends Synth::TKeyPathComponent, AstNodeImpl::AstNode { override string getAPrimaryQlClass() { result = "KeyPathComponent" } /** diff --git a/swift/ql/lib/codeql/swift/generated/Locatable.qll b/swift/ql/lib/codeql/swift/generated/Locatable.qll index d8e93de71bf2..746e3c86ace3 100644 --- a/swift/ql/lib/codeql/swift/generated/Locatable.qll +++ b/swift/ql/lib/codeql/swift/generated/Locatable.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Locatable`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Element +import codeql.swift.elements.ElementImpl::Impl as ElementImpl import codeql.swift.elements.Location /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Locatable` class directly. * Use the subclass `Locatable`, where the following predicates are available. */ - class Locatable extends Synth::TLocatable, Element { + class Locatable extends Synth::TLocatable, ElementImpl::Element { /** * Gets the location associated with this element in the code, if it exists. */ diff --git a/swift/ql/lib/codeql/swift/generated/Location.qll b/swift/ql/lib/codeql/swift/generated/Location.qll index 7a5055bfc7a3..791f2f544ffa 100644 --- a/swift/ql/lib/codeql/swift/generated/Location.qll +++ b/swift/ql/lib/codeql/swift/generated/Location.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Location`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Element +import codeql.swift.elements.ElementImpl::Impl as ElementImpl import codeql.swift.elements.File /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Location` class directly. * Use the subclass `Location`, where the following predicates are available. */ - class Location extends Synth::TLocation, Element { + class Location extends Synth::TLocation, ElementImpl::Element { /** * Gets the file of this location. */ diff --git a/swift/ql/lib/codeql/swift/generated/MacroRole.qll b/swift/ql/lib/codeql/swift/generated/MacroRole.qll index 7033fa385ece..fec2e02006e4 100644 --- a/swift/ql/lib/codeql/swift/generated/MacroRole.qll +++ b/swift/ql/lib/codeql/swift/generated/MacroRole.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `MacroRole`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.swift.elements.expr.TypeExpr /** @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MacroRole` class directly. * Use the subclass `MacroRole`, where the following predicates are available. */ - class MacroRole extends Synth::TMacroRole, AstNode { + class MacroRole extends Synth::TMacroRole, AstNodeImpl::AstNode { override string getAPrimaryQlClass() { result = "MacroRole" } /** diff --git a/swift/ql/lib/codeql/swift/generated/OtherAvailabilitySpec.qll b/swift/ql/lib/codeql/swift/generated/OtherAvailabilitySpec.qll index 10abb8c787dc..0f3279484ffc 100644 --- a/swift/ql/lib/codeql/swift/generated/OtherAvailabilitySpec.qll +++ b/swift/ql/lib/codeql/swift/generated/OtherAvailabilitySpec.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OtherAvailabilitySpec`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AvailabilitySpec +import codeql.swift.elements.AvailabilitySpecImpl::Impl as AvailabilitySpecImpl /** * INTERNAL: This module contains the fully generated definition of `OtherAvailabilitySpec` and should not @@ -18,7 +18,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::OtherAvailabilitySpec` class directly. * Use the subclass `OtherAvailabilitySpec`, where the following predicates are available. */ - class OtherAvailabilitySpec extends Synth::TOtherAvailabilitySpec, AvailabilitySpec { + class OtherAvailabilitySpec extends Synth::TOtherAvailabilitySpec, + AvailabilitySpecImpl::AvailabilitySpec + { override string getAPrimaryQlClass() { result = "OtherAvailabilitySpec" } } } diff --git a/swift/ql/lib/codeql/swift/generated/ParentChild.qll b/swift/ql/lib/codeql/swift/generated/ParentChild.qll index 058d02bfcb53..7dfb6b685d54 100644 --- a/swift/ql/lib/codeql/swift/generated/ParentChild.qll +++ b/swift/ql/lib/codeql/swift/generated/ParentChild.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated parent/child relationship. */ diff --git a/swift/ql/lib/codeql/swift/generated/PlatformVersionAvailabilitySpec.qll b/swift/ql/lib/codeql/swift/generated/PlatformVersionAvailabilitySpec.qll index 452b3fa7c4d9..cd99992a60d4 100644 --- a/swift/ql/lib/codeql/swift/generated/PlatformVersionAvailabilitySpec.qll +++ b/swift/ql/lib/codeql/swift/generated/PlatformVersionAvailabilitySpec.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PlatformVersionAvailabilitySpec`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AvailabilitySpec +import codeql.swift.elements.AvailabilitySpecImpl::Impl as AvailabilitySpecImpl /** * INTERNAL: This module contains the fully generated definition of `PlatformVersionAvailabilitySpec` and should not @@ -19,7 +19,7 @@ module Generated { * Use the subclass `PlatformVersionAvailabilitySpec`, where the following predicates are available. */ class PlatformVersionAvailabilitySpec extends Synth::TPlatformVersionAvailabilitySpec, - AvailabilitySpec + AvailabilitySpecImpl::AvailabilitySpec { override string getAPrimaryQlClass() { result = "PlatformVersionAvailabilitySpec" } diff --git a/swift/ql/lib/codeql/swift/generated/PureSynthConstructors.qll b/swift/ql/lib/codeql/swift/generated/PureSynthConstructors.qll index 2a653ceeb96b..b1aa4ed2ba2f 100644 --- a/swift/ql/lib/codeql/swift/generated/PureSynthConstructors.qll +++ b/swift/ql/lib/codeql/swift/generated/PureSynthConstructors.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module exports all modules providing `Element` subclasses. */ diff --git a/swift/ql/lib/codeql/swift/generated/SynthConstructors.qll b/swift/ql/lib/codeql/swift/generated/SynthConstructors.qll index 28bec5d27e20..8b64877cb385 100644 --- a/swift/ql/lib/codeql/swift/generated/SynthConstructors.qll +++ b/swift/ql/lib/codeql/swift/generated/SynthConstructors.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module exports all modules providing `Element` subclasses. */ diff --git a/swift/ql/lib/codeql/swift/generated/UnknownFile.qll b/swift/ql/lib/codeql/swift/generated/UnknownFile.qll index 467e89525995..1cf7b5d3c1af 100644 --- a/swift/ql/lib/codeql/swift/generated/UnknownFile.qll +++ b/swift/ql/lib/codeql/swift/generated/UnknownFile.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnknownFile`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.File +import codeql.swift.elements.FileImpl::Impl as FileImpl /** * INTERNAL: This module contains the fully generated definition of `UnknownFile` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnknownFile` class directly. * Use the subclass `UnknownFile`, where the following predicates are available. */ - class UnknownFile extends Synth::TUnknownFile, File { + class UnknownFile extends Synth::TUnknownFile, FileImpl::File { override string getAPrimaryQlClass() { result = "UnknownFile" } } } diff --git a/swift/ql/lib/codeql/swift/generated/UnknownLocation.qll b/swift/ql/lib/codeql/swift/generated/UnknownLocation.qll index c328d7959d31..14420aa7f8a7 100644 --- a/swift/ql/lib/codeql/swift/generated/UnknownLocation.qll +++ b/swift/ql/lib/codeql/swift/generated/UnknownLocation.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnknownLocation`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Location +import codeql.swift.elements.LocationImpl::Impl as LocationImpl /** * INTERNAL: This module contains the fully generated definition of `UnknownLocation` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnknownLocation` class directly. * Use the subclass `UnknownLocation`, where the following predicates are available. */ - class UnknownLocation extends Synth::TUnknownLocation, Location { + class UnknownLocation extends Synth::TUnknownLocation, LocationImpl::Location { override string getAPrimaryQlClass() { result = "UnknownLocation" } } } diff --git a/swift/ql/lib/codeql/swift/generated/UnspecifiedElement.qll b/swift/ql/lib/codeql/swift/generated/UnspecifiedElement.qll index 7ae4f29e267e..8339980c0b90 100644 --- a/swift/ql/lib/codeql/swift/generated/UnspecifiedElement.qll +++ b/swift/ql/lib/codeql/swift/generated/UnspecifiedElement.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnspecifiedElement`. * INTERNAL: Do not import directly. @@ -8,7 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.AstNode import codeql.swift.elements.Element -import codeql.swift.elements.ErrorElement +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl /** * INTERNAL: This module contains the fully generated definition of `UnspecifiedElement` and should not @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnspecifiedElement` class directly. * Use the subclass `UnspecifiedElement`, where the following predicates are available. */ - class UnspecifiedElement extends Synth::TUnspecifiedElement, ErrorElement { + class UnspecifiedElement extends Synth::TUnspecifiedElement, ErrorElementImpl::ErrorElement { override string getAPrimaryQlClass() { result = "UnspecifiedElement" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/AbstractStorageDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/AbstractStorageDecl.qll index dd2225076c53..fc306bcd0726 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/AbstractStorageDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/AbstractStorageDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AbstractStorageDecl`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.decl.Accessor -import codeql.swift.elements.decl.ValueDecl +import codeql.swift.elements.decl.ValueDeclImpl::Impl as ValueDeclImpl /** * INTERNAL: This module contains the fully generated definition of `AbstractStorageDecl` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AbstractStorageDecl` class directly. * Use the subclass `AbstractStorageDecl`, where the following predicates are available. */ - class AbstractStorageDecl extends Synth::TAbstractStorageDecl, ValueDecl { + class AbstractStorageDecl extends Synth::TAbstractStorageDecl, ValueDeclImpl::ValueDecl { /** * Gets the `index`th accessor of this abstract storage declaration (0-based). */ diff --git a/swift/ql/lib/codeql/swift/generated/decl/AbstractTypeParamDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/AbstractTypeParamDecl.qll index 2915070ef4ba..b5aa797eef6a 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/AbstractTypeParamDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/AbstractTypeParamDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AbstractTypeParamDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.TypeDecl +import codeql.swift.elements.decl.TypeDeclImpl::Impl as TypeDeclImpl /** * INTERNAL: This module contains the fully generated definition of `AbstractTypeParamDecl` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::AbstractTypeParamDecl` class directly. * Use the subclass `AbstractTypeParamDecl`, where the following predicates are available. */ - class AbstractTypeParamDecl extends Synth::TAbstractTypeParamDecl, TypeDecl { } + class AbstractTypeParamDecl extends Synth::TAbstractTypeParamDecl, TypeDeclImpl::TypeDecl { } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/Accessor.qll b/swift/ql/lib/codeql/swift/generated/decl/Accessor.qll index 3d5891407533..c324e5b60fed 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/Accessor.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/Accessor.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Accessor`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.AccessorOrNamedFunction +import codeql.swift.elements.decl.AccessorOrNamedFunctionImpl::Impl as AccessorOrNamedFunctionImpl /** * INTERNAL: This module contains the fully generated definition of `Accessor` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Accessor` class directly. * Use the subclass `Accessor`, where the following predicates are available. */ - class Accessor extends Synth::TAccessor, AccessorOrNamedFunction { + class Accessor extends Synth::TAccessor, AccessorOrNamedFunctionImpl::AccessorOrNamedFunction { override string getAPrimaryQlClass() { result = "Accessor" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/AccessorOrNamedFunction.qll b/swift/ql/lib/codeql/swift/generated/decl/AccessorOrNamedFunction.qll index 45abc0921f9d..16b5a72dd675 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/AccessorOrNamedFunction.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/AccessorOrNamedFunction.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AccessorOrNamedFunction`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Function +import codeql.swift.elements.decl.FunctionImpl::Impl as FunctionImpl /** * INTERNAL: This module contains the fully generated definition of `AccessorOrNamedFunction` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::AccessorOrNamedFunction` class directly. * Use the subclass `AccessorOrNamedFunction`, where the following predicates are available. */ - class AccessorOrNamedFunction extends Synth::TAccessorOrNamedFunction, Function { } + class AccessorOrNamedFunction extends Synth::TAccessorOrNamedFunction, FunctionImpl::Function { } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/AssociatedTypeDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/AssociatedTypeDecl.qll index 1ab29ab961a3..cabdca24aa52 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/AssociatedTypeDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/AssociatedTypeDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AssociatedTypeDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.AbstractTypeParamDecl +import codeql.swift.elements.decl.AbstractTypeParamDeclImpl::Impl as AbstractTypeParamDeclImpl /** * INTERNAL: This module contains the fully generated definition of `AssociatedTypeDecl` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::AssociatedTypeDecl` class directly. * Use the subclass `AssociatedTypeDecl`, where the following predicates are available. */ - class AssociatedTypeDecl extends Synth::TAssociatedTypeDecl, AbstractTypeParamDecl { + class AssociatedTypeDecl extends Synth::TAssociatedTypeDecl, + AbstractTypeParamDeclImpl::AbstractTypeParamDecl + { override string getAPrimaryQlClass() { result = "AssociatedTypeDecl" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/CapturedDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/CapturedDecl.qll index 01865edd3b26..3fe08d8b7837 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/CapturedDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/CapturedDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CapturedDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl import codeql.swift.elements.decl.ValueDecl /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::CapturedDecl` class directly. * Use the subclass `CapturedDecl`, where the following predicates are available. */ - class CapturedDecl extends Synth::TCapturedDecl, Decl { + class CapturedDecl extends Synth::TCapturedDecl, DeclImpl::Decl { override string getAPrimaryQlClass() { result = "CapturedDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/ClassDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/ClassDecl.qll index 315dc47ca551..f9af71cabb94 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/ClassDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/ClassDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ClassDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.NominalTypeDecl +import codeql.swift.elements.decl.NominalTypeDeclImpl::Impl as NominalTypeDeclImpl /** * INTERNAL: This module contains the fully generated definition of `ClassDecl` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ClassDecl` class directly. * Use the subclass `ClassDecl`, where the following predicates are available. */ - class ClassDecl extends Synth::TClassDecl, NominalTypeDecl { + class ClassDecl extends Synth::TClassDecl, NominalTypeDeclImpl::NominalTypeDecl { override string getAPrimaryQlClass() { result = "ClassDecl" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/ConcreteVarDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/ConcreteVarDecl.qll index 0961c2075bb2..bee6323f874c 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/ConcreteVarDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/ConcreteVarDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ConcreteVarDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.VarDecl +import codeql.swift.elements.decl.VarDeclImpl::Impl as VarDeclImpl /** * INTERNAL: This module contains the fully generated definition of `ConcreteVarDecl` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ConcreteVarDecl` class directly. * Use the subclass `ConcreteVarDecl`, where the following predicates are available. */ - class ConcreteVarDecl extends Synth::TConcreteVarDecl, VarDecl { + class ConcreteVarDecl extends Synth::TConcreteVarDecl, VarDeclImpl::VarDecl { override string getAPrimaryQlClass() { result = "ConcreteVarDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/Decl.qll b/swift/ql/lib/codeql/swift/generated/decl/Decl.qll index 2fdc51449fdc..3d0408713690 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/Decl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/Decl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Decl`. * INTERNAL: Do not import directly. @@ -6,7 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl +import codeql.swift.elements.decl.Decl import codeql.swift.elements.decl.ModuleDecl /** @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Decl` class directly. * Use the subclass `Decl`, where the following predicates are available. */ - class Decl extends Synth::TDecl, AstNode { + class Decl extends Synth::TDecl, AstNodeImpl::AstNode { /** * Gets the module of this declaration. */ diff --git a/swift/ql/lib/codeql/swift/generated/decl/Deinitializer.qll b/swift/ql/lib/codeql/swift/generated/decl/Deinitializer.qll index e223520ce422..96f31a4df97f 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/Deinitializer.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/Deinitializer.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Deinitializer`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Function +import codeql.swift.elements.decl.FunctionImpl::Impl as FunctionImpl /** * INTERNAL: This module contains the fully generated definition of `Deinitializer` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Deinitializer` class directly. * Use the subclass `Deinitializer`, where the following predicates are available. */ - class Deinitializer extends Synth::TDeinitializer, Function { + class Deinitializer extends Synth::TDeinitializer, FunctionImpl::Function { override string getAPrimaryQlClass() { result = "Deinitializer" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/EnumCaseDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/EnumCaseDecl.qll index 9d9a26d465cf..3c64da4d598b 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/EnumCaseDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/EnumCaseDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `EnumCaseDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl import codeql.swift.elements.decl.EnumElementDecl /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::EnumCaseDecl` class directly. * Use the subclass `EnumCaseDecl`, where the following predicates are available. */ - class EnumCaseDecl extends Synth::TEnumCaseDecl, Decl { + class EnumCaseDecl extends Synth::TEnumCaseDecl, DeclImpl::Decl { override string getAPrimaryQlClass() { result = "EnumCaseDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/EnumDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/EnumDecl.qll index 4f113e371265..df1ac53d1242 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/EnumDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/EnumDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `EnumDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.NominalTypeDecl +import codeql.swift.elements.decl.NominalTypeDeclImpl::Impl as NominalTypeDeclImpl /** * INTERNAL: This module contains the fully generated definition of `EnumDecl` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::EnumDecl` class directly. * Use the subclass `EnumDecl`, where the following predicates are available. */ - class EnumDecl extends Synth::TEnumDecl, NominalTypeDecl { + class EnumDecl extends Synth::TEnumDecl, NominalTypeDeclImpl::NominalTypeDecl { override string getAPrimaryQlClass() { result = "EnumDecl" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/EnumElementDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/EnumElementDecl.qll index 973441b1eb54..22452b94c997 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/EnumElementDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/EnumElementDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `EnumElementDecl`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.decl.ParamDecl -import codeql.swift.elements.decl.ValueDecl +import codeql.swift.elements.decl.ValueDeclImpl::Impl as ValueDeclImpl /** * INTERNAL: This module contains the fully generated definition of `EnumElementDecl` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::EnumElementDecl` class directly. * Use the subclass `EnumElementDecl`, where the following predicates are available. */ - class EnumElementDecl extends Synth::TEnumElementDecl, ValueDecl { + class EnumElementDecl extends Synth::TEnumElementDecl, ValueDeclImpl::ValueDecl { override string getAPrimaryQlClass() { result = "EnumElementDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/ExtensionDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/ExtensionDecl.qll index 783fb8c51b4a..e508ea059ca7 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/ExtensionDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/ExtensionDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ExtensionDecl`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Decl -import codeql.swift.elements.decl.GenericContext +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl +import codeql.swift.elements.decl.GenericContextImpl::Impl as GenericContextImpl import codeql.swift.elements.decl.NominalTypeDecl import codeql.swift.elements.decl.ProtocolDecl @@ -20,7 +20,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::ExtensionDecl` class directly. * Use the subclass `ExtensionDecl`, where the following predicates are available. */ - class ExtensionDecl extends Synth::TExtensionDecl, GenericContext, Decl { + class ExtensionDecl extends Synth::TExtensionDecl, GenericContextImpl::GenericContext, + DeclImpl::Decl + { override string getAPrimaryQlClass() { result = "ExtensionDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/Function.qll b/swift/ql/lib/codeql/swift/generated/decl/Function.qll index 9ea31578221f..54e2d1f3dee0 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/Function.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/Function.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Function`. * INTERNAL: Do not import directly. @@ -6,9 +6,9 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Callable -import codeql.swift.elements.decl.GenericContext -import codeql.swift.elements.decl.ValueDecl +import codeql.swift.elements.CallableImpl::Impl as CallableImpl +import codeql.swift.elements.decl.GenericContextImpl::Impl as GenericContextImpl +import codeql.swift.elements.decl.ValueDeclImpl::Impl as ValueDeclImpl /** * INTERNAL: This module contains the fully generated definition of `Function` and should not @@ -19,5 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Function` class directly. * Use the subclass `Function`, where the following predicates are available. */ - class Function extends Synth::TFunction, GenericContext, ValueDecl, Callable { } + class Function extends Synth::TFunction, GenericContextImpl::GenericContext, + ValueDeclImpl::ValueDecl, CallableImpl::Callable + { } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/GenericContext.qll b/swift/ql/lib/codeql/swift/generated/decl/GenericContext.qll index be5bb914f6b7..3b7a40d55bea 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/GenericContext.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/GenericContext.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `GenericContext`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Element +import codeql.swift.elements.ElementImpl::Impl as ElementImpl import codeql.swift.elements.decl.GenericTypeParamDecl /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::GenericContext` class directly. * Use the subclass `GenericContext`, where the following predicates are available. */ - class GenericContext extends Synth::TGenericContext, Element { + class GenericContext extends Synth::TGenericContext, ElementImpl::Element { /** * Gets the `index`th generic type parameter of this generic context (0-based). */ diff --git a/swift/ql/lib/codeql/swift/generated/decl/GenericTypeDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/GenericTypeDecl.qll index 3f8bdc2693e9..1837d2a2f937 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/GenericTypeDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/GenericTypeDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `GenericTypeDecl`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.GenericContext -import codeql.swift.elements.decl.TypeDecl +import codeql.swift.elements.decl.GenericContextImpl::Impl as GenericContextImpl +import codeql.swift.elements.decl.TypeDeclImpl::Impl as TypeDeclImpl /** * INTERNAL: This module contains the fully generated definition of `GenericTypeDecl` and should not @@ -18,5 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::GenericTypeDecl` class directly. * Use the subclass `GenericTypeDecl`, where the following predicates are available. */ - class GenericTypeDecl extends Synth::TGenericTypeDecl, GenericContext, TypeDecl { } + class GenericTypeDecl extends Synth::TGenericTypeDecl, GenericContextImpl::GenericContext, + TypeDeclImpl::TypeDecl + { } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/GenericTypeParamDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/GenericTypeParamDecl.qll index a417fbb6bdfa..23f4599bb54d 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/GenericTypeParamDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/GenericTypeParamDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `GenericTypeParamDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.AbstractTypeParamDecl +import codeql.swift.elements.decl.AbstractTypeParamDeclImpl::Impl as AbstractTypeParamDeclImpl /** * INTERNAL: This module contains the fully generated definition of `GenericTypeParamDecl` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::GenericTypeParamDecl` class directly. * Use the subclass `GenericTypeParamDecl`, where the following predicates are available. */ - class GenericTypeParamDecl extends Synth::TGenericTypeParamDecl, AbstractTypeParamDecl { + class GenericTypeParamDecl extends Synth::TGenericTypeParamDecl, + AbstractTypeParamDeclImpl::AbstractTypeParamDecl + { override string getAPrimaryQlClass() { result = "GenericTypeParamDecl" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/IfConfigDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/IfConfigDecl.qll index a262c380700d..8d7f050c1bd0 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/IfConfigDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/IfConfigDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `IfConfigDecl`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.AstNode -import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl /** * INTERNAL: This module contains the fully generated definition of `IfConfigDecl` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::IfConfigDecl` class directly. * Use the subclass `IfConfigDecl`, where the following predicates are available. */ - class IfConfigDecl extends Synth::TIfConfigDecl, Decl { + class IfConfigDecl extends Synth::TIfConfigDecl, DeclImpl::Decl { override string getAPrimaryQlClass() { result = "IfConfigDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/ImportDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/ImportDecl.qll index 6d748568deca..0bb92e16bfab 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/ImportDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/ImportDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ImportDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl import codeql.swift.elements.decl.ModuleDecl import codeql.swift.elements.decl.ValueDecl @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ImportDecl` class directly. * Use the subclass `ImportDecl`, where the following predicates are available. */ - class ImportDecl extends Synth::TImportDecl, Decl { + class ImportDecl extends Synth::TImportDecl, DeclImpl::Decl { override string getAPrimaryQlClass() { result = "ImportDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/InfixOperatorDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/InfixOperatorDecl.qll index 65f2cde1d30d..67144e15d20f 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/InfixOperatorDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/InfixOperatorDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `InfixOperatorDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.OperatorDecl +import codeql.swift.elements.decl.OperatorDeclImpl::Impl as OperatorDeclImpl import codeql.swift.elements.decl.PrecedenceGroupDecl /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::InfixOperatorDecl` class directly. * Use the subclass `InfixOperatorDecl`, where the following predicates are available. */ - class InfixOperatorDecl extends Synth::TInfixOperatorDecl, OperatorDecl { + class InfixOperatorDecl extends Synth::TInfixOperatorDecl, OperatorDeclImpl::OperatorDecl { override string getAPrimaryQlClass() { result = "InfixOperatorDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/Initializer.qll b/swift/ql/lib/codeql/swift/generated/decl/Initializer.qll index 73cf6cb5657b..e8d114c64160 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/Initializer.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/Initializer.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Initializer`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Function +import codeql.swift.elements.decl.FunctionImpl::Impl as FunctionImpl /** * INTERNAL: This module contains the fully generated definition of `Initializer` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Initializer` class directly. * Use the subclass `Initializer`, where the following predicates are available. */ - class Initializer extends Synth::TInitializer, Function { + class Initializer extends Synth::TInitializer, FunctionImpl::Function { override string getAPrimaryQlClass() { result = "Initializer" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/MacroDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/MacroDecl.qll index f3dae61afce3..1ccfeda181c7 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/MacroDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/MacroDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `MacroDecl`. * INTERNAL: Do not import directly. @@ -6,10 +6,10 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.GenericContext +import codeql.swift.elements.decl.GenericContextImpl::Impl as GenericContextImpl import codeql.swift.elements.MacroRole import codeql.swift.elements.decl.ParamDecl -import codeql.swift.elements.decl.ValueDecl +import codeql.swift.elements.decl.ValueDeclImpl::Impl as ValueDeclImpl /** * INTERNAL: This module contains the fully generated definition of `MacroDecl` and should not @@ -30,7 +30,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::MacroDecl` class directly. * Use the subclass `MacroDecl`, where the following predicates are available. */ - class MacroDecl extends Synth::TMacroDecl, GenericContext, ValueDecl { + class MacroDecl extends Synth::TMacroDecl, GenericContextImpl::GenericContext, + ValueDeclImpl::ValueDecl + { override string getAPrimaryQlClass() { result = "MacroDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/MissingMemberDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/MissingMemberDecl.qll index cadcea524419..8ecdd2a218e0 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/MissingMemberDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/MissingMemberDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `MissingMemberDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl /** * INTERNAL: This module contains the fully generated definition of `MissingMemberDecl` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MissingMemberDecl` class directly. * Use the subclass `MissingMemberDecl`, where the following predicates are available. */ - class MissingMemberDecl extends Synth::TMissingMemberDecl, Decl { + class MissingMemberDecl extends Synth::TMissingMemberDecl, DeclImpl::Decl { override string getAPrimaryQlClass() { result = "MissingMemberDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/ModuleDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/ModuleDecl.qll index 45719d28f3d3..73c4bbcbef69 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/ModuleDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/ModuleDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ModuleDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.TypeDecl +import codeql.swift.elements.decl.ModuleDecl +import codeql.swift.elements.decl.TypeDeclImpl::Impl as TypeDeclImpl /** * INTERNAL: This module contains the fully generated definition of `ModuleDecl` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ModuleDecl` class directly. * Use the subclass `ModuleDecl`, where the following predicates are available. */ - class ModuleDecl extends Synth::TModuleDecl, TypeDecl { + class ModuleDecl extends Synth::TModuleDecl, TypeDeclImpl::TypeDecl { override string getAPrimaryQlClass() { result = "ModuleDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/NamedFunction.qll b/swift/ql/lib/codeql/swift/generated/decl/NamedFunction.qll index 096c8e0ae339..c0a0406f6b0f 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/NamedFunction.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/NamedFunction.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `NamedFunction`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.AccessorOrNamedFunction +import codeql.swift.elements.decl.AccessorOrNamedFunctionImpl::Impl as AccessorOrNamedFunctionImpl /** * INTERNAL: This module contains the fully generated definition of `NamedFunction` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::NamedFunction` class directly. * Use the subclass `NamedFunction`, where the following predicates are available. */ - class NamedFunction extends Synth::TNamedFunction, AccessorOrNamedFunction { + class NamedFunction extends Synth::TNamedFunction, + AccessorOrNamedFunctionImpl::AccessorOrNamedFunction + { override string getAPrimaryQlClass() { result = "NamedFunction" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/NominalTypeDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/NominalTypeDecl.qll index 9c5c2f403931..ff777172ba26 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/NominalTypeDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/NominalTypeDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `NominalTypeDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.GenericTypeDecl +import codeql.swift.elements.decl.GenericTypeDeclImpl::Impl as GenericTypeDeclImpl import codeql.swift.elements.type.Type /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::NominalTypeDecl` class directly. * Use the subclass `NominalTypeDecl`, where the following predicates are available. */ - class NominalTypeDecl extends Synth::TNominalTypeDecl, GenericTypeDecl { + class NominalTypeDecl extends Synth::TNominalTypeDecl, GenericTypeDeclImpl::GenericTypeDecl { /** * Gets the type of this nominal type declaration. * diff --git a/swift/ql/lib/codeql/swift/generated/decl/OpaqueTypeDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/OpaqueTypeDecl.qll index e0d209006dac..93a277fa91ca 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/OpaqueTypeDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/OpaqueTypeDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OpaqueTypeDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.GenericTypeDecl +import codeql.swift.elements.decl.GenericTypeDeclImpl::Impl as GenericTypeDeclImpl import codeql.swift.elements.type.GenericTypeParamType import codeql.swift.elements.decl.ValueDecl @@ -28,7 +28,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OpaqueTypeDecl` class directly. * Use the subclass `OpaqueTypeDecl`, where the following predicates are available. */ - class OpaqueTypeDecl extends Synth::TOpaqueTypeDecl, GenericTypeDecl { + class OpaqueTypeDecl extends Synth::TOpaqueTypeDecl, GenericTypeDeclImpl::GenericTypeDecl { override string getAPrimaryQlClass() { result = "OpaqueTypeDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/OperatorDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/OperatorDecl.qll index 140601908c37..af672e022ba9 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/OperatorDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/OperatorDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OperatorDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl /** * INTERNAL: This module contains the fully generated definition of `OperatorDecl` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OperatorDecl` class directly. * Use the subclass `OperatorDecl`, where the following predicates are available. */ - class OperatorDecl extends Synth::TOperatorDecl, Decl { + class OperatorDecl extends Synth::TOperatorDecl, DeclImpl::Decl { /** * Gets the name of this operator declaration. */ diff --git a/swift/ql/lib/codeql/swift/generated/decl/ParamDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/ParamDecl.qll index 71753abf1e98..7ff6ef435921 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/ParamDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/ParamDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ParamDecl`. * INTERNAL: Do not import directly. @@ -8,6 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.decl.PatternBindingDecl import codeql.swift.elements.decl.VarDecl +import codeql.swift.elements.decl.VarDeclImpl::Impl as VarDeclImpl /** * INTERNAL: This module contains the fully generated definition of `ParamDecl` and should not @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ParamDecl` class directly. * Use the subclass `ParamDecl`, where the following predicates are available. */ - class ParamDecl extends Synth::TParamDecl, VarDecl { + class ParamDecl extends Synth::TParamDecl, VarDeclImpl::VarDecl { override string getAPrimaryQlClass() { result = "ParamDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/PatternBindingDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/PatternBindingDecl.qll index f92199e6aede..a4382f9ae1d4 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/PatternBindingDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/PatternBindingDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PatternBindingDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl import codeql.swift.elements.expr.Expr import codeql.swift.elements.pattern.Pattern @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PatternBindingDecl` class directly. * Use the subclass `PatternBindingDecl`, where the following predicates are available. */ - class PatternBindingDecl extends Synth::TPatternBindingDecl, Decl { + class PatternBindingDecl extends Synth::TPatternBindingDecl, DeclImpl::Decl { override string getAPrimaryQlClass() { result = "PatternBindingDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/PostfixOperatorDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/PostfixOperatorDecl.qll index d0264849c954..072362c2604e 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/PostfixOperatorDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/PostfixOperatorDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PostfixOperatorDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.OperatorDecl +import codeql.swift.elements.decl.OperatorDeclImpl::Impl as OperatorDeclImpl /** * INTERNAL: This module contains the fully generated definition of `PostfixOperatorDecl` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PostfixOperatorDecl` class directly. * Use the subclass `PostfixOperatorDecl`, where the following predicates are available. */ - class PostfixOperatorDecl extends Synth::TPostfixOperatorDecl, OperatorDecl { + class PostfixOperatorDecl extends Synth::TPostfixOperatorDecl, OperatorDeclImpl::OperatorDecl { override string getAPrimaryQlClass() { result = "PostfixOperatorDecl" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/PoundDiagnosticDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/PoundDiagnosticDecl.qll index 2c7005edfbbb..67195c7ffc2e 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/PoundDiagnosticDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/PoundDiagnosticDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PoundDiagnosticDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl import codeql.swift.elements.expr.StringLiteralExpr /** @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PoundDiagnosticDecl` class directly. * Use the subclass `PoundDiagnosticDecl`, where the following predicates are available. */ - class PoundDiagnosticDecl extends Synth::TPoundDiagnosticDecl, Decl { + class PoundDiagnosticDecl extends Synth::TPoundDiagnosticDecl, DeclImpl::Decl { override string getAPrimaryQlClass() { result = "PoundDiagnosticDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/PrecedenceGroupDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/PrecedenceGroupDecl.qll index f64c323b772a..d3f372e48b16 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/PrecedenceGroupDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/PrecedenceGroupDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PrecedenceGroupDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl /** * INTERNAL: This module contains the fully generated definition of `PrecedenceGroupDecl` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PrecedenceGroupDecl` class directly. * Use the subclass `PrecedenceGroupDecl`, where the following predicates are available. */ - class PrecedenceGroupDecl extends Synth::TPrecedenceGroupDecl, Decl { + class PrecedenceGroupDecl extends Synth::TPrecedenceGroupDecl, DeclImpl::Decl { override string getAPrimaryQlClass() { result = "PrecedenceGroupDecl" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/PrefixOperatorDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/PrefixOperatorDecl.qll index f1eb61581847..d04e7f724d65 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/PrefixOperatorDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/PrefixOperatorDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PrefixOperatorDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.OperatorDecl +import codeql.swift.elements.decl.OperatorDeclImpl::Impl as OperatorDeclImpl /** * INTERNAL: This module contains the fully generated definition of `PrefixOperatorDecl` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PrefixOperatorDecl` class directly. * Use the subclass `PrefixOperatorDecl`, where the following predicates are available. */ - class PrefixOperatorDecl extends Synth::TPrefixOperatorDecl, OperatorDecl { + class PrefixOperatorDecl extends Synth::TPrefixOperatorDecl, OperatorDeclImpl::OperatorDecl { override string getAPrimaryQlClass() { result = "PrefixOperatorDecl" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/ProtocolDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/ProtocolDecl.qll index f299bebe348d..6db559fb34cf 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/ProtocolDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/ProtocolDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ProtocolDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.NominalTypeDecl +import codeql.swift.elements.decl.NominalTypeDeclImpl::Impl as NominalTypeDeclImpl /** * INTERNAL: This module contains the fully generated definition of `ProtocolDecl` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ProtocolDecl` class directly. * Use the subclass `ProtocolDecl`, where the following predicates are available. */ - class ProtocolDecl extends Synth::TProtocolDecl, NominalTypeDecl { + class ProtocolDecl extends Synth::TProtocolDecl, NominalTypeDeclImpl::NominalTypeDecl { override string getAPrimaryQlClass() { result = "ProtocolDecl" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/StructDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/StructDecl.qll index a09e6acf499a..10d2270c6b8f 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/StructDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/StructDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `StructDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.NominalTypeDecl +import codeql.swift.elements.decl.NominalTypeDeclImpl::Impl as NominalTypeDeclImpl /** * INTERNAL: This module contains the fully generated definition of `StructDecl` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::StructDecl` class directly. * Use the subclass `StructDecl`, where the following predicates are available. */ - class StructDecl extends Synth::TStructDecl, NominalTypeDecl { + class StructDecl extends Synth::TStructDecl, NominalTypeDeclImpl::NominalTypeDecl { override string getAPrimaryQlClass() { result = "StructDecl" } } } diff --git a/swift/ql/lib/codeql/swift/generated/decl/SubscriptDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/SubscriptDecl.qll index 87b959fb635b..30360f679683 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/SubscriptDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/SubscriptDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `SubscriptDecl`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.AbstractStorageDecl -import codeql.swift.elements.decl.GenericContext +import codeql.swift.elements.decl.AbstractStorageDeclImpl::Impl as AbstractStorageDeclImpl +import codeql.swift.elements.decl.GenericContextImpl::Impl as GenericContextImpl import codeql.swift.elements.decl.ParamDecl import codeql.swift.elements.type.Type @@ -20,7 +20,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::SubscriptDecl` class directly. * Use the subclass `SubscriptDecl`, where the following predicates are available. */ - class SubscriptDecl extends Synth::TSubscriptDecl, AbstractStorageDecl, GenericContext { + class SubscriptDecl extends Synth::TSubscriptDecl, AbstractStorageDeclImpl::AbstractStorageDecl, + GenericContextImpl::GenericContext + { override string getAPrimaryQlClass() { result = "SubscriptDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/TopLevelCodeDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/TopLevelCodeDecl.qll index 83b4140de055..83be5a6b268e 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/TopLevelCodeDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/TopLevelCodeDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TopLevelCodeDecl`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.BraceStmt -import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl /** * INTERNAL: This module contains the fully generated definition of `TopLevelCodeDecl` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TopLevelCodeDecl` class directly. * Use the subclass `TopLevelCodeDecl`, where the following predicates are available. */ - class TopLevelCodeDecl extends Synth::TTopLevelCodeDecl, Decl { + class TopLevelCodeDecl extends Synth::TTopLevelCodeDecl, DeclImpl::Decl { override string getAPrimaryQlClass() { result = "TopLevelCodeDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/TypeAliasDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/TypeAliasDecl.qll index 038959922f26..dbb5e72797d0 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/TypeAliasDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/TypeAliasDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TypeAliasDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.GenericTypeDecl +import codeql.swift.elements.decl.GenericTypeDeclImpl::Impl as GenericTypeDeclImpl import codeql.swift.elements.type.Type /** @@ -22,7 +22,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TypeAliasDecl` class directly. * Use the subclass `TypeAliasDecl`, where the following predicates are available. */ - class TypeAliasDecl extends Synth::TTypeAliasDecl, GenericTypeDecl { + class TypeAliasDecl extends Synth::TTypeAliasDecl, GenericTypeDeclImpl::GenericTypeDecl { override string getAPrimaryQlClass() { result = "TypeAliasDecl" } /** diff --git a/swift/ql/lib/codeql/swift/generated/decl/TypeDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/TypeDecl.qll index a3558317827f..b0521ca7ad32 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/TypeDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/TypeDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TypeDecl`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type -import codeql.swift.elements.decl.ValueDecl +import codeql.swift.elements.decl.ValueDeclImpl::Impl as ValueDeclImpl /** * INTERNAL: This module contains the fully generated definition of `TypeDecl` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TypeDecl` class directly. * Use the subclass `TypeDecl`, where the following predicates are available. */ - class TypeDecl extends Synth::TTypeDecl, ValueDecl { + class TypeDecl extends Synth::TTypeDecl, ValueDeclImpl::ValueDecl { /** * Gets the name of this type declaration. */ diff --git a/swift/ql/lib/codeql/swift/generated/decl/ValueDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/ValueDecl.qll index 8de853f840ff..28bf16a53325 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/ValueDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/ValueDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ValueDecl`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.Decl +import codeql.swift.elements.decl.DeclImpl::Impl as DeclImpl import codeql.swift.elements.type.Type /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ValueDecl` class directly. * Use the subclass `ValueDecl`, where the following predicates are available. */ - class ValueDecl extends Synth::TValueDecl, Decl { + class ValueDecl extends Synth::TValueDecl, DeclImpl::Decl { /** * Gets the interface type of this value declaration. * diff --git a/swift/ql/lib/codeql/swift/generated/decl/VarDecl.qll b/swift/ql/lib/codeql/swift/generated/decl/VarDecl.qll index 9edd5d791863..74462bee5029 100644 --- a/swift/ql/lib/codeql/swift/generated/decl/VarDecl.qll +++ b/swift/ql/lib/codeql/swift/generated/decl/VarDecl.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `VarDecl`. * INTERNAL: Do not import directly. @@ -6,11 +6,12 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.decl.AbstractStorageDecl +import codeql.swift.elements.decl.AbstractStorageDeclImpl::Impl as AbstractStorageDeclImpl import codeql.swift.elements.expr.Expr import codeql.swift.elements.pattern.Pattern import codeql.swift.elements.decl.PatternBindingDecl import codeql.swift.elements.type.Type +import codeql.swift.elements.decl.VarDecl /** * INTERNAL: This module contains the fully generated definition of `VarDecl` and should not @@ -37,7 +38,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::VarDecl` class directly. * Use the subclass `VarDecl`, where the following predicates are available. */ - class VarDecl extends Synth::TVarDecl, AbstractStorageDecl { + class VarDecl extends Synth::TVarDecl, AbstractStorageDeclImpl::AbstractStorageDecl { /** * Gets the name of this variable declaration. */ diff --git a/swift/ql/lib/codeql/swift/generated/expr/AbiSafeConversionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/AbiSafeConversionExpr.qll index b2c1cd63cf45..3fb19612aef7 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/AbiSafeConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/AbiSafeConversionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AbiSafeConversionExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `AbiSafeConversionExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::AbiSafeConversionExpr` class directly. * Use the subclass `AbiSafeConversionExpr`, where the following predicates are available. */ - class AbiSafeConversionExpr extends Synth::TAbiSafeConversionExpr, ImplicitConversionExpr { + class AbiSafeConversionExpr extends Synth::TAbiSafeConversionExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "AbiSafeConversionExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/AnyHashableErasureExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/AnyHashableErasureExpr.qll index 5236c131a5cd..b13910210dea 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/AnyHashableErasureExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/AnyHashableErasureExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AnyHashableErasureExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `AnyHashableErasureExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::AnyHashableErasureExpr` class directly. * Use the subclass `AnyHashableErasureExpr`, where the following predicates are available. */ - class AnyHashableErasureExpr extends Synth::TAnyHashableErasureExpr, ImplicitConversionExpr { + class AnyHashableErasureExpr extends Synth::TAnyHashableErasureExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "AnyHashableErasureExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/AnyTryExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/AnyTryExpr.qll index 3586244efb4b..db7cee9fdc3a 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/AnyTryExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/AnyTryExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AnyTryExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `AnyTryExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AnyTryExpr` class directly. * Use the subclass `AnyTryExpr`, where the following predicates are available. */ - class AnyTryExpr extends Synth::TAnyTryExpr, Expr { + class AnyTryExpr extends Synth::TAnyTryExpr, ExprImpl::Expr { /** * Gets the sub expression of this any try expression. * diff --git a/swift/ql/lib/codeql/swift/generated/expr/AppliedPropertyWrapperExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/AppliedPropertyWrapperExpr.qll index 861e8710e4df..0f721d4ff45a 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/AppliedPropertyWrapperExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/AppliedPropertyWrapperExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AppliedPropertyWrapperExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.decl.ParamDecl /** @@ -19,7 +20,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AppliedPropertyWrapperExpr` class directly. * Use the subclass `AppliedPropertyWrapperExpr`, where the following predicates are available. */ - class AppliedPropertyWrapperExpr extends Synth::TAppliedPropertyWrapperExpr, Expr { + class AppliedPropertyWrapperExpr extends Synth::TAppliedPropertyWrapperExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "AppliedPropertyWrapperExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/ApplyExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ApplyExpr.qll index 554d0b78e903..10c893a1df33 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ApplyExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ApplyExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ApplyExpr`. * INTERNAL: Do not import directly. @@ -8,6 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Argument import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `ApplyExpr` and should not @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ApplyExpr` class directly. * Use the subclass `ApplyExpr`, where the following predicates are available. */ - class ApplyExpr extends Synth::TApplyExpr, Expr { + class ApplyExpr extends Synth::TApplyExpr, ExprImpl::Expr { /** * Gets the function being applied. * diff --git a/swift/ql/lib/codeql/swift/generated/expr/ArchetypeToSuperExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ArchetypeToSuperExpr.qll index 7e7aaac4237b..f736cadd0c76 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ArchetypeToSuperExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ArchetypeToSuperExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ArchetypeToSuperExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `ArchetypeToSuperExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::ArchetypeToSuperExpr` class directly. * Use the subclass `ArchetypeToSuperExpr`, where the following predicates are available. */ - class ArchetypeToSuperExpr extends Synth::TArchetypeToSuperExpr, ImplicitConversionExpr { + class ArchetypeToSuperExpr extends Synth::TArchetypeToSuperExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "ArchetypeToSuperExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/Argument.qll b/swift/ql/lib/codeql/swift/generated/expr/Argument.qll index 3f7b910d39db..7065a23caf3f 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/Argument.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/Argument.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Argument`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr -import codeql.swift.elements.Locatable +import codeql.swift.elements.LocatableImpl::Impl as LocatableImpl /** * INTERNAL: This module contains the fully generated definition of `Argument` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Argument` class directly. * Use the subclass `Argument`, where the following predicates are available. */ - class Argument extends Synth::TArgument, Locatable { + class Argument extends Synth::TArgument, LocatableImpl::Locatable { override string getAPrimaryQlClass() { result = "Argument" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/ArrayExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ArrayExpr.qll index 7b88a9ec8eba..12a1ca81affa 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ArrayExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ArrayExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ArrayExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.CollectionExpr +import codeql.swift.elements.expr.CollectionExprImpl::Impl as CollectionExprImpl import codeql.swift.elements.expr.Expr /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ArrayExpr` class directly. * Use the subclass `ArrayExpr`, where the following predicates are available. */ - class ArrayExpr extends Synth::TArrayExpr, CollectionExpr { + class ArrayExpr extends Synth::TArrayExpr, CollectionExprImpl::CollectionExpr { override string getAPrimaryQlClass() { result = "ArrayExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/ArrayToPointerExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ArrayToPointerExpr.qll index 8092299c4584..a767a8193892 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ArrayToPointerExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ArrayToPointerExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ArrayToPointerExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `ArrayToPointerExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::ArrayToPointerExpr` class directly. * Use the subclass `ArrayToPointerExpr`, where the following predicates are available. */ - class ArrayToPointerExpr extends Synth::TArrayToPointerExpr, ImplicitConversionExpr { + class ArrayToPointerExpr extends Synth::TArrayToPointerExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "ArrayToPointerExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/AssignExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/AssignExpr.qll index 7aef94131747..41904c36bbee 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/AssignExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/AssignExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AssignExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `AssignExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AssignExpr` class directly. * Use the subclass `AssignExpr`, where the following predicates are available. */ - class AssignExpr extends Synth::TAssignExpr, Expr { + class AssignExpr extends Synth::TAssignExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "AssignExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/AutoClosureExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/AutoClosureExpr.qll index b16dc94de1fd..7c86fdece43a 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/AutoClosureExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/AutoClosureExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AutoClosureExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ClosureExpr +import codeql.swift.elements.expr.ClosureExprImpl::Impl as ClosureExprImpl /** * INTERNAL: This module contains the fully generated definition of `AutoClosureExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AutoClosureExpr` class directly. * Use the subclass `AutoClosureExpr`, where the following predicates are available. */ - class AutoClosureExpr extends Synth::TAutoClosureExpr, ClosureExpr { + class AutoClosureExpr extends Synth::TAutoClosureExpr, ClosureExprImpl::ClosureExpr { override string getAPrimaryQlClass() { result = "AutoClosureExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/AwaitExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/AwaitExpr.qll index c520b6980cdd..66f5ad15b07c 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/AwaitExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/AwaitExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AwaitExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.IdentityExpr +import codeql.swift.elements.expr.IdentityExprImpl::Impl as IdentityExprImpl /** * INTERNAL: This module contains the fully generated definition of `AwaitExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AwaitExpr` class directly. * Use the subclass `AwaitExpr`, where the following predicates are available. */ - class AwaitExpr extends Synth::TAwaitExpr, IdentityExpr { + class AwaitExpr extends Synth::TAwaitExpr, IdentityExprImpl::IdentityExpr { override string getAPrimaryQlClass() { result = "AwaitExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/BinaryExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/BinaryExpr.qll index dc03a554edfb..a1b49e550f23 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/BinaryExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/BinaryExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BinaryExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ApplyExpr +import codeql.swift.elements.expr.ApplyExprImpl::Impl as ApplyExprImpl /** * INTERNAL: This module contains the fully generated definition of `BinaryExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BinaryExpr` class directly. * Use the subclass `BinaryExpr`, where the following predicates are available. */ - class BinaryExpr extends Synth::TBinaryExpr, ApplyExpr { + class BinaryExpr extends Synth::TBinaryExpr, ApplyExprImpl::ApplyExpr { override string getAPrimaryQlClass() { result = "BinaryExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/BindOptionalExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/BindOptionalExpr.qll index ba95bd70ff7c..7cbf4d32ae93 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/BindOptionalExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/BindOptionalExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BindOptionalExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `BindOptionalExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BindOptionalExpr` class directly. * Use the subclass `BindOptionalExpr`, where the following predicates are available. */ - class BindOptionalExpr extends Synth::TBindOptionalExpr, Expr { + class BindOptionalExpr extends Synth::TBindOptionalExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "BindOptionalExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/BooleanLiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/BooleanLiteralExpr.qll index 253a955fb21d..e72bbe44d256 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/BooleanLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/BooleanLiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BooleanLiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.BuiltinLiteralExpr +import codeql.swift.elements.expr.BuiltinLiteralExprImpl::Impl as BuiltinLiteralExprImpl /** * INTERNAL: This module contains the fully generated definition of `BooleanLiteralExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BooleanLiteralExpr` class directly. * Use the subclass `BooleanLiteralExpr`, where the following predicates are available. */ - class BooleanLiteralExpr extends Synth::TBooleanLiteralExpr, BuiltinLiteralExpr { + class BooleanLiteralExpr extends Synth::TBooleanLiteralExpr, + BuiltinLiteralExprImpl::BuiltinLiteralExpr + { override string getAPrimaryQlClass() { result = "BooleanLiteralExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/BorrowExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/BorrowExpr.qll index 52880b60510b..006c9a3773e1 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/BorrowExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/BorrowExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BorrowExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.IdentityExpr +import codeql.swift.elements.expr.IdentityExprImpl::Impl as IdentityExprImpl /** * INTERNAL: This module contains the fully generated definition of `BorrowExpr` and should not @@ -23,7 +23,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BorrowExpr` class directly. * Use the subclass `BorrowExpr`, where the following predicates are available. */ - class BorrowExpr extends Synth::TBorrowExpr, IdentityExpr { + class BorrowExpr extends Synth::TBorrowExpr, IdentityExprImpl::IdentityExpr { override string getAPrimaryQlClass() { result = "BorrowExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/BridgeFromObjCExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/BridgeFromObjCExpr.qll index 25a828ebbed3..0f603a9f8dba 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/BridgeFromObjCExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/BridgeFromObjCExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BridgeFromObjCExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `BridgeFromObjCExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BridgeFromObjCExpr` class directly. * Use the subclass `BridgeFromObjCExpr`, where the following predicates are available. */ - class BridgeFromObjCExpr extends Synth::TBridgeFromObjCExpr, ImplicitConversionExpr { + class BridgeFromObjCExpr extends Synth::TBridgeFromObjCExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "BridgeFromObjCExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/BridgeToObjCExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/BridgeToObjCExpr.qll index 7052fe6af02a..b9054476737f 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/BridgeToObjCExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/BridgeToObjCExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BridgeToObjCExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `BridgeToObjCExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BridgeToObjCExpr` class directly. * Use the subclass `BridgeToObjCExpr`, where the following predicates are available. */ - class BridgeToObjCExpr extends Synth::TBridgeToObjCExpr, ImplicitConversionExpr { + class BridgeToObjCExpr extends Synth::TBridgeToObjCExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "BridgeToObjCExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/BuiltinLiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/BuiltinLiteralExpr.qll index ae2573af13c2..d72b94a341ee 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/BuiltinLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/BuiltinLiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinLiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.LiteralExpr +import codeql.swift.elements.expr.LiteralExprImpl::Impl as LiteralExprImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinLiteralExpr` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinLiteralExpr` class directly. * Use the subclass `BuiltinLiteralExpr`, where the following predicates are available. */ - class BuiltinLiteralExpr extends Synth::TBuiltinLiteralExpr, LiteralExpr { } + class BuiltinLiteralExpr extends Synth::TBuiltinLiteralExpr, LiteralExprImpl::LiteralExpr { } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/CallExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/CallExpr.qll index 8ee60e27a59f..195e34175f83 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/CallExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/CallExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CallExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ApplyExpr +import codeql.swift.elements.expr.ApplyExprImpl::Impl as ApplyExprImpl /** * INTERNAL: This module contains the fully generated definition of `CallExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::CallExpr` class directly. * Use the subclass `CallExpr`, where the following predicates are available. */ - class CallExpr extends Synth::TCallExpr, ApplyExpr { + class CallExpr extends Synth::TCallExpr, ApplyExprImpl::ApplyExpr { override string getAPrimaryQlClass() { result = "CallExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/CaptureListExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/CaptureListExpr.qll index e677a696ef5c..c9cca7fe690a 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/CaptureListExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/CaptureListExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CaptureListExpr`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.ClosureExpr -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.decl.PatternBindingDecl import codeql.swift.elements.decl.VarDecl @@ -20,7 +20,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::CaptureListExpr` class directly. * Use the subclass `CaptureListExpr`, where the following predicates are available. */ - class CaptureListExpr extends Synth::TCaptureListExpr, Expr { + class CaptureListExpr extends Synth::TCaptureListExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "CaptureListExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/CheckedCastExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/CheckedCastExpr.qll index b9660602c578..f5b9f159a52f 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/CheckedCastExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/CheckedCastExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CheckedCastExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ExplicitCastExpr +import codeql.swift.elements.expr.ExplicitCastExprImpl::Impl as ExplicitCastExprImpl /** * INTERNAL: This module contains the fully generated definition of `CheckedCastExpr` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::CheckedCastExpr` class directly. * Use the subclass `CheckedCastExpr`, where the following predicates are available. */ - class CheckedCastExpr extends Synth::TCheckedCastExpr, ExplicitCastExpr { } + class CheckedCastExpr extends Synth::TCheckedCastExpr, ExplicitCastExprImpl::ExplicitCastExpr { } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ClassMetatypeToObjectExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ClassMetatypeToObjectExpr.qll index c8b86a14595e..734c66f913e8 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ClassMetatypeToObjectExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ClassMetatypeToObjectExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ClassMetatypeToObjectExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `ClassMetatypeToObjectExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::ClassMetatypeToObjectExpr` class directly. * Use the subclass `ClassMetatypeToObjectExpr`, where the following predicates are available. */ - class ClassMetatypeToObjectExpr extends Synth::TClassMetatypeToObjectExpr, ImplicitConversionExpr { + class ClassMetatypeToObjectExpr extends Synth::TClassMetatypeToObjectExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "ClassMetatypeToObjectExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ClosureExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ClosureExpr.qll index 9c6fb2e62623..caadd88cac37 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ClosureExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ClosureExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ClosureExpr`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Callable -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.CallableImpl::Impl as CallableImpl +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `ClosureExpr` and should not @@ -18,5 +18,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::ClosureExpr` class directly. * Use the subclass `ClosureExpr`, where the following predicates are available. */ - class ClosureExpr extends Synth::TClosureExpr, Expr, Callable { } + class ClosureExpr extends Synth::TClosureExpr, ExprImpl::Expr, CallableImpl::Callable { } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/CoerceExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/CoerceExpr.qll index a1fac8dc8939..b2e51fed5d91 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/CoerceExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/CoerceExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CoerceExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ExplicitCastExpr +import codeql.swift.elements.expr.ExplicitCastExprImpl::Impl as ExplicitCastExprImpl /** * INTERNAL: This module contains the fully generated definition of `CoerceExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::CoerceExpr` class directly. * Use the subclass `CoerceExpr`, where the following predicates are available. */ - class CoerceExpr extends Synth::TCoerceExpr, ExplicitCastExpr { + class CoerceExpr extends Synth::TCoerceExpr, ExplicitCastExprImpl::ExplicitCastExpr { override string getAPrimaryQlClass() { result = "CoerceExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/CollectionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/CollectionExpr.qll index cf200b5d3f5e..6335d828618c 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/CollectionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/CollectionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CollectionExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `CollectionExpr` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::CollectionExpr` class directly. * Use the subclass `CollectionExpr`, where the following predicates are available. */ - class CollectionExpr extends Synth::TCollectionExpr, Expr { } + class CollectionExpr extends Synth::TCollectionExpr, ExprImpl::Expr { } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/CollectionUpcastConversionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/CollectionUpcastConversionExpr.qll index a58ae3af14bc..ba6490882c2c 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/CollectionUpcastConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/CollectionUpcastConversionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CollectionUpcastConversionExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `CollectionUpcastConversionExpr` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `CollectionUpcastConversionExpr`, where the following predicates are available. */ class CollectionUpcastConversionExpr extends Synth::TCollectionUpcastConversionExpr, - ImplicitConversionExpr + ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "CollectionUpcastConversionExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ConditionalBridgeFromObjCExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ConditionalBridgeFromObjCExpr.qll index e11d2cb81537..80246246311a 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ConditionalBridgeFromObjCExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ConditionalBridgeFromObjCExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ConditionalBridgeFromObjCExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `ConditionalBridgeFromObjCExpr` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `ConditionalBridgeFromObjCExpr`, where the following predicates are available. */ class ConditionalBridgeFromObjCExpr extends Synth::TConditionalBridgeFromObjCExpr, - ImplicitConversionExpr + ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "ConditionalBridgeFromObjCExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ConditionalCheckedCastExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ConditionalCheckedCastExpr.qll index fdad116550d1..c1c68ed3ca47 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ConditionalCheckedCastExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ConditionalCheckedCastExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ConditionalCheckedCastExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.CheckedCastExpr +import codeql.swift.elements.expr.CheckedCastExprImpl::Impl as CheckedCastExprImpl /** * INTERNAL: This module contains the fully generated definition of `ConditionalCheckedCastExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::ConditionalCheckedCastExpr` class directly. * Use the subclass `ConditionalCheckedCastExpr`, where the following predicates are available. */ - class ConditionalCheckedCastExpr extends Synth::TConditionalCheckedCastExpr, CheckedCastExpr { + class ConditionalCheckedCastExpr extends Synth::TConditionalCheckedCastExpr, + CheckedCastExprImpl::CheckedCastExpr + { override string getAPrimaryQlClass() { result = "ConditionalCheckedCastExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ConsumeExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ConsumeExpr.qll index 75c2bca88e79..ed45cbd748f0 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ConsumeExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ConsumeExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ConsumeExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `ConsumeExpr` and should not @@ -23,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ConsumeExpr` class directly. * Use the subclass `ConsumeExpr`, where the following predicates are available. */ - class ConsumeExpr extends Synth::TConsumeExpr, Expr { + class ConsumeExpr extends Synth::TConsumeExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "ConsumeExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/CopyExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/CopyExpr.qll index 87342ffaddd9..1dbdbff055d6 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/CopyExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/CopyExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CopyExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `CopyExpr` and should not @@ -23,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::CopyExpr` class directly. * Use the subclass `CopyExpr`, where the following predicates are available. */ - class CopyExpr extends Synth::TCopyExpr, Expr { + class CopyExpr extends Synth::TCopyExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "CopyExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/CovariantFunctionConversionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/CovariantFunctionConversionExpr.qll index 395f24b755f1..d94a5b76cc4e 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/CovariantFunctionConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/CovariantFunctionConversionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CovariantFunctionConversionExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `CovariantFunctionConversionExpr` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `CovariantFunctionConversionExpr`, where the following predicates are available. */ class CovariantFunctionConversionExpr extends Synth::TCovariantFunctionConversionExpr, - ImplicitConversionExpr + ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "CovariantFunctionConversionExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/CovariantReturnConversionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/CovariantReturnConversionExpr.qll index ff1cf7e908ac..adcbe10be411 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/CovariantReturnConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/CovariantReturnConversionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CovariantReturnConversionExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `CovariantReturnConversionExpr` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `CovariantReturnConversionExpr`, where the following predicates are available. */ class CovariantReturnConversionExpr extends Synth::TCovariantReturnConversionExpr, - ImplicitConversionExpr + ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "CovariantReturnConversionExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/DeclRefExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DeclRefExpr.qll index c00dec35eea6..09ecb8d632d9 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DeclRefExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DeclRefExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DeclRefExpr`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.decl.Decl -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.type.Type /** @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DeclRefExpr` class directly. * Use the subclass `DeclRefExpr`, where the following predicates are available. */ - class DeclRefExpr extends Synth::TDeclRefExpr, Expr { + class DeclRefExpr extends Synth::TDeclRefExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "DeclRefExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/DefaultArgumentExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DefaultArgumentExpr.qll index 2323ca670268..2249b55066bb 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DefaultArgumentExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DefaultArgumentExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DefaultArgumentExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.decl.ParamDecl /** @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DefaultArgumentExpr` class directly. * Use the subclass `DefaultArgumentExpr`, where the following predicates are available. */ - class DefaultArgumentExpr extends Synth::TDefaultArgumentExpr, Expr { + class DefaultArgumentExpr extends Synth::TDefaultArgumentExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "DefaultArgumentExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/DerivedToBaseExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DerivedToBaseExpr.qll index 867422ebe99e..cc9316c897cf 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DerivedToBaseExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DerivedToBaseExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DerivedToBaseExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `DerivedToBaseExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::DerivedToBaseExpr` class directly. * Use the subclass `DerivedToBaseExpr`, where the following predicates are available. */ - class DerivedToBaseExpr extends Synth::TDerivedToBaseExpr, ImplicitConversionExpr { + class DerivedToBaseExpr extends Synth::TDerivedToBaseExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "DerivedToBaseExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/DestructureTupleExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DestructureTupleExpr.qll index 66a5f95e0f5d..c8ead8e349ee 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DestructureTupleExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DestructureTupleExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DestructureTupleExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `DestructureTupleExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::DestructureTupleExpr` class directly. * Use the subclass `DestructureTupleExpr`, where the following predicates are available. */ - class DestructureTupleExpr extends Synth::TDestructureTupleExpr, ImplicitConversionExpr { + class DestructureTupleExpr extends Synth::TDestructureTupleExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "DestructureTupleExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/DictionaryExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DictionaryExpr.qll index bce87423710b..a70cf6958c79 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DictionaryExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DictionaryExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DictionaryExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.CollectionExpr +import codeql.swift.elements.expr.CollectionExprImpl::Impl as CollectionExprImpl import codeql.swift.elements.expr.Expr /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DictionaryExpr` class directly. * Use the subclass `DictionaryExpr`, where the following predicates are available. */ - class DictionaryExpr extends Synth::TDictionaryExpr, CollectionExpr { + class DictionaryExpr extends Synth::TDictionaryExpr, CollectionExprImpl::CollectionExpr { override string getAPrimaryQlClass() { result = "DictionaryExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/DifferentiableFunctionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DifferentiableFunctionExpr.qll index 6584a2b52d59..8dd9938c6764 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DifferentiableFunctionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DifferentiableFunctionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DifferentiableFunctionExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `DifferentiableFunctionExpr` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `DifferentiableFunctionExpr`, where the following predicates are available. */ class DifferentiableFunctionExpr extends Synth::TDifferentiableFunctionExpr, - ImplicitConversionExpr + ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "DifferentiableFunctionExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/DifferentiableFunctionExtractOriginalExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DifferentiableFunctionExtractOriginalExpr.qll index e73a9634cb56..c67613a5206f 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DifferentiableFunctionExtractOriginalExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DifferentiableFunctionExtractOriginalExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DifferentiableFunctionExtractOriginalExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `DifferentiableFunctionExtractOriginalExpr` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `DifferentiableFunctionExtractOriginalExpr`, where the following predicates are available. */ class DifferentiableFunctionExtractOriginalExpr extends Synth::TDifferentiableFunctionExtractOriginalExpr, - ImplicitConversionExpr + ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "DifferentiableFunctionExtractOriginalExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/DiscardAssignmentExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DiscardAssignmentExpr.qll index 97317d00c245..e9ed3ca72cc9 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DiscardAssignmentExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DiscardAssignmentExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DiscardAssignmentExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `DiscardAssignmentExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DiscardAssignmentExpr` class directly. * Use the subclass `DiscardAssignmentExpr`, where the following predicates are available. */ - class DiscardAssignmentExpr extends Synth::TDiscardAssignmentExpr, Expr { + class DiscardAssignmentExpr extends Synth::TDiscardAssignmentExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "DiscardAssignmentExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/DotSelfExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DotSelfExpr.qll index c80831cc72f6..58dcc597769a 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DotSelfExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DotSelfExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DotSelfExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.IdentityExpr +import codeql.swift.elements.expr.IdentityExprImpl::Impl as IdentityExprImpl /** * INTERNAL: This module contains the fully generated definition of `DotSelfExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DotSelfExpr` class directly. * Use the subclass `DotSelfExpr`, where the following predicates are available. */ - class DotSelfExpr extends Synth::TDotSelfExpr, IdentityExpr { + class DotSelfExpr extends Synth::TDotSelfExpr, IdentityExprImpl::IdentityExpr { override string getAPrimaryQlClass() { result = "DotSelfExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/DotSyntaxBaseIgnoredExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DotSyntaxBaseIgnoredExpr.qll index 21f123b42fad..2f034f35e155 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DotSyntaxBaseIgnoredExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DotSyntaxBaseIgnoredExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DotSyntaxBaseIgnoredExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `DotSyntaxBaseIgnoredExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DotSyntaxBaseIgnoredExpr` class directly. * Use the subclass `DotSyntaxBaseIgnoredExpr`, where the following predicates are available. */ - class DotSyntaxBaseIgnoredExpr extends Synth::TDotSyntaxBaseIgnoredExpr, Expr { + class DotSyntaxBaseIgnoredExpr extends Synth::TDotSyntaxBaseIgnoredExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "DotSyntaxBaseIgnoredExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/DotSyntaxCallExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DotSyntaxCallExpr.qll index fd930708a019..2fc4f4a35388 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DotSyntaxCallExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DotSyntaxCallExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DotSyntaxCallExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.SelfApplyExpr +import codeql.swift.elements.expr.SelfApplyExprImpl::Impl as SelfApplyExprImpl /** * INTERNAL: This module contains the fully generated definition of `DotSyntaxCallExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DotSyntaxCallExpr` class directly. * Use the subclass `DotSyntaxCallExpr`, where the following predicates are available. */ - class DotSyntaxCallExpr extends Synth::TDotSyntaxCallExpr, SelfApplyExpr { + class DotSyntaxCallExpr extends Synth::TDotSyntaxCallExpr, SelfApplyExprImpl::SelfApplyExpr { override string getAPrimaryQlClass() { result = "DotSyntaxCallExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/DynamicLookupExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DynamicLookupExpr.qll index 314d490c124a..7765ce42feeb 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DynamicLookupExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DynamicLookupExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DynamicLookupExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.LookupExpr +import codeql.swift.elements.expr.LookupExprImpl::Impl as LookupExprImpl /** * INTERNAL: This module contains the fully generated definition of `DynamicLookupExpr` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::DynamicLookupExpr` class directly. * Use the subclass `DynamicLookupExpr`, where the following predicates are available. */ - class DynamicLookupExpr extends Synth::TDynamicLookupExpr, LookupExpr { } + class DynamicLookupExpr extends Synth::TDynamicLookupExpr, LookupExprImpl::LookupExpr { } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/DynamicMemberRefExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DynamicMemberRefExpr.qll index 1f792bb54920..8381a6afdbf9 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DynamicMemberRefExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DynamicMemberRefExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DynamicMemberRefExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.DynamicLookupExpr +import codeql.swift.elements.expr.DynamicLookupExprImpl::Impl as DynamicLookupExprImpl /** * INTERNAL: This module contains the fully generated definition of `DynamicMemberRefExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::DynamicMemberRefExpr` class directly. * Use the subclass `DynamicMemberRefExpr`, where the following predicates are available. */ - class DynamicMemberRefExpr extends Synth::TDynamicMemberRefExpr, DynamicLookupExpr { + class DynamicMemberRefExpr extends Synth::TDynamicMemberRefExpr, + DynamicLookupExprImpl::DynamicLookupExpr + { override string getAPrimaryQlClass() { result = "DynamicMemberRefExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/DynamicSubscriptExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DynamicSubscriptExpr.qll index 1c052dd9fb65..ff37b861f89b 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DynamicSubscriptExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DynamicSubscriptExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DynamicSubscriptExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.DynamicLookupExpr +import codeql.swift.elements.expr.DynamicLookupExprImpl::Impl as DynamicLookupExprImpl /** * INTERNAL: This module contains the fully generated definition of `DynamicSubscriptExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::DynamicSubscriptExpr` class directly. * Use the subclass `DynamicSubscriptExpr`, where the following predicates are available. */ - class DynamicSubscriptExpr extends Synth::TDynamicSubscriptExpr, DynamicLookupExpr { + class DynamicSubscriptExpr extends Synth::TDynamicSubscriptExpr, + DynamicLookupExprImpl::DynamicLookupExpr + { override string getAPrimaryQlClass() { result = "DynamicSubscriptExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/DynamicTypeExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/DynamicTypeExpr.qll index bcb7291b4c7f..fa45c351dece 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/DynamicTypeExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/DynamicTypeExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DynamicTypeExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `DynamicTypeExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DynamicTypeExpr` class directly. * Use the subclass `DynamicTypeExpr`, where the following predicates are available. */ - class DynamicTypeExpr extends Synth::TDynamicTypeExpr, Expr { + class DynamicTypeExpr extends Synth::TDynamicTypeExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "DynamicTypeExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/EnumIsCaseExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/EnumIsCaseExpr.qll index e6dd81723733..9692158a5f0c 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/EnumIsCaseExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/EnumIsCaseExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `EnumIsCaseExpr`. * INTERNAL: Do not import directly. @@ -8,6 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.decl.EnumElementDecl import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `EnumIsCaseExpr` and should not @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::EnumIsCaseExpr` class directly. * Use the subclass `EnumIsCaseExpr`, where the following predicates are available. */ - class EnumIsCaseExpr extends Synth::TEnumIsCaseExpr, Expr { + class EnumIsCaseExpr extends Synth::TEnumIsCaseExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "EnumIsCaseExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/ErasureExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ErasureExpr.qll index ded67b05684e..d1ff80d9cffc 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ErasureExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ErasureExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ErasureExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `ErasureExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ErasureExpr` class directly. * Use the subclass `ErasureExpr`, where the following predicates are available. */ - class ErasureExpr extends Synth::TErasureExpr, ImplicitConversionExpr { + class ErasureExpr extends Synth::TErasureExpr, ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "ErasureExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ErrorExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ErrorExpr.qll index c3c1272ad4e4..b0ded80dc404 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ErrorExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ErrorExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ErrorExpr`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.ErrorElement -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `ErrorExpr` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ErrorExpr` class directly. * Use the subclass `ErrorExpr`, where the following predicates are available. */ - class ErrorExpr extends Synth::TErrorExpr, Expr, ErrorElement { + class ErrorExpr extends Synth::TErrorExpr, ExprImpl::Expr, ErrorElementImpl::ErrorElement { override string getAPrimaryQlClass() { result = "ErrorExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ExistentialMetatypeToObjectExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ExistentialMetatypeToObjectExpr.qll index 991ccaf8acbc..bba3e76ef9ea 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ExistentialMetatypeToObjectExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ExistentialMetatypeToObjectExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ExistentialMetatypeToObjectExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `ExistentialMetatypeToObjectExpr` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `ExistentialMetatypeToObjectExpr`, where the following predicates are available. */ class ExistentialMetatypeToObjectExpr extends Synth::TExistentialMetatypeToObjectExpr, - ImplicitConversionExpr + ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "ExistentialMetatypeToObjectExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ExplicitCastExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ExplicitCastExpr.qll index 2bf64aca051d..7c3685ff5179 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ExplicitCastExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ExplicitCastExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ExplicitCastExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `ExplicitCastExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ExplicitCastExpr` class directly. * Use the subclass `ExplicitCastExpr`, where the following predicates are available. */ - class ExplicitCastExpr extends Synth::TExplicitCastExpr, Expr { + class ExplicitCastExpr extends Synth::TExplicitCastExpr, ExprImpl::Expr { /** * Gets the sub expression of this explicit cast expression. * diff --git a/swift/ql/lib/codeql/swift/generated/expr/ExplicitClosureExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ExplicitClosureExpr.qll index bf2303713382..f64b63519bd1 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ExplicitClosureExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ExplicitClosureExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ExplicitClosureExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ClosureExpr +import codeql.swift.elements.expr.ClosureExprImpl::Impl as ClosureExprImpl /** * INTERNAL: This module contains the fully generated definition of `ExplicitClosureExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ExplicitClosureExpr` class directly. * Use the subclass `ExplicitClosureExpr`, where the following predicates are available. */ - class ExplicitClosureExpr extends Synth::TExplicitClosureExpr, ClosureExpr { + class ExplicitClosureExpr extends Synth::TExplicitClosureExpr, ClosureExprImpl::ClosureExpr { override string getAPrimaryQlClass() { result = "ExplicitClosureExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/Expr.qll b/swift/ql/lib/codeql/swift/generated/expr/Expr.qll index 04908258aed3..64013a2cc4a7 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/Expr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/Expr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Expr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.swift.elements.type.Type /** @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Expr` class directly. * Use the subclass `Expr`, where the following predicates are available. */ - class Expr extends Synth::TExpr, AstNode { + class Expr extends Synth::TExpr, AstNodeImpl::AstNode { /** * Gets the type of this expression, if it exists. * diff --git a/swift/ql/lib/codeql/swift/generated/expr/FloatLiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/FloatLiteralExpr.qll index 50c71ea130fd..7dfb29f83577 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/FloatLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/FloatLiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `FloatLiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.NumberLiteralExpr +import codeql.swift.elements.expr.NumberLiteralExprImpl::Impl as NumberLiteralExprImpl /** * INTERNAL: This module contains the fully generated definition of `FloatLiteralExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::FloatLiteralExpr` class directly. * Use the subclass `FloatLiteralExpr`, where the following predicates are available. */ - class FloatLiteralExpr extends Synth::TFloatLiteralExpr, NumberLiteralExpr { + class FloatLiteralExpr extends Synth::TFloatLiteralExpr, NumberLiteralExprImpl::NumberLiteralExpr { override string getAPrimaryQlClass() { result = "FloatLiteralExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/ForceTryExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ForceTryExpr.qll index 7a87d997d979..a159ae67ad13 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ForceTryExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ForceTryExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ForceTryExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.AnyTryExpr +import codeql.swift.elements.expr.AnyTryExprImpl::Impl as AnyTryExprImpl /** * INTERNAL: This module contains the fully generated definition of `ForceTryExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ForceTryExpr` class directly. * Use the subclass `ForceTryExpr`, where the following predicates are available. */ - class ForceTryExpr extends Synth::TForceTryExpr, AnyTryExpr { + class ForceTryExpr extends Synth::TForceTryExpr, AnyTryExprImpl::AnyTryExpr { override string getAPrimaryQlClass() { result = "ForceTryExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ForceValueExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ForceValueExpr.qll index abbd543f0b06..302bb6073794 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ForceValueExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ForceValueExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ForceValueExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `ForceValueExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ForceValueExpr` class directly. * Use the subclass `ForceValueExpr`, where the following predicates are available. */ - class ForceValueExpr extends Synth::TForceValueExpr, Expr { + class ForceValueExpr extends Synth::TForceValueExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "ForceValueExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/ForcedCheckedCastExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ForcedCheckedCastExpr.qll index 0db6dd15855c..285f6d2b7ef6 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ForcedCheckedCastExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ForcedCheckedCastExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ForcedCheckedCastExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.CheckedCastExpr +import codeql.swift.elements.expr.CheckedCastExprImpl::Impl as CheckedCastExprImpl /** * INTERNAL: This module contains the fully generated definition of `ForcedCheckedCastExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::ForcedCheckedCastExpr` class directly. * Use the subclass `ForcedCheckedCastExpr`, where the following predicates are available. */ - class ForcedCheckedCastExpr extends Synth::TForcedCheckedCastExpr, CheckedCastExpr { + class ForcedCheckedCastExpr extends Synth::TForcedCheckedCastExpr, + CheckedCastExprImpl::CheckedCastExpr + { override string getAPrimaryQlClass() { result = "ForcedCheckedCastExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ForeignObjectConversionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ForeignObjectConversionExpr.qll index e438767259c3..564caa76023f 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ForeignObjectConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ForeignObjectConversionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ForeignObjectConversionExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `ForeignObjectConversionExpr` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `ForeignObjectConversionExpr`, where the following predicates are available. */ class ForeignObjectConversionExpr extends Synth::TForeignObjectConversionExpr, - ImplicitConversionExpr + ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "ForeignObjectConversionExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/FunctionConversionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/FunctionConversionExpr.qll index 3ea1fc57678f..a52ac6dbac6b 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/FunctionConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/FunctionConversionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `FunctionConversionExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `FunctionConversionExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::FunctionConversionExpr` class directly. * Use the subclass `FunctionConversionExpr`, where the following predicates are available. */ - class FunctionConversionExpr extends Synth::TFunctionConversionExpr, ImplicitConversionExpr { + class FunctionConversionExpr extends Synth::TFunctionConversionExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "FunctionConversionExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/IdentityExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/IdentityExpr.qll index ff0d33310d75..2f3a95048f2b 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/IdentityExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/IdentityExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `IdentityExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `IdentityExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::IdentityExpr` class directly. * Use the subclass `IdentityExpr`, where the following predicates are available. */ - class IdentityExpr extends Synth::TIdentityExpr, Expr { + class IdentityExpr extends Synth::TIdentityExpr, ExprImpl::Expr { /** * Gets the sub expression of this identity expression. * diff --git a/swift/ql/lib/codeql/swift/generated/expr/IfExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/IfExpr.qll index 8a4f1596460c..e5678dd43189 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/IfExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/IfExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `IfExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `IfExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::IfExpr` class directly. * Use the subclass `IfExpr`, where the following predicates are available. */ - class IfExpr extends Synth::TIfExpr, Expr { + class IfExpr extends Synth::TIfExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "IfExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/ImplicitConversionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ImplicitConversionExpr.qll index bd8e76e9f267..d19cca1620fb 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ImplicitConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ImplicitConversionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ImplicitConversionExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `ImplicitConversionExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ImplicitConversionExpr` class directly. * Use the subclass `ImplicitConversionExpr`, where the following predicates are available. */ - class ImplicitConversionExpr extends Synth::TImplicitConversionExpr, Expr { + class ImplicitConversionExpr extends Synth::TImplicitConversionExpr, ExprImpl::Expr { /** * Gets the sub expression of this implicit conversion expression. * diff --git a/swift/ql/lib/codeql/swift/generated/expr/InOutExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/InOutExpr.qll index 127c4b97d54d..5a02d50acb35 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/InOutExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/InOutExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `InOutExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `InOutExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::InOutExpr` class directly. * Use the subclass `InOutExpr`, where the following predicates are available. */ - class InOutExpr extends Synth::TInOutExpr, Expr { + class InOutExpr extends Synth::TInOutExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "InOutExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/InOutToPointerExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/InOutToPointerExpr.qll index 9248718c9cf2..feb3fd816bef 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/InOutToPointerExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/InOutToPointerExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `InOutToPointerExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `InOutToPointerExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::InOutToPointerExpr` class directly. * Use the subclass `InOutToPointerExpr`, where the following predicates are available. */ - class InOutToPointerExpr extends Synth::TInOutToPointerExpr, ImplicitConversionExpr { + class InOutToPointerExpr extends Synth::TInOutToPointerExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "InOutToPointerExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/InitializerRefCallExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/InitializerRefCallExpr.qll index 325d9c8f03a9..c01955f490f0 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/InitializerRefCallExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/InitializerRefCallExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `InitializerRefCallExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.SelfApplyExpr +import codeql.swift.elements.expr.SelfApplyExprImpl::Impl as SelfApplyExprImpl /** * INTERNAL: This module contains the fully generated definition of `InitializerRefCallExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::InitializerRefCallExpr` class directly. * Use the subclass `InitializerRefCallExpr`, where the following predicates are available. */ - class InitializerRefCallExpr extends Synth::TInitializerRefCallExpr, SelfApplyExpr { + class InitializerRefCallExpr extends Synth::TInitializerRefCallExpr, + SelfApplyExprImpl::SelfApplyExpr + { override string getAPrimaryQlClass() { result = "InitializerRefCallExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/InjectIntoOptionalExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/InjectIntoOptionalExpr.qll index 19b9deba0c7e..1c79195bfb55 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/InjectIntoOptionalExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/InjectIntoOptionalExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `InjectIntoOptionalExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `InjectIntoOptionalExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::InjectIntoOptionalExpr` class directly. * Use the subclass `InjectIntoOptionalExpr`, where the following predicates are available. */ - class InjectIntoOptionalExpr extends Synth::TInjectIntoOptionalExpr, ImplicitConversionExpr { + class InjectIntoOptionalExpr extends Synth::TInjectIntoOptionalExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "InjectIntoOptionalExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/IntegerLiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/IntegerLiteralExpr.qll index 2488b147d63c..02bb8febe2ed 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/IntegerLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/IntegerLiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `IntegerLiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.NumberLiteralExpr +import codeql.swift.elements.expr.NumberLiteralExprImpl::Impl as NumberLiteralExprImpl /** * INTERNAL: This module contains the fully generated definition of `IntegerLiteralExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::IntegerLiteralExpr` class directly. * Use the subclass `IntegerLiteralExpr`, where the following predicates are available. */ - class IntegerLiteralExpr extends Synth::TIntegerLiteralExpr, NumberLiteralExpr { + class IntegerLiteralExpr extends Synth::TIntegerLiteralExpr, + NumberLiteralExprImpl::NumberLiteralExpr + { override string getAPrimaryQlClass() { result = "IntegerLiteralExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/InterpolatedStringLiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/InterpolatedStringLiteralExpr.qll index 1b56fc7bca8b..d9b6f20f95d7 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/InterpolatedStringLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/InterpolatedStringLiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `InterpolatedStringLiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.LiteralExpr +import codeql.swift.elements.expr.LiteralExprImpl::Impl as LiteralExprImpl import codeql.swift.elements.expr.OpaqueValueExpr import codeql.swift.elements.expr.TapExpr @@ -19,7 +19,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::InterpolatedStringLiteralExpr` class directly. * Use the subclass `InterpolatedStringLiteralExpr`, where the following predicates are available. */ - class InterpolatedStringLiteralExpr extends Synth::TInterpolatedStringLiteralExpr, LiteralExpr { + class InterpolatedStringLiteralExpr extends Synth::TInterpolatedStringLiteralExpr, + LiteralExprImpl::LiteralExpr + { override string getAPrimaryQlClass() { result = "InterpolatedStringLiteralExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/IsExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/IsExpr.qll index 749a5e169b1b..9fdb128e4544 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/IsExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/IsExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `IsExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.CheckedCastExpr +import codeql.swift.elements.expr.CheckedCastExprImpl::Impl as CheckedCastExprImpl /** * INTERNAL: This module contains the fully generated definition of `IsExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::IsExpr` class directly. * Use the subclass `IsExpr`, where the following predicates are available. */ - class IsExpr extends Synth::TIsExpr, CheckedCastExpr { + class IsExpr extends Synth::TIsExpr, CheckedCastExprImpl::CheckedCastExpr { override string getAPrimaryQlClass() { result = "IsExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/KeyPathApplicationExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/KeyPathApplicationExpr.qll index ae06ab0777ba..a51cbd13df73 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/KeyPathApplicationExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/KeyPathApplicationExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `KeyPathApplicationExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `KeyPathApplicationExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::KeyPathApplicationExpr` class directly. * Use the subclass `KeyPathApplicationExpr`, where the following predicates are available. */ - class KeyPathApplicationExpr extends Synth::TKeyPathApplicationExpr, Expr { + class KeyPathApplicationExpr extends Synth::TKeyPathApplicationExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "KeyPathApplicationExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/KeyPathDotExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/KeyPathDotExpr.qll index 17668cc11ae6..4bcd3b346398 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/KeyPathDotExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/KeyPathDotExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `KeyPathDotExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `KeyPathDotExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::KeyPathDotExpr` class directly. * Use the subclass `KeyPathDotExpr`, where the following predicates are available. */ - class KeyPathDotExpr extends Synth::TKeyPathDotExpr, Expr { + class KeyPathDotExpr extends Synth::TKeyPathDotExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "KeyPathDotExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/KeyPathExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/KeyPathExpr.qll index 0d5aac6b9541..9ba30f72e636 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/KeyPathExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/KeyPathExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `KeyPathExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.KeyPathComponent import codeql.swift.elements.type.TypeRepr @@ -20,7 +20,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::KeyPathExpr` class directly. * Use the subclass `KeyPathExpr`, where the following predicates are available. */ - class KeyPathExpr extends Synth::TKeyPathExpr, Expr { + class KeyPathExpr extends Synth::TKeyPathExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "KeyPathExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/LazyInitializationExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/LazyInitializationExpr.qll index 93eac04ad29e..ced5103bd3d7 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/LazyInitializationExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/LazyInitializationExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `LazyInitializationExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `LazyInitializationExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::LazyInitializationExpr` class directly. * Use the subclass `LazyInitializationExpr`, where the following predicates are available. */ - class LazyInitializationExpr extends Synth::TLazyInitializationExpr, Expr { + class LazyInitializationExpr extends Synth::TLazyInitializationExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "LazyInitializationExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/LinearFunctionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/LinearFunctionExpr.qll index ac5095e9f56b..b5d6f0f45276 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/LinearFunctionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/LinearFunctionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `LinearFunctionExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `LinearFunctionExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::LinearFunctionExpr` class directly. * Use the subclass `LinearFunctionExpr`, where the following predicates are available. */ - class LinearFunctionExpr extends Synth::TLinearFunctionExpr, ImplicitConversionExpr { + class LinearFunctionExpr extends Synth::TLinearFunctionExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "LinearFunctionExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/LinearFunctionExtractOriginalExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/LinearFunctionExtractOriginalExpr.qll index d4b64fe5de97..5b63d11be1a2 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/LinearFunctionExtractOriginalExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/LinearFunctionExtractOriginalExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `LinearFunctionExtractOriginalExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `LinearFunctionExtractOriginalExpr` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `LinearFunctionExtractOriginalExpr`, where the following predicates are available. */ class LinearFunctionExtractOriginalExpr extends Synth::TLinearFunctionExtractOriginalExpr, - ImplicitConversionExpr + ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "LinearFunctionExtractOriginalExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/LinearToDifferentiableFunctionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/LinearToDifferentiableFunctionExpr.qll index ed90f0ceb88a..7f40ef215d96 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/LinearToDifferentiableFunctionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/LinearToDifferentiableFunctionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `LinearToDifferentiableFunctionExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `LinearToDifferentiableFunctionExpr` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `LinearToDifferentiableFunctionExpr`, where the following predicates are available. */ class LinearToDifferentiableFunctionExpr extends Synth::TLinearToDifferentiableFunctionExpr, - ImplicitConversionExpr + ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "LinearToDifferentiableFunctionExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/LiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/LiteralExpr.qll index 42856075efa6..cd0105a1dc39 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/LiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/LiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `LiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `LiteralExpr` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::LiteralExpr` class directly. * Use the subclass `LiteralExpr`, where the following predicates are available. */ - class LiteralExpr extends Synth::TLiteralExpr, Expr { } + class LiteralExpr extends Synth::TLiteralExpr, ExprImpl::Expr { } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/LoadExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/LoadExpr.qll index 216a855c9a41..12e49da95509 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/LoadExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/LoadExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `LoadExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `LoadExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::LoadExpr` class directly. * Use the subclass `LoadExpr`, where the following predicates are available. */ - class LoadExpr extends Synth::TLoadExpr, ImplicitConversionExpr { + class LoadExpr extends Synth::TLoadExpr, ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "LoadExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/LookupExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/LookupExpr.qll index 513bc6cc525f..25897cebc47e 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/LookupExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/LookupExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `LookupExpr`. * INTERNAL: Do not import directly. @@ -8,6 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.decl.Decl import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `LookupExpr` and should not @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::LookupExpr` class directly. * Use the subclass `LookupExpr`, where the following predicates are available. */ - class LookupExpr extends Synth::TLookupExpr, Expr { + class LookupExpr extends Synth::TLookupExpr, ExprImpl::Expr { /** * Gets the base of this lookup expression. * diff --git a/swift/ql/lib/codeql/swift/generated/expr/MagicIdentifierLiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/MagicIdentifierLiteralExpr.qll index 1331f0870847..60cadf6b798d 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/MagicIdentifierLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/MagicIdentifierLiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `MagicIdentifierLiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.BuiltinLiteralExpr +import codeql.swift.elements.expr.BuiltinLiteralExprImpl::Impl as BuiltinLiteralExprImpl /** * INTERNAL: This module contains the fully generated definition of `MagicIdentifierLiteralExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::MagicIdentifierLiteralExpr` class directly. * Use the subclass `MagicIdentifierLiteralExpr`, where the following predicates are available. */ - class MagicIdentifierLiteralExpr extends Synth::TMagicIdentifierLiteralExpr, BuiltinLiteralExpr { + class MagicIdentifierLiteralExpr extends Synth::TMagicIdentifierLiteralExpr, + BuiltinLiteralExprImpl::BuiltinLiteralExpr + { override string getAPrimaryQlClass() { result = "MagicIdentifierLiteralExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/MakeTemporarilyEscapableExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/MakeTemporarilyEscapableExpr.qll index bf0450a0b9e7..07fed54af8a7 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/MakeTemporarilyEscapableExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/MakeTemporarilyEscapableExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `MakeTemporarilyEscapableExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.expr.OpaqueValueExpr /** @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MakeTemporarilyEscapableExpr` class directly. * Use the subclass `MakeTemporarilyEscapableExpr`, where the following predicates are available. */ - class MakeTemporarilyEscapableExpr extends Synth::TMakeTemporarilyEscapableExpr, Expr { + class MakeTemporarilyEscapableExpr extends Synth::TMakeTemporarilyEscapableExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "MakeTemporarilyEscapableExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/MaterializePackExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/MaterializePackExpr.qll index f3eda12a0c0e..85b5bffc1eeb 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/MaterializePackExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/MaterializePackExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `MaterializePackExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `MaterializePackExpr` and should not @@ -21,7 +22,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MaterializePackExpr` class directly. * Use the subclass `MaterializePackExpr`, where the following predicates are available. */ - class MaterializePackExpr extends Synth::TMaterializePackExpr, Expr { + class MaterializePackExpr extends Synth::TMaterializePackExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "MaterializePackExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/MemberRefExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/MemberRefExpr.qll index 60ddf91c955f..0e254cd64316 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/MemberRefExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/MemberRefExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `MemberRefExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.LookupExpr +import codeql.swift.elements.expr.LookupExprImpl::Impl as LookupExprImpl /** * INTERNAL: This module contains the fully generated definition of `MemberRefExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MemberRefExpr` class directly. * Use the subclass `MemberRefExpr`, where the following predicates are available. */ - class MemberRefExpr extends Synth::TMemberRefExpr, LookupExpr { + class MemberRefExpr extends Synth::TMemberRefExpr, LookupExprImpl::LookupExpr { override string getAPrimaryQlClass() { result = "MemberRefExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/MetatypeConversionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/MetatypeConversionExpr.qll index b35a5f899e0d..d8b345f4b84f 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/MetatypeConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/MetatypeConversionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `MetatypeConversionExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `MetatypeConversionExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::MetatypeConversionExpr` class directly. * Use the subclass `MetatypeConversionExpr`, where the following predicates are available. */ - class MetatypeConversionExpr extends Synth::TMetatypeConversionExpr, ImplicitConversionExpr { + class MetatypeConversionExpr extends Synth::TMetatypeConversionExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "MetatypeConversionExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/MethodLookupExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/MethodLookupExpr.qll index 88c663adfa77..692f3a8aa639 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/MethodLookupExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/MethodLookupExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `MethodLookupExpr`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr -import codeql.swift.elements.expr.LookupExpr +import codeql.swift.elements.expr.LookupExprImpl::Impl as LookupExprImpl /** * INTERNAL: This module contains the fully generated definition of `MethodLookupExpr` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MethodLookupExpr` class directly. * Use the subclass `MethodLookupExpr`, where the following predicates are available. */ - class MethodLookupExpr extends Synth::TMethodLookupExpr, LookupExpr { + class MethodLookupExpr extends Synth::TMethodLookupExpr, LookupExprImpl::LookupExpr { override string getAPrimaryQlClass() { result = "MethodLookupExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/NilLiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/NilLiteralExpr.qll index 0f051256bd97..e43611ee24da 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/NilLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/NilLiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `NilLiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.LiteralExpr +import codeql.swift.elements.expr.LiteralExprImpl::Impl as LiteralExprImpl /** * INTERNAL: This module contains the fully generated definition of `NilLiteralExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::NilLiteralExpr` class directly. * Use the subclass `NilLiteralExpr`, where the following predicates are available. */ - class NilLiteralExpr extends Synth::TNilLiteralExpr, LiteralExpr { + class NilLiteralExpr extends Synth::TNilLiteralExpr, LiteralExprImpl::LiteralExpr { override string getAPrimaryQlClass() { result = "NilLiteralExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/NumberLiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/NumberLiteralExpr.qll index efb90b233bf8..bebb8873cd61 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/NumberLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/NumberLiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `NumberLiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.BuiltinLiteralExpr +import codeql.swift.elements.expr.BuiltinLiteralExprImpl::Impl as BuiltinLiteralExprImpl /** * INTERNAL: This module contains the fully generated definition of `NumberLiteralExpr` and should not @@ -17,5 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::NumberLiteralExpr` class directly. * Use the subclass `NumberLiteralExpr`, where the following predicates are available. */ - class NumberLiteralExpr extends Synth::TNumberLiteralExpr, BuiltinLiteralExpr { } + class NumberLiteralExpr extends Synth::TNumberLiteralExpr, + BuiltinLiteralExprImpl::BuiltinLiteralExpr + { } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ObjCSelectorExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ObjCSelectorExpr.qll index d306f2878674..72111588ee29 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ObjCSelectorExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ObjCSelectorExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ObjCSelectorExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.decl.Function /** @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ObjCSelectorExpr` class directly. * Use the subclass `ObjCSelectorExpr`, where the following predicates are available. */ - class ObjCSelectorExpr extends Synth::TObjCSelectorExpr, Expr { + class ObjCSelectorExpr extends Synth::TObjCSelectorExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "ObjCSelectorExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/ObjectLiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ObjectLiteralExpr.qll index 88ab360d4a73..c0edee982b38 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ObjectLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ObjectLiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ObjectLiteralExpr`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Argument -import codeql.swift.elements.expr.LiteralExpr +import codeql.swift.elements.expr.LiteralExprImpl::Impl as LiteralExprImpl /** * INTERNAL: This module contains the fully generated definition of `ObjectLiteralExpr` and should not @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ObjectLiteralExpr` class directly. * Use the subclass `ObjectLiteralExpr`, where the following predicates are available. */ - class ObjectLiteralExpr extends Synth::TObjectLiteralExpr, LiteralExpr { + class ObjectLiteralExpr extends Synth::TObjectLiteralExpr, LiteralExprImpl::LiteralExpr { override string getAPrimaryQlClass() { result = "ObjectLiteralExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/OneWayExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/OneWayExpr.qll index 6072dd1b1218..e889f4e8b161 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/OneWayExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/OneWayExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OneWayExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `OneWayExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OneWayExpr` class directly. * Use the subclass `OneWayExpr`, where the following predicates are available. */ - class OneWayExpr extends Synth::TOneWayExpr, Expr { + class OneWayExpr extends Synth::TOneWayExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "OneWayExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/OpaqueValueExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/OpaqueValueExpr.qll index 3d83073859ad..d77dedf041be 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/OpaqueValueExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/OpaqueValueExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OpaqueValueExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `OpaqueValueExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OpaqueValueExpr` class directly. * Use the subclass `OpaqueValueExpr`, where the following predicates are available. */ - class OpaqueValueExpr extends Synth::TOpaqueValueExpr, Expr { + class OpaqueValueExpr extends Synth::TOpaqueValueExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "OpaqueValueExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/OpenExistentialExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/OpenExistentialExpr.qll index afe4d2fa2401..f0b78de71dec 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/OpenExistentialExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/OpenExistentialExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OpenExistentialExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.expr.OpaqueValueExpr /** @@ -29,7 +30,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OpenExistentialExpr` class directly. * Use the subclass `OpenExistentialExpr`, where the following predicates are available. */ - class OpenExistentialExpr extends Synth::TOpenExistentialExpr, Expr { + class OpenExistentialExpr extends Synth::TOpenExistentialExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "OpenExistentialExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/OptionalEvaluationExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/OptionalEvaluationExpr.qll index 8a67017cac19..8d853b7f48b1 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/OptionalEvaluationExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/OptionalEvaluationExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OptionalEvaluationExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `OptionalEvaluationExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OptionalEvaluationExpr` class directly. * Use the subclass `OptionalEvaluationExpr`, where the following predicates are available. */ - class OptionalEvaluationExpr extends Synth::TOptionalEvaluationExpr, Expr { + class OptionalEvaluationExpr extends Synth::TOptionalEvaluationExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "OptionalEvaluationExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/OptionalTryExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/OptionalTryExpr.qll index 3f29c25e43cc..a00e3e6baf88 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/OptionalTryExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/OptionalTryExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OptionalTryExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.AnyTryExpr +import codeql.swift.elements.expr.AnyTryExprImpl::Impl as AnyTryExprImpl /** * INTERNAL: This module contains the fully generated definition of `OptionalTryExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OptionalTryExpr` class directly. * Use the subclass `OptionalTryExpr`, where the following predicates are available. */ - class OptionalTryExpr extends Synth::TOptionalTryExpr, AnyTryExpr { + class OptionalTryExpr extends Synth::TOptionalTryExpr, AnyTryExprImpl::AnyTryExpr { override string getAPrimaryQlClass() { result = "OptionalTryExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/OtherInitializerRefExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/OtherInitializerRefExpr.qll index f5a33962d9b5..795d51d2032f 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/OtherInitializerRefExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/OtherInitializerRefExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OtherInitializerRefExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.decl.Initializer /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OtherInitializerRefExpr` class directly. * Use the subclass `OtherInitializerRefExpr`, where the following predicates are available. */ - class OtherInitializerRefExpr extends Synth::TOtherInitializerRefExpr, Expr { + class OtherInitializerRefExpr extends Synth::TOtherInitializerRefExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "OtherInitializerRefExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/OverloadedDeclRefExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/OverloadedDeclRefExpr.qll index 20269d72c79c..fdd1418e7849 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/OverloadedDeclRefExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/OverloadedDeclRefExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OverloadedDeclRefExpr`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.ErrorElement -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.decl.ValueDecl /** @@ -21,7 +21,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::OverloadedDeclRefExpr` class directly. * Use the subclass `OverloadedDeclRefExpr`, where the following predicates are available. */ - class OverloadedDeclRefExpr extends Synth::TOverloadedDeclRefExpr, Expr, ErrorElement { + class OverloadedDeclRefExpr extends Synth::TOverloadedDeclRefExpr, ExprImpl::Expr, + ErrorElementImpl::ErrorElement + { override string getAPrimaryQlClass() { result = "OverloadedDeclRefExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/PackElementExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/PackElementExpr.qll index c5c48bd95b8d..46e7a4a0faae 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/PackElementExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/PackElementExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PackElementExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `PackElementExpr` and should not @@ -28,7 +29,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PackElementExpr` class directly. * Use the subclass `PackElementExpr`, where the following predicates are available. */ - class PackElementExpr extends Synth::TPackElementExpr, Expr { + class PackElementExpr extends Synth::TPackElementExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "PackElementExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/PackExpansionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/PackExpansionExpr.qll index 5d0cd3fdc9f9..ec1d93cfe74b 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/PackExpansionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/PackExpansionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PackExpansionExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `PackExpansionExpr` and should not @@ -28,7 +29,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PackExpansionExpr` class directly. * Use the subclass `PackExpansionExpr`, where the following predicates are available. */ - class PackExpansionExpr extends Synth::TPackExpansionExpr, Expr { + class PackExpansionExpr extends Synth::TPackExpansionExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "PackExpansionExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/ParenExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ParenExpr.qll index 32672d8f8db2..11579f0ada28 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ParenExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ParenExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ParenExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.IdentityExpr +import codeql.swift.elements.expr.IdentityExprImpl::Impl as IdentityExprImpl /** * INTERNAL: This module contains the fully generated definition of `ParenExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ParenExpr` class directly. * Use the subclass `ParenExpr`, where the following predicates are available. */ - class ParenExpr extends Synth::TParenExpr, IdentityExpr { + class ParenExpr extends Synth::TParenExpr, IdentityExprImpl::IdentityExpr { override string getAPrimaryQlClass() { result = "ParenExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/PointerToPointerExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/PointerToPointerExpr.qll index bd27f1c70d3b..6a730021f5fc 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/PointerToPointerExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/PointerToPointerExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PointerToPointerExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `PointerToPointerExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::PointerToPointerExpr` class directly. * Use the subclass `PointerToPointerExpr`, where the following predicates are available. */ - class PointerToPointerExpr extends Synth::TPointerToPointerExpr, ImplicitConversionExpr { + class PointerToPointerExpr extends Synth::TPointerToPointerExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "PointerToPointerExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/PostfixUnaryExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/PostfixUnaryExpr.qll index 75c32b695701..2638350309d9 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/PostfixUnaryExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/PostfixUnaryExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PostfixUnaryExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ApplyExpr +import codeql.swift.elements.expr.ApplyExprImpl::Impl as ApplyExprImpl /** * INTERNAL: This module contains the fully generated definition of `PostfixUnaryExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PostfixUnaryExpr` class directly. * Use the subclass `PostfixUnaryExpr`, where the following predicates are available. */ - class PostfixUnaryExpr extends Synth::TPostfixUnaryExpr, ApplyExpr { + class PostfixUnaryExpr extends Synth::TPostfixUnaryExpr, ApplyExprImpl::ApplyExpr { override string getAPrimaryQlClass() { result = "PostfixUnaryExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/PrefixUnaryExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/PrefixUnaryExpr.qll index 8333055b8930..2dddeae33a34 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/PrefixUnaryExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/PrefixUnaryExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PrefixUnaryExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ApplyExpr +import codeql.swift.elements.expr.ApplyExprImpl::Impl as ApplyExprImpl /** * INTERNAL: This module contains the fully generated definition of `PrefixUnaryExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PrefixUnaryExpr` class directly. * Use the subclass `PrefixUnaryExpr`, where the following predicates are available. */ - class PrefixUnaryExpr extends Synth::TPrefixUnaryExpr, ApplyExpr { + class PrefixUnaryExpr extends Synth::TPrefixUnaryExpr, ApplyExprImpl::ApplyExpr { override string getAPrimaryQlClass() { result = "PrefixUnaryExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/PropertyWrapperValuePlaceholderExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/PropertyWrapperValuePlaceholderExpr.qll index 80863380c549..834b4168b1dc 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/PropertyWrapperValuePlaceholderExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/PropertyWrapperValuePlaceholderExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PropertyWrapperValuePlaceholderExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.expr.OpaqueValueExpr /** @@ -21,7 +22,7 @@ module Generated { * Use the subclass `PropertyWrapperValuePlaceholderExpr`, where the following predicates are available. */ class PropertyWrapperValuePlaceholderExpr extends Synth::TPropertyWrapperValuePlaceholderExpr, - Expr + ExprImpl::Expr { override string getAPrimaryQlClass() { result = "PropertyWrapperValuePlaceholderExpr" } diff --git a/swift/ql/lib/codeql/swift/generated/expr/ProtocolMetatypeToObjectExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/ProtocolMetatypeToObjectExpr.qll index 9f3169898d47..4deb3edd3f15 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/ProtocolMetatypeToObjectExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/ProtocolMetatypeToObjectExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ProtocolMetatypeToObjectExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `ProtocolMetatypeToObjectExpr` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `ProtocolMetatypeToObjectExpr`, where the following predicates are available. */ class ProtocolMetatypeToObjectExpr extends Synth::TProtocolMetatypeToObjectExpr, - ImplicitConversionExpr + ImplicitConversionExprImpl::ImplicitConversionExpr { override string getAPrimaryQlClass() { result = "ProtocolMetatypeToObjectExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/RebindSelfInInitializerExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/RebindSelfInInitializerExpr.qll index b7cc6d788276..ece4608c227b 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/RebindSelfInInitializerExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/RebindSelfInInitializerExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `RebindSelfInInitializerExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.decl.VarDecl /** @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RebindSelfInInitializerExpr` class directly. * Use the subclass `RebindSelfInInitializerExpr`, where the following predicates are available. */ - class RebindSelfInInitializerExpr extends Synth::TRebindSelfInInitializerExpr, Expr { + class RebindSelfInInitializerExpr extends Synth::TRebindSelfInInitializerExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "RebindSelfInInitializerExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/RegexLiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/RegexLiteralExpr.qll index 8173290421a7..e371e7765a3e 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/RegexLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/RegexLiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `RegexLiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.LiteralExpr +import codeql.swift.elements.expr.LiteralExprImpl::Impl as LiteralExprImpl /** * INTERNAL: This module contains the fully generated definition of `RegexLiteralExpr` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RegexLiteralExpr` class directly. * Use the subclass `RegexLiteralExpr`, where the following predicates are available. */ - class RegexLiteralExpr extends Synth::TRegexLiteralExpr, LiteralExpr { + class RegexLiteralExpr extends Synth::TRegexLiteralExpr, LiteralExprImpl::LiteralExpr { override string getAPrimaryQlClass() { result = "RegexLiteralExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/SelfApplyExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/SelfApplyExpr.qll index 1415d5edf937..7d5ad21afc27 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/SelfApplyExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/SelfApplyExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `SelfApplyExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ApplyExpr +import codeql.swift.elements.expr.ApplyExprImpl::Impl as ApplyExprImpl import codeql.swift.elements.expr.Expr /** @@ -20,7 +20,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::SelfApplyExpr` class directly. * Use the subclass `SelfApplyExpr`, where the following predicates are available. */ - class SelfApplyExpr extends Synth::TSelfApplyExpr, ApplyExpr { + class SelfApplyExpr extends Synth::TSelfApplyExpr, ApplyExprImpl::ApplyExpr { /** * Gets the base of this self apply expression. * diff --git a/swift/ql/lib/codeql/swift/generated/expr/SequenceExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/SequenceExpr.qll index e2a825d9816e..b6cb7d62ba3d 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/SequenceExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/SequenceExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `SequenceExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `SequenceExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::SequenceExpr` class directly. * Use the subclass `SequenceExpr`, where the following predicates are available. */ - class SequenceExpr extends Synth::TSequenceExpr, Expr { + class SequenceExpr extends Synth::TSequenceExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "SequenceExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/SingleValueStmtExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/SingleValueStmtExpr.qll index 52d37d487988..8428716a64d0 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/SingleValueStmtExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/SingleValueStmtExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `SingleValueStmtExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.stmt.Stmt /** @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::SingleValueStmtExpr` class directly. * Use the subclass `SingleValueStmtExpr`, where the following predicates are available. */ - class SingleValueStmtExpr extends Synth::TSingleValueStmtExpr, Expr { + class SingleValueStmtExpr extends Synth::TSingleValueStmtExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "SingleValueStmtExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/StringLiteralExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/StringLiteralExpr.qll index d9c4a940e535..ee9c00581cc5 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/StringLiteralExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/StringLiteralExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `StringLiteralExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.BuiltinLiteralExpr +import codeql.swift.elements.expr.BuiltinLiteralExprImpl::Impl as BuiltinLiteralExprImpl /** * INTERNAL: This module contains the fully generated definition of `StringLiteralExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::StringLiteralExpr` class directly. * Use the subclass `StringLiteralExpr`, where the following predicates are available. */ - class StringLiteralExpr extends Synth::TStringLiteralExpr, BuiltinLiteralExpr { + class StringLiteralExpr extends Synth::TStringLiteralExpr, + BuiltinLiteralExprImpl::BuiltinLiteralExpr + { override string getAPrimaryQlClass() { result = "StringLiteralExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/StringToPointerExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/StringToPointerExpr.qll index 8085110eb848..212ca4721f2f 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/StringToPointerExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/StringToPointerExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `StringToPointerExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `StringToPointerExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::StringToPointerExpr` class directly. * Use the subclass `StringToPointerExpr`, where the following predicates are available. */ - class StringToPointerExpr extends Synth::TStringToPointerExpr, ImplicitConversionExpr { + class StringToPointerExpr extends Synth::TStringToPointerExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "StringToPointerExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/SubscriptExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/SubscriptExpr.qll index 45803a629c20..c4372c932bde 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/SubscriptExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/SubscriptExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `SubscriptExpr`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Argument -import codeql.swift.elements.expr.LookupExpr +import codeql.swift.elements.expr.LookupExprImpl::Impl as LookupExprImpl /** * INTERNAL: This module contains the fully generated definition of `SubscriptExpr` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::SubscriptExpr` class directly. * Use the subclass `SubscriptExpr`, where the following predicates are available. */ - class SubscriptExpr extends Synth::TSubscriptExpr, LookupExpr { + class SubscriptExpr extends Synth::TSubscriptExpr, LookupExprImpl::LookupExpr { override string getAPrimaryQlClass() { result = "SubscriptExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/SuperRefExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/SuperRefExpr.qll index 417c8afbe42b..197caf3f30fc 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/SuperRefExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/SuperRefExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `SuperRefExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.decl.VarDecl /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::SuperRefExpr` class directly. * Use the subclass `SuperRefExpr`, where the following predicates are available. */ - class SuperRefExpr extends Synth::TSuperRefExpr, Expr { + class SuperRefExpr extends Synth::TSuperRefExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "SuperRefExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/TapExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/TapExpr.qll index deceeb18c475..8b78549c6169 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/TapExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/TapExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TapExpr`. * INTERNAL: Do not import directly. @@ -8,6 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.BraceStmt import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.decl.VarDecl /** @@ -19,7 +20,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TapExpr` class directly. * Use the subclass `TapExpr`, where the following predicates are available. */ - class TapExpr extends Synth::TTapExpr, Expr { + class TapExpr extends Synth::TTapExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "TapExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/TryExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/TryExpr.qll index 95542112ef55..65dcb6af0518 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/TryExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/TryExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TryExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.AnyTryExpr +import codeql.swift.elements.expr.AnyTryExprImpl::Impl as AnyTryExprImpl /** * INTERNAL: This module contains the fully generated definition of `TryExpr` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TryExpr` class directly. * Use the subclass `TryExpr`, where the following predicates are available. */ - class TryExpr extends Synth::TTryExpr, AnyTryExpr { + class TryExpr extends Synth::TTryExpr, AnyTryExprImpl::AnyTryExpr { override string getAPrimaryQlClass() { result = "TryExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/TupleElementExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/TupleElementExpr.qll index 812e1b55d733..61f6debaf12c 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/TupleElementExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/TupleElementExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TupleElementExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `TupleElementExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TupleElementExpr` class directly. * Use the subclass `TupleElementExpr`, where the following predicates are available. */ - class TupleElementExpr extends Synth::TTupleElementExpr, Expr { + class TupleElementExpr extends Synth::TTupleElementExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "TupleElementExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/TupleExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/TupleExpr.qll index 5ceba092a762..a5e958f023c4 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/TupleExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/TupleExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TupleExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `TupleExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TupleExpr` class directly. * Use the subclass `TupleExpr`, where the following predicates are available. */ - class TupleExpr extends Synth::TTupleExpr, Expr { + class TupleExpr extends Synth::TTupleExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "TupleExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/TypeExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/TypeExpr.qll index be01bdd6b205..f0f6d0971a88 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/TypeExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/TypeExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TypeExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.type.TypeRepr /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TypeExpr` class directly. * Use the subclass `TypeExpr`, where the following predicates are available. */ - class TypeExpr extends Synth::TTypeExpr, Expr { + class TypeExpr extends Synth::TTypeExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "TypeExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/UnderlyingToOpaqueExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/UnderlyingToOpaqueExpr.qll index 1f40862473d8..3af9e8cb5b95 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/UnderlyingToOpaqueExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/UnderlyingToOpaqueExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnderlyingToOpaqueExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `UnderlyingToOpaqueExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnderlyingToOpaqueExpr` class directly. * Use the subclass `UnderlyingToOpaqueExpr`, where the following predicates are available. */ - class UnderlyingToOpaqueExpr extends Synth::TUnderlyingToOpaqueExpr, ImplicitConversionExpr { + class UnderlyingToOpaqueExpr extends Synth::TUnderlyingToOpaqueExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "UnderlyingToOpaqueExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/UnevaluatedInstanceExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/UnevaluatedInstanceExpr.qll index 8015107de7dc..f2f1124d5268 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/UnevaluatedInstanceExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/UnevaluatedInstanceExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnevaluatedInstanceExpr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `UnevaluatedInstanceExpr` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnevaluatedInstanceExpr` class directly. * Use the subclass `UnevaluatedInstanceExpr`, where the following predicates are available. */ - class UnevaluatedInstanceExpr extends Synth::TUnevaluatedInstanceExpr, ImplicitConversionExpr { + class UnevaluatedInstanceExpr extends Synth::TUnevaluatedInstanceExpr, + ImplicitConversionExprImpl::ImplicitConversionExpr + { override string getAPrimaryQlClass() { result = "UnevaluatedInstanceExpr" } } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedDeclRefExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedDeclRefExpr.qll index 3b3109be5b48..d0bb53f442d5 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedDeclRefExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedDeclRefExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnresolvedDeclRefExpr`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.ErrorElement -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `UnresolvedDeclRefExpr` and should not @@ -18,7 +18,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnresolvedDeclRefExpr` class directly. * Use the subclass `UnresolvedDeclRefExpr`, where the following predicates are available. */ - class UnresolvedDeclRefExpr extends Synth::TUnresolvedDeclRefExpr, Expr, ErrorElement { + class UnresolvedDeclRefExpr extends Synth::TUnresolvedDeclRefExpr, ExprImpl::Expr, + ErrorElementImpl::ErrorElement + { override string getAPrimaryQlClass() { result = "UnresolvedDeclRefExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedDotExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedDotExpr.qll index ba686d546b6b..90d409ed2ecd 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedDotExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedDotExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnresolvedDotExpr`. * INTERNAL: Do not import directly. @@ -6,8 +6,9 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.ErrorElement +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `UnresolvedDotExpr` and should not @@ -18,7 +19,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnresolvedDotExpr` class directly. * Use the subclass `UnresolvedDotExpr`, where the following predicates are available. */ - class UnresolvedDotExpr extends Synth::TUnresolvedDotExpr, Expr, ErrorElement { + class UnresolvedDotExpr extends Synth::TUnresolvedDotExpr, ExprImpl::Expr, + ErrorElementImpl::ErrorElement + { override string getAPrimaryQlClass() { result = "UnresolvedDotExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedMemberChainResultExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedMemberChainResultExpr.qll index b4789bcefad7..c570b945429e 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedMemberChainResultExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedMemberChainResultExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnresolvedMemberChainResultExpr`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.ErrorElement -import codeql.swift.elements.expr.IdentityExpr +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl +import codeql.swift.elements.expr.IdentityExprImpl::Impl as IdentityExprImpl /** * INTERNAL: This module contains the fully generated definition of `UnresolvedMemberChainResultExpr` and should not @@ -19,7 +19,7 @@ module Generated { * Use the subclass `UnresolvedMemberChainResultExpr`, where the following predicates are available. */ class UnresolvedMemberChainResultExpr extends Synth::TUnresolvedMemberChainResultExpr, - IdentityExpr, ErrorElement + IdentityExprImpl::IdentityExpr, ErrorElementImpl::ErrorElement { override string getAPrimaryQlClass() { result = "UnresolvedMemberChainResultExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedMemberExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedMemberExpr.qll index 03adee4c2f83..9b4d94dadf2b 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedMemberExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedMemberExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnresolvedMemberExpr`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.ErrorElement -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `UnresolvedMemberExpr` and should not @@ -18,7 +18,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnresolvedMemberExpr` class directly. * Use the subclass `UnresolvedMemberExpr`, where the following predicates are available. */ - class UnresolvedMemberExpr extends Synth::TUnresolvedMemberExpr, Expr, ErrorElement { + class UnresolvedMemberExpr extends Synth::TUnresolvedMemberExpr, ExprImpl::Expr, + ErrorElementImpl::ErrorElement + { override string getAPrimaryQlClass() { result = "UnresolvedMemberExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedPatternExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedPatternExpr.qll index fe669af67eb9..315bf65dbde5 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedPatternExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedPatternExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnresolvedPatternExpr`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.ErrorElement -import codeql.swift.elements.expr.Expr +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl import codeql.swift.elements.pattern.Pattern /** @@ -19,7 +19,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnresolvedPatternExpr` class directly. * Use the subclass `UnresolvedPatternExpr`, where the following predicates are available. */ - class UnresolvedPatternExpr extends Synth::TUnresolvedPatternExpr, Expr, ErrorElement { + class UnresolvedPatternExpr extends Synth::TUnresolvedPatternExpr, ExprImpl::Expr, + ErrorElementImpl::ErrorElement + { override string getAPrimaryQlClass() { result = "UnresolvedPatternExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedSpecializeExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedSpecializeExpr.qll index fc53ee8215d7..130daca2cadd 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedSpecializeExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedSpecializeExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnresolvedSpecializeExpr`. * INTERNAL: Do not import directly. @@ -6,8 +6,9 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.ErrorElement +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `UnresolvedSpecializeExpr` and should not @@ -18,7 +19,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnresolvedSpecializeExpr` class directly. * Use the subclass `UnresolvedSpecializeExpr`, where the following predicates are available. */ - class UnresolvedSpecializeExpr extends Synth::TUnresolvedSpecializeExpr, Expr, ErrorElement { + class UnresolvedSpecializeExpr extends Synth::TUnresolvedSpecializeExpr, ExprImpl::Expr, + ErrorElementImpl::ErrorElement + { override string getAPrimaryQlClass() { result = "UnresolvedSpecializeExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedTypeConversionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedTypeConversionExpr.qll index 49609da74c26..f2d02b8e6b7e 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/UnresolvedTypeConversionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/UnresolvedTypeConversionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnresolvedTypeConversionExpr`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.ErrorElement -import codeql.swift.elements.expr.ImplicitConversionExpr +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl +import codeql.swift.elements.expr.ImplicitConversionExprImpl::Impl as ImplicitConversionExprImpl /** * INTERNAL: This module contains the fully generated definition of `UnresolvedTypeConversionExpr` and should not @@ -19,7 +19,7 @@ module Generated { * Use the subclass `UnresolvedTypeConversionExpr`, where the following predicates are available. */ class UnresolvedTypeConversionExpr extends Synth::TUnresolvedTypeConversionExpr, - ImplicitConversionExpr, ErrorElement + ImplicitConversionExprImpl::ImplicitConversionExpr, ErrorElementImpl::ErrorElement { override string getAPrimaryQlClass() { result = "UnresolvedTypeConversionExpr" } } diff --git a/swift/ql/lib/codeql/swift/generated/expr/VarargExpansionExpr.qll b/swift/ql/lib/codeql/swift/generated/expr/VarargExpansionExpr.qll index 83e7681a1af8..99dcb757448d 100644 --- a/swift/ql/lib/codeql/swift/generated/expr/VarargExpansionExpr.qll +++ b/swift/ql/lib/codeql/swift/generated/expr/VarargExpansionExpr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `VarargExpansionExpr`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr +import codeql.swift.elements.expr.ExprImpl::Impl as ExprImpl /** * INTERNAL: This module contains the fully generated definition of `VarargExpansionExpr` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::VarargExpansionExpr` class directly. * Use the subclass `VarargExpansionExpr`, where the following predicates are available. */ - class VarargExpansionExpr extends Synth::TVarargExpansionExpr, Expr { + class VarargExpansionExpr extends Synth::TVarargExpansionExpr, ExprImpl::Expr { override string getAPrimaryQlClass() { result = "VarargExpansionExpr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/pattern/AnyPattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/AnyPattern.qll index 04256adb021c..2b7b301c7bad 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/AnyPattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/AnyPattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AnyPattern`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.pattern.PatternImpl::Impl as PatternImpl /** * INTERNAL: This module contains the fully generated definition of `AnyPattern` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AnyPattern` class directly. * Use the subclass `AnyPattern`, where the following predicates are available. */ - class AnyPattern extends Synth::TAnyPattern, Pattern { + class AnyPattern extends Synth::TAnyPattern, PatternImpl::Pattern { override string getAPrimaryQlClass() { result = "AnyPattern" } } } diff --git a/swift/ql/lib/codeql/swift/generated/pattern/BindingPattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/BindingPattern.qll index cc351ef71c78..e86c87b88023 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/BindingPattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/BindingPattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BindingPattern`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.pattern.PatternImpl::Impl as PatternImpl /** * INTERNAL: This module contains the fully generated definition of `BindingPattern` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BindingPattern` class directly. * Use the subclass `BindingPattern`, where the following predicates are available. */ - class BindingPattern extends Synth::TBindingPattern, Pattern { + class BindingPattern extends Synth::TBindingPattern, PatternImpl::Pattern { override string getAPrimaryQlClass() { result = "BindingPattern" } /** diff --git a/swift/ql/lib/codeql/swift/generated/pattern/BoolPattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/BoolPattern.qll index b824ead1bbaa..ac2a1007c4dd 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/BoolPattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/BoolPattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BoolPattern`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.pattern.PatternImpl::Impl as PatternImpl /** * INTERNAL: This module contains the fully generated definition of `BoolPattern` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BoolPattern` class directly. * Use the subclass `BoolPattern`, where the following predicates are available. */ - class BoolPattern extends Synth::TBoolPattern, Pattern { + class BoolPattern extends Synth::TBoolPattern, PatternImpl::Pattern { override string getAPrimaryQlClass() { result = "BoolPattern" } /** diff --git a/swift/ql/lib/codeql/swift/generated/pattern/EnumElementPattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/EnumElementPattern.qll index e131776e5768..c5718a51a7d8 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/EnumElementPattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/EnumElementPattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `EnumElementPattern`. * INTERNAL: Do not import directly. @@ -8,6 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.decl.EnumElementDecl import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.pattern.PatternImpl::Impl as PatternImpl /** * INTERNAL: This module contains the fully generated definition of `EnumElementPattern` and should not @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::EnumElementPattern` class directly. * Use the subclass `EnumElementPattern`, where the following predicates are available. */ - class EnumElementPattern extends Synth::TEnumElementPattern, Pattern { + class EnumElementPattern extends Synth::TEnumElementPattern, PatternImpl::Pattern { override string getAPrimaryQlClass() { result = "EnumElementPattern" } /** diff --git a/swift/ql/lib/codeql/swift/generated/pattern/ExprPattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/ExprPattern.qll index 6ae06486f00b..8927fd6b2dbe 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/ExprPattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/ExprPattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ExprPattern`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr -import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.pattern.PatternImpl::Impl as PatternImpl /** * INTERNAL: This module contains the fully generated definition of `ExprPattern` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ExprPattern` class directly. * Use the subclass `ExprPattern`, where the following predicates are available. */ - class ExprPattern extends Synth::TExprPattern, Pattern { + class ExprPattern extends Synth::TExprPattern, PatternImpl::Pattern { override string getAPrimaryQlClass() { result = "ExprPattern" } /** diff --git a/swift/ql/lib/codeql/swift/generated/pattern/IsPattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/IsPattern.qll index 01f6b8416386..481481305621 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/IsPattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/IsPattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `IsPattern`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.pattern.PatternImpl::Impl as PatternImpl import codeql.swift.elements.type.TypeRepr /** @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::IsPattern` class directly. * Use the subclass `IsPattern`, where the following predicates are available. */ - class IsPattern extends Synth::TIsPattern, Pattern { + class IsPattern extends Synth::TIsPattern, PatternImpl::Pattern { override string getAPrimaryQlClass() { result = "IsPattern" } /** diff --git a/swift/ql/lib/codeql/swift/generated/pattern/NamedPattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/NamedPattern.qll index d2819532ed95..1409e3247390 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/NamedPattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/NamedPattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `NamedPattern`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.pattern.PatternImpl::Impl as PatternImpl import codeql.swift.elements.decl.VarDecl /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::NamedPattern` class directly. * Use the subclass `NamedPattern`, where the following predicates are available. */ - class NamedPattern extends Synth::TNamedPattern, Pattern { + class NamedPattern extends Synth::TNamedPattern, PatternImpl::Pattern { override string getAPrimaryQlClass() { result = "NamedPattern" } /** diff --git a/swift/ql/lib/codeql/swift/generated/pattern/OptionalSomePattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/OptionalSomePattern.qll index 592ca440b9d7..057e788ffb85 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/OptionalSomePattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/OptionalSomePattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OptionalSomePattern`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.pattern.PatternImpl::Impl as PatternImpl /** * INTERNAL: This module contains the fully generated definition of `OptionalSomePattern` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OptionalSomePattern` class directly. * Use the subclass `OptionalSomePattern`, where the following predicates are available. */ - class OptionalSomePattern extends Synth::TOptionalSomePattern, Pattern { + class OptionalSomePattern extends Synth::TOptionalSomePattern, PatternImpl::Pattern { override string getAPrimaryQlClass() { result = "OptionalSomePattern" } /** diff --git a/swift/ql/lib/codeql/swift/generated/pattern/ParenPattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/ParenPattern.qll index 572c7880884f..cf390fcff19a 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/ParenPattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/ParenPattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ParenPattern`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.pattern.PatternImpl::Impl as PatternImpl /** * INTERNAL: This module contains the fully generated definition of `ParenPattern` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ParenPattern` class directly. * Use the subclass `ParenPattern`, where the following predicates are available. */ - class ParenPattern extends Synth::TParenPattern, Pattern { + class ParenPattern extends Synth::TParenPattern, PatternImpl::Pattern { override string getAPrimaryQlClass() { result = "ParenPattern" } /** diff --git a/swift/ql/lib/codeql/swift/generated/pattern/Pattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/Pattern.qll index c87d2324939d..5648b9fb028d 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/Pattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/Pattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Pattern`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.swift.elements.type.Type /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Pattern` class directly. * Use the subclass `Pattern`, where the following predicates are available. */ - class Pattern extends Synth::TPattern, AstNode { + class Pattern extends Synth::TPattern, AstNodeImpl::AstNode { /** * Gets the type of this pattern, if it exists. * diff --git a/swift/ql/lib/codeql/swift/generated/pattern/TuplePattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/TuplePattern.qll index 875f25ef1360..aca9081fcd9a 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/TuplePattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/TuplePattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TuplePattern`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.pattern.PatternImpl::Impl as PatternImpl /** * INTERNAL: This module contains the fully generated definition of `TuplePattern` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TuplePattern` class directly. * Use the subclass `TuplePattern`, where the following predicates are available. */ - class TuplePattern extends Synth::TTuplePattern, Pattern { + class TuplePattern extends Synth::TTuplePattern, PatternImpl::Pattern { override string getAPrimaryQlClass() { result = "TuplePattern" } /** diff --git a/swift/ql/lib/codeql/swift/generated/pattern/TypedPattern.qll b/swift/ql/lib/codeql/swift/generated/pattern/TypedPattern.qll index 5cd02f806e95..f9c264cf3ec5 100644 --- a/swift/ql/lib/codeql/swift/generated/pattern/TypedPattern.qll +++ b/swift/ql/lib/codeql/swift/generated/pattern/TypedPattern.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TypedPattern`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.pattern.Pattern +import codeql.swift.elements.pattern.PatternImpl::Impl as PatternImpl import codeql.swift.elements.type.TypeRepr /** @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TypedPattern` class directly. * Use the subclass `TypedPattern`, where the following predicates are available. */ - class TypedPattern extends Synth::TTypedPattern, Pattern { + class TypedPattern extends Synth::TTypedPattern, PatternImpl::Pattern { override string getAPrimaryQlClass() { result = "TypedPattern" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/BraceStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/BraceStmt.qll index d4bb9e00d92f..739ffd9198e9 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/BraceStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/BraceStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BraceStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.AstNode -import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl import codeql.swift.elements.decl.VarDecl /** @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BraceStmt` class directly. * Use the subclass `BraceStmt`, where the following predicates are available. */ - class BraceStmt extends Synth::TBraceStmt, Stmt { + class BraceStmt extends Synth::TBraceStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "BraceStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/BreakStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/BreakStmt.qll index f9a8cb6236ce..efa513619125 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/BreakStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/BreakStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BreakStmt`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `BreakStmt` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BreakStmt` class directly. * Use the subclass `BreakStmt`, where the following predicates are available. */ - class BreakStmt extends Synth::TBreakStmt, Stmt { + class BreakStmt extends Synth::TBreakStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "BreakStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/CaseLabelItem.qll b/swift/ql/lib/codeql/swift/generated/stmt/CaseLabelItem.qll index 36aa5c7e0f61..b3cf3c0e61ed 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/CaseLabelItem.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/CaseLabelItem.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CaseLabelItem`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.swift.elements.expr.Expr import codeql.swift.elements.pattern.Pattern @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::CaseLabelItem` class directly. * Use the subclass `CaseLabelItem`, where the following predicates are available. */ - class CaseLabelItem extends Synth::TCaseLabelItem, AstNode { + class CaseLabelItem extends Synth::TCaseLabelItem, AstNodeImpl::AstNode { override string getAPrimaryQlClass() { result = "CaseLabelItem" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/CaseStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/CaseStmt.qll index ff01a8e49d07..70f605335b72 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/CaseStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/CaseStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `CaseStmt`. * INTERNAL: Do not import directly. @@ -8,6 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.CaseLabelItem import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl import codeql.swift.elements.decl.VarDecl /** @@ -19,7 +20,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::CaseStmt` class directly. * Use the subclass `CaseStmt`, where the following predicates are available. */ - class CaseStmt extends Synth::TCaseStmt, Stmt { + class CaseStmt extends Synth::TCaseStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "CaseStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/ConditionElement.qll b/swift/ql/lib/codeql/swift/generated/stmt/ConditionElement.qll index 74c483770a20..9e22e1a0ae7b 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/ConditionElement.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/ConditionElement.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ConditionElement`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.swift.elements.AvailabilityInfo import codeql.swift.elements.expr.Expr import codeql.swift.elements.pattern.Pattern @@ -20,7 +20,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ConditionElement` class directly. * Use the subclass `ConditionElement`, where the following predicates are available. */ - class ConditionElement extends Synth::TConditionElement, AstNode { + class ConditionElement extends Synth::TConditionElement, AstNodeImpl::AstNode { override string getAPrimaryQlClass() { result = "ConditionElement" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/ContinueStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/ContinueStmt.qll index 9567ba68f1c0..4977041d8370 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/ContinueStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/ContinueStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ContinueStmt`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `ContinueStmt` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ContinueStmt` class directly. * Use the subclass `ContinueStmt`, where the following predicates are available. */ - class ContinueStmt extends Synth::TContinueStmt, Stmt { + class ContinueStmt extends Synth::TContinueStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "ContinueStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/DeferStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/DeferStmt.qll index 38545133a5f7..5785183b4c64 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/DeferStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/DeferStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DeferStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.BraceStmt -import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `DeferStmt` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DeferStmt` class directly. * Use the subclass `DeferStmt`, where the following predicates are available. */ - class DeferStmt extends Synth::TDeferStmt, Stmt { + class DeferStmt extends Synth::TDeferStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "DeferStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/DiscardStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/DiscardStmt.qll index 995d42aa41e1..d54438031b2c 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/DiscardStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/DiscardStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DiscardStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr -import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `DiscardStmt` and should not @@ -24,7 +24,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DiscardStmt` class directly. * Use the subclass `DiscardStmt`, where the following predicates are available. */ - class DiscardStmt extends Synth::TDiscardStmt, Stmt { + class DiscardStmt extends Synth::TDiscardStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "DiscardStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/DoCatchStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/DoCatchStmt.qll index 5358d352e8e5..0b487b15e46a 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/DoCatchStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/DoCatchStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DoCatchStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.CaseStmt -import codeql.swift.elements.stmt.LabeledStmt +import codeql.swift.elements.stmt.LabeledStmtImpl::Impl as LabeledStmtImpl import codeql.swift.elements.stmt.Stmt /** @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DoCatchStmt` class directly. * Use the subclass `DoCatchStmt`, where the following predicates are available. */ - class DoCatchStmt extends Synth::TDoCatchStmt, LabeledStmt { + class DoCatchStmt extends Synth::TDoCatchStmt, LabeledStmtImpl::LabeledStmt { override string getAPrimaryQlClass() { result = "DoCatchStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/DoStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/DoStmt.qll index 36364ad99fd5..4ae638cc2df7 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/DoStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/DoStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DoStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.BraceStmt -import codeql.swift.elements.stmt.LabeledStmt +import codeql.swift.elements.stmt.LabeledStmtImpl::Impl as LabeledStmtImpl /** * INTERNAL: This module contains the fully generated definition of `DoStmt` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DoStmt` class directly. * Use the subclass `DoStmt`, where the following predicates are available. */ - class DoStmt extends Synth::TDoStmt, LabeledStmt { + class DoStmt extends Synth::TDoStmt, LabeledStmtImpl::LabeledStmt { override string getAPrimaryQlClass() { result = "DoStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/FailStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/FailStmt.qll index 519b80825135..3163c732799a 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/FailStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/FailStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `FailStmt`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `FailStmt` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::FailStmt` class directly. * Use the subclass `FailStmt`, where the following predicates are available. */ - class FailStmt extends Synth::TFailStmt, Stmt { + class FailStmt extends Synth::TFailStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "FailStmt" } } } diff --git a/swift/ql/lib/codeql/swift/generated/stmt/FallthroughStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/FallthroughStmt.qll index 336234c32f0b..fe787b6e0efa 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/FallthroughStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/FallthroughStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `FallthroughStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.CaseStmt -import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `FallthroughStmt` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::FallthroughStmt` class directly. * Use the subclass `FallthroughStmt`, where the following predicates are available. */ - class FallthroughStmt extends Synth::TFallthroughStmt, Stmt { + class FallthroughStmt extends Synth::TFallthroughStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "FallthroughStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/ForEachStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/ForEachStmt.qll index 4ef16666c4e8..5859159f9ddf 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/ForEachStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/ForEachStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ForEachStmt`. * INTERNAL: Do not import directly. @@ -8,7 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.BraceStmt import codeql.swift.elements.expr.Expr -import codeql.swift.elements.stmt.LabeledStmt +import codeql.swift.elements.stmt.LabeledStmtImpl::Impl as LabeledStmtImpl import codeql.swift.elements.pattern.Pattern import codeql.swift.elements.decl.PatternBindingDecl @@ -21,7 +21,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ForEachStmt` class directly. * Use the subclass `ForEachStmt`, where the following predicates are available. */ - class ForEachStmt extends Synth::TForEachStmt, LabeledStmt { + class ForEachStmt extends Synth::TForEachStmt, LabeledStmtImpl::LabeledStmt { override string getAPrimaryQlClass() { result = "ForEachStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/GuardStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/GuardStmt.qll index 99e31f479551..438f87b15927 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/GuardStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/GuardStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `GuardStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.BraceStmt -import codeql.swift.elements.stmt.LabeledConditionalStmt +import codeql.swift.elements.stmt.LabeledConditionalStmtImpl::Impl as LabeledConditionalStmtImpl /** * INTERNAL: This module contains the fully generated definition of `GuardStmt` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::GuardStmt` class directly. * Use the subclass `GuardStmt`, where the following predicates are available. */ - class GuardStmt extends Synth::TGuardStmt, LabeledConditionalStmt { + class GuardStmt extends Synth::TGuardStmt, LabeledConditionalStmtImpl::LabeledConditionalStmt { override string getAPrimaryQlClass() { result = "GuardStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/IfStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/IfStmt.qll index 776e0f83f9e2..b8d2ebf0f8f9 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/IfStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/IfStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `IfStmt`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.stmt.LabeledConditionalStmt +import codeql.swift.elements.stmt.LabeledConditionalStmtImpl::Impl as LabeledConditionalStmtImpl import codeql.swift.elements.stmt.Stmt /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::IfStmt` class directly. * Use the subclass `IfStmt`, where the following predicates are available. */ - class IfStmt extends Synth::TIfStmt, LabeledConditionalStmt { + class IfStmt extends Synth::TIfStmt, LabeledConditionalStmtImpl::LabeledConditionalStmt { override string getAPrimaryQlClass() { result = "IfStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/LabeledConditionalStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/LabeledConditionalStmt.qll index f0845e6e6d29..eddb0e2cb5e9 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/LabeledConditionalStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/LabeledConditionalStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `LabeledConditionalStmt`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.stmt.LabeledStmt +import codeql.swift.elements.stmt.LabeledStmtImpl::Impl as LabeledStmtImpl import codeql.swift.elements.stmt.StmtCondition /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::LabeledConditionalStmt` class directly. * Use the subclass `LabeledConditionalStmt`, where the following predicates are available. */ - class LabeledConditionalStmt extends Synth::TLabeledConditionalStmt, LabeledStmt { + class LabeledConditionalStmt extends Synth::TLabeledConditionalStmt, LabeledStmtImpl::LabeledStmt { /** * Gets the condition of this labeled conditional statement. */ diff --git a/swift/ql/lib/codeql/swift/generated/stmt/LabeledStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/LabeledStmt.qll index a4689c695404..6cd92e04a32d 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/LabeledStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/LabeledStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `LabeledStmt`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `LabeledStmt` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::LabeledStmt` class directly. * Use the subclass `LabeledStmt`, where the following predicates are available. */ - class LabeledStmt extends Synth::TLabeledStmt, Stmt { + class LabeledStmt extends Synth::TLabeledStmt, StmtImpl::Stmt { /** * Gets the label of this labeled statement, if it exists. */ diff --git a/swift/ql/lib/codeql/swift/generated/stmt/PoundAssertStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/PoundAssertStmt.qll index 9e24153b53f7..42eee06a171c 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/PoundAssertStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/PoundAssertStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PoundAssertStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr -import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `PoundAssertStmt` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PoundAssertStmt` class directly. * Use the subclass `PoundAssertStmt`, where the following predicates are available. */ - class PoundAssertStmt extends Synth::TPoundAssertStmt, Stmt { + class PoundAssertStmt extends Synth::TPoundAssertStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "PoundAssertStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/RepeatWhileStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/RepeatWhileStmt.qll index 3f2fe6c20992..71f298871ed6 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/RepeatWhileStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/RepeatWhileStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `RepeatWhileStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr -import codeql.swift.elements.stmt.LabeledStmt +import codeql.swift.elements.stmt.LabeledStmtImpl::Impl as LabeledStmtImpl import codeql.swift.elements.stmt.Stmt /** @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::RepeatWhileStmt` class directly. * Use the subclass `RepeatWhileStmt`, where the following predicates are available. */ - class RepeatWhileStmt extends Synth::TRepeatWhileStmt, LabeledStmt { + class RepeatWhileStmt extends Synth::TRepeatWhileStmt, LabeledStmtImpl::LabeledStmt { override string getAPrimaryQlClass() { result = "RepeatWhileStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/ReturnStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/ReturnStmt.qll index 0500c7260ee3..850707c31eaf 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/ReturnStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/ReturnStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ReturnStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr -import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `ReturnStmt` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ReturnStmt` class directly. * Use the subclass `ReturnStmt`, where the following predicates are available. */ - class ReturnStmt extends Synth::TReturnStmt, Stmt { + class ReturnStmt extends Synth::TReturnStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "ReturnStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/Stmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/Stmt.qll index cc15eecba03e..f24b2537a5bc 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/Stmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/Stmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Stmt`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl /** * INTERNAL: This module contains the fully generated definition of `Stmt` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::Stmt` class directly. * Use the subclass `Stmt`, where the following predicates are available. */ - class Stmt extends Synth::TStmt, AstNode { } + class Stmt extends Synth::TStmt, AstNodeImpl::AstNode { } } diff --git a/swift/ql/lib/codeql/swift/generated/stmt/StmtCondition.qll b/swift/ql/lib/codeql/swift/generated/stmt/StmtCondition.qll index 926ede670cac..0bcb012a91f8 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/StmtCondition.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/StmtCondition.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `StmtCondition`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.swift.elements.stmt.ConditionElement /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::StmtCondition` class directly. * Use the subclass `StmtCondition`, where the following predicates are available. */ - class StmtCondition extends Synth::TStmtCondition, AstNode { + class StmtCondition extends Synth::TStmtCondition, AstNodeImpl::AstNode { override string getAPrimaryQlClass() { result = "StmtCondition" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/SwitchStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/SwitchStmt.qll index 1f4bc14ebf83..32310fb7d13e 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/SwitchStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/SwitchStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `SwitchStmt`. * INTERNAL: Do not import directly. @@ -8,7 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.stmt.CaseStmt import codeql.swift.elements.expr.Expr -import codeql.swift.elements.stmt.LabeledStmt +import codeql.swift.elements.stmt.LabeledStmtImpl::Impl as LabeledStmtImpl /** * INTERNAL: This module contains the fully generated definition of `SwitchStmt` and should not @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::SwitchStmt` class directly. * Use the subclass `SwitchStmt`, where the following predicates are available. */ - class SwitchStmt extends Synth::TSwitchStmt, LabeledStmt { + class SwitchStmt extends Synth::TSwitchStmt, LabeledStmtImpl::LabeledStmt { override string getAPrimaryQlClass() { result = "SwitchStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/ThenStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/ThenStmt.qll index 8e00c4cfe886..967a43b7cb73 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/ThenStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/ThenStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ThenStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr -import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `ThenStmt` and should not @@ -27,7 +27,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ThenStmt` class directly. * Use the subclass `ThenStmt`, where the following predicates are available. */ - class ThenStmt extends Synth::TThenStmt, Stmt { + class ThenStmt extends Synth::TThenStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "ThenStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/ThrowStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/ThrowStmt.qll index ae508a66b795..c9f053816e42 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/ThrowStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/ThrowStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ThrowStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr -import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `ThrowStmt` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ThrowStmt` class directly. * Use the subclass `ThrowStmt`, where the following predicates are available. */ - class ThrowStmt extends Synth::TThrowStmt, Stmt { + class ThrowStmt extends Synth::TThrowStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "ThrowStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/WhileStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/WhileStmt.qll index 77ff78a7c885..8690f6c8a2a4 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/WhileStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/WhileStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `WhileStmt`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.stmt.LabeledConditionalStmt +import codeql.swift.elements.stmt.LabeledConditionalStmtImpl::Impl as LabeledConditionalStmtImpl import codeql.swift.elements.stmt.Stmt /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::WhileStmt` class directly. * Use the subclass `WhileStmt`, where the following predicates are available. */ - class WhileStmt extends Synth::TWhileStmt, LabeledConditionalStmt { + class WhileStmt extends Synth::TWhileStmt, LabeledConditionalStmtImpl::LabeledConditionalStmt { override string getAPrimaryQlClass() { result = "WhileStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/stmt/YieldStmt.qll b/swift/ql/lib/codeql/swift/generated/stmt/YieldStmt.qll index 1e3b763ddecd..c01ed86eee1c 100644 --- a/swift/ql/lib/codeql/swift/generated/stmt/YieldStmt.qll +++ b/swift/ql/lib/codeql/swift/generated/stmt/YieldStmt.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `YieldStmt`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.expr.Expr -import codeql.swift.elements.stmt.Stmt +import codeql.swift.elements.stmt.StmtImpl::Impl as StmtImpl /** * INTERNAL: This module contains the fully generated definition of `YieldStmt` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::YieldStmt` class directly. * Use the subclass `YieldStmt`, where the following predicates are available. */ - class YieldStmt extends Synth::TYieldStmt, Stmt { + class YieldStmt extends Synth::TYieldStmt, StmtImpl::Stmt { override string getAPrimaryQlClass() { result = "YieldStmt" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/AnyBuiltinIntegerType.qll b/swift/ql/lib/codeql/swift/generated/type/AnyBuiltinIntegerType.qll index 7404a103edd3..b75ca3f15a13 100644 --- a/swift/ql/lib/codeql/swift/generated/type/AnyBuiltinIntegerType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/AnyBuiltinIntegerType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AnyBuiltinIntegerType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BuiltinType +import codeql.swift.elements.type.BuiltinTypeImpl::Impl as BuiltinTypeImpl /** * INTERNAL: This module contains the fully generated definition of `AnyBuiltinIntegerType` and should not @@ -17,5 +17,6 @@ module Generated { * INTERNAL: Do not reference the `Generated::AnyBuiltinIntegerType` class directly. * Use the subclass `AnyBuiltinIntegerType`, where the following predicates are available. */ - class AnyBuiltinIntegerType extends Synth::TAnyBuiltinIntegerType, BuiltinType { } + class AnyBuiltinIntegerType extends Synth::TAnyBuiltinIntegerType, BuiltinTypeImpl::BuiltinType { + } } diff --git a/swift/ql/lib/codeql/swift/generated/type/AnyFunctionType.qll b/swift/ql/lib/codeql/swift/generated/type/AnyFunctionType.qll index cc88565d54c1..741665085365 100644 --- a/swift/ql/lib/codeql/swift/generated/type/AnyFunctionType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/AnyFunctionType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AnyFunctionType`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `AnyFunctionType` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AnyFunctionType` class directly. * Use the subclass `AnyFunctionType`, where the following predicates are available. */ - class AnyFunctionType extends Synth::TAnyFunctionType, Type { + class AnyFunctionType extends Synth::TAnyFunctionType, TypeImpl::Type { /** * Gets the result of this function type. * diff --git a/swift/ql/lib/codeql/swift/generated/type/AnyGenericType.qll b/swift/ql/lib/codeql/swift/generated/type/AnyGenericType.qll index fa3553b825f1..e89eb6a7769b 100644 --- a/swift/ql/lib/codeql/swift/generated/type/AnyGenericType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/AnyGenericType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AnyGenericType`. * INTERNAL: Do not import directly. @@ -8,6 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.decl.GenericTypeDecl import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `AnyGenericType` and should not @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::AnyGenericType` class directly. * Use the subclass `AnyGenericType`, where the following predicates are available. */ - class AnyGenericType extends Synth::TAnyGenericType, Type { + class AnyGenericType extends Synth::TAnyGenericType, TypeImpl::Type { /** * Gets the parent of this any generic type, if it exists. * diff --git a/swift/ql/lib/codeql/swift/generated/type/AnyMetatypeType.qll b/swift/ql/lib/codeql/swift/generated/type/AnyMetatypeType.qll index d410368d7778..8258f5fa09e5 100644 --- a/swift/ql/lib/codeql/swift/generated/type/AnyMetatypeType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/AnyMetatypeType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `AnyMetatypeType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `AnyMetatypeType` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::AnyMetatypeType` class directly. * Use the subclass `AnyMetatypeType`, where the following predicates are available. */ - class AnyMetatypeType extends Synth::TAnyMetatypeType, Type { } + class AnyMetatypeType extends Synth::TAnyMetatypeType, TypeImpl::Type { } } diff --git a/swift/ql/lib/codeql/swift/generated/type/ArchetypeType.qll b/swift/ql/lib/codeql/swift/generated/type/ArchetypeType.qll index 12be8ea0bbeb..17d1a8f051c8 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ArchetypeType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ArchetypeType`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.decl.ProtocolDecl -import codeql.swift.elements.type.SubstitutableType +import codeql.swift.elements.type.SubstitutableTypeImpl::Impl as SubstitutableTypeImpl import codeql.swift.elements.type.Type /** @@ -19,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ArchetypeType` class directly. * Use the subclass `ArchetypeType`, where the following predicates are available. */ - class ArchetypeType extends Synth::TArchetypeType, SubstitutableType { + class ArchetypeType extends Synth::TArchetypeType, SubstitutableTypeImpl::SubstitutableType { /** * Gets the interface type of this archetype type. * diff --git a/swift/ql/lib/codeql/swift/generated/type/ArraySliceType.qll b/swift/ql/lib/codeql/swift/generated/type/ArraySliceType.qll index 6cd1c8685173..9c0d2dd2b466 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ArraySliceType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ArraySliceType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ArraySliceType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.UnarySyntaxSugarType +import codeql.swift.elements.type.UnarySyntaxSugarTypeImpl::Impl as UnarySyntaxSugarTypeImpl /** * INTERNAL: This module contains the fully generated definition of `ArraySliceType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::ArraySliceType` class directly. * Use the subclass `ArraySliceType`, where the following predicates are available. */ - class ArraySliceType extends Synth::TArraySliceType, UnarySyntaxSugarType { + class ArraySliceType extends Synth::TArraySliceType, + UnarySyntaxSugarTypeImpl::UnarySyntaxSugarType + { override string getAPrimaryQlClass() { result = "ArraySliceType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BoundGenericClassType.qll b/swift/ql/lib/codeql/swift/generated/type/BoundGenericClassType.qll index 41d4c75ee9ee..65164c9879ae 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BoundGenericClassType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BoundGenericClassType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BoundGenericClassType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BoundGenericType +import codeql.swift.elements.type.BoundGenericTypeImpl::Impl as BoundGenericTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BoundGenericClassType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BoundGenericClassType` class directly. * Use the subclass `BoundGenericClassType`, where the following predicates are available. */ - class BoundGenericClassType extends Synth::TBoundGenericClassType, BoundGenericType { + class BoundGenericClassType extends Synth::TBoundGenericClassType, + BoundGenericTypeImpl::BoundGenericType + { override string getAPrimaryQlClass() { result = "BoundGenericClassType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BoundGenericEnumType.qll b/swift/ql/lib/codeql/swift/generated/type/BoundGenericEnumType.qll index 7470e98af003..fc3d866c9910 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BoundGenericEnumType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BoundGenericEnumType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BoundGenericEnumType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BoundGenericType +import codeql.swift.elements.type.BoundGenericTypeImpl::Impl as BoundGenericTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BoundGenericEnumType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BoundGenericEnumType` class directly. * Use the subclass `BoundGenericEnumType`, where the following predicates are available. */ - class BoundGenericEnumType extends Synth::TBoundGenericEnumType, BoundGenericType { + class BoundGenericEnumType extends Synth::TBoundGenericEnumType, + BoundGenericTypeImpl::BoundGenericType + { override string getAPrimaryQlClass() { result = "BoundGenericEnumType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BoundGenericStructType.qll b/swift/ql/lib/codeql/swift/generated/type/BoundGenericStructType.qll index cff689abcc0a..523452158630 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BoundGenericStructType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BoundGenericStructType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BoundGenericStructType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BoundGenericType +import codeql.swift.elements.type.BoundGenericTypeImpl::Impl as BoundGenericTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BoundGenericStructType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BoundGenericStructType` class directly. * Use the subclass `BoundGenericStructType`, where the following predicates are available. */ - class BoundGenericStructType extends Synth::TBoundGenericStructType, BoundGenericType { + class BoundGenericStructType extends Synth::TBoundGenericStructType, + BoundGenericTypeImpl::BoundGenericType + { override string getAPrimaryQlClass() { result = "BoundGenericStructType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BoundGenericType.qll b/swift/ql/lib/codeql/swift/generated/type/BoundGenericType.qll index aae786959036..0a323abc3cf8 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BoundGenericType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BoundGenericType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BoundGenericType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.NominalOrBoundGenericNominalType +import codeql.swift.elements.type.NominalOrBoundGenericNominalTypeImpl::Impl as NominalOrBoundGenericNominalTypeImpl import codeql.swift.elements.type.Type /** @@ -18,7 +18,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BoundGenericType` class directly. * Use the subclass `BoundGenericType`, where the following predicates are available. */ - class BoundGenericType extends Synth::TBoundGenericType, NominalOrBoundGenericNominalType { + class BoundGenericType extends Synth::TBoundGenericType, + NominalOrBoundGenericNominalTypeImpl::NominalOrBoundGenericNominalType + { /** * Gets the `index`th argument type of this bound generic type (0-based). * diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinBridgeObjectType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinBridgeObjectType.qll index b3934fd75bfb..543a59258c3e 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinBridgeObjectType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinBridgeObjectType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinBridgeObjectType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BuiltinType +import codeql.swift.elements.type.BuiltinTypeImpl::Impl as BuiltinTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinBridgeObjectType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinBridgeObjectType` class directly. * Use the subclass `BuiltinBridgeObjectType`, where the following predicates are available. */ - class BuiltinBridgeObjectType extends Synth::TBuiltinBridgeObjectType, BuiltinType { + class BuiltinBridgeObjectType extends Synth::TBuiltinBridgeObjectType, + BuiltinTypeImpl::BuiltinType + { override string getAPrimaryQlClass() { result = "BuiltinBridgeObjectType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinDefaultActorStorageType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinDefaultActorStorageType.qll index e2aef631f915..526a0ddc68a8 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinDefaultActorStorageType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinDefaultActorStorageType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinDefaultActorStorageType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BuiltinType +import codeql.swift.elements.type.BuiltinTypeImpl::Impl as BuiltinTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinDefaultActorStorageType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinDefaultActorStorageType` class directly. * Use the subclass `BuiltinDefaultActorStorageType`, where the following predicates are available. */ - class BuiltinDefaultActorStorageType extends Synth::TBuiltinDefaultActorStorageType, BuiltinType { + class BuiltinDefaultActorStorageType extends Synth::TBuiltinDefaultActorStorageType, + BuiltinTypeImpl::BuiltinType + { override string getAPrimaryQlClass() { result = "BuiltinDefaultActorStorageType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinExecutorType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinExecutorType.qll index af57307bd53b..073b942d9f63 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinExecutorType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinExecutorType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinExecutorType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BuiltinType +import codeql.swift.elements.type.BuiltinTypeImpl::Impl as BuiltinTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinExecutorType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinExecutorType` class directly. * Use the subclass `BuiltinExecutorType`, where the following predicates are available. */ - class BuiltinExecutorType extends Synth::TBuiltinExecutorType, BuiltinType { + class BuiltinExecutorType extends Synth::TBuiltinExecutorType, BuiltinTypeImpl::BuiltinType { override string getAPrimaryQlClass() { result = "BuiltinExecutorType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinFloatType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinFloatType.qll index eaa55e083504..70d1a85d60a1 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinFloatType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinFloatType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinFloatType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BuiltinType +import codeql.swift.elements.type.BuiltinTypeImpl::Impl as BuiltinTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinFloatType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinFloatType` class directly. * Use the subclass `BuiltinFloatType`, where the following predicates are available. */ - class BuiltinFloatType extends Synth::TBuiltinFloatType, BuiltinType { + class BuiltinFloatType extends Synth::TBuiltinFloatType, BuiltinTypeImpl::BuiltinType { override string getAPrimaryQlClass() { result = "BuiltinFloatType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinIntegerLiteralType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinIntegerLiteralType.qll index e516289db5b0..a4c79be7bfc9 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinIntegerLiteralType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinIntegerLiteralType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinIntegerLiteralType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.AnyBuiltinIntegerType +import codeql.swift.elements.type.AnyBuiltinIntegerTypeImpl::Impl as AnyBuiltinIntegerTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinIntegerLiteralType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinIntegerLiteralType` class directly. * Use the subclass `BuiltinIntegerLiteralType`, where the following predicates are available. */ - class BuiltinIntegerLiteralType extends Synth::TBuiltinIntegerLiteralType, AnyBuiltinIntegerType { + class BuiltinIntegerLiteralType extends Synth::TBuiltinIntegerLiteralType, + AnyBuiltinIntegerTypeImpl::AnyBuiltinIntegerType + { override string getAPrimaryQlClass() { result = "BuiltinIntegerLiteralType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinIntegerType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinIntegerType.qll index d3cfa01e2fd7..09c02ab6e67a 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinIntegerType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinIntegerType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinIntegerType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.AnyBuiltinIntegerType +import codeql.swift.elements.type.AnyBuiltinIntegerTypeImpl::Impl as AnyBuiltinIntegerTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinIntegerType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinIntegerType` class directly. * Use the subclass `BuiltinIntegerType`, where the following predicates are available. */ - class BuiltinIntegerType extends Synth::TBuiltinIntegerType, AnyBuiltinIntegerType { + class BuiltinIntegerType extends Synth::TBuiltinIntegerType, + AnyBuiltinIntegerTypeImpl::AnyBuiltinIntegerType + { override string getAPrimaryQlClass() { result = "BuiltinIntegerType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinJobType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinJobType.qll index b8785d5ad189..e97554f5f176 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinJobType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinJobType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinJobType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BuiltinType +import codeql.swift.elements.type.BuiltinTypeImpl::Impl as BuiltinTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinJobType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinJobType` class directly. * Use the subclass `BuiltinJobType`, where the following predicates are available. */ - class BuiltinJobType extends Synth::TBuiltinJobType, BuiltinType { + class BuiltinJobType extends Synth::TBuiltinJobType, BuiltinTypeImpl::BuiltinType { override string getAPrimaryQlClass() { result = "BuiltinJobType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinNativeObjectType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinNativeObjectType.qll index e3c22be6c6c1..11bb758b2afc 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinNativeObjectType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinNativeObjectType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinNativeObjectType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BuiltinType +import codeql.swift.elements.type.BuiltinTypeImpl::Impl as BuiltinTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinNativeObjectType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinNativeObjectType` class directly. * Use the subclass `BuiltinNativeObjectType`, where the following predicates are available. */ - class BuiltinNativeObjectType extends Synth::TBuiltinNativeObjectType, BuiltinType { + class BuiltinNativeObjectType extends Synth::TBuiltinNativeObjectType, + BuiltinTypeImpl::BuiltinType + { override string getAPrimaryQlClass() { result = "BuiltinNativeObjectType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinRawPointerType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinRawPointerType.qll index 459fdecce03c..bed4e86de6e5 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinRawPointerType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinRawPointerType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinRawPointerType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BuiltinType +import codeql.swift.elements.type.BuiltinTypeImpl::Impl as BuiltinTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinRawPointerType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinRawPointerType` class directly. * Use the subclass `BuiltinRawPointerType`, where the following predicates are available. */ - class BuiltinRawPointerType extends Synth::TBuiltinRawPointerType, BuiltinType { + class BuiltinRawPointerType extends Synth::TBuiltinRawPointerType, BuiltinTypeImpl::BuiltinType { override string getAPrimaryQlClass() { result = "BuiltinRawPointerType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinRawUnsafeContinuationType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinRawUnsafeContinuationType.qll index cf9b56ed22d8..38774a71ffa6 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinRawUnsafeContinuationType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinRawUnsafeContinuationType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinRawUnsafeContinuationType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BuiltinType +import codeql.swift.elements.type.BuiltinTypeImpl::Impl as BuiltinTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinRawUnsafeContinuationType` and should not @@ -18,7 +18,7 @@ module Generated { * Use the subclass `BuiltinRawUnsafeContinuationType`, where the following predicates are available. */ class BuiltinRawUnsafeContinuationType extends Synth::TBuiltinRawUnsafeContinuationType, - BuiltinType + BuiltinTypeImpl::BuiltinType { override string getAPrimaryQlClass() { result = "BuiltinRawUnsafeContinuationType" } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinType.qll index e5db4b0032d4..da64b450dfab 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinType` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinType` class directly. * Use the subclass `BuiltinType`, where the following predicates are available. */ - class BuiltinType extends Synth::TBuiltinType, Type { } + class BuiltinType extends Synth::TBuiltinType, TypeImpl::Type { } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinUnsafeValueBufferType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinUnsafeValueBufferType.qll index 20845981c167..5db8529af5d1 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinUnsafeValueBufferType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinUnsafeValueBufferType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinUnsafeValueBufferType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BuiltinType +import codeql.swift.elements.type.BuiltinTypeImpl::Impl as BuiltinTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinUnsafeValueBufferType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinUnsafeValueBufferType` class directly. * Use the subclass `BuiltinUnsafeValueBufferType`, where the following predicates are available. */ - class BuiltinUnsafeValueBufferType extends Synth::TBuiltinUnsafeValueBufferType, BuiltinType { + class BuiltinUnsafeValueBufferType extends Synth::TBuiltinUnsafeValueBufferType, + BuiltinTypeImpl::BuiltinType + { override string getAPrimaryQlClass() { result = "BuiltinUnsafeValueBufferType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/BuiltinVectorType.qll b/swift/ql/lib/codeql/swift/generated/type/BuiltinVectorType.qll index 91750bbff7bc..f58c90262908 100644 --- a/swift/ql/lib/codeql/swift/generated/type/BuiltinVectorType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/BuiltinVectorType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `BuiltinVectorType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.BuiltinType +import codeql.swift.elements.type.BuiltinTypeImpl::Impl as BuiltinTypeImpl /** * INTERNAL: This module contains the fully generated definition of `BuiltinVectorType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::BuiltinVectorType` class directly. * Use the subclass `BuiltinVectorType`, where the following predicates are available. */ - class BuiltinVectorType extends Synth::TBuiltinVectorType, BuiltinType { + class BuiltinVectorType extends Synth::TBuiltinVectorType, BuiltinTypeImpl::BuiltinType { override string getAPrimaryQlClass() { result = "BuiltinVectorType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/ClassType.qll b/swift/ql/lib/codeql/swift/generated/type/ClassType.qll index e5714264b253..da92bed01e1e 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ClassType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ClassType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ClassType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.NominalType +import codeql.swift.elements.type.NominalTypeImpl::Impl as NominalTypeImpl /** * INTERNAL: This module contains the fully generated definition of `ClassType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ClassType` class directly. * Use the subclass `ClassType`, where the following predicates are available. */ - class ClassType extends Synth::TClassType, NominalType { + class ClassType extends Synth::TClassType, NominalTypeImpl::NominalType { override string getAPrimaryQlClass() { result = "ClassType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/DependentMemberType.qll b/swift/ql/lib/codeql/swift/generated/type/DependentMemberType.qll index ac41f5b6263c..f6e2ec019cdc 100644 --- a/swift/ql/lib/codeql/swift/generated/type/DependentMemberType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/DependentMemberType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DependentMemberType`. * INTERNAL: Do not import directly. @@ -8,6 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.decl.AssociatedTypeDecl import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `DependentMemberType` and should not @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DependentMemberType` class directly. * Use the subclass `DependentMemberType`, where the following predicates are available. */ - class DependentMemberType extends Synth::TDependentMemberType, Type { + class DependentMemberType extends Synth::TDependentMemberType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "DependentMemberType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/DictionaryType.qll b/swift/ql/lib/codeql/swift/generated/type/DictionaryType.qll index 71db7910f1d7..b8518f44d456 100644 --- a/swift/ql/lib/codeql/swift/generated/type/DictionaryType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/DictionaryType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DictionaryType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.SyntaxSugarType +import codeql.swift.elements.type.SyntaxSugarTypeImpl::Impl as SyntaxSugarTypeImpl import codeql.swift.elements.type.Type /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DictionaryType` class directly. * Use the subclass `DictionaryType`, where the following predicates are available. */ - class DictionaryType extends Synth::TDictionaryType, SyntaxSugarType { + class DictionaryType extends Synth::TDictionaryType, SyntaxSugarTypeImpl::SyntaxSugarType { override string getAPrimaryQlClass() { result = "DictionaryType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/DynamicSelfType.qll b/swift/ql/lib/codeql/swift/generated/type/DynamicSelfType.qll index 923de4c179b1..a6541babf6a1 100644 --- a/swift/ql/lib/codeql/swift/generated/type/DynamicSelfType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/DynamicSelfType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `DynamicSelfType`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `DynamicSelfType` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::DynamicSelfType` class directly. * Use the subclass `DynamicSelfType`, where the following predicates are available. */ - class DynamicSelfType extends Synth::TDynamicSelfType, Type { + class DynamicSelfType extends Synth::TDynamicSelfType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "DynamicSelfType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/ElementArchetypeType.qll b/swift/ql/lib/codeql/swift/generated/type/ElementArchetypeType.qll index 937213cb8434..aab1863f0730 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ElementArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ElementArchetypeType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ElementArchetypeType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.LocalArchetypeType +import codeql.swift.elements.type.LocalArchetypeTypeImpl::Impl as LocalArchetypeTypeImpl /** * INTERNAL: This module contains the fully generated definition of `ElementArchetypeType` and should not @@ -18,7 +18,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::ElementArchetypeType` class directly. * Use the subclass `ElementArchetypeType`, where the following predicates are available. */ - class ElementArchetypeType extends Synth::TElementArchetypeType, LocalArchetypeType { + class ElementArchetypeType extends Synth::TElementArchetypeType, + LocalArchetypeTypeImpl::LocalArchetypeType + { override string getAPrimaryQlClass() { result = "ElementArchetypeType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/EnumType.qll b/swift/ql/lib/codeql/swift/generated/type/EnumType.qll index 0e7efd1bec9a..ba46b168a436 100644 --- a/swift/ql/lib/codeql/swift/generated/type/EnumType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/EnumType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `EnumType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.NominalType +import codeql.swift.elements.type.NominalTypeImpl::Impl as NominalTypeImpl /** * INTERNAL: This module contains the fully generated definition of `EnumType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::EnumType` class directly. * Use the subclass `EnumType`, where the following predicates are available. */ - class EnumType extends Synth::TEnumType, NominalType { + class EnumType extends Synth::TEnumType, NominalTypeImpl::NominalType { override string getAPrimaryQlClass() { result = "EnumType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/ErrorType.qll b/swift/ql/lib/codeql/swift/generated/type/ErrorType.qll index df7b250576f8..c7981dc7c2e8 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ErrorType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ErrorType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ErrorType`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.ErrorElement -import codeql.swift.elements.type.Type +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `ErrorType` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ErrorType` class directly. * Use the subclass `ErrorType`, where the following predicates are available. */ - class ErrorType extends Synth::TErrorType, Type, ErrorElement { + class ErrorType extends Synth::TErrorType, TypeImpl::Type, ErrorElementImpl::ErrorElement { override string getAPrimaryQlClass() { result = "ErrorType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/ExistentialMetatypeType.qll b/swift/ql/lib/codeql/swift/generated/type/ExistentialMetatypeType.qll index 7c692533d6bf..74014fe9eea7 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ExistentialMetatypeType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ExistentialMetatypeType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ExistentialMetatypeType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.AnyMetatypeType +import codeql.swift.elements.type.AnyMetatypeTypeImpl::Impl as AnyMetatypeTypeImpl /** * INTERNAL: This module contains the fully generated definition of `ExistentialMetatypeType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::ExistentialMetatypeType` class directly. * Use the subclass `ExistentialMetatypeType`, where the following predicates are available. */ - class ExistentialMetatypeType extends Synth::TExistentialMetatypeType, AnyMetatypeType { + class ExistentialMetatypeType extends Synth::TExistentialMetatypeType, + AnyMetatypeTypeImpl::AnyMetatypeType + { override string getAPrimaryQlClass() { result = "ExistentialMetatypeType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/ExistentialType.qll b/swift/ql/lib/codeql/swift/generated/type/ExistentialType.qll index a3ebcd5f1693..8f3058c65ddd 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ExistentialType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ExistentialType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ExistentialType`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `ExistentialType` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ExistentialType` class directly. * Use the subclass `ExistentialType`, where the following predicates are available. */ - class ExistentialType extends Synth::TExistentialType, Type { + class ExistentialType extends Synth::TExistentialType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "ExistentialType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/FunctionType.qll b/swift/ql/lib/codeql/swift/generated/type/FunctionType.qll index 6342886f81a0..5611280da0f8 100644 --- a/swift/ql/lib/codeql/swift/generated/type/FunctionType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/FunctionType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `FunctionType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.AnyFunctionType +import codeql.swift.elements.type.AnyFunctionTypeImpl::Impl as AnyFunctionTypeImpl /** * INTERNAL: This module contains the fully generated definition of `FunctionType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::FunctionType` class directly. * Use the subclass `FunctionType`, where the following predicates are available. */ - class FunctionType extends Synth::TFunctionType, AnyFunctionType { + class FunctionType extends Synth::TFunctionType, AnyFunctionTypeImpl::AnyFunctionType { override string getAPrimaryQlClass() { result = "FunctionType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/GenericFunctionType.qll b/swift/ql/lib/codeql/swift/generated/type/GenericFunctionType.qll index 519e323fa77f..dd5a2c9f1f21 100644 --- a/swift/ql/lib/codeql/swift/generated/type/GenericFunctionType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/GenericFunctionType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `GenericFunctionType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.AnyFunctionType +import codeql.swift.elements.type.AnyFunctionTypeImpl::Impl as AnyFunctionTypeImpl import codeql.swift.elements.type.GenericTypeParamType /** @@ -19,7 +19,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::GenericFunctionType` class directly. * Use the subclass `GenericFunctionType`, where the following predicates are available. */ - class GenericFunctionType extends Synth::TGenericFunctionType, AnyFunctionType { + class GenericFunctionType extends Synth::TGenericFunctionType, + AnyFunctionTypeImpl::AnyFunctionType + { override string getAPrimaryQlClass() { result = "GenericFunctionType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/GenericTypeParamType.qll b/swift/ql/lib/codeql/swift/generated/type/GenericTypeParamType.qll index 5ec577336324..1f6bdeaff91d 100644 --- a/swift/ql/lib/codeql/swift/generated/type/GenericTypeParamType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/GenericTypeParamType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `GenericTypeParamType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.SubstitutableType +import codeql.swift.elements.type.SubstitutableTypeImpl::Impl as SubstitutableTypeImpl /** * INTERNAL: This module contains the fully generated definition of `GenericTypeParamType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::GenericTypeParamType` class directly. * Use the subclass `GenericTypeParamType`, where the following predicates are available. */ - class GenericTypeParamType extends Synth::TGenericTypeParamType, SubstitutableType { + class GenericTypeParamType extends Synth::TGenericTypeParamType, + SubstitutableTypeImpl::SubstitutableType + { override string getAPrimaryQlClass() { result = "GenericTypeParamType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/InOutType.qll b/swift/ql/lib/codeql/swift/generated/type/InOutType.qll index f730e96dd736..ad62fed75f0f 100644 --- a/swift/ql/lib/codeql/swift/generated/type/InOutType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/InOutType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `InOutType`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `InOutType` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::InOutType` class directly. * Use the subclass `InOutType`, where the following predicates are available. */ - class InOutType extends Synth::TInOutType, Type { + class InOutType extends Synth::TInOutType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "InOutType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/LValueType.qll b/swift/ql/lib/codeql/swift/generated/type/LValueType.qll index ceafefa9c836..18646754c416 100644 --- a/swift/ql/lib/codeql/swift/generated/type/LValueType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/LValueType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `LValueType`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `LValueType` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::LValueType` class directly. * Use the subclass `LValueType`, where the following predicates are available. */ - class LValueType extends Synth::TLValueType, Type { + class LValueType extends Synth::TLValueType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "LValueType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/LocalArchetypeType.qll b/swift/ql/lib/codeql/swift/generated/type/LocalArchetypeType.qll index 279514b60e10..2c7092030ff8 100644 --- a/swift/ql/lib/codeql/swift/generated/type/LocalArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/LocalArchetypeType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `LocalArchetypeType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.ArchetypeType +import codeql.swift.elements.type.ArchetypeTypeImpl::Impl as ArchetypeTypeImpl /** * INTERNAL: This module contains the fully generated definition of `LocalArchetypeType` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::LocalArchetypeType` class directly. * Use the subclass `LocalArchetypeType`, where the following predicates are available. */ - class LocalArchetypeType extends Synth::TLocalArchetypeType, ArchetypeType { } + class LocalArchetypeType extends Synth::TLocalArchetypeType, ArchetypeTypeImpl::ArchetypeType { } } diff --git a/swift/ql/lib/codeql/swift/generated/type/MetatypeType.qll b/swift/ql/lib/codeql/swift/generated/type/MetatypeType.qll index e65b4df99d6a..b9de651afd1c 100644 --- a/swift/ql/lib/codeql/swift/generated/type/MetatypeType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/MetatypeType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `MetatypeType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.AnyMetatypeType +import codeql.swift.elements.type.AnyMetatypeTypeImpl::Impl as AnyMetatypeTypeImpl /** * INTERNAL: This module contains the fully generated definition of `MetatypeType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::MetatypeType` class directly. * Use the subclass `MetatypeType`, where the following predicates are available. */ - class MetatypeType extends Synth::TMetatypeType, AnyMetatypeType { + class MetatypeType extends Synth::TMetatypeType, AnyMetatypeTypeImpl::AnyMetatypeType { override string getAPrimaryQlClass() { result = "MetatypeType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/ModuleType.qll b/swift/ql/lib/codeql/swift/generated/type/ModuleType.qll index 5cfac824f679..6da6aaf6393f 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ModuleType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ModuleType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ModuleType`. * INTERNAL: Do not import directly. @@ -7,7 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.decl.ModuleDecl -import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `ModuleType` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ModuleType` class directly. * Use the subclass `ModuleType`, where the following predicates are available. */ - class ModuleType extends Synth::TModuleType, Type { + class ModuleType extends Synth::TModuleType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "ModuleType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/NominalOrBoundGenericNominalType.qll b/swift/ql/lib/codeql/swift/generated/type/NominalOrBoundGenericNominalType.qll index 1e36e2eb20d7..cecba04b9e70 100644 --- a/swift/ql/lib/codeql/swift/generated/type/NominalOrBoundGenericNominalType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/NominalOrBoundGenericNominalType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `NominalOrBoundGenericNominalType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.AnyGenericType +import codeql.swift.elements.type.AnyGenericTypeImpl::Impl as AnyGenericTypeImpl /** * INTERNAL: This module contains the fully generated definition of `NominalOrBoundGenericNominalType` and should not @@ -18,6 +18,6 @@ module Generated { * Use the subclass `NominalOrBoundGenericNominalType`, where the following predicates are available. */ class NominalOrBoundGenericNominalType extends Synth::TNominalOrBoundGenericNominalType, - AnyGenericType + AnyGenericTypeImpl::AnyGenericType { } } diff --git a/swift/ql/lib/codeql/swift/generated/type/NominalType.qll b/swift/ql/lib/codeql/swift/generated/type/NominalType.qll index 2698e8778401..bf4c5cb61aa3 100644 --- a/swift/ql/lib/codeql/swift/generated/type/NominalType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/NominalType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `NominalType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.NominalOrBoundGenericNominalType +import codeql.swift.elements.type.NominalOrBoundGenericNominalTypeImpl::Impl as NominalOrBoundGenericNominalTypeImpl /** * INTERNAL: This module contains the fully generated definition of `NominalType` and should not @@ -17,5 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::NominalType` class directly. * Use the subclass `NominalType`, where the following predicates are available. */ - class NominalType extends Synth::TNominalType, NominalOrBoundGenericNominalType { } + class NominalType extends Synth::TNominalType, + NominalOrBoundGenericNominalTypeImpl::NominalOrBoundGenericNominalType + { } } diff --git a/swift/ql/lib/codeql/swift/generated/type/OpaqueTypeArchetypeType.qll b/swift/ql/lib/codeql/swift/generated/type/OpaqueTypeArchetypeType.qll index b6a005269916..a5c6cedaa82f 100644 --- a/swift/ql/lib/codeql/swift/generated/type/OpaqueTypeArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/OpaqueTypeArchetypeType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OpaqueTypeArchetypeType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.ArchetypeType +import codeql.swift.elements.type.ArchetypeTypeImpl::Impl as ArchetypeTypeImpl import codeql.swift.elements.decl.OpaqueTypeDecl /** @@ -21,7 +21,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::OpaqueTypeArchetypeType` class directly. * Use the subclass `OpaqueTypeArchetypeType`, where the following predicates are available. */ - class OpaqueTypeArchetypeType extends Synth::TOpaqueTypeArchetypeType, ArchetypeType { + class OpaqueTypeArchetypeType extends Synth::TOpaqueTypeArchetypeType, + ArchetypeTypeImpl::ArchetypeType + { override string getAPrimaryQlClass() { result = "OpaqueTypeArchetypeType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/OpenedArchetypeType.qll b/swift/ql/lib/codeql/swift/generated/type/OpenedArchetypeType.qll index c49beb425284..a415741bb25b 100644 --- a/swift/ql/lib/codeql/swift/generated/type/OpenedArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/OpenedArchetypeType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OpenedArchetypeType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.LocalArchetypeType +import codeql.swift.elements.type.LocalArchetypeTypeImpl::Impl as LocalArchetypeTypeImpl /** * INTERNAL: This module contains the fully generated definition of `OpenedArchetypeType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::OpenedArchetypeType` class directly. * Use the subclass `OpenedArchetypeType`, where the following predicates are available. */ - class OpenedArchetypeType extends Synth::TOpenedArchetypeType, LocalArchetypeType { + class OpenedArchetypeType extends Synth::TOpenedArchetypeType, + LocalArchetypeTypeImpl::LocalArchetypeType + { override string getAPrimaryQlClass() { result = "OpenedArchetypeType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/OptionalType.qll b/swift/ql/lib/codeql/swift/generated/type/OptionalType.qll index 271f6f368325..e346ce592645 100644 --- a/swift/ql/lib/codeql/swift/generated/type/OptionalType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/OptionalType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `OptionalType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.UnarySyntaxSugarType +import codeql.swift.elements.type.UnarySyntaxSugarTypeImpl::Impl as UnarySyntaxSugarTypeImpl /** * INTERNAL: This module contains the fully generated definition of `OptionalType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::OptionalType` class directly. * Use the subclass `OptionalType`, where the following predicates are available. */ - class OptionalType extends Synth::TOptionalType, UnarySyntaxSugarType { + class OptionalType extends Synth::TOptionalType, UnarySyntaxSugarTypeImpl::UnarySyntaxSugarType { override string getAPrimaryQlClass() { result = "OptionalType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/PackArchetypeType.qll b/swift/ql/lib/codeql/swift/generated/type/PackArchetypeType.qll index 1ffc18bf1273..7a212d055e3e 100644 --- a/swift/ql/lib/codeql/swift/generated/type/PackArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/PackArchetypeType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PackArchetypeType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.ArchetypeType +import codeql.swift.elements.type.ArchetypeTypeImpl::Impl as ArchetypeTypeImpl /** * INTERNAL: This module contains the fully generated definition of `PackArchetypeType` and should not @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PackArchetypeType` class directly. * Use the subclass `PackArchetypeType`, where the following predicates are available. */ - class PackArchetypeType extends Synth::TPackArchetypeType, ArchetypeType { + class PackArchetypeType extends Synth::TPackArchetypeType, ArchetypeTypeImpl::ArchetypeType { override string getAPrimaryQlClass() { result = "PackArchetypeType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/PackElementType.qll b/swift/ql/lib/codeql/swift/generated/type/PackElementType.qll index 68ee23a1e4ef..042743f02185 100644 --- a/swift/ql/lib/codeql/swift/generated/type/PackElementType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/PackElementType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PackElementType`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `PackElementType` and should not @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PackElementType` class directly. * Use the subclass `PackElementType`, where the following predicates are available. */ - class PackElementType extends Synth::TPackElementType, Type { + class PackElementType extends Synth::TPackElementType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "PackElementType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/PackExpansionType.qll b/swift/ql/lib/codeql/swift/generated/type/PackExpansionType.qll index 35afca9c7d5d..6a6042ecfada 100644 --- a/swift/ql/lib/codeql/swift/generated/type/PackExpansionType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/PackExpansionType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PackExpansionType`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `PackExpansionType` and should not @@ -18,7 +19,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PackExpansionType` class directly. * Use the subclass `PackExpansionType`, where the following predicates are available. */ - class PackExpansionType extends Synth::TPackExpansionType, Type { + class PackExpansionType extends Synth::TPackExpansionType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "PackExpansionType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/PackType.qll b/swift/ql/lib/codeql/swift/generated/type/PackType.qll index a115135ea6a3..14fe48e8b75f 100644 --- a/swift/ql/lib/codeql/swift/generated/type/PackType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/PackType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PackType`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `PackType` and should not @@ -27,7 +28,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PackType` class directly. * Use the subclass `PackType`, where the following predicates are available. */ - class PackType extends Synth::TPackType, Type { + class PackType extends Synth::TPackType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "PackType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/ParameterizedProtocolType.qll b/swift/ql/lib/codeql/swift/generated/type/ParameterizedProtocolType.qll index 11f41cacb940..44fcb2cd4cab 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ParameterizedProtocolType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ParameterizedProtocolType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ParameterizedProtocolType`. * INTERNAL: Do not import directly. @@ -8,6 +8,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.ProtocolType import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `ParameterizedProtocolType` and should not @@ -21,7 +22,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ParameterizedProtocolType` class directly. * Use the subclass `ParameterizedProtocolType`, where the following predicates are available. */ - class ParameterizedProtocolType extends Synth::TParameterizedProtocolType, Type { + class ParameterizedProtocolType extends Synth::TParameterizedProtocolType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "ParameterizedProtocolType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/ParenType.qll b/swift/ql/lib/codeql/swift/generated/type/ParenType.qll index d8824ec52bd3..9f94558c730b 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ParenType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ParenType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ParenType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.SugarType +import codeql.swift.elements.type.SugarTypeImpl::Impl as SugarTypeImpl import codeql.swift.elements.type.Type /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ParenType` class directly. * Use the subclass `ParenType`, where the following predicates are available. */ - class ParenType extends Synth::TParenType, SugarType { + class ParenType extends Synth::TParenType, SugarTypeImpl::SugarType { override string getAPrimaryQlClass() { result = "ParenType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/PrimaryArchetypeType.qll b/swift/ql/lib/codeql/swift/generated/type/PrimaryArchetypeType.qll index 8ede7acf9624..a59ce347f5dd 100644 --- a/swift/ql/lib/codeql/swift/generated/type/PrimaryArchetypeType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/PrimaryArchetypeType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `PrimaryArchetypeType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.ArchetypeType +import codeql.swift.elements.type.ArchetypeTypeImpl::Impl as ArchetypeTypeImpl /** * INTERNAL: This module contains the fully generated definition of `PrimaryArchetypeType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::PrimaryArchetypeType` class directly. * Use the subclass `PrimaryArchetypeType`, where the following predicates are available. */ - class PrimaryArchetypeType extends Synth::TPrimaryArchetypeType, ArchetypeType { + class PrimaryArchetypeType extends Synth::TPrimaryArchetypeType, ArchetypeTypeImpl::ArchetypeType { override string getAPrimaryQlClass() { result = "PrimaryArchetypeType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/ProtocolCompositionType.qll b/swift/ql/lib/codeql/swift/generated/type/ProtocolCompositionType.qll index baa1e18ebf0a..069d253db859 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ProtocolCompositionType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ProtocolCompositionType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ProtocolCompositionType`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `ProtocolCompositionType` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ProtocolCompositionType` class directly. * Use the subclass `ProtocolCompositionType`, where the following predicates are available. */ - class ProtocolCompositionType extends Synth::TProtocolCompositionType, Type { + class ProtocolCompositionType extends Synth::TProtocolCompositionType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "ProtocolCompositionType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/ProtocolType.qll b/swift/ql/lib/codeql/swift/generated/type/ProtocolType.qll index b7e5e794fa68..08d968b9b058 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ProtocolType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ProtocolType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ProtocolType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.NominalType +import codeql.swift.elements.type.NominalTypeImpl::Impl as NominalTypeImpl /** * INTERNAL: This module contains the fully generated definition of `ProtocolType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ProtocolType` class directly. * Use the subclass `ProtocolType`, where the following predicates are available. */ - class ProtocolType extends Synth::TProtocolType, NominalType { + class ProtocolType extends Synth::TProtocolType, NominalTypeImpl::NominalType { override string getAPrimaryQlClass() { result = "ProtocolType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/ReferenceStorageType.qll b/swift/ql/lib/codeql/swift/generated/type/ReferenceStorageType.qll index 5d07382d744c..a0e87b9b18eb 100644 --- a/swift/ql/lib/codeql/swift/generated/type/ReferenceStorageType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/ReferenceStorageType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `ReferenceStorageType`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `ReferenceStorageType` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::ReferenceStorageType` class directly. * Use the subclass `ReferenceStorageType`, where the following predicates are available. */ - class ReferenceStorageType extends Synth::TReferenceStorageType, Type { + class ReferenceStorageType extends Synth::TReferenceStorageType, TypeImpl::Type { /** * Gets the referent type of this reference storage type. * diff --git a/swift/ql/lib/codeql/swift/generated/type/StructType.qll b/swift/ql/lib/codeql/swift/generated/type/StructType.qll index c74528fcda7b..2e9fe1d6e7c4 100644 --- a/swift/ql/lib/codeql/swift/generated/type/StructType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/StructType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `StructType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.NominalType +import codeql.swift.elements.type.NominalTypeImpl::Impl as NominalTypeImpl /** * INTERNAL: This module contains the fully generated definition of `StructType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::StructType` class directly. * Use the subclass `StructType`, where the following predicates are available. */ - class StructType extends Synth::TStructType, NominalType { + class StructType extends Synth::TStructType, NominalTypeImpl::NominalType { override string getAPrimaryQlClass() { result = "StructType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/SubstitutableType.qll b/swift/ql/lib/codeql/swift/generated/type/SubstitutableType.qll index ddea982b0d12..012ede4e9462 100644 --- a/swift/ql/lib/codeql/swift/generated/type/SubstitutableType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/SubstitutableType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `SubstitutableType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `SubstitutableType` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::SubstitutableType` class directly. * Use the subclass `SubstitutableType`, where the following predicates are available. */ - class SubstitutableType extends Synth::TSubstitutableType, Type { } + class SubstitutableType extends Synth::TSubstitutableType, TypeImpl::Type { } } diff --git a/swift/ql/lib/codeql/swift/generated/type/SugarType.qll b/swift/ql/lib/codeql/swift/generated/type/SugarType.qll index 0bc91de3fb60..eb810e4bfbd7 100644 --- a/swift/ql/lib/codeql/swift/generated/type/SugarType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/SugarType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `SugarType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `SugarType` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::SugarType` class directly. * Use the subclass `SugarType`, where the following predicates are available. */ - class SugarType extends Synth::TSugarType, Type { } + class SugarType extends Synth::TSugarType, TypeImpl::Type { } } diff --git a/swift/ql/lib/codeql/swift/generated/type/SyntaxSugarType.qll b/swift/ql/lib/codeql/swift/generated/type/SyntaxSugarType.qll index 3db20845f5fb..ebfd384f4494 100644 --- a/swift/ql/lib/codeql/swift/generated/type/SyntaxSugarType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/SyntaxSugarType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `SyntaxSugarType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.SugarType +import codeql.swift.elements.type.SugarTypeImpl::Impl as SugarTypeImpl /** * INTERNAL: This module contains the fully generated definition of `SyntaxSugarType` and should not @@ -17,5 +17,5 @@ module Generated { * INTERNAL: Do not reference the `Generated::SyntaxSugarType` class directly. * Use the subclass `SyntaxSugarType`, where the following predicates are available. */ - class SyntaxSugarType extends Synth::TSyntaxSugarType, SugarType { } + class SyntaxSugarType extends Synth::TSyntaxSugarType, SugarTypeImpl::SugarType { } } diff --git a/swift/ql/lib/codeql/swift/generated/type/TupleType.qll b/swift/ql/lib/codeql/swift/generated/type/TupleType.qll index cd35f2456a62..e44fd2ec4b47 100644 --- a/swift/ql/lib/codeql/swift/generated/type/TupleType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/TupleType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TupleType`. * INTERNAL: Do not import directly. @@ -7,6 +7,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw import codeql.swift.elements.type.Type +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `TupleType` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TupleType` class directly. * Use the subclass `TupleType`, where the following predicates are available. */ - class TupleType extends Synth::TTupleType, Type { + class TupleType extends Synth::TTupleType, TypeImpl::Type { override string getAPrimaryQlClass() { result = "TupleType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/Type.qll b/swift/ql/lib/codeql/swift/generated/type/Type.qll index 37874313fc99..3fba12c3354f 100644 --- a/swift/ql/lib/codeql/swift/generated/type/Type.qll +++ b/swift/ql/lib/codeql/swift/generated/type/Type.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `Type`. * INTERNAL: Do not import directly. @@ -6,7 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.Element +import codeql.swift.elements.ElementImpl::Impl as ElementImpl +import codeql.swift.elements.type.Type /** * INTERNAL: This module contains the fully generated definition of `Type` and should not @@ -17,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::Type` class directly. * Use the subclass `Type`, where the following predicates are available. */ - class Type extends Synth::TType, Element { + class Type extends Synth::TType, ElementImpl::Element { /** * Gets the name of this type. */ diff --git a/swift/ql/lib/codeql/swift/generated/type/TypeAliasType.qll b/swift/ql/lib/codeql/swift/generated/type/TypeAliasType.qll index b1e52c3d8b44..f9e5069b1546 100644 --- a/swift/ql/lib/codeql/swift/generated/type/TypeAliasType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/TypeAliasType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TypeAliasType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.SugarType +import codeql.swift.elements.type.SugarTypeImpl::Impl as SugarTypeImpl import codeql.swift.elements.decl.TypeAliasDecl /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TypeAliasType` class directly. * Use the subclass `TypeAliasType`, where the following predicates are available. */ - class TypeAliasType extends Synth::TTypeAliasType, SugarType { + class TypeAliasType extends Synth::TTypeAliasType, SugarTypeImpl::SugarType { override string getAPrimaryQlClass() { result = "TypeAliasType" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/TypeRepr.qll b/swift/ql/lib/codeql/swift/generated/type/TypeRepr.qll index 062b01afcb1e..fcddd7274899 100644 --- a/swift/ql/lib/codeql/swift/generated/type/TypeRepr.qll +++ b/swift/ql/lib/codeql/swift/generated/type/TypeRepr.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `TypeRepr`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.AstNode +import codeql.swift.elements.AstNodeImpl::Impl as AstNodeImpl import codeql.swift.elements.type.Type /** @@ -18,7 +18,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::TypeRepr` class directly. * Use the subclass `TypeRepr`, where the following predicates are available. */ - class TypeRepr extends Synth::TTypeRepr, AstNode { + class TypeRepr extends Synth::TTypeRepr, AstNodeImpl::AstNode { override string getAPrimaryQlClass() { result = "TypeRepr" } /** diff --git a/swift/ql/lib/codeql/swift/generated/type/UnarySyntaxSugarType.qll b/swift/ql/lib/codeql/swift/generated/type/UnarySyntaxSugarType.qll index ed37ce343c6f..631d4d7b86b3 100644 --- a/swift/ql/lib/codeql/swift/generated/type/UnarySyntaxSugarType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/UnarySyntaxSugarType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnarySyntaxSugarType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.SyntaxSugarType +import codeql.swift.elements.type.SyntaxSugarTypeImpl::Impl as SyntaxSugarTypeImpl import codeql.swift.elements.type.Type /** @@ -18,7 +18,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnarySyntaxSugarType` class directly. * Use the subclass `UnarySyntaxSugarType`, where the following predicates are available. */ - class UnarySyntaxSugarType extends Synth::TUnarySyntaxSugarType, SyntaxSugarType { + class UnarySyntaxSugarType extends Synth::TUnarySyntaxSugarType, + SyntaxSugarTypeImpl::SyntaxSugarType + { /** * Gets the base type of this unary syntax sugar type. * diff --git a/swift/ql/lib/codeql/swift/generated/type/UnboundGenericType.qll b/swift/ql/lib/codeql/swift/generated/type/UnboundGenericType.qll index 5de872008511..d26aac75af6d 100644 --- a/swift/ql/lib/codeql/swift/generated/type/UnboundGenericType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/UnboundGenericType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnboundGenericType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.AnyGenericType +import codeql.swift.elements.type.AnyGenericTypeImpl::Impl as AnyGenericTypeImpl /** * INTERNAL: This module contains the fully generated definition of `UnboundGenericType` and should not @@ -17,7 +17,7 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnboundGenericType` class directly. * Use the subclass `UnboundGenericType`, where the following predicates are available. */ - class UnboundGenericType extends Synth::TUnboundGenericType, AnyGenericType { + class UnboundGenericType extends Synth::TUnboundGenericType, AnyGenericTypeImpl::AnyGenericType { override string getAPrimaryQlClass() { result = "UnboundGenericType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/UnmanagedStorageType.qll b/swift/ql/lib/codeql/swift/generated/type/UnmanagedStorageType.qll index c88c53d80bfb..4c9cb8e9f98c 100644 --- a/swift/ql/lib/codeql/swift/generated/type/UnmanagedStorageType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/UnmanagedStorageType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnmanagedStorageType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.ReferenceStorageType +import codeql.swift.elements.type.ReferenceStorageTypeImpl::Impl as ReferenceStorageTypeImpl /** * INTERNAL: This module contains the fully generated definition of `UnmanagedStorageType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnmanagedStorageType` class directly. * Use the subclass `UnmanagedStorageType`, where the following predicates are available. */ - class UnmanagedStorageType extends Synth::TUnmanagedStorageType, ReferenceStorageType { + class UnmanagedStorageType extends Synth::TUnmanagedStorageType, + ReferenceStorageTypeImpl::ReferenceStorageType + { override string getAPrimaryQlClass() { result = "UnmanagedStorageType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/UnownedStorageType.qll b/swift/ql/lib/codeql/swift/generated/type/UnownedStorageType.qll index 985b91a351c1..32ac784a8883 100644 --- a/swift/ql/lib/codeql/swift/generated/type/UnownedStorageType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/UnownedStorageType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnownedStorageType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.ReferenceStorageType +import codeql.swift.elements.type.ReferenceStorageTypeImpl::Impl as ReferenceStorageTypeImpl /** * INTERNAL: This module contains the fully generated definition of `UnownedStorageType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnownedStorageType` class directly. * Use the subclass `UnownedStorageType`, where the following predicates are available. */ - class UnownedStorageType extends Synth::TUnownedStorageType, ReferenceStorageType { + class UnownedStorageType extends Synth::TUnownedStorageType, + ReferenceStorageTypeImpl::ReferenceStorageType + { override string getAPrimaryQlClass() { result = "UnownedStorageType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/UnresolvedType.qll b/swift/ql/lib/codeql/swift/generated/type/UnresolvedType.qll index 5d4a9a540874..30a4b7cf5c54 100644 --- a/swift/ql/lib/codeql/swift/generated/type/UnresolvedType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/UnresolvedType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `UnresolvedType`. * INTERNAL: Do not import directly. @@ -6,8 +6,8 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.ErrorElement -import codeql.swift.elements.type.Type +import codeql.swift.elements.ErrorElementImpl::Impl as ErrorElementImpl +import codeql.swift.elements.type.TypeImpl::Impl as TypeImpl /** * INTERNAL: This module contains the fully generated definition of `UnresolvedType` and should not @@ -18,7 +18,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::UnresolvedType` class directly. * Use the subclass `UnresolvedType`, where the following predicates are available. */ - class UnresolvedType extends Synth::TUnresolvedType, Type, ErrorElement { + class UnresolvedType extends Synth::TUnresolvedType, TypeImpl::Type, + ErrorElementImpl::ErrorElement + { override string getAPrimaryQlClass() { result = "UnresolvedType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/VariadicSequenceType.qll b/swift/ql/lib/codeql/swift/generated/type/VariadicSequenceType.qll index b2f2aebb01ad..afe407a244cc 100644 --- a/swift/ql/lib/codeql/swift/generated/type/VariadicSequenceType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/VariadicSequenceType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `VariadicSequenceType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.UnarySyntaxSugarType +import codeql.swift.elements.type.UnarySyntaxSugarTypeImpl::Impl as UnarySyntaxSugarTypeImpl /** * INTERNAL: This module contains the fully generated definition of `VariadicSequenceType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::VariadicSequenceType` class directly. * Use the subclass `VariadicSequenceType`, where the following predicates are available. */ - class VariadicSequenceType extends Synth::TVariadicSequenceType, UnarySyntaxSugarType { + class VariadicSequenceType extends Synth::TVariadicSequenceType, + UnarySyntaxSugarTypeImpl::UnarySyntaxSugarType + { override string getAPrimaryQlClass() { result = "VariadicSequenceType" } } } diff --git a/swift/ql/lib/codeql/swift/generated/type/WeakStorageType.qll b/swift/ql/lib/codeql/swift/generated/type/WeakStorageType.qll index b6df73289e7f..d03fbdb9e978 100644 --- a/swift/ql/lib/codeql/swift/generated/type/WeakStorageType.qll +++ b/swift/ql/lib/codeql/swift/generated/type/WeakStorageType.qll @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit /** * This module provides the generated definition of `WeakStorageType`. * INTERNAL: Do not import directly. @@ -6,7 +6,7 @@ private import codeql.swift.generated.Synth private import codeql.swift.generated.Raw -import codeql.swift.elements.type.ReferenceStorageType +import codeql.swift.elements.type.ReferenceStorageTypeImpl::Impl as ReferenceStorageTypeImpl /** * INTERNAL: This module contains the fully generated definition of `WeakStorageType` and should not @@ -17,7 +17,9 @@ module Generated { * INTERNAL: Do not reference the `Generated::WeakStorageType` class directly. * Use the subclass `WeakStorageType`, where the following predicates are available. */ - class WeakStorageType extends Synth::TWeakStorageType, ReferenceStorageType { + class WeakStorageType extends Synth::TWeakStorageType, + ReferenceStorageTypeImpl::ReferenceStorageType + { override string getAPrimaryQlClass() { result = "WeakStorageType" } } } diff --git a/swift/ql/lib/swift.dbscheme b/swift/ql/lib/swift.dbscheme index 1a24fefd78ba..44c4818a8987 100644 --- a/swift/ql/lib/swift.dbscheme +++ b/swift/ql/lib/swift.dbscheme @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit // from prefix.dbscheme /** diff --git a/swift/ql/lib/swift.qll b/swift/ql/lib/swift.qll index 2ea5d3774f3f..901d9e895e02 100644 --- a/swift/ql/lib/swift.qll +++ b/swift/ql/lib/swift.qll @@ -2,15 +2,23 @@ import codeql.swift.elements import codeql.swift.elements.expr.ArithmeticOperation +import codeql.swift.elements.expr.Assignment import codeql.swift.elements.expr.BitwiseOperation import codeql.swift.elements.expr.LogicalOperation import codeql.swift.elements.expr.NilCoalescingExpr import codeql.swift.elements.expr.InitializerLookupExpr +import codeql.swift.elements.expr.MethodApplyExpr import codeql.swift.elements.expr.MethodCallExpr import codeql.swift.elements.expr.InitializerCallExpr import codeql.swift.elements.expr.SelfRefExpr import codeql.swift.elements.expr.EnumElementExpr +import codeql.swift.elements.decl.FieldDecl +import codeql.swift.elements.decl.FreeFunction import codeql.swift.elements.decl.Method import codeql.swift.elements.decl.ClassOrStructDecl +import codeql.swift.elements.decl.SelfParamDecl +import codeql.swift.elements.decl.SetObserver import codeql.swift.elements.type.NumericType +import codeql.swift.elements.Comments +import codeql.swift.elements.CompilerDiagnostics import codeql.swift.Unit diff --git a/swift/ql/lib/upgrades/1a24fefd78baf8af6c104d9e63849f3f6e1ef1a3/old.dbscheme b/swift/ql/lib/upgrades/1a24fefd78baf8af6c104d9e63849f3f6e1ef1a3/old.dbscheme new file mode 100644 index 000000000000..1a24fefd78ba --- /dev/null +++ b/swift/ql/lib/upgrades/1a24fefd78baf8af6c104d9e63849f3f6e1ef1a3/old.dbscheme @@ -0,0 +1,2786 @@ +// generated by codegen/codegen.py + +// from prefix.dbscheme +/** + * The source location of the snapshot. + */ +sourceLocationPrefix( + string prefix: string ref +); + + +// from schema.py + +@element = + @file +| @generic_context +| @locatable +| @location +| @type +; + +#keyset[id] +element_is_unknown( + int id: @element ref +); + +@file = + @db_file +; + +#keyset[id] +files( + int id: @file ref, + string name: string ref +); + +#keyset[id] +file_is_successfully_extracted( + int id: @file ref +); + +@locatable = + @argument +| @ast_node +| @comment +| @diagnostics +| @error_element +; + +#keyset[id] +locatable_locations( + int id: @locatable ref, + int location: @location_or_none ref +); + +@location = + @db_location +; + +#keyset[id] +locations( + int id: @location ref, + int file: @file_or_none ref, + int start_line: int ref, + int start_column: int ref, + int end_line: int ref, + int end_column: int ref +); + +@ast_node = + @availability_info +| @availability_spec +| @callable +| @case_label_item +| @condition_element +| @decl +| @expr +| @key_path_component +| @macro_role +| @pattern +| @stmt +| @stmt_condition +| @type_repr +; + +comments( + unique int id: @comment, + string text: string ref +); + +db_files( + unique int id: @db_file +); + +db_locations( + unique int id: @db_location +); + +diagnostics( + unique int id: @diagnostics, + string text: string ref, + int kind: int ref +); + +@error_element = + @error_expr +| @error_type +| @overloaded_decl_ref_expr +| @unresolved_decl_ref_expr +| @unresolved_dot_expr +| @unresolved_member_chain_result_expr +| @unresolved_member_expr +| @unresolved_pattern_expr +| @unresolved_specialize_expr +| @unresolved_type +| @unresolved_type_conversion_expr +| @unspecified_element +; + +availability_infos( + unique int id: @availability_info +); + +#keyset[id] +availability_info_is_unavailable( + int id: @availability_info ref +); + +#keyset[id, index] +availability_info_specs( + int id: @availability_info ref, + int index: int ref, + int spec: @availability_spec_or_none ref +); + +@availability_spec = + @other_availability_spec +| @platform_version_availability_spec +; + +@callable = + @closure_expr +| @function +; + +#keyset[id] +callable_names( + int id: @callable ref, + string name: string ref +); + +#keyset[id] +callable_self_params( + int id: @callable ref, + int self_param: @param_decl_or_none ref +); + +#keyset[id, index] +callable_params( + int id: @callable ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +#keyset[id] +callable_bodies( + int id: @callable ref, + int body: @brace_stmt_or_none ref +); + +#keyset[id, index] +callable_captures( + int id: @callable ref, + int index: int ref, + int capture: @captured_decl_or_none ref +); + +key_path_components( + unique int id: @key_path_component, + int kind: int ref, + int component_type: @type_or_none ref +); + +#keyset[id, index] +key_path_component_subscript_arguments( + int id: @key_path_component ref, + int index: int ref, + int subscript_argument: @argument_or_none ref +); + +#keyset[id] +key_path_component_tuple_indices( + int id: @key_path_component ref, + int tuple_index: int ref +); + +#keyset[id] +key_path_component_decl_refs( + int id: @key_path_component ref, + int decl_ref: @value_decl_or_none ref +); + +macro_roles( + unique int id: @macro_role, + int kind: int ref, + int macro_syntax: int ref +); + +#keyset[id, index] +macro_role_conformances( + int id: @macro_role ref, + int index: int ref, + int conformance: @type_expr_or_none ref +); + +#keyset[id, index] +macro_role_names( + int id: @macro_role ref, + int index: int ref, + string name: string ref +); + +unspecified_elements( + unique int id: @unspecified_element, + string property: string ref, + string error: string ref +); + +#keyset[id] +unspecified_element_parents( + int id: @unspecified_element ref, + int parent: @element ref +); + +#keyset[id] +unspecified_element_indices( + int id: @unspecified_element ref, + int index: int ref +); + +#keyset[id, index] +unspecified_element_children( + int id: @unspecified_element ref, + int index: int ref, + int child: @ast_node_or_none ref +); + +other_availability_specs( + unique int id: @other_availability_spec +); + +platform_version_availability_specs( + unique int id: @platform_version_availability_spec, + string platform: string ref, + string version: string ref +); + +@decl = + @captured_decl +| @enum_case_decl +| @extension_decl +| @if_config_decl +| @import_decl +| @missing_member_decl +| @operator_decl +| @pattern_binding_decl +| @pound_diagnostic_decl +| @precedence_group_decl +| @top_level_code_decl +| @value_decl +; + +#keyset[id] +decls( //dir=decl + int id: @decl ref, + int module: @module_decl_or_none ref +); + +#keyset[id, index] +decl_members( //dir=decl + int id: @decl ref, + int index: int ref, + int member: @decl_or_none ref +); + +@generic_context = + @extension_decl +| @function +| @generic_type_decl +| @macro_decl +| @subscript_decl +; + +#keyset[id, index] +generic_context_generic_type_params( //dir=decl + int id: @generic_context ref, + int index: int ref, + int generic_type_param: @generic_type_param_decl_or_none ref +); + +captured_decls( //dir=decl + unique int id: @captured_decl, + int decl: @value_decl_or_none ref +); + +#keyset[id] +captured_decl_is_direct( //dir=decl + int id: @captured_decl ref +); + +#keyset[id] +captured_decl_is_escaping( //dir=decl + int id: @captured_decl ref +); + +enum_case_decls( //dir=decl + unique int id: @enum_case_decl +); + +#keyset[id, index] +enum_case_decl_elements( //dir=decl + int id: @enum_case_decl ref, + int index: int ref, + int element: @enum_element_decl_or_none ref +); + +extension_decls( //dir=decl + unique int id: @extension_decl, + int extended_type_decl: @nominal_type_decl_or_none ref +); + +#keyset[id, index] +extension_decl_protocols( //dir=decl + int id: @extension_decl ref, + int index: int ref, + int protocol: @protocol_decl_or_none ref +); + +if_config_decls( //dir=decl + unique int id: @if_config_decl +); + +#keyset[id, index] +if_config_decl_active_elements( //dir=decl + int id: @if_config_decl ref, + int index: int ref, + int active_element: @ast_node_or_none ref +); + +import_decls( //dir=decl + unique int id: @import_decl +); + +#keyset[id] +import_decl_is_exported( //dir=decl + int id: @import_decl ref +); + +#keyset[id] +import_decl_imported_modules( //dir=decl + int id: @import_decl ref, + int imported_module: @module_decl_or_none ref +); + +#keyset[id, index] +import_decl_declarations( //dir=decl + int id: @import_decl ref, + int index: int ref, + int declaration: @value_decl_or_none ref +); + +missing_member_decls( //dir=decl + unique int id: @missing_member_decl, + string name: string ref +); + +@operator_decl = + @infix_operator_decl +| @postfix_operator_decl +| @prefix_operator_decl +; + +#keyset[id] +operator_decls( //dir=decl + int id: @operator_decl ref, + string name: string ref +); + +pattern_binding_decls( //dir=decl + unique int id: @pattern_binding_decl +); + +#keyset[id, index] +pattern_binding_decl_inits( //dir=decl + int id: @pattern_binding_decl ref, + int index: int ref, + int init: @expr_or_none ref +); + +#keyset[id, index] +pattern_binding_decl_patterns( //dir=decl + int id: @pattern_binding_decl ref, + int index: int ref, + int pattern: @pattern_or_none ref +); + +pound_diagnostic_decls( //dir=decl + unique int id: @pound_diagnostic_decl, + int kind: int ref, + int message: @string_literal_expr_or_none ref +); + +precedence_group_decls( //dir=decl + unique int id: @precedence_group_decl +); + +top_level_code_decls( //dir=decl + unique int id: @top_level_code_decl, + int body: @brace_stmt_or_none ref +); + +@value_decl = + @abstract_storage_decl +| @enum_element_decl +| @function +| @macro_decl +| @type_decl +; + +#keyset[id] +value_decls( //dir=decl + int id: @value_decl ref, + int interface_type: @type_or_none ref +); + +@abstract_storage_decl = + @subscript_decl +| @var_decl +; + +#keyset[id, index] +abstract_storage_decl_accessors( //dir=decl + int id: @abstract_storage_decl ref, + int index: int ref, + int accessor: @accessor_or_none ref +); + +enum_element_decls( //dir=decl + unique int id: @enum_element_decl, + string name: string ref +); + +#keyset[id, index] +enum_element_decl_params( //dir=decl + int id: @enum_element_decl ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +@function = + @accessor_or_named_function +| @deinitializer +| @initializer +; + +infix_operator_decls( //dir=decl + unique int id: @infix_operator_decl +); + +#keyset[id] +infix_operator_decl_precedence_groups( //dir=decl + int id: @infix_operator_decl ref, + int precedence_group: @precedence_group_decl_or_none ref +); + +macro_decls( //dir=decl + unique int id: @macro_decl, + string name: string ref +); + +#keyset[id, index] +macro_decl_parameters( //dir=decl + int id: @macro_decl ref, + int index: int ref, + int parameter: @param_decl_or_none ref +); + +#keyset[id, index] +macro_decl_roles( //dir=decl + int id: @macro_decl ref, + int index: int ref, + int role: @macro_role_or_none ref +); + +postfix_operator_decls( //dir=decl + unique int id: @postfix_operator_decl +); + +prefix_operator_decls( //dir=decl + unique int id: @prefix_operator_decl +); + +@type_decl = + @abstract_type_param_decl +| @generic_type_decl +| @module_decl +; + +#keyset[id] +type_decls( //dir=decl + int id: @type_decl ref, + string name: string ref +); + +#keyset[id, index] +type_decl_inherited_types( //dir=decl + int id: @type_decl ref, + int index: int ref, + int inherited_type: @type_or_none ref +); + +@abstract_type_param_decl = + @associated_type_decl +| @generic_type_param_decl +; + +@accessor_or_named_function = + @accessor +| @named_function +; + +deinitializers( //dir=decl + unique int id: @deinitializer +); + +@generic_type_decl = + @nominal_type_decl +| @opaque_type_decl +| @type_alias_decl +; + +initializers( //dir=decl + unique int id: @initializer +); + +module_decls( //dir=decl + unique int id: @module_decl +); + +#keyset[id] +module_decl_is_builtin_module( //dir=decl + int id: @module_decl ref +); + +#keyset[id] +module_decl_is_system_module( //dir=decl + int id: @module_decl ref +); + +module_decl_imported_modules( //dir=decl + int id: @module_decl ref, + int imported_module: @module_decl_or_none ref +); + +module_decl_exported_modules( //dir=decl + int id: @module_decl ref, + int exported_module: @module_decl_or_none ref +); + +subscript_decls( //dir=decl + unique int id: @subscript_decl, + int element_type: @type_or_none ref +); + +#keyset[id, index] +subscript_decl_params( //dir=decl + int id: @subscript_decl ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +@var_decl = + @concrete_var_decl +| @param_decl +; + +#keyset[id] +var_decls( //dir=decl + int id: @var_decl ref, + string name: string ref, + int type_: @type_or_none ref +); + +#keyset[id] +var_decl_attached_property_wrapper_types( //dir=decl + int id: @var_decl ref, + int attached_property_wrapper_type: @type_or_none ref +); + +#keyset[id] +var_decl_parent_patterns( //dir=decl + int id: @var_decl ref, + int parent_pattern: @pattern_or_none ref +); + +#keyset[id] +var_decl_parent_initializers( //dir=decl + int id: @var_decl ref, + int parent_initializer: @expr_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_backing_var_bindings( //dir=decl + int id: @var_decl ref, + int property_wrapper_backing_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_backing_vars( //dir=decl + int id: @var_decl ref, + int property_wrapper_backing_var: @var_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_projection_var_bindings( //dir=decl + int id: @var_decl ref, + int property_wrapper_projection_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_projection_vars( //dir=decl + int id: @var_decl ref, + int property_wrapper_projection_var: @var_decl_or_none ref +); + +accessors( //dir=decl + unique int id: @accessor +); + +#keyset[id] +accessor_is_getter( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_setter( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_will_set( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_did_set( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_read( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_modify( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_unsafe_address( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_unsafe_mutable_address( //dir=decl + int id: @accessor ref +); + +associated_type_decls( //dir=decl + unique int id: @associated_type_decl +); + +concrete_var_decls( //dir=decl + unique int id: @concrete_var_decl, + int introducer_int: int ref +); + +generic_type_param_decls( //dir=decl + unique int id: @generic_type_param_decl +); + +named_functions( //dir=decl + unique int id: @named_function +); + +@nominal_type_decl = + @class_decl +| @enum_decl +| @protocol_decl +| @struct_decl +; + +#keyset[id] +nominal_type_decls( //dir=decl + int id: @nominal_type_decl ref, + int type_: @type_or_none ref +); + +opaque_type_decls( //dir=decl + unique int id: @opaque_type_decl, + int naming_declaration: @value_decl_or_none ref +); + +#keyset[id, index] +opaque_type_decl_opaque_generic_params( //dir=decl + int id: @opaque_type_decl ref, + int index: int ref, + int opaque_generic_param: @generic_type_param_type_or_none ref +); + +param_decls( //dir=decl + unique int id: @param_decl +); + +#keyset[id] +param_decl_is_inout( //dir=decl + int id: @param_decl ref +); + +#keyset[id] +param_decl_property_wrapper_local_wrapped_var_bindings( //dir=decl + int id: @param_decl ref, + int property_wrapper_local_wrapped_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +param_decl_property_wrapper_local_wrapped_vars( //dir=decl + int id: @param_decl ref, + int property_wrapper_local_wrapped_var: @var_decl_or_none ref +); + +type_alias_decls( //dir=decl + unique int id: @type_alias_decl, + int aliased_type: @type_or_none ref +); + +class_decls( //dir=decl + unique int id: @class_decl +); + +enum_decls( //dir=decl + unique int id: @enum_decl +); + +protocol_decls( //dir=decl + unique int id: @protocol_decl +); + +struct_decls( //dir=decl + unique int id: @struct_decl +); + +arguments( //dir=expr + unique int id: @argument, + string label: string ref, + int expr: @expr_or_none ref +); + +@expr = + @any_try_expr +| @applied_property_wrapper_expr +| @apply_expr +| @assign_expr +| @bind_optional_expr +| @capture_list_expr +| @closure_expr +| @collection_expr +| @consume_expr +| @copy_expr +| @decl_ref_expr +| @default_argument_expr +| @discard_assignment_expr +| @dot_syntax_base_ignored_expr +| @dynamic_type_expr +| @enum_is_case_expr +| @error_expr +| @explicit_cast_expr +| @force_value_expr +| @identity_expr +| @if_expr +| @implicit_conversion_expr +| @in_out_expr +| @key_path_application_expr +| @key_path_dot_expr +| @key_path_expr +| @lazy_initialization_expr +| @literal_expr +| @lookup_expr +| @make_temporarily_escapable_expr +| @materialize_pack_expr +| @obj_c_selector_expr +| @one_way_expr +| @opaque_value_expr +| @open_existential_expr +| @optional_evaluation_expr +| @other_initializer_ref_expr +| @overloaded_decl_ref_expr +| @pack_element_expr +| @pack_expansion_expr +| @property_wrapper_value_placeholder_expr +| @rebind_self_in_initializer_expr +| @sequence_expr +| @single_value_stmt_expr +| @super_ref_expr +| @tap_expr +| @tuple_element_expr +| @tuple_expr +| @type_expr +| @unresolved_decl_ref_expr +| @unresolved_dot_expr +| @unresolved_member_expr +| @unresolved_pattern_expr +| @unresolved_specialize_expr +| @vararg_expansion_expr +; + +#keyset[id] +expr_types( //dir=expr + int id: @expr ref, + int type_: @type_or_none ref +); + +@any_try_expr = + @force_try_expr +| @optional_try_expr +| @try_expr +; + +#keyset[id] +any_try_exprs( //dir=expr + int id: @any_try_expr ref, + int sub_expr: @expr_or_none ref +); + +applied_property_wrapper_exprs( //dir=expr + unique int id: @applied_property_wrapper_expr, + int kind: int ref, + int value: @expr_or_none ref, + int param: @param_decl_or_none ref +); + +@apply_expr = + @binary_expr +| @call_expr +| @postfix_unary_expr +| @prefix_unary_expr +| @self_apply_expr +; + +#keyset[id] +apply_exprs( //dir=expr + int id: @apply_expr ref, + int function: @expr_or_none ref +); + +#keyset[id, index] +apply_expr_arguments( //dir=expr + int id: @apply_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +assign_exprs( //dir=expr + unique int id: @assign_expr, + int dest: @expr_or_none ref, + int source: @expr_or_none ref +); + +bind_optional_exprs( //dir=expr + unique int id: @bind_optional_expr, + int sub_expr: @expr_or_none ref +); + +capture_list_exprs( //dir=expr + unique int id: @capture_list_expr, + int closure_body: @closure_expr_or_none ref +); + +#keyset[id, index] +capture_list_expr_binding_decls( //dir=expr + int id: @capture_list_expr ref, + int index: int ref, + int binding_decl: @pattern_binding_decl_or_none ref +); + +@closure_expr = + @auto_closure_expr +| @explicit_closure_expr +; + +@collection_expr = + @array_expr +| @dictionary_expr +; + +consume_exprs( //dir=expr + unique int id: @consume_expr, + int sub_expr: @expr_or_none ref +); + +copy_exprs( //dir=expr + unique int id: @copy_expr, + int sub_expr: @expr_or_none ref +); + +decl_ref_exprs( //dir=expr + unique int id: @decl_ref_expr, + int decl: @decl_or_none ref +); + +#keyset[id, index] +decl_ref_expr_replacement_types( //dir=expr + int id: @decl_ref_expr ref, + int index: int ref, + int replacement_type: @type_or_none ref +); + +#keyset[id] +decl_ref_expr_has_direct_to_storage_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_ordinary_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_distributed_thunk_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +default_argument_exprs( //dir=expr + unique int id: @default_argument_expr, + int param_decl: @param_decl_or_none ref, + int param_index: int ref +); + +#keyset[id] +default_argument_expr_caller_side_defaults( //dir=expr + int id: @default_argument_expr ref, + int caller_side_default: @expr_or_none ref +); + +discard_assignment_exprs( //dir=expr + unique int id: @discard_assignment_expr +); + +dot_syntax_base_ignored_exprs( //dir=expr + unique int id: @dot_syntax_base_ignored_expr, + int qualifier: @expr_or_none ref, + int sub_expr: @expr_or_none ref +); + +dynamic_type_exprs( //dir=expr + unique int id: @dynamic_type_expr, + int base: @expr_or_none ref +); + +enum_is_case_exprs( //dir=expr + unique int id: @enum_is_case_expr, + int sub_expr: @expr_or_none ref, + int element: @enum_element_decl_or_none ref +); + +error_exprs( //dir=expr + unique int id: @error_expr +); + +@explicit_cast_expr = + @checked_cast_expr +| @coerce_expr +; + +#keyset[id] +explicit_cast_exprs( //dir=expr + int id: @explicit_cast_expr ref, + int sub_expr: @expr_or_none ref +); + +force_value_exprs( //dir=expr + unique int id: @force_value_expr, + int sub_expr: @expr_or_none ref +); + +@identity_expr = + @await_expr +| @borrow_expr +| @dot_self_expr +| @paren_expr +| @unresolved_member_chain_result_expr +; + +#keyset[id] +identity_exprs( //dir=expr + int id: @identity_expr ref, + int sub_expr: @expr_or_none ref +); + +if_exprs( //dir=expr + unique int id: @if_expr, + int condition: @expr_or_none ref, + int then_expr: @expr_or_none ref, + int else_expr: @expr_or_none ref +); + +@implicit_conversion_expr = + @abi_safe_conversion_expr +| @any_hashable_erasure_expr +| @archetype_to_super_expr +| @array_to_pointer_expr +| @bridge_from_obj_c_expr +| @bridge_to_obj_c_expr +| @class_metatype_to_object_expr +| @collection_upcast_conversion_expr +| @conditional_bridge_from_obj_c_expr +| @covariant_function_conversion_expr +| @covariant_return_conversion_expr +| @derived_to_base_expr +| @destructure_tuple_expr +| @differentiable_function_expr +| @differentiable_function_extract_original_expr +| @erasure_expr +| @existential_metatype_to_object_expr +| @foreign_object_conversion_expr +| @function_conversion_expr +| @in_out_to_pointer_expr +| @inject_into_optional_expr +| @linear_function_expr +| @linear_function_extract_original_expr +| @linear_to_differentiable_function_expr +| @load_expr +| @metatype_conversion_expr +| @pointer_to_pointer_expr +| @protocol_metatype_to_object_expr +| @string_to_pointer_expr +| @underlying_to_opaque_expr +| @unevaluated_instance_expr +| @unresolved_type_conversion_expr +; + +#keyset[id] +implicit_conversion_exprs( //dir=expr + int id: @implicit_conversion_expr ref, + int sub_expr: @expr_or_none ref +); + +in_out_exprs( //dir=expr + unique int id: @in_out_expr, + int sub_expr: @expr_or_none ref +); + +key_path_application_exprs( //dir=expr + unique int id: @key_path_application_expr, + int base: @expr_or_none ref, + int key_path: @expr_or_none ref +); + +key_path_dot_exprs( //dir=expr + unique int id: @key_path_dot_expr +); + +key_path_exprs( //dir=expr + unique int id: @key_path_expr +); + +#keyset[id] +key_path_expr_roots( //dir=expr + int id: @key_path_expr ref, + int root: @type_repr_or_none ref +); + +#keyset[id, index] +key_path_expr_components( //dir=expr + int id: @key_path_expr ref, + int index: int ref, + int component: @key_path_component_or_none ref +); + +lazy_initialization_exprs( //dir=expr + unique int id: @lazy_initialization_expr, + int sub_expr: @expr_or_none ref +); + +@literal_expr = + @builtin_literal_expr +| @interpolated_string_literal_expr +| @nil_literal_expr +| @object_literal_expr +| @regex_literal_expr +; + +@lookup_expr = + @dynamic_lookup_expr +| @member_ref_expr +| @subscript_expr +; + +#keyset[id] +lookup_exprs( //dir=expr + int id: @lookup_expr ref, + int base: @expr_or_none ref +); + +#keyset[id] +lookup_expr_members( //dir=expr + int id: @lookup_expr ref, + int member: @decl_or_none ref +); + +make_temporarily_escapable_exprs( //dir=expr + unique int id: @make_temporarily_escapable_expr, + int escaping_closure: @opaque_value_expr_or_none ref, + int nonescaping_closure: @expr_or_none ref, + int sub_expr: @expr_or_none ref +); + +materialize_pack_exprs( //dir=expr + unique int id: @materialize_pack_expr, + int sub_expr: @expr_or_none ref +); + +obj_c_selector_exprs( //dir=expr + unique int id: @obj_c_selector_expr, + int sub_expr: @expr_or_none ref, + int method: @function_or_none ref +); + +one_way_exprs( //dir=expr + unique int id: @one_way_expr, + int sub_expr: @expr_or_none ref +); + +opaque_value_exprs( //dir=expr + unique int id: @opaque_value_expr +); + +open_existential_exprs( //dir=expr + unique int id: @open_existential_expr, + int sub_expr: @expr_or_none ref, + int existential: @expr_or_none ref, + int opaque_expr: @opaque_value_expr_or_none ref +); + +optional_evaluation_exprs( //dir=expr + unique int id: @optional_evaluation_expr, + int sub_expr: @expr_or_none ref +); + +other_initializer_ref_exprs( //dir=expr + unique int id: @other_initializer_ref_expr, + int initializer: @initializer_or_none ref +); + +overloaded_decl_ref_exprs( //dir=expr + unique int id: @overloaded_decl_ref_expr +); + +#keyset[id, index] +overloaded_decl_ref_expr_possible_declarations( //dir=expr + int id: @overloaded_decl_ref_expr ref, + int index: int ref, + int possible_declaration: @value_decl_or_none ref +); + +pack_element_exprs( //dir=expr + unique int id: @pack_element_expr, + int sub_expr: @expr_or_none ref +); + +pack_expansion_exprs( //dir=expr + unique int id: @pack_expansion_expr, + int pattern_expr: @expr_or_none ref +); + +property_wrapper_value_placeholder_exprs( //dir=expr + unique int id: @property_wrapper_value_placeholder_expr, + int placeholder: @opaque_value_expr_or_none ref +); + +#keyset[id] +property_wrapper_value_placeholder_expr_wrapped_values( //dir=expr + int id: @property_wrapper_value_placeholder_expr ref, + int wrapped_value: @expr_or_none ref +); + +rebind_self_in_initializer_exprs( //dir=expr + unique int id: @rebind_self_in_initializer_expr, + int sub_expr: @expr_or_none ref, + int self: @var_decl_or_none ref +); + +sequence_exprs( //dir=expr + unique int id: @sequence_expr +); + +#keyset[id, index] +sequence_expr_elements( //dir=expr + int id: @sequence_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +single_value_stmt_exprs( //dir=expr + unique int id: @single_value_stmt_expr, + int stmt: @stmt_or_none ref +); + +super_ref_exprs( //dir=expr + unique int id: @super_ref_expr, + int self: @var_decl_or_none ref +); + +tap_exprs( //dir=expr + unique int id: @tap_expr, + int body: @brace_stmt_or_none ref, + int var: @var_decl_or_none ref +); + +#keyset[id] +tap_expr_sub_exprs( //dir=expr + int id: @tap_expr ref, + int sub_expr: @expr_or_none ref +); + +tuple_element_exprs( //dir=expr + unique int id: @tuple_element_expr, + int sub_expr: @expr_or_none ref, + int index: int ref +); + +tuple_exprs( //dir=expr + unique int id: @tuple_expr +); + +#keyset[id, index] +tuple_expr_elements( //dir=expr + int id: @tuple_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +type_exprs( //dir=expr + unique int id: @type_expr +); + +#keyset[id] +type_expr_type_reprs( //dir=expr + int id: @type_expr ref, + int type_repr: @type_repr_or_none ref +); + +unresolved_decl_ref_exprs( //dir=expr + unique int id: @unresolved_decl_ref_expr +); + +#keyset[id] +unresolved_decl_ref_expr_names( //dir=expr + int id: @unresolved_decl_ref_expr ref, + string name: string ref +); + +unresolved_dot_exprs( //dir=expr + unique int id: @unresolved_dot_expr, + int base: @expr_or_none ref, + string name: string ref +); + +unresolved_member_exprs( //dir=expr + unique int id: @unresolved_member_expr, + string name: string ref +); + +unresolved_pattern_exprs( //dir=expr + unique int id: @unresolved_pattern_expr, + int sub_pattern: @pattern_or_none ref +); + +unresolved_specialize_exprs( //dir=expr + unique int id: @unresolved_specialize_expr, + int sub_expr: @expr_or_none ref +); + +vararg_expansion_exprs( //dir=expr + unique int id: @vararg_expansion_expr, + int sub_expr: @expr_or_none ref +); + +abi_safe_conversion_exprs( //dir=expr + unique int id: @abi_safe_conversion_expr +); + +any_hashable_erasure_exprs( //dir=expr + unique int id: @any_hashable_erasure_expr +); + +archetype_to_super_exprs( //dir=expr + unique int id: @archetype_to_super_expr +); + +array_exprs( //dir=expr + unique int id: @array_expr +); + +#keyset[id, index] +array_expr_elements( //dir=expr + int id: @array_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +array_to_pointer_exprs( //dir=expr + unique int id: @array_to_pointer_expr +); + +auto_closure_exprs( //dir=expr + unique int id: @auto_closure_expr +); + +await_exprs( //dir=expr + unique int id: @await_expr +); + +binary_exprs( //dir=expr + unique int id: @binary_expr +); + +borrow_exprs( //dir=expr + unique int id: @borrow_expr +); + +bridge_from_obj_c_exprs( //dir=expr + unique int id: @bridge_from_obj_c_expr +); + +bridge_to_obj_c_exprs( //dir=expr + unique int id: @bridge_to_obj_c_expr +); + +@builtin_literal_expr = + @boolean_literal_expr +| @magic_identifier_literal_expr +| @number_literal_expr +| @string_literal_expr +; + +call_exprs( //dir=expr + unique int id: @call_expr +); + +@checked_cast_expr = + @conditional_checked_cast_expr +| @forced_checked_cast_expr +| @is_expr +; + +class_metatype_to_object_exprs( //dir=expr + unique int id: @class_metatype_to_object_expr +); + +coerce_exprs( //dir=expr + unique int id: @coerce_expr +); + +collection_upcast_conversion_exprs( //dir=expr + unique int id: @collection_upcast_conversion_expr +); + +conditional_bridge_from_obj_c_exprs( //dir=expr + unique int id: @conditional_bridge_from_obj_c_expr +); + +covariant_function_conversion_exprs( //dir=expr + unique int id: @covariant_function_conversion_expr +); + +covariant_return_conversion_exprs( //dir=expr + unique int id: @covariant_return_conversion_expr +); + +derived_to_base_exprs( //dir=expr + unique int id: @derived_to_base_expr +); + +destructure_tuple_exprs( //dir=expr + unique int id: @destructure_tuple_expr +); + +dictionary_exprs( //dir=expr + unique int id: @dictionary_expr +); + +#keyset[id, index] +dictionary_expr_elements( //dir=expr + int id: @dictionary_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +differentiable_function_exprs( //dir=expr + unique int id: @differentiable_function_expr +); + +differentiable_function_extract_original_exprs( //dir=expr + unique int id: @differentiable_function_extract_original_expr +); + +dot_self_exprs( //dir=expr + unique int id: @dot_self_expr +); + +@dynamic_lookup_expr = + @dynamic_member_ref_expr +| @dynamic_subscript_expr +; + +erasure_exprs( //dir=expr + unique int id: @erasure_expr +); + +existential_metatype_to_object_exprs( //dir=expr + unique int id: @existential_metatype_to_object_expr +); + +explicit_closure_exprs( //dir=expr + unique int id: @explicit_closure_expr +); + +force_try_exprs( //dir=expr + unique int id: @force_try_expr +); + +foreign_object_conversion_exprs( //dir=expr + unique int id: @foreign_object_conversion_expr +); + +function_conversion_exprs( //dir=expr + unique int id: @function_conversion_expr +); + +in_out_to_pointer_exprs( //dir=expr + unique int id: @in_out_to_pointer_expr +); + +inject_into_optional_exprs( //dir=expr + unique int id: @inject_into_optional_expr +); + +interpolated_string_literal_exprs( //dir=expr + unique int id: @interpolated_string_literal_expr +); + +#keyset[id] +interpolated_string_literal_expr_interpolation_exprs( //dir=expr + int id: @interpolated_string_literal_expr ref, + int interpolation_expr: @opaque_value_expr_or_none ref +); + +#keyset[id] +interpolated_string_literal_expr_appending_exprs( //dir=expr + int id: @interpolated_string_literal_expr ref, + int appending_expr: @tap_expr_or_none ref +); + +linear_function_exprs( //dir=expr + unique int id: @linear_function_expr +); + +linear_function_extract_original_exprs( //dir=expr + unique int id: @linear_function_extract_original_expr +); + +linear_to_differentiable_function_exprs( //dir=expr + unique int id: @linear_to_differentiable_function_expr +); + +load_exprs( //dir=expr + unique int id: @load_expr +); + +member_ref_exprs( //dir=expr + unique int id: @member_ref_expr +); + +#keyset[id] +member_ref_expr_has_direct_to_storage_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_ordinary_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_distributed_thunk_semantics( //dir=expr + int id: @member_ref_expr ref +); + +metatype_conversion_exprs( //dir=expr + unique int id: @metatype_conversion_expr +); + +nil_literal_exprs( //dir=expr + unique int id: @nil_literal_expr +); + +object_literal_exprs( //dir=expr + unique int id: @object_literal_expr, + int kind: int ref +); + +#keyset[id, index] +object_literal_expr_arguments( //dir=expr + int id: @object_literal_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +optional_try_exprs( //dir=expr + unique int id: @optional_try_expr +); + +paren_exprs( //dir=expr + unique int id: @paren_expr +); + +pointer_to_pointer_exprs( //dir=expr + unique int id: @pointer_to_pointer_expr +); + +postfix_unary_exprs( //dir=expr + unique int id: @postfix_unary_expr +); + +prefix_unary_exprs( //dir=expr + unique int id: @prefix_unary_expr +); + +protocol_metatype_to_object_exprs( //dir=expr + unique int id: @protocol_metatype_to_object_expr +); + +regex_literal_exprs( //dir=expr + unique int id: @regex_literal_expr, + string pattern: string ref, + int version: int ref +); + +@self_apply_expr = + @dot_syntax_call_expr +| @initializer_ref_call_expr +; + +#keyset[id] +self_apply_exprs( //dir=expr + int id: @self_apply_expr ref, + int base: @expr_or_none ref +); + +string_to_pointer_exprs( //dir=expr + unique int id: @string_to_pointer_expr +); + +subscript_exprs( //dir=expr + unique int id: @subscript_expr +); + +#keyset[id, index] +subscript_expr_arguments( //dir=expr + int id: @subscript_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +#keyset[id] +subscript_expr_has_direct_to_storage_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_ordinary_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_distributed_thunk_semantics( //dir=expr + int id: @subscript_expr ref +); + +try_exprs( //dir=expr + unique int id: @try_expr +); + +underlying_to_opaque_exprs( //dir=expr + unique int id: @underlying_to_opaque_expr +); + +unevaluated_instance_exprs( //dir=expr + unique int id: @unevaluated_instance_expr +); + +unresolved_member_chain_result_exprs( //dir=expr + unique int id: @unresolved_member_chain_result_expr +); + +unresolved_type_conversion_exprs( //dir=expr + unique int id: @unresolved_type_conversion_expr +); + +boolean_literal_exprs( //dir=expr + unique int id: @boolean_literal_expr, + boolean value: boolean ref +); + +conditional_checked_cast_exprs( //dir=expr + unique int id: @conditional_checked_cast_expr +); + +dot_syntax_call_exprs( //dir=expr + unique int id: @dot_syntax_call_expr +); + +dynamic_member_ref_exprs( //dir=expr + unique int id: @dynamic_member_ref_expr +); + +dynamic_subscript_exprs( //dir=expr + unique int id: @dynamic_subscript_expr +); + +forced_checked_cast_exprs( //dir=expr + unique int id: @forced_checked_cast_expr +); + +initializer_ref_call_exprs( //dir=expr + unique int id: @initializer_ref_call_expr +); + +is_exprs( //dir=expr + unique int id: @is_expr +); + +magic_identifier_literal_exprs( //dir=expr + unique int id: @magic_identifier_literal_expr, + string kind: string ref +); + +@number_literal_expr = + @float_literal_expr +| @integer_literal_expr +; + +string_literal_exprs( //dir=expr + unique int id: @string_literal_expr, + string value: string ref +); + +float_literal_exprs( //dir=expr + unique int id: @float_literal_expr, + string string_value: string ref +); + +integer_literal_exprs( //dir=expr + unique int id: @integer_literal_expr, + string string_value: string ref +); + +@pattern = + @any_pattern +| @binding_pattern +| @bool_pattern +| @enum_element_pattern +| @expr_pattern +| @is_pattern +| @named_pattern +| @optional_some_pattern +| @paren_pattern +| @tuple_pattern +| @typed_pattern +; + +#keyset[id] +pattern_types( //dir=pattern + int id: @pattern ref, + int type_: @type_or_none ref +); + +any_patterns( //dir=pattern + unique int id: @any_pattern +); + +binding_patterns( //dir=pattern + unique int id: @binding_pattern, + int sub_pattern: @pattern_or_none ref +); + +bool_patterns( //dir=pattern + unique int id: @bool_pattern, + boolean value: boolean ref +); + +enum_element_patterns( //dir=pattern + unique int id: @enum_element_pattern, + int element: @enum_element_decl_or_none ref +); + +#keyset[id] +enum_element_pattern_sub_patterns( //dir=pattern + int id: @enum_element_pattern ref, + int sub_pattern: @pattern_or_none ref +); + +expr_patterns( //dir=pattern + unique int id: @expr_pattern, + int sub_expr: @expr_or_none ref +); + +is_patterns( //dir=pattern + unique int id: @is_pattern +); + +#keyset[id] +is_pattern_cast_type_reprs( //dir=pattern + int id: @is_pattern ref, + int cast_type_repr: @type_repr_or_none ref +); + +#keyset[id] +is_pattern_sub_patterns( //dir=pattern + int id: @is_pattern ref, + int sub_pattern: @pattern_or_none ref +); + +named_patterns( //dir=pattern + unique int id: @named_pattern, + int var_decl: @var_decl_or_none ref +); + +optional_some_patterns( //dir=pattern + unique int id: @optional_some_pattern, + int sub_pattern: @pattern_or_none ref +); + +paren_patterns( //dir=pattern + unique int id: @paren_pattern, + int sub_pattern: @pattern_or_none ref +); + +tuple_patterns( //dir=pattern + unique int id: @tuple_pattern +); + +#keyset[id, index] +tuple_pattern_elements( //dir=pattern + int id: @tuple_pattern ref, + int index: int ref, + int element: @pattern_or_none ref +); + +typed_patterns( //dir=pattern + unique int id: @typed_pattern, + int sub_pattern: @pattern_or_none ref +); + +#keyset[id] +typed_pattern_type_reprs( //dir=pattern + int id: @typed_pattern ref, + int type_repr: @type_repr_or_none ref +); + +case_label_items( //dir=stmt + unique int id: @case_label_item, + int pattern: @pattern_or_none ref +); + +#keyset[id] +case_label_item_guards( //dir=stmt + int id: @case_label_item ref, + int guard: @expr_or_none ref +); + +condition_elements( //dir=stmt + unique int id: @condition_element +); + +#keyset[id] +condition_element_booleans( //dir=stmt + int id: @condition_element ref, + int boolean_: @expr_or_none ref +); + +#keyset[id] +condition_element_patterns( //dir=stmt + int id: @condition_element ref, + int pattern: @pattern_or_none ref +); + +#keyset[id] +condition_element_initializers( //dir=stmt + int id: @condition_element ref, + int initializer: @expr_or_none ref +); + +#keyset[id] +condition_element_availabilities( //dir=stmt + int id: @condition_element ref, + int availability: @availability_info_or_none ref +); + +@stmt = + @brace_stmt +| @break_stmt +| @case_stmt +| @continue_stmt +| @defer_stmt +| @discard_stmt +| @fail_stmt +| @fallthrough_stmt +| @labeled_stmt +| @pound_assert_stmt +| @return_stmt +| @then_stmt +| @throw_stmt +| @yield_stmt +; + +stmt_conditions( //dir=stmt + unique int id: @stmt_condition +); + +#keyset[id, index] +stmt_condition_elements( //dir=stmt + int id: @stmt_condition ref, + int index: int ref, + int element: @condition_element_or_none ref +); + +brace_stmts( //dir=stmt + unique int id: @brace_stmt +); + +#keyset[id, index] +brace_stmt_elements( //dir=stmt + int id: @brace_stmt ref, + int index: int ref, + int element: @ast_node_or_none ref +); + +break_stmts( //dir=stmt + unique int id: @break_stmt +); + +#keyset[id] +break_stmt_target_names( //dir=stmt + int id: @break_stmt ref, + string target_name: string ref +); + +#keyset[id] +break_stmt_targets( //dir=stmt + int id: @break_stmt ref, + int target: @stmt_or_none ref +); + +case_stmts( //dir=stmt + unique int id: @case_stmt, + int body: @stmt_or_none ref +); + +#keyset[id, index] +case_stmt_labels( //dir=stmt + int id: @case_stmt ref, + int index: int ref, + int label: @case_label_item_or_none ref +); + +#keyset[id, index] +case_stmt_variables( //dir=stmt + int id: @case_stmt ref, + int index: int ref, + int variable: @var_decl_or_none ref +); + +continue_stmts( //dir=stmt + unique int id: @continue_stmt +); + +#keyset[id] +continue_stmt_target_names( //dir=stmt + int id: @continue_stmt ref, + string target_name: string ref +); + +#keyset[id] +continue_stmt_targets( //dir=stmt + int id: @continue_stmt ref, + int target: @stmt_or_none ref +); + +defer_stmts( //dir=stmt + unique int id: @defer_stmt, + int body: @brace_stmt_or_none ref +); + +discard_stmts( //dir=stmt + unique int id: @discard_stmt, + int sub_expr: @expr_or_none ref +); + +fail_stmts( //dir=stmt + unique int id: @fail_stmt +); + +fallthrough_stmts( //dir=stmt + unique int id: @fallthrough_stmt, + int fallthrough_source: @case_stmt_or_none ref, + int fallthrough_dest: @case_stmt_or_none ref +); + +@labeled_stmt = + @do_catch_stmt +| @do_stmt +| @for_each_stmt +| @labeled_conditional_stmt +| @repeat_while_stmt +| @switch_stmt +; + +#keyset[id] +labeled_stmt_labels( //dir=stmt + int id: @labeled_stmt ref, + string label: string ref +); + +pound_assert_stmts( //dir=stmt + unique int id: @pound_assert_stmt, + int condition: @expr_or_none ref, + string message: string ref +); + +return_stmts( //dir=stmt + unique int id: @return_stmt +); + +#keyset[id] +return_stmt_results( //dir=stmt + int id: @return_stmt ref, + int result: @expr_or_none ref +); + +then_stmts( //dir=stmt + unique int id: @then_stmt, + int result: @expr_or_none ref +); + +throw_stmts( //dir=stmt + unique int id: @throw_stmt, + int sub_expr: @expr_or_none ref +); + +yield_stmts( //dir=stmt + unique int id: @yield_stmt +); + +#keyset[id, index] +yield_stmt_results( //dir=stmt + int id: @yield_stmt ref, + int index: int ref, + int result: @expr_or_none ref +); + +do_catch_stmts( //dir=stmt + unique int id: @do_catch_stmt, + int body: @stmt_or_none ref +); + +#keyset[id, index] +do_catch_stmt_catches( //dir=stmt + int id: @do_catch_stmt ref, + int index: int ref, + int catch: @case_stmt_or_none ref +); + +do_stmts( //dir=stmt + unique int id: @do_stmt, + int body: @brace_stmt_or_none ref +); + +for_each_stmts( //dir=stmt + unique int id: @for_each_stmt, + int pattern: @pattern_or_none ref, + int body: @brace_stmt_or_none ref +); + +#keyset[id] +for_each_stmt_wheres( //dir=stmt + int id: @for_each_stmt ref, + int where: @expr_or_none ref +); + +#keyset[id] +for_each_stmt_iterator_vars( //dir=stmt + int id: @for_each_stmt ref, + int iteratorVar: @pattern_binding_decl_or_none ref +); + +#keyset[id] +for_each_stmt_next_calls( //dir=stmt + int id: @for_each_stmt ref, + int nextCall: @expr_or_none ref +); + +@labeled_conditional_stmt = + @guard_stmt +| @if_stmt +| @while_stmt +; + +#keyset[id] +labeled_conditional_stmts( //dir=stmt + int id: @labeled_conditional_stmt ref, + int condition: @stmt_condition_or_none ref +); + +repeat_while_stmts( //dir=stmt + unique int id: @repeat_while_stmt, + int condition: @expr_or_none ref, + int body: @stmt_or_none ref +); + +switch_stmts( //dir=stmt + unique int id: @switch_stmt, + int expr: @expr_or_none ref +); + +#keyset[id, index] +switch_stmt_cases( //dir=stmt + int id: @switch_stmt ref, + int index: int ref, + int case_: @case_stmt_or_none ref +); + +guard_stmts( //dir=stmt + unique int id: @guard_stmt, + int body: @brace_stmt_or_none ref +); + +if_stmts( //dir=stmt + unique int id: @if_stmt, + int then: @stmt_or_none ref +); + +#keyset[id] +if_stmt_elses( //dir=stmt + int id: @if_stmt ref, + int else: @stmt_or_none ref +); + +while_stmts( //dir=stmt + unique int id: @while_stmt, + int body: @stmt_or_none ref +); + +@type = + @any_function_type +| @any_generic_type +| @any_metatype_type +| @builtin_type +| @dependent_member_type +| @dynamic_self_type +| @error_type +| @existential_type +| @in_out_type +| @l_value_type +| @module_type +| @pack_element_type +| @pack_expansion_type +| @pack_type +| @parameterized_protocol_type +| @protocol_composition_type +| @reference_storage_type +| @substitutable_type +| @sugar_type +| @tuple_type +| @unresolved_type +; + +#keyset[id] +types( //dir=type + int id: @type ref, + string name: string ref, + int canonical_type: @type_or_none ref +); + +type_reprs( //dir=type + unique int id: @type_repr, + int type_: @type_or_none ref +); + +@any_function_type = + @function_type +| @generic_function_type +; + +#keyset[id] +any_function_types( //dir=type + int id: @any_function_type ref, + int result: @type_or_none ref +); + +#keyset[id, index] +any_function_type_param_types( //dir=type + int id: @any_function_type ref, + int index: int ref, + int param_type: @type_or_none ref +); + +#keyset[id] +any_function_type_is_throwing( //dir=type + int id: @any_function_type ref +); + +#keyset[id] +any_function_type_is_async( //dir=type + int id: @any_function_type ref +); + +@any_generic_type = + @nominal_or_bound_generic_nominal_type +| @unbound_generic_type +; + +#keyset[id] +any_generic_types( //dir=type + int id: @any_generic_type ref, + int declaration: @generic_type_decl_or_none ref +); + +#keyset[id] +any_generic_type_parents( //dir=type + int id: @any_generic_type ref, + int parent: @type_or_none ref +); + +@any_metatype_type = + @existential_metatype_type +| @metatype_type +; + +@builtin_type = + @any_builtin_integer_type +| @builtin_bridge_object_type +| @builtin_default_actor_storage_type +| @builtin_executor_type +| @builtin_float_type +| @builtin_job_type +| @builtin_native_object_type +| @builtin_raw_pointer_type +| @builtin_raw_unsafe_continuation_type +| @builtin_unsafe_value_buffer_type +| @builtin_vector_type +; + +dependent_member_types( //dir=type + unique int id: @dependent_member_type, + int base_type: @type_or_none ref, + int associated_type_decl: @associated_type_decl_or_none ref +); + +dynamic_self_types( //dir=type + unique int id: @dynamic_self_type, + int static_self_type: @type_or_none ref +); + +error_types( //dir=type + unique int id: @error_type +); + +existential_types( //dir=type + unique int id: @existential_type, + int constraint: @type_or_none ref +); + +in_out_types( //dir=type + unique int id: @in_out_type, + int object_type: @type_or_none ref +); + +l_value_types( //dir=type + unique int id: @l_value_type, + int object_type: @type_or_none ref +); + +module_types( //dir=type + unique int id: @module_type, + int module: @module_decl_or_none ref +); + +pack_element_types( //dir=type + unique int id: @pack_element_type, + int pack_type: @type_or_none ref +); + +pack_expansion_types( //dir=type + unique int id: @pack_expansion_type, + int pattern_type: @type_or_none ref, + int count_type: @type_or_none ref +); + +pack_types( //dir=type + unique int id: @pack_type +); + +#keyset[id, index] +pack_type_elements( //dir=type + int id: @pack_type ref, + int index: int ref, + int element: @type_or_none ref +); + +parameterized_protocol_types( //dir=type + unique int id: @parameterized_protocol_type, + int base: @protocol_type_or_none ref +); + +#keyset[id, index] +parameterized_protocol_type_args( //dir=type + int id: @parameterized_protocol_type ref, + int index: int ref, + int arg: @type_or_none ref +); + +protocol_composition_types( //dir=type + unique int id: @protocol_composition_type +); + +#keyset[id, index] +protocol_composition_type_members( //dir=type + int id: @protocol_composition_type ref, + int index: int ref, + int member: @type_or_none ref +); + +@reference_storage_type = + @unmanaged_storage_type +| @unowned_storage_type +| @weak_storage_type +; + +#keyset[id] +reference_storage_types( //dir=type + int id: @reference_storage_type ref, + int referent_type: @type_or_none ref +); + +@substitutable_type = + @archetype_type +| @generic_type_param_type +; + +@sugar_type = + @paren_type +| @syntax_sugar_type +| @type_alias_type +; + +tuple_types( //dir=type + unique int id: @tuple_type +); + +#keyset[id, index] +tuple_type_types( //dir=type + int id: @tuple_type ref, + int index: int ref, + int type_: @type_or_none ref +); + +#keyset[id, index] +tuple_type_names( //dir=type + int id: @tuple_type ref, + int index: int ref, + string name: string ref +); + +unresolved_types( //dir=type + unique int id: @unresolved_type +); + +@any_builtin_integer_type = + @builtin_integer_literal_type +| @builtin_integer_type +; + +@archetype_type = + @local_archetype_type +| @opaque_type_archetype_type +| @pack_archetype_type +| @primary_archetype_type +; + +#keyset[id] +archetype_types( //dir=type + int id: @archetype_type ref, + int interface_type: @type_or_none ref +); + +#keyset[id] +archetype_type_superclasses( //dir=type + int id: @archetype_type ref, + int superclass: @type_or_none ref +); + +#keyset[id, index] +archetype_type_protocols( //dir=type + int id: @archetype_type ref, + int index: int ref, + int protocol: @protocol_decl_or_none ref +); + +builtin_bridge_object_types( //dir=type + unique int id: @builtin_bridge_object_type +); + +builtin_default_actor_storage_types( //dir=type + unique int id: @builtin_default_actor_storage_type +); + +builtin_executor_types( //dir=type + unique int id: @builtin_executor_type +); + +builtin_float_types( //dir=type + unique int id: @builtin_float_type +); + +builtin_job_types( //dir=type + unique int id: @builtin_job_type +); + +builtin_native_object_types( //dir=type + unique int id: @builtin_native_object_type +); + +builtin_raw_pointer_types( //dir=type + unique int id: @builtin_raw_pointer_type +); + +builtin_raw_unsafe_continuation_types( //dir=type + unique int id: @builtin_raw_unsafe_continuation_type +); + +builtin_unsafe_value_buffer_types( //dir=type + unique int id: @builtin_unsafe_value_buffer_type +); + +builtin_vector_types( //dir=type + unique int id: @builtin_vector_type +); + +existential_metatype_types( //dir=type + unique int id: @existential_metatype_type +); + +function_types( //dir=type + unique int id: @function_type +); + +generic_function_types( //dir=type + unique int id: @generic_function_type +); + +#keyset[id, index] +generic_function_type_generic_params( //dir=type + int id: @generic_function_type ref, + int index: int ref, + int generic_param: @generic_type_param_type_or_none ref +); + +generic_type_param_types( //dir=type + unique int id: @generic_type_param_type +); + +metatype_types( //dir=type + unique int id: @metatype_type +); + +@nominal_or_bound_generic_nominal_type = + @bound_generic_type +| @nominal_type +; + +paren_types( //dir=type + unique int id: @paren_type, + int type_: @type_or_none ref +); + +@syntax_sugar_type = + @dictionary_type +| @unary_syntax_sugar_type +; + +type_alias_types( //dir=type + unique int id: @type_alias_type, + int decl: @type_alias_decl_or_none ref +); + +unbound_generic_types( //dir=type + unique int id: @unbound_generic_type +); + +unmanaged_storage_types( //dir=type + unique int id: @unmanaged_storage_type +); + +unowned_storage_types( //dir=type + unique int id: @unowned_storage_type +); + +weak_storage_types( //dir=type + unique int id: @weak_storage_type +); + +@bound_generic_type = + @bound_generic_class_type +| @bound_generic_enum_type +| @bound_generic_struct_type +; + +#keyset[id, index] +bound_generic_type_arg_types( //dir=type + int id: @bound_generic_type ref, + int index: int ref, + int arg_type: @type_or_none ref +); + +builtin_integer_literal_types( //dir=type + unique int id: @builtin_integer_literal_type +); + +builtin_integer_types( //dir=type + unique int id: @builtin_integer_type +); + +#keyset[id] +builtin_integer_type_widths( //dir=type + int id: @builtin_integer_type ref, + int width: int ref +); + +dictionary_types( //dir=type + unique int id: @dictionary_type, + int key_type: @type_or_none ref, + int value_type: @type_or_none ref +); + +@local_archetype_type = + @element_archetype_type +| @opened_archetype_type +; + +@nominal_type = + @class_type +| @enum_type +| @protocol_type +| @struct_type +; + +opaque_type_archetype_types( //dir=type + unique int id: @opaque_type_archetype_type, + int declaration: @opaque_type_decl_or_none ref +); + +pack_archetype_types( //dir=type + unique int id: @pack_archetype_type +); + +primary_archetype_types( //dir=type + unique int id: @primary_archetype_type +); + +@unary_syntax_sugar_type = + @array_slice_type +| @optional_type +| @variadic_sequence_type +; + +#keyset[id] +unary_syntax_sugar_types( //dir=type + int id: @unary_syntax_sugar_type ref, + int base_type: @type_or_none ref +); + +array_slice_types( //dir=type + unique int id: @array_slice_type +); + +bound_generic_class_types( //dir=type + unique int id: @bound_generic_class_type +); + +bound_generic_enum_types( //dir=type + unique int id: @bound_generic_enum_type +); + +bound_generic_struct_types( //dir=type + unique int id: @bound_generic_struct_type +); + +class_types( //dir=type + unique int id: @class_type +); + +element_archetype_types( //dir=type + unique int id: @element_archetype_type +); + +enum_types( //dir=type + unique int id: @enum_type +); + +opened_archetype_types( //dir=type + unique int id: @opened_archetype_type +); + +optional_types( //dir=type + unique int id: @optional_type +); + +protocol_types( //dir=type + unique int id: @protocol_type +); + +struct_types( //dir=type + unique int id: @struct_type +); + +variadic_sequence_types( //dir=type + unique int id: @variadic_sequence_type +); + +@accessor_or_none = + @accessor +| @unspecified_element +; + +@argument_or_none = + @argument +| @unspecified_element +; + +@associated_type_decl_or_none = + @associated_type_decl +| @unspecified_element +; + +@ast_node_or_none = + @ast_node +| @unspecified_element +; + +@availability_info_or_none = + @availability_info +| @unspecified_element +; + +@availability_spec_or_none = + @availability_spec +| @unspecified_element +; + +@brace_stmt_or_none = + @brace_stmt +| @unspecified_element +; + +@captured_decl_or_none = + @captured_decl +| @unspecified_element +; + +@case_label_item_or_none = + @case_label_item +| @unspecified_element +; + +@case_stmt_or_none = + @case_stmt +| @unspecified_element +; + +@closure_expr_or_none = + @closure_expr +| @unspecified_element +; + +@condition_element_or_none = + @condition_element +| @unspecified_element +; + +@decl_or_none = + @decl +| @unspecified_element +; + +@enum_element_decl_or_none = + @enum_element_decl +| @unspecified_element +; + +@expr_or_none = + @expr +| @unspecified_element +; + +@file_or_none = + @file +| @unspecified_element +; + +@function_or_none = + @function +| @unspecified_element +; + +@generic_type_decl_or_none = + @generic_type_decl +| @unspecified_element +; + +@generic_type_param_decl_or_none = + @generic_type_param_decl +| @unspecified_element +; + +@generic_type_param_type_or_none = + @generic_type_param_type +| @unspecified_element +; + +@initializer_or_none = + @initializer +| @unspecified_element +; + +@key_path_component_or_none = + @key_path_component +| @unspecified_element +; + +@location_or_none = + @location +| @unspecified_element +; + +@macro_role_or_none = + @macro_role +| @unspecified_element +; + +@module_decl_or_none = + @module_decl +| @unspecified_element +; + +@nominal_type_decl_or_none = + @nominal_type_decl +| @unspecified_element +; + +@opaque_type_decl_or_none = + @opaque_type_decl +| @unspecified_element +; + +@opaque_value_expr_or_none = + @opaque_value_expr +| @unspecified_element +; + +@param_decl_or_none = + @param_decl +| @unspecified_element +; + +@pattern_or_none = + @pattern +| @unspecified_element +; + +@pattern_binding_decl_or_none = + @pattern_binding_decl +| @unspecified_element +; + +@precedence_group_decl_or_none = + @precedence_group_decl +| @unspecified_element +; + +@protocol_decl_or_none = + @protocol_decl +| @unspecified_element +; + +@protocol_type_or_none = + @protocol_type +| @unspecified_element +; + +@stmt_or_none = + @stmt +| @unspecified_element +; + +@stmt_condition_or_none = + @stmt_condition +| @unspecified_element +; + +@string_literal_expr_or_none = + @string_literal_expr +| @unspecified_element +; + +@tap_expr_or_none = + @tap_expr +| @unspecified_element +; + +@type_or_none = + @type +| @unspecified_element +; + +@type_alias_decl_or_none = + @type_alias_decl +| @unspecified_element +; + +@type_expr_or_none = + @type_expr +| @unspecified_element +; + +@type_repr_or_none = + @type_repr +| @unspecified_element +; + +@value_decl_or_none = + @unspecified_element +| @value_decl +; + +@var_decl_or_none = + @unspecified_element +| @var_decl +; diff --git a/swift/ql/lib/upgrades/1a24fefd78baf8af6c104d9e63849f3f6e1ef1a3/swift.dbscheme b/swift/ql/lib/upgrades/1a24fefd78baf8af6c104d9e63849f3f6e1ef1a3/swift.dbscheme new file mode 100644 index 000000000000..44c4818a8987 --- /dev/null +++ b/swift/ql/lib/upgrades/1a24fefd78baf8af6c104d9e63849f3f6e1ef1a3/swift.dbscheme @@ -0,0 +1,2786 @@ +// generated by codegen/codegen.py, do not edit + +// from prefix.dbscheme +/** + * The source location of the snapshot. + */ +sourceLocationPrefix( + string prefix: string ref +); + + +// from schema.py + +@element = + @file +| @generic_context +| @locatable +| @location +| @type +; + +#keyset[id] +element_is_unknown( + int id: @element ref +); + +@file = + @db_file +; + +#keyset[id] +files( + int id: @file ref, + string name: string ref +); + +#keyset[id] +file_is_successfully_extracted( + int id: @file ref +); + +@locatable = + @argument +| @ast_node +| @comment +| @diagnostics +| @error_element +; + +#keyset[id] +locatable_locations( + int id: @locatable ref, + int location: @location_or_none ref +); + +@location = + @db_location +; + +#keyset[id] +locations( + int id: @location ref, + int file: @file_or_none ref, + int start_line: int ref, + int start_column: int ref, + int end_line: int ref, + int end_column: int ref +); + +@ast_node = + @availability_info +| @availability_spec +| @callable +| @case_label_item +| @condition_element +| @decl +| @expr +| @key_path_component +| @macro_role +| @pattern +| @stmt +| @stmt_condition +| @type_repr +; + +comments( + unique int id: @comment, + string text: string ref +); + +db_files( + unique int id: @db_file +); + +db_locations( + unique int id: @db_location +); + +diagnostics( + unique int id: @diagnostics, + string text: string ref, + int kind: int ref +); + +@error_element = + @error_expr +| @error_type +| @overloaded_decl_ref_expr +| @unresolved_decl_ref_expr +| @unresolved_dot_expr +| @unresolved_member_chain_result_expr +| @unresolved_member_expr +| @unresolved_pattern_expr +| @unresolved_specialize_expr +| @unresolved_type +| @unresolved_type_conversion_expr +| @unspecified_element +; + +availability_infos( + unique int id: @availability_info +); + +#keyset[id] +availability_info_is_unavailable( + int id: @availability_info ref +); + +#keyset[id, index] +availability_info_specs( + int id: @availability_info ref, + int index: int ref, + int spec: @availability_spec_or_none ref +); + +@availability_spec = + @other_availability_spec +| @platform_version_availability_spec +; + +@callable = + @closure_expr +| @function +; + +#keyset[id] +callable_names( + int id: @callable ref, + string name: string ref +); + +#keyset[id] +callable_self_params( + int id: @callable ref, + int self_param: @param_decl_or_none ref +); + +#keyset[id, index] +callable_params( + int id: @callable ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +#keyset[id] +callable_bodies( + int id: @callable ref, + int body: @brace_stmt_or_none ref +); + +#keyset[id, index] +callable_captures( + int id: @callable ref, + int index: int ref, + int capture: @captured_decl_or_none ref +); + +key_path_components( + unique int id: @key_path_component, + int kind: int ref, + int component_type: @type_or_none ref +); + +#keyset[id, index] +key_path_component_subscript_arguments( + int id: @key_path_component ref, + int index: int ref, + int subscript_argument: @argument_or_none ref +); + +#keyset[id] +key_path_component_tuple_indices( + int id: @key_path_component ref, + int tuple_index: int ref +); + +#keyset[id] +key_path_component_decl_refs( + int id: @key_path_component ref, + int decl_ref: @value_decl_or_none ref +); + +macro_roles( + unique int id: @macro_role, + int kind: int ref, + int macro_syntax: int ref +); + +#keyset[id, index] +macro_role_conformances( + int id: @macro_role ref, + int index: int ref, + int conformance: @type_expr_or_none ref +); + +#keyset[id, index] +macro_role_names( + int id: @macro_role ref, + int index: int ref, + string name: string ref +); + +unspecified_elements( + unique int id: @unspecified_element, + string property: string ref, + string error: string ref +); + +#keyset[id] +unspecified_element_parents( + int id: @unspecified_element ref, + int parent: @element ref +); + +#keyset[id] +unspecified_element_indices( + int id: @unspecified_element ref, + int index: int ref +); + +#keyset[id, index] +unspecified_element_children( + int id: @unspecified_element ref, + int index: int ref, + int child: @ast_node_or_none ref +); + +other_availability_specs( + unique int id: @other_availability_spec +); + +platform_version_availability_specs( + unique int id: @platform_version_availability_spec, + string platform: string ref, + string version: string ref +); + +@decl = + @captured_decl +| @enum_case_decl +| @extension_decl +| @if_config_decl +| @import_decl +| @missing_member_decl +| @operator_decl +| @pattern_binding_decl +| @pound_diagnostic_decl +| @precedence_group_decl +| @top_level_code_decl +| @value_decl +; + +#keyset[id] +decls( //dir=decl + int id: @decl ref, + int module: @module_decl_or_none ref +); + +#keyset[id, index] +decl_members( //dir=decl + int id: @decl ref, + int index: int ref, + int member: @decl_or_none ref +); + +@generic_context = + @extension_decl +| @function +| @generic_type_decl +| @macro_decl +| @subscript_decl +; + +#keyset[id, index] +generic_context_generic_type_params( //dir=decl + int id: @generic_context ref, + int index: int ref, + int generic_type_param: @generic_type_param_decl_or_none ref +); + +captured_decls( //dir=decl + unique int id: @captured_decl, + int decl: @value_decl_or_none ref +); + +#keyset[id] +captured_decl_is_direct( //dir=decl + int id: @captured_decl ref +); + +#keyset[id] +captured_decl_is_escaping( //dir=decl + int id: @captured_decl ref +); + +enum_case_decls( //dir=decl + unique int id: @enum_case_decl +); + +#keyset[id, index] +enum_case_decl_elements( //dir=decl + int id: @enum_case_decl ref, + int index: int ref, + int element: @enum_element_decl_or_none ref +); + +extension_decls( //dir=decl + unique int id: @extension_decl, + int extended_type_decl: @nominal_type_decl_or_none ref +); + +#keyset[id, index] +extension_decl_protocols( //dir=decl + int id: @extension_decl ref, + int index: int ref, + int protocol: @protocol_decl_or_none ref +); + +if_config_decls( //dir=decl + unique int id: @if_config_decl +); + +#keyset[id, index] +if_config_decl_active_elements( //dir=decl + int id: @if_config_decl ref, + int index: int ref, + int active_element: @ast_node_or_none ref +); + +import_decls( //dir=decl + unique int id: @import_decl +); + +#keyset[id] +import_decl_is_exported( //dir=decl + int id: @import_decl ref +); + +#keyset[id] +import_decl_imported_modules( //dir=decl + int id: @import_decl ref, + int imported_module: @module_decl_or_none ref +); + +#keyset[id, index] +import_decl_declarations( //dir=decl + int id: @import_decl ref, + int index: int ref, + int declaration: @value_decl_or_none ref +); + +missing_member_decls( //dir=decl + unique int id: @missing_member_decl, + string name: string ref +); + +@operator_decl = + @infix_operator_decl +| @postfix_operator_decl +| @prefix_operator_decl +; + +#keyset[id] +operator_decls( //dir=decl + int id: @operator_decl ref, + string name: string ref +); + +pattern_binding_decls( //dir=decl + unique int id: @pattern_binding_decl +); + +#keyset[id, index] +pattern_binding_decl_inits( //dir=decl + int id: @pattern_binding_decl ref, + int index: int ref, + int init: @expr_or_none ref +); + +#keyset[id, index] +pattern_binding_decl_patterns( //dir=decl + int id: @pattern_binding_decl ref, + int index: int ref, + int pattern: @pattern_or_none ref +); + +pound_diagnostic_decls( //dir=decl + unique int id: @pound_diagnostic_decl, + int kind: int ref, + int message: @string_literal_expr_or_none ref +); + +precedence_group_decls( //dir=decl + unique int id: @precedence_group_decl +); + +top_level_code_decls( //dir=decl + unique int id: @top_level_code_decl, + int body: @brace_stmt_or_none ref +); + +@value_decl = + @abstract_storage_decl +| @enum_element_decl +| @function +| @macro_decl +| @type_decl +; + +#keyset[id] +value_decls( //dir=decl + int id: @value_decl ref, + int interface_type: @type_or_none ref +); + +@abstract_storage_decl = + @subscript_decl +| @var_decl +; + +#keyset[id, index] +abstract_storage_decl_accessors( //dir=decl + int id: @abstract_storage_decl ref, + int index: int ref, + int accessor: @accessor_or_none ref +); + +enum_element_decls( //dir=decl + unique int id: @enum_element_decl, + string name: string ref +); + +#keyset[id, index] +enum_element_decl_params( //dir=decl + int id: @enum_element_decl ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +@function = + @accessor_or_named_function +| @deinitializer +| @initializer +; + +infix_operator_decls( //dir=decl + unique int id: @infix_operator_decl +); + +#keyset[id] +infix_operator_decl_precedence_groups( //dir=decl + int id: @infix_operator_decl ref, + int precedence_group: @precedence_group_decl_or_none ref +); + +macro_decls( //dir=decl + unique int id: @macro_decl, + string name: string ref +); + +#keyset[id, index] +macro_decl_parameters( //dir=decl + int id: @macro_decl ref, + int index: int ref, + int parameter: @param_decl_or_none ref +); + +#keyset[id, index] +macro_decl_roles( //dir=decl + int id: @macro_decl ref, + int index: int ref, + int role: @macro_role_or_none ref +); + +postfix_operator_decls( //dir=decl + unique int id: @postfix_operator_decl +); + +prefix_operator_decls( //dir=decl + unique int id: @prefix_operator_decl +); + +@type_decl = + @abstract_type_param_decl +| @generic_type_decl +| @module_decl +; + +#keyset[id] +type_decls( //dir=decl + int id: @type_decl ref, + string name: string ref +); + +#keyset[id, index] +type_decl_inherited_types( //dir=decl + int id: @type_decl ref, + int index: int ref, + int inherited_type: @type_or_none ref +); + +@abstract_type_param_decl = + @associated_type_decl +| @generic_type_param_decl +; + +@accessor_or_named_function = + @accessor +| @named_function +; + +deinitializers( //dir=decl + unique int id: @deinitializer +); + +@generic_type_decl = + @nominal_type_decl +| @opaque_type_decl +| @type_alias_decl +; + +initializers( //dir=decl + unique int id: @initializer +); + +module_decls( //dir=decl + unique int id: @module_decl +); + +#keyset[id] +module_decl_is_builtin_module( //dir=decl + int id: @module_decl ref +); + +#keyset[id] +module_decl_is_system_module( //dir=decl + int id: @module_decl ref +); + +module_decl_imported_modules( //dir=decl + int id: @module_decl ref, + int imported_module: @module_decl_or_none ref +); + +module_decl_exported_modules( //dir=decl + int id: @module_decl ref, + int exported_module: @module_decl_or_none ref +); + +subscript_decls( //dir=decl + unique int id: @subscript_decl, + int element_type: @type_or_none ref +); + +#keyset[id, index] +subscript_decl_params( //dir=decl + int id: @subscript_decl ref, + int index: int ref, + int param: @param_decl_or_none ref +); + +@var_decl = + @concrete_var_decl +| @param_decl +; + +#keyset[id] +var_decls( //dir=decl + int id: @var_decl ref, + string name: string ref, + int type_: @type_or_none ref +); + +#keyset[id] +var_decl_attached_property_wrapper_types( //dir=decl + int id: @var_decl ref, + int attached_property_wrapper_type: @type_or_none ref +); + +#keyset[id] +var_decl_parent_patterns( //dir=decl + int id: @var_decl ref, + int parent_pattern: @pattern_or_none ref +); + +#keyset[id] +var_decl_parent_initializers( //dir=decl + int id: @var_decl ref, + int parent_initializer: @expr_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_backing_var_bindings( //dir=decl + int id: @var_decl ref, + int property_wrapper_backing_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_backing_vars( //dir=decl + int id: @var_decl ref, + int property_wrapper_backing_var: @var_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_projection_var_bindings( //dir=decl + int id: @var_decl ref, + int property_wrapper_projection_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +var_decl_property_wrapper_projection_vars( //dir=decl + int id: @var_decl ref, + int property_wrapper_projection_var: @var_decl_or_none ref +); + +accessors( //dir=decl + unique int id: @accessor +); + +#keyset[id] +accessor_is_getter( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_setter( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_will_set( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_did_set( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_read( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_modify( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_unsafe_address( //dir=decl + int id: @accessor ref +); + +#keyset[id] +accessor_is_unsafe_mutable_address( //dir=decl + int id: @accessor ref +); + +associated_type_decls( //dir=decl + unique int id: @associated_type_decl +); + +concrete_var_decls( //dir=decl + unique int id: @concrete_var_decl, + int introducer_int: int ref +); + +generic_type_param_decls( //dir=decl + unique int id: @generic_type_param_decl +); + +named_functions( //dir=decl + unique int id: @named_function +); + +@nominal_type_decl = + @class_decl +| @enum_decl +| @protocol_decl +| @struct_decl +; + +#keyset[id] +nominal_type_decls( //dir=decl + int id: @nominal_type_decl ref, + int type_: @type_or_none ref +); + +opaque_type_decls( //dir=decl + unique int id: @opaque_type_decl, + int naming_declaration: @value_decl_or_none ref +); + +#keyset[id, index] +opaque_type_decl_opaque_generic_params( //dir=decl + int id: @opaque_type_decl ref, + int index: int ref, + int opaque_generic_param: @generic_type_param_type_or_none ref +); + +param_decls( //dir=decl + unique int id: @param_decl +); + +#keyset[id] +param_decl_is_inout( //dir=decl + int id: @param_decl ref +); + +#keyset[id] +param_decl_property_wrapper_local_wrapped_var_bindings( //dir=decl + int id: @param_decl ref, + int property_wrapper_local_wrapped_var_binding: @pattern_binding_decl_or_none ref +); + +#keyset[id] +param_decl_property_wrapper_local_wrapped_vars( //dir=decl + int id: @param_decl ref, + int property_wrapper_local_wrapped_var: @var_decl_or_none ref +); + +type_alias_decls( //dir=decl + unique int id: @type_alias_decl, + int aliased_type: @type_or_none ref +); + +class_decls( //dir=decl + unique int id: @class_decl +); + +enum_decls( //dir=decl + unique int id: @enum_decl +); + +protocol_decls( //dir=decl + unique int id: @protocol_decl +); + +struct_decls( //dir=decl + unique int id: @struct_decl +); + +arguments( //dir=expr + unique int id: @argument, + string label: string ref, + int expr: @expr_or_none ref +); + +@expr = + @any_try_expr +| @applied_property_wrapper_expr +| @apply_expr +| @assign_expr +| @bind_optional_expr +| @capture_list_expr +| @closure_expr +| @collection_expr +| @consume_expr +| @copy_expr +| @decl_ref_expr +| @default_argument_expr +| @discard_assignment_expr +| @dot_syntax_base_ignored_expr +| @dynamic_type_expr +| @enum_is_case_expr +| @error_expr +| @explicit_cast_expr +| @force_value_expr +| @identity_expr +| @if_expr +| @implicit_conversion_expr +| @in_out_expr +| @key_path_application_expr +| @key_path_dot_expr +| @key_path_expr +| @lazy_initialization_expr +| @literal_expr +| @lookup_expr +| @make_temporarily_escapable_expr +| @materialize_pack_expr +| @obj_c_selector_expr +| @one_way_expr +| @opaque_value_expr +| @open_existential_expr +| @optional_evaluation_expr +| @other_initializer_ref_expr +| @overloaded_decl_ref_expr +| @pack_element_expr +| @pack_expansion_expr +| @property_wrapper_value_placeholder_expr +| @rebind_self_in_initializer_expr +| @sequence_expr +| @single_value_stmt_expr +| @super_ref_expr +| @tap_expr +| @tuple_element_expr +| @tuple_expr +| @type_expr +| @unresolved_decl_ref_expr +| @unresolved_dot_expr +| @unresolved_member_expr +| @unresolved_pattern_expr +| @unresolved_specialize_expr +| @vararg_expansion_expr +; + +#keyset[id] +expr_types( //dir=expr + int id: @expr ref, + int type_: @type_or_none ref +); + +@any_try_expr = + @force_try_expr +| @optional_try_expr +| @try_expr +; + +#keyset[id] +any_try_exprs( //dir=expr + int id: @any_try_expr ref, + int sub_expr: @expr_or_none ref +); + +applied_property_wrapper_exprs( //dir=expr + unique int id: @applied_property_wrapper_expr, + int kind: int ref, + int value: @expr_or_none ref, + int param: @param_decl_or_none ref +); + +@apply_expr = + @binary_expr +| @call_expr +| @postfix_unary_expr +| @prefix_unary_expr +| @self_apply_expr +; + +#keyset[id] +apply_exprs( //dir=expr + int id: @apply_expr ref, + int function: @expr_or_none ref +); + +#keyset[id, index] +apply_expr_arguments( //dir=expr + int id: @apply_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +assign_exprs( //dir=expr + unique int id: @assign_expr, + int dest: @expr_or_none ref, + int source: @expr_or_none ref +); + +bind_optional_exprs( //dir=expr + unique int id: @bind_optional_expr, + int sub_expr: @expr_or_none ref +); + +capture_list_exprs( //dir=expr + unique int id: @capture_list_expr, + int closure_body: @closure_expr_or_none ref +); + +#keyset[id, index] +capture_list_expr_binding_decls( //dir=expr + int id: @capture_list_expr ref, + int index: int ref, + int binding_decl: @pattern_binding_decl_or_none ref +); + +@closure_expr = + @auto_closure_expr +| @explicit_closure_expr +; + +@collection_expr = + @array_expr +| @dictionary_expr +; + +consume_exprs( //dir=expr + unique int id: @consume_expr, + int sub_expr: @expr_or_none ref +); + +copy_exprs( //dir=expr + unique int id: @copy_expr, + int sub_expr: @expr_or_none ref +); + +decl_ref_exprs( //dir=expr + unique int id: @decl_ref_expr, + int decl: @decl_or_none ref +); + +#keyset[id, index] +decl_ref_expr_replacement_types( //dir=expr + int id: @decl_ref_expr ref, + int index: int ref, + int replacement_type: @type_or_none ref +); + +#keyset[id] +decl_ref_expr_has_direct_to_storage_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_ordinary_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +#keyset[id] +decl_ref_expr_has_distributed_thunk_semantics( //dir=expr + int id: @decl_ref_expr ref +); + +default_argument_exprs( //dir=expr + unique int id: @default_argument_expr, + int param_decl: @param_decl_or_none ref, + int param_index: int ref +); + +#keyset[id] +default_argument_expr_caller_side_defaults( //dir=expr + int id: @default_argument_expr ref, + int caller_side_default: @expr_or_none ref +); + +discard_assignment_exprs( //dir=expr + unique int id: @discard_assignment_expr +); + +dot_syntax_base_ignored_exprs( //dir=expr + unique int id: @dot_syntax_base_ignored_expr, + int qualifier: @expr_or_none ref, + int sub_expr: @expr_or_none ref +); + +dynamic_type_exprs( //dir=expr + unique int id: @dynamic_type_expr, + int base: @expr_or_none ref +); + +enum_is_case_exprs( //dir=expr + unique int id: @enum_is_case_expr, + int sub_expr: @expr_or_none ref, + int element: @enum_element_decl_or_none ref +); + +error_exprs( //dir=expr + unique int id: @error_expr +); + +@explicit_cast_expr = + @checked_cast_expr +| @coerce_expr +; + +#keyset[id] +explicit_cast_exprs( //dir=expr + int id: @explicit_cast_expr ref, + int sub_expr: @expr_or_none ref +); + +force_value_exprs( //dir=expr + unique int id: @force_value_expr, + int sub_expr: @expr_or_none ref +); + +@identity_expr = + @await_expr +| @borrow_expr +| @dot_self_expr +| @paren_expr +| @unresolved_member_chain_result_expr +; + +#keyset[id] +identity_exprs( //dir=expr + int id: @identity_expr ref, + int sub_expr: @expr_or_none ref +); + +if_exprs( //dir=expr + unique int id: @if_expr, + int condition: @expr_or_none ref, + int then_expr: @expr_or_none ref, + int else_expr: @expr_or_none ref +); + +@implicit_conversion_expr = + @abi_safe_conversion_expr +| @any_hashable_erasure_expr +| @archetype_to_super_expr +| @array_to_pointer_expr +| @bridge_from_obj_c_expr +| @bridge_to_obj_c_expr +| @class_metatype_to_object_expr +| @collection_upcast_conversion_expr +| @conditional_bridge_from_obj_c_expr +| @covariant_function_conversion_expr +| @covariant_return_conversion_expr +| @derived_to_base_expr +| @destructure_tuple_expr +| @differentiable_function_expr +| @differentiable_function_extract_original_expr +| @erasure_expr +| @existential_metatype_to_object_expr +| @foreign_object_conversion_expr +| @function_conversion_expr +| @in_out_to_pointer_expr +| @inject_into_optional_expr +| @linear_function_expr +| @linear_function_extract_original_expr +| @linear_to_differentiable_function_expr +| @load_expr +| @metatype_conversion_expr +| @pointer_to_pointer_expr +| @protocol_metatype_to_object_expr +| @string_to_pointer_expr +| @underlying_to_opaque_expr +| @unevaluated_instance_expr +| @unresolved_type_conversion_expr +; + +#keyset[id] +implicit_conversion_exprs( //dir=expr + int id: @implicit_conversion_expr ref, + int sub_expr: @expr_or_none ref +); + +in_out_exprs( //dir=expr + unique int id: @in_out_expr, + int sub_expr: @expr_or_none ref +); + +key_path_application_exprs( //dir=expr + unique int id: @key_path_application_expr, + int base: @expr_or_none ref, + int key_path: @expr_or_none ref +); + +key_path_dot_exprs( //dir=expr + unique int id: @key_path_dot_expr +); + +key_path_exprs( //dir=expr + unique int id: @key_path_expr +); + +#keyset[id] +key_path_expr_roots( //dir=expr + int id: @key_path_expr ref, + int root: @type_repr_or_none ref +); + +#keyset[id, index] +key_path_expr_components( //dir=expr + int id: @key_path_expr ref, + int index: int ref, + int component: @key_path_component_or_none ref +); + +lazy_initialization_exprs( //dir=expr + unique int id: @lazy_initialization_expr, + int sub_expr: @expr_or_none ref +); + +@literal_expr = + @builtin_literal_expr +| @interpolated_string_literal_expr +| @nil_literal_expr +| @object_literal_expr +| @regex_literal_expr +; + +@lookup_expr = + @dynamic_lookup_expr +| @member_ref_expr +| @subscript_expr +; + +#keyset[id] +lookup_exprs( //dir=expr + int id: @lookup_expr ref, + int base: @expr_or_none ref +); + +#keyset[id] +lookup_expr_members( //dir=expr + int id: @lookup_expr ref, + int member: @decl_or_none ref +); + +make_temporarily_escapable_exprs( //dir=expr + unique int id: @make_temporarily_escapable_expr, + int escaping_closure: @opaque_value_expr_or_none ref, + int nonescaping_closure: @expr_or_none ref, + int sub_expr: @expr_or_none ref +); + +materialize_pack_exprs( //dir=expr + unique int id: @materialize_pack_expr, + int sub_expr: @expr_or_none ref +); + +obj_c_selector_exprs( //dir=expr + unique int id: @obj_c_selector_expr, + int sub_expr: @expr_or_none ref, + int method: @function_or_none ref +); + +one_way_exprs( //dir=expr + unique int id: @one_way_expr, + int sub_expr: @expr_or_none ref +); + +opaque_value_exprs( //dir=expr + unique int id: @opaque_value_expr +); + +open_existential_exprs( //dir=expr + unique int id: @open_existential_expr, + int sub_expr: @expr_or_none ref, + int existential: @expr_or_none ref, + int opaque_expr: @opaque_value_expr_or_none ref +); + +optional_evaluation_exprs( //dir=expr + unique int id: @optional_evaluation_expr, + int sub_expr: @expr_or_none ref +); + +other_initializer_ref_exprs( //dir=expr + unique int id: @other_initializer_ref_expr, + int initializer: @initializer_or_none ref +); + +overloaded_decl_ref_exprs( //dir=expr + unique int id: @overloaded_decl_ref_expr +); + +#keyset[id, index] +overloaded_decl_ref_expr_possible_declarations( //dir=expr + int id: @overloaded_decl_ref_expr ref, + int index: int ref, + int possible_declaration: @value_decl_or_none ref +); + +pack_element_exprs( //dir=expr + unique int id: @pack_element_expr, + int sub_expr: @expr_or_none ref +); + +pack_expansion_exprs( //dir=expr + unique int id: @pack_expansion_expr, + int pattern_expr: @expr_or_none ref +); + +property_wrapper_value_placeholder_exprs( //dir=expr + unique int id: @property_wrapper_value_placeholder_expr, + int placeholder: @opaque_value_expr_or_none ref +); + +#keyset[id] +property_wrapper_value_placeholder_expr_wrapped_values( //dir=expr + int id: @property_wrapper_value_placeholder_expr ref, + int wrapped_value: @expr_or_none ref +); + +rebind_self_in_initializer_exprs( //dir=expr + unique int id: @rebind_self_in_initializer_expr, + int sub_expr: @expr_or_none ref, + int self: @var_decl_or_none ref +); + +sequence_exprs( //dir=expr + unique int id: @sequence_expr +); + +#keyset[id, index] +sequence_expr_elements( //dir=expr + int id: @sequence_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +single_value_stmt_exprs( //dir=expr + unique int id: @single_value_stmt_expr, + int stmt: @stmt_or_none ref +); + +super_ref_exprs( //dir=expr + unique int id: @super_ref_expr, + int self: @var_decl_or_none ref +); + +tap_exprs( //dir=expr + unique int id: @tap_expr, + int body: @brace_stmt_or_none ref, + int var: @var_decl_or_none ref +); + +#keyset[id] +tap_expr_sub_exprs( //dir=expr + int id: @tap_expr ref, + int sub_expr: @expr_or_none ref +); + +tuple_element_exprs( //dir=expr + unique int id: @tuple_element_expr, + int sub_expr: @expr_or_none ref, + int index: int ref +); + +tuple_exprs( //dir=expr + unique int id: @tuple_expr +); + +#keyset[id, index] +tuple_expr_elements( //dir=expr + int id: @tuple_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +type_exprs( //dir=expr + unique int id: @type_expr +); + +#keyset[id] +type_expr_type_reprs( //dir=expr + int id: @type_expr ref, + int type_repr: @type_repr_or_none ref +); + +unresolved_decl_ref_exprs( //dir=expr + unique int id: @unresolved_decl_ref_expr +); + +#keyset[id] +unresolved_decl_ref_expr_names( //dir=expr + int id: @unresolved_decl_ref_expr ref, + string name: string ref +); + +unresolved_dot_exprs( //dir=expr + unique int id: @unresolved_dot_expr, + int base: @expr_or_none ref, + string name: string ref +); + +unresolved_member_exprs( //dir=expr + unique int id: @unresolved_member_expr, + string name: string ref +); + +unresolved_pattern_exprs( //dir=expr + unique int id: @unresolved_pattern_expr, + int sub_pattern: @pattern_or_none ref +); + +unresolved_specialize_exprs( //dir=expr + unique int id: @unresolved_specialize_expr, + int sub_expr: @expr_or_none ref +); + +vararg_expansion_exprs( //dir=expr + unique int id: @vararg_expansion_expr, + int sub_expr: @expr_or_none ref +); + +abi_safe_conversion_exprs( //dir=expr + unique int id: @abi_safe_conversion_expr +); + +any_hashable_erasure_exprs( //dir=expr + unique int id: @any_hashable_erasure_expr +); + +archetype_to_super_exprs( //dir=expr + unique int id: @archetype_to_super_expr +); + +array_exprs( //dir=expr + unique int id: @array_expr +); + +#keyset[id, index] +array_expr_elements( //dir=expr + int id: @array_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +array_to_pointer_exprs( //dir=expr + unique int id: @array_to_pointer_expr +); + +auto_closure_exprs( //dir=expr + unique int id: @auto_closure_expr +); + +await_exprs( //dir=expr + unique int id: @await_expr +); + +binary_exprs( //dir=expr + unique int id: @binary_expr +); + +borrow_exprs( //dir=expr + unique int id: @borrow_expr +); + +bridge_from_obj_c_exprs( //dir=expr + unique int id: @bridge_from_obj_c_expr +); + +bridge_to_obj_c_exprs( //dir=expr + unique int id: @bridge_to_obj_c_expr +); + +@builtin_literal_expr = + @boolean_literal_expr +| @magic_identifier_literal_expr +| @number_literal_expr +| @string_literal_expr +; + +call_exprs( //dir=expr + unique int id: @call_expr +); + +@checked_cast_expr = + @conditional_checked_cast_expr +| @forced_checked_cast_expr +| @is_expr +; + +class_metatype_to_object_exprs( //dir=expr + unique int id: @class_metatype_to_object_expr +); + +coerce_exprs( //dir=expr + unique int id: @coerce_expr +); + +collection_upcast_conversion_exprs( //dir=expr + unique int id: @collection_upcast_conversion_expr +); + +conditional_bridge_from_obj_c_exprs( //dir=expr + unique int id: @conditional_bridge_from_obj_c_expr +); + +covariant_function_conversion_exprs( //dir=expr + unique int id: @covariant_function_conversion_expr +); + +covariant_return_conversion_exprs( //dir=expr + unique int id: @covariant_return_conversion_expr +); + +derived_to_base_exprs( //dir=expr + unique int id: @derived_to_base_expr +); + +destructure_tuple_exprs( //dir=expr + unique int id: @destructure_tuple_expr +); + +dictionary_exprs( //dir=expr + unique int id: @dictionary_expr +); + +#keyset[id, index] +dictionary_expr_elements( //dir=expr + int id: @dictionary_expr ref, + int index: int ref, + int element: @expr_or_none ref +); + +differentiable_function_exprs( //dir=expr + unique int id: @differentiable_function_expr +); + +differentiable_function_extract_original_exprs( //dir=expr + unique int id: @differentiable_function_extract_original_expr +); + +dot_self_exprs( //dir=expr + unique int id: @dot_self_expr +); + +@dynamic_lookup_expr = + @dynamic_member_ref_expr +| @dynamic_subscript_expr +; + +erasure_exprs( //dir=expr + unique int id: @erasure_expr +); + +existential_metatype_to_object_exprs( //dir=expr + unique int id: @existential_metatype_to_object_expr +); + +explicit_closure_exprs( //dir=expr + unique int id: @explicit_closure_expr +); + +force_try_exprs( //dir=expr + unique int id: @force_try_expr +); + +foreign_object_conversion_exprs( //dir=expr + unique int id: @foreign_object_conversion_expr +); + +function_conversion_exprs( //dir=expr + unique int id: @function_conversion_expr +); + +in_out_to_pointer_exprs( //dir=expr + unique int id: @in_out_to_pointer_expr +); + +inject_into_optional_exprs( //dir=expr + unique int id: @inject_into_optional_expr +); + +interpolated_string_literal_exprs( //dir=expr + unique int id: @interpolated_string_literal_expr +); + +#keyset[id] +interpolated_string_literal_expr_interpolation_exprs( //dir=expr + int id: @interpolated_string_literal_expr ref, + int interpolation_expr: @opaque_value_expr_or_none ref +); + +#keyset[id] +interpolated_string_literal_expr_appending_exprs( //dir=expr + int id: @interpolated_string_literal_expr ref, + int appending_expr: @tap_expr_or_none ref +); + +linear_function_exprs( //dir=expr + unique int id: @linear_function_expr +); + +linear_function_extract_original_exprs( //dir=expr + unique int id: @linear_function_extract_original_expr +); + +linear_to_differentiable_function_exprs( //dir=expr + unique int id: @linear_to_differentiable_function_expr +); + +load_exprs( //dir=expr + unique int id: @load_expr +); + +member_ref_exprs( //dir=expr + unique int id: @member_ref_expr +); + +#keyset[id] +member_ref_expr_has_direct_to_storage_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_ordinary_semantics( //dir=expr + int id: @member_ref_expr ref +); + +#keyset[id] +member_ref_expr_has_distributed_thunk_semantics( //dir=expr + int id: @member_ref_expr ref +); + +metatype_conversion_exprs( //dir=expr + unique int id: @metatype_conversion_expr +); + +nil_literal_exprs( //dir=expr + unique int id: @nil_literal_expr +); + +object_literal_exprs( //dir=expr + unique int id: @object_literal_expr, + int kind: int ref +); + +#keyset[id, index] +object_literal_expr_arguments( //dir=expr + int id: @object_literal_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +optional_try_exprs( //dir=expr + unique int id: @optional_try_expr +); + +paren_exprs( //dir=expr + unique int id: @paren_expr +); + +pointer_to_pointer_exprs( //dir=expr + unique int id: @pointer_to_pointer_expr +); + +postfix_unary_exprs( //dir=expr + unique int id: @postfix_unary_expr +); + +prefix_unary_exprs( //dir=expr + unique int id: @prefix_unary_expr +); + +protocol_metatype_to_object_exprs( //dir=expr + unique int id: @protocol_metatype_to_object_expr +); + +regex_literal_exprs( //dir=expr + unique int id: @regex_literal_expr, + string pattern: string ref, + int version: int ref +); + +@self_apply_expr = + @dot_syntax_call_expr +| @initializer_ref_call_expr +; + +#keyset[id] +self_apply_exprs( //dir=expr + int id: @self_apply_expr ref, + int base: @expr_or_none ref +); + +string_to_pointer_exprs( //dir=expr + unique int id: @string_to_pointer_expr +); + +subscript_exprs( //dir=expr + unique int id: @subscript_expr +); + +#keyset[id, index] +subscript_expr_arguments( //dir=expr + int id: @subscript_expr ref, + int index: int ref, + int argument: @argument_or_none ref +); + +#keyset[id] +subscript_expr_has_direct_to_storage_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_direct_to_implementation_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_ordinary_semantics( //dir=expr + int id: @subscript_expr ref +); + +#keyset[id] +subscript_expr_has_distributed_thunk_semantics( //dir=expr + int id: @subscript_expr ref +); + +try_exprs( //dir=expr + unique int id: @try_expr +); + +underlying_to_opaque_exprs( //dir=expr + unique int id: @underlying_to_opaque_expr +); + +unevaluated_instance_exprs( //dir=expr + unique int id: @unevaluated_instance_expr +); + +unresolved_member_chain_result_exprs( //dir=expr + unique int id: @unresolved_member_chain_result_expr +); + +unresolved_type_conversion_exprs( //dir=expr + unique int id: @unresolved_type_conversion_expr +); + +boolean_literal_exprs( //dir=expr + unique int id: @boolean_literal_expr, + boolean value: boolean ref +); + +conditional_checked_cast_exprs( //dir=expr + unique int id: @conditional_checked_cast_expr +); + +dot_syntax_call_exprs( //dir=expr + unique int id: @dot_syntax_call_expr +); + +dynamic_member_ref_exprs( //dir=expr + unique int id: @dynamic_member_ref_expr +); + +dynamic_subscript_exprs( //dir=expr + unique int id: @dynamic_subscript_expr +); + +forced_checked_cast_exprs( //dir=expr + unique int id: @forced_checked_cast_expr +); + +initializer_ref_call_exprs( //dir=expr + unique int id: @initializer_ref_call_expr +); + +is_exprs( //dir=expr + unique int id: @is_expr +); + +magic_identifier_literal_exprs( //dir=expr + unique int id: @magic_identifier_literal_expr, + string kind: string ref +); + +@number_literal_expr = + @float_literal_expr +| @integer_literal_expr +; + +string_literal_exprs( //dir=expr + unique int id: @string_literal_expr, + string value: string ref +); + +float_literal_exprs( //dir=expr + unique int id: @float_literal_expr, + string string_value: string ref +); + +integer_literal_exprs( //dir=expr + unique int id: @integer_literal_expr, + string string_value: string ref +); + +@pattern = + @any_pattern +| @binding_pattern +| @bool_pattern +| @enum_element_pattern +| @expr_pattern +| @is_pattern +| @named_pattern +| @optional_some_pattern +| @paren_pattern +| @tuple_pattern +| @typed_pattern +; + +#keyset[id] +pattern_types( //dir=pattern + int id: @pattern ref, + int type_: @type_or_none ref +); + +any_patterns( //dir=pattern + unique int id: @any_pattern +); + +binding_patterns( //dir=pattern + unique int id: @binding_pattern, + int sub_pattern: @pattern_or_none ref +); + +bool_patterns( //dir=pattern + unique int id: @bool_pattern, + boolean value: boolean ref +); + +enum_element_patterns( //dir=pattern + unique int id: @enum_element_pattern, + int element: @enum_element_decl_or_none ref +); + +#keyset[id] +enum_element_pattern_sub_patterns( //dir=pattern + int id: @enum_element_pattern ref, + int sub_pattern: @pattern_or_none ref +); + +expr_patterns( //dir=pattern + unique int id: @expr_pattern, + int sub_expr: @expr_or_none ref +); + +is_patterns( //dir=pattern + unique int id: @is_pattern +); + +#keyset[id] +is_pattern_cast_type_reprs( //dir=pattern + int id: @is_pattern ref, + int cast_type_repr: @type_repr_or_none ref +); + +#keyset[id] +is_pattern_sub_patterns( //dir=pattern + int id: @is_pattern ref, + int sub_pattern: @pattern_or_none ref +); + +named_patterns( //dir=pattern + unique int id: @named_pattern, + int var_decl: @var_decl_or_none ref +); + +optional_some_patterns( //dir=pattern + unique int id: @optional_some_pattern, + int sub_pattern: @pattern_or_none ref +); + +paren_patterns( //dir=pattern + unique int id: @paren_pattern, + int sub_pattern: @pattern_or_none ref +); + +tuple_patterns( //dir=pattern + unique int id: @tuple_pattern +); + +#keyset[id, index] +tuple_pattern_elements( //dir=pattern + int id: @tuple_pattern ref, + int index: int ref, + int element: @pattern_or_none ref +); + +typed_patterns( //dir=pattern + unique int id: @typed_pattern, + int sub_pattern: @pattern_or_none ref +); + +#keyset[id] +typed_pattern_type_reprs( //dir=pattern + int id: @typed_pattern ref, + int type_repr: @type_repr_or_none ref +); + +case_label_items( //dir=stmt + unique int id: @case_label_item, + int pattern: @pattern_or_none ref +); + +#keyset[id] +case_label_item_guards( //dir=stmt + int id: @case_label_item ref, + int guard: @expr_or_none ref +); + +condition_elements( //dir=stmt + unique int id: @condition_element +); + +#keyset[id] +condition_element_booleans( //dir=stmt + int id: @condition_element ref, + int boolean_: @expr_or_none ref +); + +#keyset[id] +condition_element_patterns( //dir=stmt + int id: @condition_element ref, + int pattern: @pattern_or_none ref +); + +#keyset[id] +condition_element_initializers( //dir=stmt + int id: @condition_element ref, + int initializer: @expr_or_none ref +); + +#keyset[id] +condition_element_availabilities( //dir=stmt + int id: @condition_element ref, + int availability: @availability_info_or_none ref +); + +@stmt = + @brace_stmt +| @break_stmt +| @case_stmt +| @continue_stmt +| @defer_stmt +| @discard_stmt +| @fail_stmt +| @fallthrough_stmt +| @labeled_stmt +| @pound_assert_stmt +| @return_stmt +| @then_stmt +| @throw_stmt +| @yield_stmt +; + +stmt_conditions( //dir=stmt + unique int id: @stmt_condition +); + +#keyset[id, index] +stmt_condition_elements( //dir=stmt + int id: @stmt_condition ref, + int index: int ref, + int element: @condition_element_or_none ref +); + +brace_stmts( //dir=stmt + unique int id: @brace_stmt +); + +#keyset[id, index] +brace_stmt_elements( //dir=stmt + int id: @brace_stmt ref, + int index: int ref, + int element: @ast_node_or_none ref +); + +break_stmts( //dir=stmt + unique int id: @break_stmt +); + +#keyset[id] +break_stmt_target_names( //dir=stmt + int id: @break_stmt ref, + string target_name: string ref +); + +#keyset[id] +break_stmt_targets( //dir=stmt + int id: @break_stmt ref, + int target: @stmt_or_none ref +); + +case_stmts( //dir=stmt + unique int id: @case_stmt, + int body: @stmt_or_none ref +); + +#keyset[id, index] +case_stmt_labels( //dir=stmt + int id: @case_stmt ref, + int index: int ref, + int label: @case_label_item_or_none ref +); + +#keyset[id, index] +case_stmt_variables( //dir=stmt + int id: @case_stmt ref, + int index: int ref, + int variable: @var_decl_or_none ref +); + +continue_stmts( //dir=stmt + unique int id: @continue_stmt +); + +#keyset[id] +continue_stmt_target_names( //dir=stmt + int id: @continue_stmt ref, + string target_name: string ref +); + +#keyset[id] +continue_stmt_targets( //dir=stmt + int id: @continue_stmt ref, + int target: @stmt_or_none ref +); + +defer_stmts( //dir=stmt + unique int id: @defer_stmt, + int body: @brace_stmt_or_none ref +); + +discard_stmts( //dir=stmt + unique int id: @discard_stmt, + int sub_expr: @expr_or_none ref +); + +fail_stmts( //dir=stmt + unique int id: @fail_stmt +); + +fallthrough_stmts( //dir=stmt + unique int id: @fallthrough_stmt, + int fallthrough_source: @case_stmt_or_none ref, + int fallthrough_dest: @case_stmt_or_none ref +); + +@labeled_stmt = + @do_catch_stmt +| @do_stmt +| @for_each_stmt +| @labeled_conditional_stmt +| @repeat_while_stmt +| @switch_stmt +; + +#keyset[id] +labeled_stmt_labels( //dir=stmt + int id: @labeled_stmt ref, + string label: string ref +); + +pound_assert_stmts( //dir=stmt + unique int id: @pound_assert_stmt, + int condition: @expr_or_none ref, + string message: string ref +); + +return_stmts( //dir=stmt + unique int id: @return_stmt +); + +#keyset[id] +return_stmt_results( //dir=stmt + int id: @return_stmt ref, + int result: @expr_or_none ref +); + +then_stmts( //dir=stmt + unique int id: @then_stmt, + int result: @expr_or_none ref +); + +throw_stmts( //dir=stmt + unique int id: @throw_stmt, + int sub_expr: @expr_or_none ref +); + +yield_stmts( //dir=stmt + unique int id: @yield_stmt +); + +#keyset[id, index] +yield_stmt_results( //dir=stmt + int id: @yield_stmt ref, + int index: int ref, + int result: @expr_or_none ref +); + +do_catch_stmts( //dir=stmt + unique int id: @do_catch_stmt, + int body: @stmt_or_none ref +); + +#keyset[id, index] +do_catch_stmt_catches( //dir=stmt + int id: @do_catch_stmt ref, + int index: int ref, + int catch: @case_stmt_or_none ref +); + +do_stmts( //dir=stmt + unique int id: @do_stmt, + int body: @brace_stmt_or_none ref +); + +for_each_stmts( //dir=stmt + unique int id: @for_each_stmt, + int pattern: @pattern_or_none ref, + int body: @brace_stmt_or_none ref +); + +#keyset[id] +for_each_stmt_wheres( //dir=stmt + int id: @for_each_stmt ref, + int where: @expr_or_none ref +); + +#keyset[id] +for_each_stmt_iterator_vars( //dir=stmt + int id: @for_each_stmt ref, + int iteratorVar: @pattern_binding_decl_or_none ref +); + +#keyset[id] +for_each_stmt_next_calls( //dir=stmt + int id: @for_each_stmt ref, + int nextCall: @expr_or_none ref +); + +@labeled_conditional_stmt = + @guard_stmt +| @if_stmt +| @while_stmt +; + +#keyset[id] +labeled_conditional_stmts( //dir=stmt + int id: @labeled_conditional_stmt ref, + int condition: @stmt_condition_or_none ref +); + +repeat_while_stmts( //dir=stmt + unique int id: @repeat_while_stmt, + int condition: @expr_or_none ref, + int body: @stmt_or_none ref +); + +switch_stmts( //dir=stmt + unique int id: @switch_stmt, + int expr: @expr_or_none ref +); + +#keyset[id, index] +switch_stmt_cases( //dir=stmt + int id: @switch_stmt ref, + int index: int ref, + int case_: @case_stmt_or_none ref +); + +guard_stmts( //dir=stmt + unique int id: @guard_stmt, + int body: @brace_stmt_or_none ref +); + +if_stmts( //dir=stmt + unique int id: @if_stmt, + int then: @stmt_or_none ref +); + +#keyset[id] +if_stmt_elses( //dir=stmt + int id: @if_stmt ref, + int else: @stmt_or_none ref +); + +while_stmts( //dir=stmt + unique int id: @while_stmt, + int body: @stmt_or_none ref +); + +@type = + @any_function_type +| @any_generic_type +| @any_metatype_type +| @builtin_type +| @dependent_member_type +| @dynamic_self_type +| @error_type +| @existential_type +| @in_out_type +| @l_value_type +| @module_type +| @pack_element_type +| @pack_expansion_type +| @pack_type +| @parameterized_protocol_type +| @protocol_composition_type +| @reference_storage_type +| @substitutable_type +| @sugar_type +| @tuple_type +| @unresolved_type +; + +#keyset[id] +types( //dir=type + int id: @type ref, + string name: string ref, + int canonical_type: @type_or_none ref +); + +type_reprs( //dir=type + unique int id: @type_repr, + int type_: @type_or_none ref +); + +@any_function_type = + @function_type +| @generic_function_type +; + +#keyset[id] +any_function_types( //dir=type + int id: @any_function_type ref, + int result: @type_or_none ref +); + +#keyset[id, index] +any_function_type_param_types( //dir=type + int id: @any_function_type ref, + int index: int ref, + int param_type: @type_or_none ref +); + +#keyset[id] +any_function_type_is_throwing( //dir=type + int id: @any_function_type ref +); + +#keyset[id] +any_function_type_is_async( //dir=type + int id: @any_function_type ref +); + +@any_generic_type = + @nominal_or_bound_generic_nominal_type +| @unbound_generic_type +; + +#keyset[id] +any_generic_types( //dir=type + int id: @any_generic_type ref, + int declaration: @generic_type_decl_or_none ref +); + +#keyset[id] +any_generic_type_parents( //dir=type + int id: @any_generic_type ref, + int parent: @type_or_none ref +); + +@any_metatype_type = + @existential_metatype_type +| @metatype_type +; + +@builtin_type = + @any_builtin_integer_type +| @builtin_bridge_object_type +| @builtin_default_actor_storage_type +| @builtin_executor_type +| @builtin_float_type +| @builtin_job_type +| @builtin_native_object_type +| @builtin_raw_pointer_type +| @builtin_raw_unsafe_continuation_type +| @builtin_unsafe_value_buffer_type +| @builtin_vector_type +; + +dependent_member_types( //dir=type + unique int id: @dependent_member_type, + int base_type: @type_or_none ref, + int associated_type_decl: @associated_type_decl_or_none ref +); + +dynamic_self_types( //dir=type + unique int id: @dynamic_self_type, + int static_self_type: @type_or_none ref +); + +error_types( //dir=type + unique int id: @error_type +); + +existential_types( //dir=type + unique int id: @existential_type, + int constraint: @type_or_none ref +); + +in_out_types( //dir=type + unique int id: @in_out_type, + int object_type: @type_or_none ref +); + +l_value_types( //dir=type + unique int id: @l_value_type, + int object_type: @type_or_none ref +); + +module_types( //dir=type + unique int id: @module_type, + int module: @module_decl_or_none ref +); + +pack_element_types( //dir=type + unique int id: @pack_element_type, + int pack_type: @type_or_none ref +); + +pack_expansion_types( //dir=type + unique int id: @pack_expansion_type, + int pattern_type: @type_or_none ref, + int count_type: @type_or_none ref +); + +pack_types( //dir=type + unique int id: @pack_type +); + +#keyset[id, index] +pack_type_elements( //dir=type + int id: @pack_type ref, + int index: int ref, + int element: @type_or_none ref +); + +parameterized_protocol_types( //dir=type + unique int id: @parameterized_protocol_type, + int base: @protocol_type_or_none ref +); + +#keyset[id, index] +parameterized_protocol_type_args( //dir=type + int id: @parameterized_protocol_type ref, + int index: int ref, + int arg: @type_or_none ref +); + +protocol_composition_types( //dir=type + unique int id: @protocol_composition_type +); + +#keyset[id, index] +protocol_composition_type_members( //dir=type + int id: @protocol_composition_type ref, + int index: int ref, + int member: @type_or_none ref +); + +@reference_storage_type = + @unmanaged_storage_type +| @unowned_storage_type +| @weak_storage_type +; + +#keyset[id] +reference_storage_types( //dir=type + int id: @reference_storage_type ref, + int referent_type: @type_or_none ref +); + +@substitutable_type = + @archetype_type +| @generic_type_param_type +; + +@sugar_type = + @paren_type +| @syntax_sugar_type +| @type_alias_type +; + +tuple_types( //dir=type + unique int id: @tuple_type +); + +#keyset[id, index] +tuple_type_types( //dir=type + int id: @tuple_type ref, + int index: int ref, + int type_: @type_or_none ref +); + +#keyset[id, index] +tuple_type_names( //dir=type + int id: @tuple_type ref, + int index: int ref, + string name: string ref +); + +unresolved_types( //dir=type + unique int id: @unresolved_type +); + +@any_builtin_integer_type = + @builtin_integer_literal_type +| @builtin_integer_type +; + +@archetype_type = + @local_archetype_type +| @opaque_type_archetype_type +| @pack_archetype_type +| @primary_archetype_type +; + +#keyset[id] +archetype_types( //dir=type + int id: @archetype_type ref, + int interface_type: @type_or_none ref +); + +#keyset[id] +archetype_type_superclasses( //dir=type + int id: @archetype_type ref, + int superclass: @type_or_none ref +); + +#keyset[id, index] +archetype_type_protocols( //dir=type + int id: @archetype_type ref, + int index: int ref, + int protocol: @protocol_decl_or_none ref +); + +builtin_bridge_object_types( //dir=type + unique int id: @builtin_bridge_object_type +); + +builtin_default_actor_storage_types( //dir=type + unique int id: @builtin_default_actor_storage_type +); + +builtin_executor_types( //dir=type + unique int id: @builtin_executor_type +); + +builtin_float_types( //dir=type + unique int id: @builtin_float_type +); + +builtin_job_types( //dir=type + unique int id: @builtin_job_type +); + +builtin_native_object_types( //dir=type + unique int id: @builtin_native_object_type +); + +builtin_raw_pointer_types( //dir=type + unique int id: @builtin_raw_pointer_type +); + +builtin_raw_unsafe_continuation_types( //dir=type + unique int id: @builtin_raw_unsafe_continuation_type +); + +builtin_unsafe_value_buffer_types( //dir=type + unique int id: @builtin_unsafe_value_buffer_type +); + +builtin_vector_types( //dir=type + unique int id: @builtin_vector_type +); + +existential_metatype_types( //dir=type + unique int id: @existential_metatype_type +); + +function_types( //dir=type + unique int id: @function_type +); + +generic_function_types( //dir=type + unique int id: @generic_function_type +); + +#keyset[id, index] +generic_function_type_generic_params( //dir=type + int id: @generic_function_type ref, + int index: int ref, + int generic_param: @generic_type_param_type_or_none ref +); + +generic_type_param_types( //dir=type + unique int id: @generic_type_param_type +); + +metatype_types( //dir=type + unique int id: @metatype_type +); + +@nominal_or_bound_generic_nominal_type = + @bound_generic_type +| @nominal_type +; + +paren_types( //dir=type + unique int id: @paren_type, + int type_: @type_or_none ref +); + +@syntax_sugar_type = + @dictionary_type +| @unary_syntax_sugar_type +; + +type_alias_types( //dir=type + unique int id: @type_alias_type, + int decl: @type_alias_decl_or_none ref +); + +unbound_generic_types( //dir=type + unique int id: @unbound_generic_type +); + +unmanaged_storage_types( //dir=type + unique int id: @unmanaged_storage_type +); + +unowned_storage_types( //dir=type + unique int id: @unowned_storage_type +); + +weak_storage_types( //dir=type + unique int id: @weak_storage_type +); + +@bound_generic_type = + @bound_generic_class_type +| @bound_generic_enum_type +| @bound_generic_struct_type +; + +#keyset[id, index] +bound_generic_type_arg_types( //dir=type + int id: @bound_generic_type ref, + int index: int ref, + int arg_type: @type_or_none ref +); + +builtin_integer_literal_types( //dir=type + unique int id: @builtin_integer_literal_type +); + +builtin_integer_types( //dir=type + unique int id: @builtin_integer_type +); + +#keyset[id] +builtin_integer_type_widths( //dir=type + int id: @builtin_integer_type ref, + int width: int ref +); + +dictionary_types( //dir=type + unique int id: @dictionary_type, + int key_type: @type_or_none ref, + int value_type: @type_or_none ref +); + +@local_archetype_type = + @element_archetype_type +| @opened_archetype_type +; + +@nominal_type = + @class_type +| @enum_type +| @protocol_type +| @struct_type +; + +opaque_type_archetype_types( //dir=type + unique int id: @opaque_type_archetype_type, + int declaration: @opaque_type_decl_or_none ref +); + +pack_archetype_types( //dir=type + unique int id: @pack_archetype_type +); + +primary_archetype_types( //dir=type + unique int id: @primary_archetype_type +); + +@unary_syntax_sugar_type = + @array_slice_type +| @optional_type +| @variadic_sequence_type +; + +#keyset[id] +unary_syntax_sugar_types( //dir=type + int id: @unary_syntax_sugar_type ref, + int base_type: @type_or_none ref +); + +array_slice_types( //dir=type + unique int id: @array_slice_type +); + +bound_generic_class_types( //dir=type + unique int id: @bound_generic_class_type +); + +bound_generic_enum_types( //dir=type + unique int id: @bound_generic_enum_type +); + +bound_generic_struct_types( //dir=type + unique int id: @bound_generic_struct_type +); + +class_types( //dir=type + unique int id: @class_type +); + +element_archetype_types( //dir=type + unique int id: @element_archetype_type +); + +enum_types( //dir=type + unique int id: @enum_type +); + +opened_archetype_types( //dir=type + unique int id: @opened_archetype_type +); + +optional_types( //dir=type + unique int id: @optional_type +); + +protocol_types( //dir=type + unique int id: @protocol_type +); + +struct_types( //dir=type + unique int id: @struct_type +); + +variadic_sequence_types( //dir=type + unique int id: @variadic_sequence_type +); + +@accessor_or_none = + @accessor +| @unspecified_element +; + +@argument_or_none = + @argument +| @unspecified_element +; + +@associated_type_decl_or_none = + @associated_type_decl +| @unspecified_element +; + +@ast_node_or_none = + @ast_node +| @unspecified_element +; + +@availability_info_or_none = + @availability_info +| @unspecified_element +; + +@availability_spec_or_none = + @availability_spec +| @unspecified_element +; + +@brace_stmt_or_none = + @brace_stmt +| @unspecified_element +; + +@captured_decl_or_none = + @captured_decl +| @unspecified_element +; + +@case_label_item_or_none = + @case_label_item +| @unspecified_element +; + +@case_stmt_or_none = + @case_stmt +| @unspecified_element +; + +@closure_expr_or_none = + @closure_expr +| @unspecified_element +; + +@condition_element_or_none = + @condition_element +| @unspecified_element +; + +@decl_or_none = + @decl +| @unspecified_element +; + +@enum_element_decl_or_none = + @enum_element_decl +| @unspecified_element +; + +@expr_or_none = + @expr +| @unspecified_element +; + +@file_or_none = + @file +| @unspecified_element +; + +@function_or_none = + @function +| @unspecified_element +; + +@generic_type_decl_or_none = + @generic_type_decl +| @unspecified_element +; + +@generic_type_param_decl_or_none = + @generic_type_param_decl +| @unspecified_element +; + +@generic_type_param_type_or_none = + @generic_type_param_type +| @unspecified_element +; + +@initializer_or_none = + @initializer +| @unspecified_element +; + +@key_path_component_or_none = + @key_path_component +| @unspecified_element +; + +@location_or_none = + @location +| @unspecified_element +; + +@macro_role_or_none = + @macro_role +| @unspecified_element +; + +@module_decl_or_none = + @module_decl +| @unspecified_element +; + +@nominal_type_decl_or_none = + @nominal_type_decl +| @unspecified_element +; + +@opaque_type_decl_or_none = + @opaque_type_decl +| @unspecified_element +; + +@opaque_value_expr_or_none = + @opaque_value_expr +| @unspecified_element +; + +@param_decl_or_none = + @param_decl +| @unspecified_element +; + +@pattern_or_none = + @pattern +| @unspecified_element +; + +@pattern_binding_decl_or_none = + @pattern_binding_decl +| @unspecified_element +; + +@precedence_group_decl_or_none = + @precedence_group_decl +| @unspecified_element +; + +@protocol_decl_or_none = + @protocol_decl +| @unspecified_element +; + +@protocol_type_or_none = + @protocol_type +| @unspecified_element +; + +@stmt_or_none = + @stmt +| @unspecified_element +; + +@stmt_condition_or_none = + @stmt_condition +| @unspecified_element +; + +@string_literal_expr_or_none = + @string_literal_expr +| @unspecified_element +; + +@tap_expr_or_none = + @tap_expr +| @unspecified_element +; + +@type_or_none = + @type +| @unspecified_element +; + +@type_alias_decl_or_none = + @type_alias_decl +| @unspecified_element +; + +@type_expr_or_none = + @type_expr +| @unspecified_element +; + +@type_repr_or_none = + @type_repr +| @unspecified_element +; + +@value_decl_or_none = + @unspecified_element +| @value_decl +; + +@var_decl_or_none = + @unspecified_element +| @var_decl +; diff --git a/swift/ql/lib/upgrades/1a24fefd78baf8af6c104d9e63849f3f6e1ef1a3/upgrade.properties b/swift/ql/lib/upgrades/1a24fefd78baf8af6c104d9e63849f3f6e1ef1a3/upgrade.properties new file mode 100644 index 000000000000..780d31bf0617 --- /dev/null +++ b/swift/ql/lib/upgrades/1a24fefd78baf8af6c104d9e63849f3f6e1ef1a3/upgrade.properties @@ -0,0 +1,2 @@ +description: Changed the initial codegen comment +compatibility: full diff --git a/swift/ql/src/AlertSuppression.ql b/swift/ql/src/AlertSuppression.ql index 1a1992614d78..958d71151756 100644 --- a/swift/ql/src/AlertSuppression.ql +++ b/swift/ql/src/AlertSuppression.ql @@ -7,7 +7,7 @@ private import codeql.util.suppression.AlertSuppression as AS private import codeql.swift.elements.Locatable as L -private import codeql.swift.elements.Comment as C +private import codeql.swift.elements.Comments as C class AstNode extends L::Locatable { predicate hasLocationInfo(string path, int startLine, int startColumn, int endLine, int endColumn) { diff --git a/swift/ql/test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo.ql b/swift/ql/test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo.ql index 916b3291cc89..ae10b4bb767c 100644 --- a/swift/ql/test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo.ql +++ b/swift/ql/test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo_getSpec.ql b/swift/ql/test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo_getSpec.ql index 28ad168a77a4..418f5251effe 100644 --- a/swift/ql/test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo_getSpec.ql +++ b/swift/ql/test/extractor-tests/generated/AvailabilityInfo/AvailabilityInfo_getSpec.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/Comment/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/Comment/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/Comment/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/Comment/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/Diagnostics/Diagnostics.ql b/swift/ql/test/extractor-tests/generated/Diagnostics/Diagnostics.ql index c60108bc8819..18e302cfaa63 100644 --- a/swift/ql/test/extractor-tests/generated/Diagnostics/Diagnostics.ql +++ b/swift/ql/test/extractor-tests/generated/Diagnostics/Diagnostics.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/File/File.ql b/swift/ql/test/extractor-tests/generated/File/File.ql index d3b372e7f0fb..3614bcc50733 100644 --- a/swift/ql/test/extractor-tests/generated/File/File.ql +++ b/swift/ql/test/extractor-tests/generated/File/File.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent.ql b/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent.ql index a22f64c31082..06d9851feb66 100644 --- a/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent.ql +++ b/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getDeclRef.ql b/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getDeclRef.ql index 06c97828998e..74174fd4bd2f 100644 --- a/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getDeclRef.ql +++ b/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getDeclRef.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getSubscriptArgument.ql b/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getSubscriptArgument.ql index 650da2190ef0..30b149e82044 100644 --- a/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getSubscriptArgument.ql +++ b/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getSubscriptArgument.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getTupleIndex.ql b/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getTupleIndex.ql index 8eb21c8a8b3b..40e2e8924a82 100644 --- a/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getTupleIndex.ql +++ b/swift/ql/test/extractor-tests/generated/KeyPathComponent/KeyPathComponent_getTupleIndex.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/OtherAvailabilitySpec/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/OtherAvailabilitySpec/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/OtherAvailabilitySpec/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/OtherAvailabilitySpec/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/PlatformVersionAvailabilitySpec/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/PlatformVersionAvailabilitySpec/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/PlatformVersionAvailabilitySpec/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/PlatformVersionAvailabilitySpec/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor.ql b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor.ql index 15141f16eb1f..f4e231c7671d 100644 --- a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor.ql +++ b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getBody.ql b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getBody.ql index 34a7fbc86a49..ad96f239082f 100644 --- a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getBody.ql +++ b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getBody.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getCapture.ql b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getCapture.ql index d35a6a3af8f1..173f3067c0c3 100644 --- a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getCapture.ql +++ b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getCapture.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getGenericTypeParam.ql b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getGenericTypeParam.ql index 1075d722ea4b..2c4d348c5500 100644 --- a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getGenericTypeParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getGenericTypeParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getMember.ql index 74c1741c8c1b..3d4fe6d29722 100644 --- a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getName.ql b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getName.ql index db49afbc42c9..9d29b101bdc2 100644 --- a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getName.ql +++ b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getName.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getParam.ql b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getParam.ql index ea2d077f5e6f..0640648bf1be 100644 --- a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getSelfParam.ql b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getSelfParam.ql index 44f37b59454b..2e98f9d74cbc 100644 --- a/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getSelfParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/Accessor/Accessor_getSelfParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl.ql b/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl.ql index 4538a8100baf..057981c23644 100644 --- a/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getInheritedType.ql b/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getInheritedType.ql index 81f5c36778bb..2c0f23a876ae 100644 --- a/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getInheritedType.ql +++ b/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getInheritedType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getMember.ql index 5bd273d3043e..c36cb6ef4f9e 100644 --- a/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/AssociatedTypeDecl/AssociatedTypeDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl.ql b/swift/ql/test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl.ql index f7378cc5d742..189558f37677 100644 --- a/swift/ql/test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl_getMember.ql index 858822ea5ac6..2709cc86f6f2 100644 --- a/swift/ql/test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/CapturedDecl/CapturedDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl.ql b/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl.ql index 08f0892e2901..31cec2c9f7ce 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getGenericTypeParam.ql b/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getGenericTypeParam.ql index e790265a8bf8..382d756d5842 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getGenericTypeParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getGenericTypeParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getInheritedType.ql b/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getInheritedType.ql index 4385cfb54ab3..92e9fc52b7a1 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getInheritedType.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getInheritedType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getMember.ql index c383dde40c7d..c7651a702b23 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ClassDecl/ClassDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl.ql b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl.ql index 6541a63eae88..2dd21cf6a170 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAccessor.ql b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAccessor.ql index 20c7337f4932..d169f10c812b 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAccessor.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAccessor.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAttachedPropertyWrapperType.ql b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAttachedPropertyWrapperType.ql index 569c25f0602e..ef8e58e63712 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAttachedPropertyWrapperType.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getAttachedPropertyWrapperType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getMember.ql index 47672b47c06f..e559cfeae78d 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentInitializer.ql b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentInitializer.ql index eddfa3467329..cc09f9a38afd 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentInitializer.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentInitializer.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentPattern.ql b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentPattern.ql index 2aedb61e2ae6..2fb533a5a697 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentPattern.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getParentPattern.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVar.ql b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVar.ql index a70361143c68..b57a2cd02b71 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVar.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVar.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVarBinding.ql b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVarBinding.ql index dea82691f5d5..27d1215c98ac 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVarBinding.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperBackingVarBinding.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVar.ql b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVar.ql index 3855735ab020..6376fc809b50 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVar.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVar.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVarBinding.ql b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVarBinding.ql index 836726bc36a3..7e513c831a73 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVarBinding.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ConcreteVarDecl/ConcreteVarDecl_getPropertyWrapperProjectionVarBinding.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/Deinitializer/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/Deinitializer/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/Deinitializer/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/Deinitializer/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl.ql b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl.ql index 745ac06cd2d2..b0cf267f6452 100644 --- a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getElement.ql b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getElement.ql index ef9bdb072633..bbc22666cc00 100644 --- a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getElement.ql +++ b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getElement.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getMember.ql index 5ea000fa3999..630e99f9f57e 100644 --- a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumCaseDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl.ql b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl.ql index 3b2187a3237d..5a8d80276ef4 100644 --- a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getGenericTypeParam.ql b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getGenericTypeParam.ql index a9d44a05b513..02d75edf7b33 100644 --- a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getGenericTypeParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getGenericTypeParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getInheritedType.ql b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getInheritedType.ql index 7f96641d2f82..2ea47f737f88 100644 --- a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getInheritedType.ql +++ b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getInheritedType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getMember.ql index 403dadc44557..28b99b8dc960 100644 --- a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl.ql b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl.ql index 6e7e658b81f9..1ff638217b0c 100644 --- a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getMember.ql index 12944743c684..2a500be3149d 100644 --- a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getParam.ql b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getParam.ql index 47307c7ac734..80621f6d6fa5 100644 --- a/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/EnumDecl/EnumElementDecl_getParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl.ql b/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl.ql index d096af541fa3..725a9082047b 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getGenericTypeParam.ql b/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getGenericTypeParam.ql index f9eee6ece428..4f67a7edefcb 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getGenericTypeParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getGenericTypeParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getMember.ql index c9875d9019f0..7025173bb21a 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getProtocol.ql b/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getProtocol.ql index d7872e4c692b..9983f602e8bf 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getProtocol.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ExtensionDecl/ExtensionDecl_getProtocol.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/GenericTypeParamDecl/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/GenericTypeParamDecl/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/GenericTypeParamDecl/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/GenericTypeParamDecl/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl.ql b/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl.ql index f14893603b2c..2bb062dbb8fb 100644 --- a/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getActiveElement.ql b/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getActiveElement.ql index 388d517add85..d1613f30389a 100644 --- a/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getActiveElement.ql +++ b/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getActiveElement.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getMember.ql index ae2f97815809..d2b1b6961a32 100644 --- a/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl.ql b/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl.ql index b65f4f6c71b9..c773f2890a5e 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getDeclaration.ql b/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getDeclaration.ql index 852fe518ed2f..0c9b586186b5 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getDeclaration.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getDeclaration.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getImportedModule.ql b/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getImportedModule.ql index bd43ced101eb..9fe8acad96e2 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getImportedModule.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getImportedModule.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getMember.ql index b42c33936e0d..2aa0c828947b 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ImportDecl/ImportDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/InfixOperatorDecl/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/InfixOperatorDecl/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/InfixOperatorDecl/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/InfixOperatorDecl/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/Initializer/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/Initializer/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/Initializer/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/Initializer/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl.ql b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl.ql index 1df2e30e4977..4d8c6e77aae0 100644 --- a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getGenericTypeParam.ql b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getGenericTypeParam.ql index 81486a725476..c74a66c6b062 100644 --- a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getGenericTypeParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getGenericTypeParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getMember.ql index 4dfc256313bf..1de9c7f24933 100644 --- a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getParameter.ql b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getParameter.ql index 9ea97ab928d1..1e4c8754e34a 100644 --- a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getParameter.ql +++ b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getParameter.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getRole.ql b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getRole.ql index 43e04896749f..cce29824f2a2 100644 --- a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getRole.ql +++ b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroDecl_getRole.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole.ql b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole.ql index c641ef44a37c..fb72920ffa48 100644 --- a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole.ql +++ b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole_getConformance.ql b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole_getConformance.ql index 00d54a84c69d..c3b8627010ee 100644 --- a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole_getConformance.ql +++ b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole_getConformance.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole_getName.ql b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole_getName.ql index 7dec636e04e3..296037f35c5a 100644 --- a/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole_getName.ql +++ b/swift/ql/test/extractor-tests/generated/decl/MacroDecl/MacroRole_getName.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl.ql b/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl.ql index 3f1347e13443..f48c8ae976cc 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnExportedModule.ql b/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnExportedModule.ql index 649b56793c85..1a0476fb6585 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnExportedModule.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnExportedModule.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnImportedModule.ql b/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnImportedModule.ql index d7c95b74e73d..fa399bef4328 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnImportedModule.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getAnImportedModule.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getInheritedType.ql b/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getInheritedType.ql index 4b5c5d498490..1a1446596374 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getInheritedType.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getInheritedType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getMember.ql index eb608863faa9..1510213d2872 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/ModuleDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction.ql b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction.ql index 438adc451d49..b040631d9b09 100644 --- a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction.ql +++ b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getBody.ql b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getBody.ql index cd68b79b74cd..8f02d92b3d7f 100644 --- a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getBody.ql +++ b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getBody.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getCapture.ql b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getCapture.ql index 3ada6243aac8..ebb3474649b6 100644 --- a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getCapture.ql +++ b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getCapture.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getGenericTypeParam.ql b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getGenericTypeParam.ql index 3006ec840a0e..031102432568 100644 --- a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getGenericTypeParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getGenericTypeParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getMember.ql index 7155c70acf0f..ec7c7476c685 100644 --- a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getName.ql b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getName.ql index e929141fab09..553f3a3292d6 100644 --- a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getName.ql +++ b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getName.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getParam.ql b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getParam.ql index 6e0b66c4bc18..1755058ad729 100644 --- a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getSelfParam.ql b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getSelfParam.ql index 8f272ed8c626..11a4563f6f1b 100644 --- a/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getSelfParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction_getSelfParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl.ql b/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl.ql index 84350f853942..c81a2adc2935 100644 --- a/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getGenericTypeParam.ql b/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getGenericTypeParam.ql index a632331f36b8..68e19d5d16c1 100644 --- a/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getGenericTypeParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getGenericTypeParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getInheritedType.ql b/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getInheritedType.ql index 1b016585c415..dd9f8245b208 100644 --- a/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getInheritedType.ql +++ b/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getInheritedType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getMember.ql index 8dbd558ae087..a1962a41c808 100644 --- a/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getOpaqueGenericParam.ql b/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getOpaqueGenericParam.ql index a99f6d9dc94c..aca25644dbbd 100644 --- a/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getOpaqueGenericParam.ql +++ b/swift/ql/test/extractor-tests/generated/decl/OpaqueTypeDecl/OpaqueTypeDecl_getOpaqueGenericParam.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl.ql index 6a6562ed8b19..eed0fb15c3e6 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAccessor.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAccessor.ql index 8802b9d76bae..e6e886f9cb8c 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAccessor.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAccessor.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAttachedPropertyWrapperType.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAttachedPropertyWrapperType.ql index 0e71fb1cf264..fb67e3687aef 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAttachedPropertyWrapperType.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getAttachedPropertyWrapperType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getMember.ql index bdb674df62b6..a313de883905 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentInitializer.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentInitializer.ql index 39f7e9e1b6e7..fb122e5676ed 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentInitializer.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentInitializer.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentPattern.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentPattern.ql index 17b5a06c1d5e..7f32c32313e7 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentPattern.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getParentPattern.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVar.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVar.ql index 91be55e732a0..a75d4ace3fac 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVar.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVar.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVarBinding.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVarBinding.ql index 4a331c685042..2db7190cb952 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVarBinding.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperBackingVarBinding.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVar.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVar.ql index 2c824acc88e1..9ebb3df90f04 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVar.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVar.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVarBinding.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVarBinding.ql index 018c0cbf18a1..4a33cbcb2681 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVarBinding.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperLocalWrappedVarBinding.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVar.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVar.ql index 03c2584c6934..e919653b36b0 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVar.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVar.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVarBinding.ql b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVarBinding.ql index 090122697abe..47643738f7f7 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVarBinding.ql +++ b/swift/ql/test/extractor-tests/generated/decl/ParamDecl/ParamDecl_getPropertyWrapperProjectionVarBinding.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/PatternBindingDecl/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/PatternBindingDecl/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/PatternBindingDecl/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/PatternBindingDecl/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/PostfixOperatorDecl/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/PostfixOperatorDecl/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/PostfixOperatorDecl/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/PostfixOperatorDecl/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl.ql b/swift/ql/test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl.ql index 9f98e8c1788d..4b4b1a2c132c 100644 --- a/swift/ql/test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl.ql +++ b/swift/ql/test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl_getMember.ql b/swift/ql/test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl_getMember.ql index 113d0aed8b05..9cae7c9ded0f 100644 --- a/swift/ql/test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/decl/PoundDiagnosticDecl/PoundDiagnosticDecl_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/decl/PrecedenceGroupDecl/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/PrecedenceGroupDecl/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/PrecedenceGroupDecl/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/PrecedenceGroupDecl/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/PrefixOperatorDecl/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/PrefixOperatorDecl/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/PrefixOperatorDecl/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/PrefixOperatorDecl/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/ProtocolDecl/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/ProtocolDecl/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/ProtocolDecl/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/ProtocolDecl/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/StructDecl/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/StructDecl/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/StructDecl/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/StructDecl/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/SubscriptDecl/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/SubscriptDecl/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/SubscriptDecl/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/SubscriptDecl/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/TopLevelCodeDecl/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/TopLevelCodeDecl/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/TopLevelCodeDecl/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/TopLevelCodeDecl/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/decl/TypeAliasDecl/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/decl/TypeAliasDecl/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/decl/TypeAliasDecl/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/decl/TypeAliasDecl/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr.ql b/swift/ql/test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr.ql index 6c73b2336ab7..4e14ce4e2f51 100644 --- a/swift/ql/test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr_getType.ql index 7bf3a04a6f92..925625421305 100644 --- a/swift/ql/test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/AppliedPropertyWrapperExpr/AppliedPropertyWrapperExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/Argument/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/Argument/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/Argument/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/Argument/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/ArrayExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/ArrayExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/ArrayExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/ArrayExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/AssignExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/AssignExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/AssignExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/AssignExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/AutoClosureExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/AutoClosureExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/AutoClosureExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/AutoClosureExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/BinaryExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/BinaryExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/BinaryExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/BinaryExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/BindOptionalExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/BindOptionalExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/BindOptionalExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/BindOptionalExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/BooleanLiteralExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/BooleanLiteralExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/BooleanLiteralExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/BooleanLiteralExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/CallExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/CallExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/CallExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/CallExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/CaptureListExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/CaptureListExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/CaptureListExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/CaptureListExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/CoerceExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/CoerceExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/CoerceExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/CoerceExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/ConditionalCheckedCastExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/ConditionalCheckedCastExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/ConditionalCheckedCastExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/ConditionalCheckedCastExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr.ql b/swift/ql/test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr.ql index f4b3e8b20e1d..8ff10e1d4302 100644 --- a/swift/ql/test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr_getType.ql index af3169711ed9..af4c8fe91157 100644 --- a/swift/ql/test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/CopyExpr/ConsumeExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/CopyExpr/CopyExpr.ql b/swift/ql/test/extractor-tests/generated/expr/CopyExpr/CopyExpr.ql index 35ad827f1a6f..63145b175ba6 100644 --- a/swift/ql/test/extractor-tests/generated/expr/CopyExpr/CopyExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/CopyExpr/CopyExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/CopyExpr/CopyExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/CopyExpr/CopyExpr_getType.ql index 0264f4a4fcf4..f5d74cb8a087 100644 --- a/swift/ql/test/extractor-tests/generated/expr/CopyExpr/CopyExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/CopyExpr/CopyExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/DeclRefExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/DeclRefExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DeclRefExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/DeclRefExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/DefaultArgumentExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/DefaultArgumentExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DefaultArgumentExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/DefaultArgumentExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/DictionaryExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/DictionaryExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DictionaryExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/DictionaryExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/DiscardAssignmentExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/DiscardAssignmentExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DiscardAssignmentExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/DiscardAssignmentExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/DotSyntaxBaseIgnoredExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/DotSyntaxBaseIgnoredExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DotSyntaxBaseIgnoredExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/DotSyntaxBaseIgnoredExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr.ql b/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr.ql index f7ab2739e2db..37eb9989db3d 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getArgument.ql b/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getArgument.ql index 384f99edb51b..69ca0a32f8ab 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getArgument.ql +++ b/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getArgument.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getType.ql index b7711a5d67c0..985d4935a2ec 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr.ql b/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr.ql index dbec1291ff0e..c32568da04e6 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getMember.ql b/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getMember.ql index c8f316917bb9..aa38b203636c 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getType.ql index 7ab8ea5a132c..18ac781cd1f9 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/DynamicLookupExpr/DynamicLookupExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/DynamicTypeExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/DynamicTypeExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/DynamicTypeExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/DynamicTypeExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr.ql b/swift/ql/test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr.ql index 7dfff901eefa..5c232456192a 100644 --- a/swift/ql/test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr_getType.ql index b8d841b545c7..33154f7aa0fe 100644 --- a/swift/ql/test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/ExplicitClosureExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/ExplicitClosureExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/ExplicitClosureExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/ExplicitClosureExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/FloatLiteralExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/FloatLiteralExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/FloatLiteralExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/FloatLiteralExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/ForceTryExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/ForceTryExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/ForceTryExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/ForceTryExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/ForceValueExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/ForceValueExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/ForceValueExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/ForceValueExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/ForcedCheckedCastExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/ForcedCheckedCastExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/ForcedCheckedCastExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/ForcedCheckedCastExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr.ql b/swift/ql/test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr.ql index c4888e453676..c21556e9736c 100644 --- a/swift/ql/test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr_getType.ql index 30a75ea6652d..d682c3be3d0f 100644 --- a/swift/ql/test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/IdentityExpr/IdentityExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/IfExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/IfExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/IfExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/IfExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr.ql b/swift/ql/test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr.ql index 5cd395b62783..3e197676bb8e 100644 --- a/swift/ql/test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr_getType.ql index 257ffe67d3d5..6e9053dca6aa 100644 --- a/swift/ql/test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/InOutExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/InOutExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/InOutExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/InOutExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr.ql b/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr.ql index 45aba0d0d178..117eb37809b6 100644 --- a/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getArgument.ql b/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getArgument.ql index 19c63285bfbe..91382b53caeb 100644 --- a/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getArgument.ql +++ b/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getArgument.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getType.ql index c9379c517aee..70db9dde340f 100644 --- a/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/InitializerRefCallExpr/InitializerRefCallExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/IntegerLiteralExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/IntegerLiteralExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/IntegerLiteralExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/IntegerLiteralExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/InterpolatedStringLiteralExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/InterpolatedStringLiteralExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/InterpolatedStringLiteralExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/InterpolatedStringLiteralExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/IsExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/IsExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/IsExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/IsExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/KeyPathApplicationExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/KeyPathApplicationExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/KeyPathApplicationExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/KeyPathApplicationExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/KeyPathDotExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/KeyPathDotExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/KeyPathDotExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/KeyPathDotExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr.ql b/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr.ql index 783f1904040f..627e5b130db4 100644 --- a/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getComponent.ql b/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getComponent.ql index 27a30ae6c7fd..dc7eda149488 100644 --- a/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getComponent.ql +++ b/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getComponent.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getRoot.ql b/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getRoot.ql index 5ec9803da852..10d5ee29d43b 100644 --- a/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getRoot.ql +++ b/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getRoot.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getType.ql index 8743a0f0375c..84c2a6c37d87 100644 --- a/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/KeyPathExpr/KeyPathExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/LazyInitializationExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/LazyInitializationExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/LazyInitializationExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/LazyInitializationExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/MagicIdentifierLiteralExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/MagicIdentifierLiteralExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/MagicIdentifierLiteralExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/MagicIdentifierLiteralExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/MakeTemporarilyEscapableExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/MakeTemporarilyEscapableExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/MakeTemporarilyEscapableExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/MakeTemporarilyEscapableExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/MemberRefExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/MemberRefExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/MemberRefExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/MemberRefExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr.ql b/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr.ql index a039a6974fc1..74a45c0bad31 100644 --- a/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getMember.ql b/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getMember.ql index dc60bfbc3577..5ac3ed350025 100644 --- a/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getType.ql index 0b7759ab9c75..63641a8fc5f8 100644 --- a/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/NilLiteralExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/NilLiteralExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/NilLiteralExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/NilLiteralExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr.ql b/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr.ql index 161c455ae291..229da3ff942b 100644 --- a/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getArgument.ql b/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getArgument.ql index 174a68b37588..ee6d74c73f05 100644 --- a/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getArgument.ql +++ b/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getArgument.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getType.ql index ccd94120b019..98378261fd0e 100644 --- a/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/ObjectLiteralExpr/ObjectLiteralExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/OneWayExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/OneWayExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/OneWayExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/OneWayExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/OpaqueValueExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/OpaqueValueExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/OpaqueValueExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/OpaqueValueExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr.ql b/swift/ql/test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr.ql index ddff95364d2d..86e0c4888728 100644 --- a/swift/ql/test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr_getType.ql index 11f926e60ce6..3e6f5ad9700a 100644 --- a/swift/ql/test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/OpenExistentialExpr/OpenExistentialExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/OptionalEvaluationExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/OptionalEvaluationExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/OptionalEvaluationExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/OptionalEvaluationExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/OptionalTryExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/OptionalTryExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/OptionalTryExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/OptionalTryExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/OtherInitializerRefExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/OtherInitializerRefExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/OtherInitializerRefExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/OtherInitializerRefExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr.ql b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr.ql index 3b72f169f237..190e40098935 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr_getType.ql index a99e03771f67..e1c8ad68ca45 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/MaterializePackExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr.ql b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr.ql index bc163609e487..c86c6235de8e 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr_getType.ql index d8bfd96669fd..7e43978e2b21 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackElementExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr.ql b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr.ql index 6877a69060ef..a7a19b30b9eb 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr_getType.ql index f7b294a7b25b..a7d8aec2bf33 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PackExpansionExpr/PackExpansionExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr.ql b/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr.ql index 6e7cf71b9a25..cbdd281f5d65 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getArgument.ql b/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getArgument.ql index 5390cd654452..f8d2dbc0b8f2 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getArgument.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getArgument.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getType.ql index 896a0a4ae00e..175b51cc516b 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PostfixUnaryExpr/PostfixUnaryExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/PrefixUnaryExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/PrefixUnaryExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PrefixUnaryExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/PrefixUnaryExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr.ql b/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr.ql index 2ca1ad98642d..7d385ce8430c 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getType.ql index a79c4d23c895..530cbc872830 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getWrappedValue.ql b/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getWrappedValue.ql index 9d6c9e417fa1..028c492631b9 100644 --- a/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getWrappedValue.ql +++ b/swift/ql/test/extractor-tests/generated/expr/PropertyWrapperValuePlaceholderExpr/PropertyWrapperValuePlaceholderExpr_getWrappedValue.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/RebindSelfInInitializerExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/RebindSelfInInitializerExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/RebindSelfInInitializerExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/RebindSelfInInitializerExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/RegexLiteralExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/RegexLiteralExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/RegexLiteralExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/RegexLiteralExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr.ql b/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr.ql index e2da5833ed81..79e304da1d7e 100644 --- a/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr.ql +++ b/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr_getType.ql b/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr_getType.ql index 290f4c706842..bd8354df61d9 100644 --- a/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr_getType.ql +++ b/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/SingleValueStmtExpr_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/ThenStmt.ql b/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/ThenStmt.ql index ca24dfa1c4f3..a03b5a6b9ae0 100644 --- a/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/ThenStmt.ql +++ b/swift/ql/test/extractor-tests/generated/expr/SingleValueStmtExpr/ThenStmt.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/expr/StringLiteralExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/StringLiteralExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/StringLiteralExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/StringLiteralExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/SubscriptExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/SubscriptExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/SubscriptExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/SubscriptExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/SuperRefExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/SuperRefExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/SuperRefExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/SuperRefExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/TapExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/TapExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/TapExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/TapExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/TryExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/TryExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/TryExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/TryExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/TupleElementExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/TupleElementExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/TupleElementExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/TupleElementExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/TupleExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/TupleExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/TupleExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/TupleExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/TypeExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/TypeExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/TypeExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/TypeExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/expr/VarargExpansionExpr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/expr/VarargExpansionExpr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/expr/VarargExpansionExpr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/expr/VarargExpansionExpr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/pattern/AnyPattern/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/pattern/AnyPattern/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/pattern/AnyPattern/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/pattern/AnyPattern/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/pattern/BindingPattern/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/pattern/BindingPattern/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/pattern/BindingPattern/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/pattern/BindingPattern/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/pattern/BoolPattern/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/pattern/BoolPattern/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/pattern/BoolPattern/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/pattern/BoolPattern/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/pattern/EnumElementPattern/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/pattern/EnumElementPattern/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/pattern/EnumElementPattern/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/pattern/EnumElementPattern/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/pattern/ExprPattern/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/pattern/ExprPattern/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/pattern/ExprPattern/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/pattern/ExprPattern/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/pattern/IsPattern/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/pattern/IsPattern/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/pattern/IsPattern/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/pattern/IsPattern/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/pattern/NamedPattern/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/pattern/NamedPattern/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/pattern/NamedPattern/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/pattern/NamedPattern/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/pattern/OptionalSomePattern/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/pattern/OptionalSomePattern/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/pattern/OptionalSomePattern/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/pattern/OptionalSomePattern/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/pattern/ParenPattern/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/pattern/ParenPattern/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/pattern/ParenPattern/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/pattern/ParenPattern/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/pattern/TuplePattern/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/pattern/TuplePattern/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/pattern/TuplePattern/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/pattern/TuplePattern/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/pattern/TypedPattern/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/pattern/TypedPattern/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/pattern/TypedPattern/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/pattern/TypedPattern/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/BraceStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/BraceStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/BraceStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/BraceStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/BreakStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/BreakStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/BreakStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/BreakStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/ConditionElement/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/ConditionElement/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/ConditionElement/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/ConditionElement/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/ContinueStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/ContinueStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/ContinueStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/ContinueStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/DeferStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/DeferStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/DeferStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/DeferStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/DiscardStmt/DiscardStmt.ql b/swift/ql/test/extractor-tests/generated/stmt/DiscardStmt/DiscardStmt.ql index c7b1cb21d59b..6d8807ea0639 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/DiscardStmt/DiscardStmt.ql +++ b/swift/ql/test/extractor-tests/generated/stmt/DiscardStmt/DiscardStmt.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/stmt/DoCatchStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/DoCatchStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/DoCatchStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/DoCatchStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/DoStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/DoStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/DoStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/DoStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/FailStmt/FailStmt.ql b/swift/ql/test/extractor-tests/generated/stmt/FailStmt/FailStmt.ql index d4cc968079b0..94e0f1180921 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/FailStmt/FailStmt.ql +++ b/swift/ql/test/extractor-tests/generated/stmt/FailStmt/FailStmt.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/stmt/FallthroughStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/FallthroughStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/FallthroughStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/FallthroughStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/ForEachStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/ForEachStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/ForEachStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/ForEachStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/GuardStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/GuardStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/GuardStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/GuardStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/IfStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/IfStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/IfStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/IfStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/PoundAssertStmt/PoundAssertStmt.ql b/swift/ql/test/extractor-tests/generated/stmt/PoundAssertStmt/PoundAssertStmt.ql index aa86b7d20574..b87fecd5d030 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/PoundAssertStmt/PoundAssertStmt.ql +++ b/swift/ql/test/extractor-tests/generated/stmt/PoundAssertStmt/PoundAssertStmt.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/stmt/RepeatWhileStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/RepeatWhileStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/RepeatWhileStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/RepeatWhileStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/ReturnStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/ReturnStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/ReturnStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/ReturnStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/StmtCondition/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/StmtCondition/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/StmtCondition/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/StmtCondition/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem.ql b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem.ql index d6b42f09b8ac..9808b8ab7d0d 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem.ql +++ b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem_getGuard.ql b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem_getGuard.ql index 30a264b73b9b..08e9260bc8e3 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem_getGuard.ql +++ b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseLabelItem_getGuard.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt.ql b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt.ql index 4e25a4152dd7..8951cdb1cb8b 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt.ql +++ b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getLabel.ql b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getLabel.ql index fe65417e85c2..a40470354576 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getLabel.ql +++ b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getLabel.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getVariable.ql b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getVariable.ql index 21b050eea59b..14d32d18ddf3 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getVariable.ql +++ b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/CaseStmt_getVariable.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt.ql b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt.ql index 7e2fc2ae7340..2844d4ebd903 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt.ql +++ b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getCase.ql b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getCase.ql index 791580913d1c..c9f55f3b1d20 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getCase.ql +++ b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getCase.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getLabel.ql b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getLabel.ql index 8a8a7e1ccd35..2d9aaf458453 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getLabel.ql +++ b/swift/ql/test/extractor-tests/generated/stmt/SwitchStmt/SwitchStmt_getLabel.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/stmt/ThrowStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/ThrowStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/ThrowStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/ThrowStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/WhileStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/WhileStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/WhileStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/WhileStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/stmt/YieldStmt/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/stmt/YieldStmt/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/stmt/YieldStmt/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/stmt/YieldStmt/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/ArraySliceType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/ArraySliceType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/ArraySliceType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/ArraySliceType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/BoundGenericClassType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/BoundGenericClassType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/BoundGenericClassType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/BoundGenericClassType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/BoundGenericEnumType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/BoundGenericEnumType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/BoundGenericEnumType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/BoundGenericEnumType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/BoundGenericStructType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/BoundGenericStructType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/BoundGenericStructType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/BoundGenericStructType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType.ql b/swift/ql/test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType.ql index fbb68b0f2382..ea32bf91d748 100644 --- a/swift/ql/test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType.ql +++ b/swift/ql/test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType_getWidth.ql b/swift/ql/test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType_getWidth.ql index ebe05b7b0cb3..15fcefae59f1 100644 --- a/swift/ql/test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType_getWidth.ql +++ b/swift/ql/test/extractor-tests/generated/type/BuiltinIntegerType/BuiltinIntegerType_getWidth.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/BuiltinType/BuiltinType.ql b/swift/ql/test/extractor-tests/generated/type/BuiltinType/BuiltinType.ql index 8501ae9f9ced..6488c2a30658 100644 --- a/swift/ql/test/extractor-tests/generated/type/BuiltinType/BuiltinType.ql +++ b/swift/ql/test/extractor-tests/generated/type/BuiltinType/BuiltinType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/ClassType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/ClassType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/ClassType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/ClassType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/DependentMemberType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/DependentMemberType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/DependentMemberType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/DependentMemberType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/DictionaryType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/DictionaryType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/DictionaryType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/DictionaryType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/DynamicSelfType/DynamicSelfType.ql b/swift/ql/test/extractor-tests/generated/type/DynamicSelfType/DynamicSelfType.ql index 24168993ef38..24849d7c8dfc 100644 --- a/swift/ql/test/extractor-tests/generated/type/DynamicSelfType/DynamicSelfType.ql +++ b/swift/ql/test/extractor-tests/generated/type/DynamicSelfType/DynamicSelfType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/EnumType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/EnumType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/EnumType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/EnumType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/ExistentialMetatypeType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/ExistentialMetatypeType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/ExistentialMetatypeType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/ExistentialMetatypeType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/ExistentialType/ExistentialType.ql b/swift/ql/test/extractor-tests/generated/type/ExistentialType/ExistentialType.ql index 70fd9f1ea2b0..84eb1eeef21f 100644 --- a/swift/ql/test/extractor-tests/generated/type/ExistentialType/ExistentialType.ql +++ b/swift/ql/test/extractor-tests/generated/type/ExistentialType/ExistentialType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/FunctionType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/FunctionType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/FunctionType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/FunctionType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/GenericFunctionType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/GenericFunctionType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/GenericFunctionType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/GenericFunctionType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/GenericTypeParamType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/GenericTypeParamType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/GenericTypeParamType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/GenericTypeParamType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/InOutType/InOutType.ql b/swift/ql/test/extractor-tests/generated/type/InOutType/InOutType.ql index 1120208101d1..9cb466a5dbf5 100644 --- a/swift/ql/test/extractor-tests/generated/type/InOutType/InOutType.ql +++ b/swift/ql/test/extractor-tests/generated/type/InOutType/InOutType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/LValueType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/LValueType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/LValueType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/LValueType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/MetatypeType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/MetatypeType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/MetatypeType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/MetatypeType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/ModuleType/ModuleType.ql b/swift/ql/test/extractor-tests/generated/type/ModuleType/ModuleType.ql index aa070b52e34f..b02c0ae4ee7a 100644 --- a/swift/ql/test/extractor-tests/generated/type/ModuleType/ModuleType.ql +++ b/swift/ql/test/extractor-tests/generated/type/ModuleType/ModuleType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType.ql b/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType.ql index 0b7c4aaed848..fab7fccc357d 100644 --- a/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType.ql +++ b/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getProtocol.ql b/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getProtocol.ql index c404fb291978..ac3498c699ad 100644 --- a/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getProtocol.ql +++ b/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getProtocol.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getSuperclass.ql b/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getSuperclass.ql index 540efb06cb36..e32a97a7ceef 100644 --- a/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getSuperclass.ql +++ b/swift/ql/test/extractor-tests/generated/type/OpaqueTypeArchetypeType/OpaqueTypeArchetypeType_getSuperclass.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType.ql b/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType.ql index a5d633e900e1..418367b34daa 100644 --- a/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType.ql +++ b/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getProtocol.ql b/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getProtocol.ql index 58fed5dda7bd..e3408e77e8f4 100644 --- a/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getProtocol.ql +++ b/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getProtocol.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getSuperclass.ql b/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getSuperclass.ql index 46f00a08c888..6dcddb59c265 100644 --- a/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getSuperclass.ql +++ b/swift/ql/test/extractor-tests/generated/type/OpenedArchetypeType/OpenedArchetypeType_getSuperclass.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/OptionalType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/OptionalType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/OptionalType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/OptionalType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType.ql b/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType.ql index 2d875ea5735b..3b1e13580ed8 100644 --- a/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType.ql +++ b/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType_getProtocol.ql b/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType_getProtocol.ql index 73de3481c1f6..57385c7695f9 100644 --- a/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType_getProtocol.ql +++ b/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType_getProtocol.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType_getSuperclass.ql b/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType_getSuperclass.ql index 4d4899780471..01204fdd0596 100644 --- a/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType_getSuperclass.ql +++ b/swift/ql/test/extractor-tests/generated/type/PackType/ElementArchetypeType_getSuperclass.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType.ql b/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType.ql index 5156f8120dba..4f98b8a7e4e0 100644 --- a/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType.ql +++ b/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType_getProtocol.ql b/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType_getProtocol.ql index 29067f14ba64..653fe7b7371e 100644 --- a/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType_getProtocol.ql +++ b/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType_getProtocol.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType_getSuperclass.ql b/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType_getSuperclass.ql index b50ed7e09094..b22b1750eb40 100644 --- a/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType_getSuperclass.ql +++ b/swift/ql/test/extractor-tests/generated/type/PackType/PackArchetypeType_getSuperclass.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/PackType/PackElementType.ql b/swift/ql/test/extractor-tests/generated/type/PackType/PackElementType.ql index b99d340797b3..af95548518af 100644 --- a/swift/ql/test/extractor-tests/generated/type/PackType/PackElementType.ql +++ b/swift/ql/test/extractor-tests/generated/type/PackType/PackElementType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/PackType/PackExpansionType.ql b/swift/ql/test/extractor-tests/generated/type/PackType/PackExpansionType.ql index 950bf1ac471a..d429b165a6c3 100644 --- a/swift/ql/test/extractor-tests/generated/type/PackType/PackExpansionType.ql +++ b/swift/ql/test/extractor-tests/generated/type/PackType/PackExpansionType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/PackType/PackType.ql b/swift/ql/test/extractor-tests/generated/type/PackType/PackType.ql index 45dc61788cf9..1843314a0524 100644 --- a/swift/ql/test/extractor-tests/generated/type/PackType/PackType.ql +++ b/swift/ql/test/extractor-tests/generated/type/PackType/PackType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/PackType/PackType_getElement.ql b/swift/ql/test/extractor-tests/generated/type/PackType/PackType_getElement.ql index 5532f0206237..efd27f799012 100644 --- a/swift/ql/test/extractor-tests/generated/type/PackType/PackType_getElement.ql +++ b/swift/ql/test/extractor-tests/generated/type/PackType/PackType_getElement.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType.ql b/swift/ql/test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType.ql index 946402518134..f01ab88af8ee 100644 --- a/swift/ql/test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType.ql +++ b/swift/ql/test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType_getArg.ql b/swift/ql/test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType_getArg.ql index 54ef721f65b1..7ec2d6a6ca60 100644 --- a/swift/ql/test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType_getArg.ql +++ b/swift/ql/test/extractor-tests/generated/type/ParameterizedProtocolType/ParameterizedProtocolType_getArg.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/ParenType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/ParenType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/ParenType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/ParenType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType.ql b/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType.ql index 84dc9d132c03..009b17a3eb51 100644 --- a/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType.ql +++ b/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getProtocol.ql b/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getProtocol.ql index b6f048d7d4c8..1f3a116e24f0 100644 --- a/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getProtocol.ql +++ b/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getProtocol.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getSuperclass.ql b/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getSuperclass.ql index c534295c8744..821aea038298 100644 --- a/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getSuperclass.ql +++ b/swift/ql/test/extractor-tests/generated/type/PrimaryArchetypeType/PrimaryArchetypeType_getSuperclass.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType.ql b/swift/ql/test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType.ql index 5530b437811e..c681ba747890 100644 --- a/swift/ql/test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType.ql +++ b/swift/ql/test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType_getMember.ql b/swift/ql/test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType_getMember.ql index 4804b2237276..5eb99395660a 100644 --- a/swift/ql/test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType_getMember.ql +++ b/swift/ql/test/extractor-tests/generated/type/ProtocolCompositionType/ProtocolCompositionType_getMember.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/ProtocolType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/ProtocolType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/ProtocolType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/ProtocolType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/StructType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/StructType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/StructType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/StructType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType.ql b/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType.ql index bdb09c800612..a14cf6786ccb 100644 --- a/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType.ql +++ b/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType_getName.ql b/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType_getName.ql index 4e24405d2105..f71ab6709d65 100644 --- a/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType_getName.ql +++ b/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType_getName.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType_getType.ql b/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType_getType.ql index 3b01875dfb84..431aefc42f16 100644 --- a/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType_getType.ql +++ b/swift/ql/test/extractor-tests/generated/type/TupleType/TupleType_getType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/TypeAliasType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/TypeAliasType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/TypeAliasType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/TypeAliasType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/TypeRepr/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/TypeRepr/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/TypeRepr/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/TypeRepr/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/UnboundGenericType/MISSING_SOURCE.txt b/swift/ql/test/extractor-tests/generated/type/UnboundGenericType/MISSING_SOURCE.txt index 25daf3d23a21..bdba87873f26 100644 --- a/swift/ql/test/extractor-tests/generated/type/UnboundGenericType/MISSING_SOURCE.txt +++ b/swift/ql/test/extractor-tests/generated/type/UnboundGenericType/MISSING_SOURCE.txt @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit After a source file is added in this directory and codegen/codegen.py is run again, test queries will appear and this file will be deleted diff --git a/swift/ql/test/extractor-tests/generated/type/UnmanagedStorageType/UnmanagedStorageType.ql b/swift/ql/test/extractor-tests/generated/type/UnmanagedStorageType/UnmanagedStorageType.ql index 747bfa62e432..a69efd504925 100644 --- a/swift/ql/test/extractor-tests/generated/type/UnmanagedStorageType/UnmanagedStorageType.ql +++ b/swift/ql/test/extractor-tests/generated/type/UnmanagedStorageType/UnmanagedStorageType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/UnownedStorageType/UnownedStorageType.ql b/swift/ql/test/extractor-tests/generated/type/UnownedStorageType/UnownedStorageType.ql index 85a48fd37106..b08407203f7b 100644 --- a/swift/ql/test/extractor-tests/generated/type/UnownedStorageType/UnownedStorageType.ql +++ b/swift/ql/test/extractor-tests/generated/type/UnownedStorageType/UnownedStorageType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/VariadicSequenceType/VariadicSequenceType.ql b/swift/ql/test/extractor-tests/generated/type/VariadicSequenceType/VariadicSequenceType.ql index 7d4a8ea1af71..d87743fc4f41 100644 --- a/swift/ql/test/extractor-tests/generated/type/VariadicSequenceType/VariadicSequenceType.ql +++ b/swift/ql/test/extractor-tests/generated/type/VariadicSequenceType/VariadicSequenceType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/extractor-tests/generated/type/WeakStorageType/WeakStorageType.ql b/swift/ql/test/extractor-tests/generated/type/WeakStorageType/WeakStorageType.ql index e332f518a400..8cbe22fd154a 100644 --- a/swift/ql/test/extractor-tests/generated/type/WeakStorageType/WeakStorageType.ql +++ b/swift/ql/test/extractor-tests/generated/type/WeakStorageType/WeakStorageType.ql @@ -1,4 +1,4 @@ -// generated by codegen/codegen.py +// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils diff --git a/swift/ql/test/query-tests/Security/CWE-078/CommandInjection.expected.orig b/swift/ql/test/query-tests/Security/CWE-078/CommandInjection.expected.orig new file mode 100644 index 000000000000..bcb00d879ee2 --- /dev/null +++ b/swift/ql/test/query-tests/Security/CWE-078/CommandInjection.expected.orig @@ -0,0 +1,623 @@ +edges +<<<<<<< HEAD +| CommandInjection.swift:64:22:64:33 | command | CommandInjection.swift:68:16:68:16 | command | provenance | | +| CommandInjection.swift:64:22:64:33 | command [some:0] | CommandInjection.swift:68:16:68:16 | command [some:0] | provenance | | +| CommandInjection.swift:68:16:68:16 | command | CommandInjection.swift:68:16:68:16 | command [some:0] | provenance | | +| CommandInjection.swift:75:8:75:12 | let ...? [some:0, some:0] | CommandInjection.swift:75:12:75:12 | userControlledString [some:0] | provenance | | +| CommandInjection.swift:75:8:75:12 | let ...? [some:0] | CommandInjection.swift:75:12:75:12 | userControlledString | provenance | | +| CommandInjection.swift:75:12:75:12 | userControlledString | CommandInjection.swift:81:27:81:27 | userControlledString | provenance | | +| CommandInjection.swift:75:12:75:12 | userControlledString | CommandInjection.swift:84:43:84:43 | userControlledString | provenance | | +| CommandInjection.swift:75:12:75:12 | userControlledString [some:0] | CommandInjection.swift:84:43:84:43 | userControlledString [some:0] | provenance | | +| CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) | CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) [some:0] | provenance | | +| CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) | CommandInjection.swift:81:27:81:27 | userControlledString | provenance | | +| CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) | CommandInjection.swift:84:43:84:43 | userControlledString | provenance | | +| CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) [some:0, some:0] | CommandInjection.swift:75:8:75:12 | let ...? [some:0, some:0] | provenance | | +| CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) [some:0] | CommandInjection.swift:75:8:75:12 | let ...? [some:0] | provenance | | +| CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) [some:0] | CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) [some:0, some:0] | provenance | | +| CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) [some:0] | CommandInjection.swift:84:43:84:43 | userControlledString [some:0] | provenance | | +| CommandInjection.swift:81:2:81:2 | [post] task1 [arguments, Collection element] | CommandInjection.swift:81:2:81:2 | [post] task1 | provenance | | +| CommandInjection.swift:81:20:81:47 | [...] [Collection element] | CommandInjection.swift:81:2:81:2 | [post] task1 [arguments, Collection element] | provenance | | +| CommandInjection.swift:81:27:81:27 | userControlledString | CommandInjection.swift:81:20:81:47 | [...] [Collection element] | provenance | | +| CommandInjection.swift:84:5:84:9 | let ...? [some:0] | CommandInjection.swift:84:9:84:9 | validatedString | provenance | | +| CommandInjection.swift:84:9:84:9 | validatedString | CommandInjection.swift:87:31:87:31 | validatedString | provenance | | +| CommandInjection.swift:84:27:84:63 | call to validateCommand(_:) | CommandInjection.swift:87:31:87:31 | validatedString | provenance | | +| CommandInjection.swift:84:27:84:63 | call to validateCommand(_:) [some:0] | CommandInjection.swift:84:5:84:9 | let ...? [some:0] | provenance | | +| CommandInjection.swift:84:43:84:43 | userControlledString | CommandInjection.swift:64:22:64:33 | command | provenance | | +| CommandInjection.swift:84:43:84:43 | userControlledString | CommandInjection.swift:84:27:84:63 | call to validateCommand(_:) | provenance | | +| CommandInjection.swift:84:43:84:43 | userControlledString | CommandInjection.swift:84:27:84:63 | call to validateCommand(_:) [some:0] | provenance | | +| CommandInjection.swift:84:43:84:43 | userControlledString [some:0] | CommandInjection.swift:64:22:64:33 | command [some:0] | provenance | | +| CommandInjection.swift:84:43:84:43 | userControlledString [some:0] | CommandInjection.swift:84:27:84:63 | call to validateCommand(_:) [some:0] | provenance | | +| CommandInjection.swift:87:6:87:6 | [post] task2 [arguments, Collection element] | CommandInjection.swift:87:6:87:6 | [post] task2 | provenance | | +| CommandInjection.swift:87:24:87:46 | [...] [Collection element] | CommandInjection.swift:87:6:87:6 | [post] task2 [arguments, Collection element] | provenance | | +| CommandInjection.swift:87:31:87:31 | validatedString | CommandInjection.swift:87:24:87:46 | [...] [Collection element] | provenance | | +| CommandInjection.swift:99:20:99:40 | arguments [Collection element] | CommandInjection.swift:100:20:100:20 | arguments [Collection element] | provenance | | +| CommandInjection.swift:100:3:100:3 | [post] self [arguments, Collection element] | CommandInjection.swift:100:3:100:3 | [post] self | provenance | | +| CommandInjection.swift:100:20:100:20 | arguments [Collection element] | CommandInjection.swift:100:3:100:3 | [post] self [arguments, Collection element] | provenance | | +| CommandInjection.swift:105:8:105:12 | let ...? [some:0] | CommandInjection.swift:105:12:105:12 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:120:36:120:36 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:121:28:121:28 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:125:45:125:45 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:126:36:126:36 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:127:28:127:36 | ... .+(_:_:) ... | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:131:46:131:46 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:132:22:132:22 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:136:45:136:45 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:137:36:137:36 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:138:21:138:21 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:139:22:139:22 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:140:24:140:24 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:150:42:150:42 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:151:75:151:75 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:154:35:154:35 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:155:70:155:70 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:160:53:160:53 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:163:52:163:52 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:164:33:164:33 | userControlledString | provenance | | +| CommandInjection.swift:105:12:105:12 | userControlledString | CommandInjection.swift:166:57:166:57 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) [some:0] | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:120:36:120:36 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:121:28:121:28 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:125:45:125:45 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:126:36:126:36 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:127:28:127:36 | ... .+(_:_:) ... | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:131:46:131:46 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:132:22:132:22 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:136:45:136:45 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:137:36:137:36 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:138:21:138:21 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:139:22:139:22 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:140:24:140:24 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:150:42:150:42 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:151:75:151:75 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:154:35:154:35 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:155:70:155:70 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:160:53:160:53 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:163:52:163:52 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:164:33:164:33 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:166:57:166:57 | userControlledString | provenance | | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) [some:0] | CommandInjection.swift:105:8:105:12 | let ...? [some:0] | provenance | | +| CommandInjection.swift:120:2:120:2 | [post] task3 [executableURL] | CommandInjection.swift:120:2:120:2 | [post] task3 | provenance | | +======= +| CommandInjection.swift:58:22:58:33 | command | CommandInjection.swift:62:16:62:16 | command | provenance | | +| CommandInjection.swift:58:22:58:33 | command [some:0] | CommandInjection.swift:62:16:62:16 | command [some:0] | provenance | | +| CommandInjection.swift:62:16:62:16 | command | CommandInjection.swift:62:16:62:16 | command [some:0] | provenance | | +| CommandInjection.swift:69:8:69:12 | let ...? [some:0, some:0] | CommandInjection.swift:69:12:69:12 | userControlledString [some:0] | provenance | | +| CommandInjection.swift:69:8:69:12 | let ...? [some:0] | CommandInjection.swift:69:12:69:12 | userControlledString | provenance | | +| CommandInjection.swift:69:12:69:12 | userControlledString | CommandInjection.swift:75:27:75:27 | userControlledString | provenance | | +| CommandInjection.swift:69:12:69:12 | userControlledString | CommandInjection.swift:78:43:78:43 | userControlledString | provenance | | +| CommandInjection.swift:69:12:69:12 | userControlledString [some:0] | CommandInjection.swift:78:43:78:43 | userControlledString [some:0] | provenance | | +| CommandInjection.swift:69:40:69:94 | call to String.init(contentsOf:) | CommandInjection.swift:69:40:69:94 | call to String.init(contentsOf:) [some:0] | provenance | | +| CommandInjection.swift:69:40:69:94 | call to String.init(contentsOf:) | CommandInjection.swift:75:27:75:27 | userControlledString | provenance | | +| CommandInjection.swift:69:40:69:94 | call to String.init(contentsOf:) | CommandInjection.swift:78:43:78:43 | userControlledString | provenance | | +| CommandInjection.swift:69:40:69:94 | call to String.init(contentsOf:) [some:0, some:0] | CommandInjection.swift:69:8:69:12 | let ...? [some:0, some:0] | provenance | | +| CommandInjection.swift:69:40:69:94 | call to String.init(contentsOf:) [some:0] | CommandInjection.swift:69:8:69:12 | let ...? [some:0] | provenance | | +| CommandInjection.swift:69:40:69:94 | call to String.init(contentsOf:) [some:0] | CommandInjection.swift:69:40:69:94 | call to String.init(contentsOf:) [some:0, some:0] | provenance | | +| CommandInjection.swift:69:40:69:94 | call to String.init(contentsOf:) [some:0] | CommandInjection.swift:78:43:78:43 | userControlledString [some:0] | provenance | | +| CommandInjection.swift:75:2:75:2 | [post] task1 [arguments, Collection element] | CommandInjection.swift:75:2:75:2 | [post] task1 | provenance | | +| CommandInjection.swift:75:20:75:47 | [...] [Collection element] | CommandInjection.swift:75:2:75:2 | [post] task1 [arguments, Collection element] | provenance | | +| CommandInjection.swift:75:27:75:27 | userControlledString | CommandInjection.swift:75:20:75:47 | [...] [Collection element] | provenance | | +| CommandInjection.swift:78:5:78:9 | let ...? [some:0] | CommandInjection.swift:78:9:78:9 | validatedString | provenance | | +| CommandInjection.swift:78:9:78:9 | validatedString | CommandInjection.swift:81:31:81:31 | validatedString | provenance | | +| CommandInjection.swift:78:27:78:63 | call to validateCommand(_:) | CommandInjection.swift:81:31:81:31 | validatedString | provenance | | +| CommandInjection.swift:78:27:78:63 | call to validateCommand(_:) [some:0] | CommandInjection.swift:78:5:78:9 | let ...? [some:0] | provenance | | +| CommandInjection.swift:78:43:78:43 | userControlledString | CommandInjection.swift:58:22:58:33 | command | provenance | | +| CommandInjection.swift:78:43:78:43 | userControlledString | CommandInjection.swift:78:27:78:63 | call to validateCommand(_:) | provenance | | +| CommandInjection.swift:78:43:78:43 | userControlledString | CommandInjection.swift:78:27:78:63 | call to validateCommand(_:) [some:0] | provenance | | +| CommandInjection.swift:78:43:78:43 | userControlledString [some:0] | CommandInjection.swift:58:22:58:33 | command [some:0] | provenance | | +| CommandInjection.swift:78:43:78:43 | userControlledString [some:0] | CommandInjection.swift:78:27:78:63 | call to validateCommand(_:) [some:0] | provenance | | +| CommandInjection.swift:81:6:81:6 | [post] task2 [arguments, Collection element] | CommandInjection.swift:81:6:81:6 | [post] task2 | provenance | | +| CommandInjection.swift:81:24:81:46 | [...] [Collection element] | CommandInjection.swift:81:6:81:6 | [post] task2 [arguments, Collection element] | provenance | | +| CommandInjection.swift:81:31:81:31 | validatedString | CommandInjection.swift:81:24:81:46 | [...] [Collection element] | provenance | | +| CommandInjection.swift:93:20:93:40 | arguments [Collection element] | CommandInjection.swift:94:20:94:20 | arguments [Collection element] | provenance | | +| CommandInjection.swift:94:3:94:3 | [post] self [arguments, Collection element] | CommandInjection.swift:94:3:94:3 | [post] self | provenance | | +| CommandInjection.swift:94:20:94:20 | arguments [Collection element] | CommandInjection.swift:94:3:94:3 | [post] self [arguments, Collection element] | provenance | | +| CommandInjection.swift:99:8:99:12 | let ...? [some:0] | CommandInjection.swift:99:12:99:12 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:114:36:114:36 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:115:28:115:28 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:119:45:119:45 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:120:36:120:36 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:121:28:121:36 | ... .+(_:_:) ... | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:125:46:125:46 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:126:22:126:22 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:130:45:130:45 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:131:36:131:36 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:132:21:132:21 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:133:22:133:22 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:144:42:144:42 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:145:75:145:75 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:148:35:148:35 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:149:70:149:70 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:154:53:154:53 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:157:52:157:52 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:158:33:158:33 | userControlledString | provenance | | +| CommandInjection.swift:99:12:99:12 | userControlledString | CommandInjection.swift:160:57:160:57 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) [some:0] | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:114:36:114:36 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:115:28:115:28 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:119:45:119:45 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:120:36:120:36 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:121:28:121:36 | ... .+(_:_:) ... | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:125:46:125:46 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:126:22:126:22 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:130:45:130:45 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:131:36:131:36 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:132:21:132:21 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:133:22:133:22 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:144:42:144:42 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:145:75:145:75 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:148:35:148:35 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:149:70:149:70 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:154:53:154:53 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:157:52:157:52 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:158:33:158:33 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) | CommandInjection.swift:160:57:160:57 | userControlledString | provenance | | +| CommandInjection.swift:99:40:99:94 | call to String.init(contentsOf:) [some:0] | CommandInjection.swift:99:8:99:12 | let ...? [some:0] | provenance | | +| CommandInjection.swift:114:2:114:2 | [post] task3 [executableURL] | CommandInjection.swift:114:2:114:2 | [post] task3 | provenance | | +| CommandInjection.swift:114:24:114:56 | call to URL.init(string:) [some:0] | CommandInjection.swift:114:24:114:57 | ...! | provenance | | +| CommandInjection.swift:114:24:114:57 | ...! | CommandInjection.swift:114:2:114:2 | [post] task3 [executableURL] | provenance | | +| CommandInjection.swift:114:36:114:36 | userControlledString | CommandInjection.swift:114:24:114:56 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:115:2:115:2 | [post] task3 [arguments, Collection element] | CommandInjection.swift:115:2:115:2 | [post] task3 | provenance | | +| CommandInjection.swift:115:20:115:48 | [...] [Collection element] | CommandInjection.swift:115:2:115:2 | [post] task3 [arguments, Collection element] | provenance | | +| CommandInjection.swift:115:28:115:28 | userControlledString | CommandInjection.swift:115:20:115:48 | [...] [Collection element] | provenance | | +| CommandInjection.swift:119:2:119:2 | [post] task4 [executableURL] | CommandInjection.swift:119:2:119:2 | [post] task4 | provenance | | +| CommandInjection.swift:119:24:119:65 | call to URL.init(fileURLWithPath:) | CommandInjection.swift:119:2:119:2 | [post] task4 [executableURL] | provenance | | +| CommandInjection.swift:119:45:119:45 | userControlledString | CommandInjection.swift:119:24:119:65 | call to URL.init(fileURLWithPath:) | provenance | | +| CommandInjection.swift:120:2:120:2 | [post] task4 [executableURL] | CommandInjection.swift:120:2:120:2 | [post] task4 | provenance | | +>>>>>>> 9c984f3515 (refactor2) +| CommandInjection.swift:120:24:120:56 | call to URL.init(string:) [some:0] | CommandInjection.swift:120:24:120:57 | ...! | provenance | | +| CommandInjection.swift:120:24:120:57 | ...! | CommandInjection.swift:120:2:120:2 | [post] task3 [executableURL] | provenance | | +| CommandInjection.swift:120:36:120:36 | userControlledString | CommandInjection.swift:120:24:120:56 | call to URL.init(string:) [some:0] | provenance | | +<<<<<<< HEAD +| CommandInjection.swift:121:2:121:2 | [post] task3 [arguments, Collection element] | CommandInjection.swift:121:2:121:2 | [post] task3 | provenance | | +| CommandInjection.swift:121:20:121:48 | [...] [Collection element] | CommandInjection.swift:121:2:121:2 | [post] task3 [arguments, Collection element] | provenance | | +| CommandInjection.swift:121:28:121:28 | userControlledString | CommandInjection.swift:121:20:121:48 | [...] [Collection element] | provenance | | +| CommandInjection.swift:125:2:125:2 | [post] task4 [executableURL] | CommandInjection.swift:125:2:125:2 | [post] task4 | provenance | | +| CommandInjection.swift:125:24:125:65 | call to URL.init(fileURLWithPath:) | CommandInjection.swift:125:2:125:2 | [post] task4 [executableURL] | provenance | | +| CommandInjection.swift:125:45:125:45 | userControlledString | CommandInjection.swift:125:24:125:65 | call to URL.init(fileURLWithPath:) | provenance | | +| CommandInjection.swift:126:2:126:2 | [post] task4 [executableURL] | CommandInjection.swift:126:2:126:2 | [post] task4 | provenance | | +| CommandInjection.swift:126:24:126:56 | call to URL.init(string:) [some:0] | CommandInjection.swift:126:24:126:57 | ...! | provenance | | +| CommandInjection.swift:126:24:126:57 | ...! | CommandInjection.swift:126:2:126:2 | [post] task4 [executableURL] | provenance | | +| CommandInjection.swift:126:36:126:36 | userControlledString | CommandInjection.swift:126:24:126:56 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:127:2:127:2 | [post] task4 [arguments, Collection element] | CommandInjection.swift:127:2:127:2 | [post] task4 | provenance | | +| CommandInjection.swift:127:20:127:56 | [...] [Collection element] | CommandInjection.swift:127:2:127:2 | [post] task4 [arguments, Collection element] | provenance | | +| CommandInjection.swift:127:28:127:36 | ... .+(_:_:) ... | CommandInjection.swift:127:20:127:56 | [...] [Collection element] | provenance | | +| CommandInjection.swift:131:2:131:7 | [post] ...? [executableURL] | CommandInjection.swift:131:2:131:7 | [post] ...? | provenance | | +| CommandInjection.swift:131:25:131:66 | call to URL.init(fileURLWithPath:) | CommandInjection.swift:131:2:131:7 | [post] ...? [executableURL] | provenance | | +| CommandInjection.swift:131:46:131:46 | userControlledString | CommandInjection.swift:131:25:131:66 | call to URL.init(fileURLWithPath:) | provenance | | +| CommandInjection.swift:132:2:132:7 | [post] ...? [arguments, Collection element] | CommandInjection.swift:132:2:132:7 | [post] ...? | provenance | | +| CommandInjection.swift:132:21:132:42 | [...] [Collection element] | CommandInjection.swift:132:2:132:7 | [post] ...? [arguments, Collection element] | provenance | | +| CommandInjection.swift:132:22:132:22 | userControlledString | CommandInjection.swift:132:21:132:42 | [...] [Collection element] | provenance | | +| CommandInjection.swift:136:2:136:2 | [post] task6 [executableURL] | CommandInjection.swift:136:2:136:2 | [post] task6 | provenance | | +| CommandInjection.swift:136:24:136:65 | call to URL.init(fileURLWithPath:) | CommandInjection.swift:136:2:136:2 | [post] task6 [executableURL] | provenance | | +| CommandInjection.swift:136:45:136:45 | userControlledString | CommandInjection.swift:136:24:136:65 | call to URL.init(fileURLWithPath:) | provenance | | +| CommandInjection.swift:137:2:137:2 | [post] task6 [executableURL] | CommandInjection.swift:137:2:137:2 | [post] task6 | provenance | | +| CommandInjection.swift:137:24:137:56 | call to URL.init(string:) [some:0] | CommandInjection.swift:137:24:137:57 | ...! | provenance | | +| CommandInjection.swift:137:24:137:57 | ...! | CommandInjection.swift:137:2:137:2 | [post] task6 [executableURL] | provenance | | +| CommandInjection.swift:137:36:137:36 | userControlledString | CommandInjection.swift:137:24:137:56 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:138:2:138:2 | [post] task6 [arguments, Collection element] | CommandInjection.swift:138:2:138:2 | [post] task6 | provenance | | +| CommandInjection.swift:138:20:138:41 | [...] [Collection element] | CommandInjection.swift:138:2:138:2 | [post] task6 [arguments, Collection element] | provenance | | +| CommandInjection.swift:138:21:138:21 | userControlledString | CommandInjection.swift:138:20:138:41 | [...] [Collection element] | provenance | | +| CommandInjection.swift:139:21:139:42 | [...] [Collection element] | CommandInjection.swift:99:20:99:40 | arguments [Collection element] | provenance | | +| CommandInjection.swift:139:22:139:22 | userControlledString | CommandInjection.swift:139:21:139:42 | [...] [Collection element] | provenance | | +| CommandInjection.swift:140:24:140:24 | userControlledString | CommandInjection.swift:150:42:150:42 | userControlledString | provenance | | +| CommandInjection.swift:140:24:140:24 | userControlledString | CommandInjection.swift:151:75:151:75 | userControlledString | provenance | | +| CommandInjection.swift:140:24:140:24 | userControlledString | CommandInjection.swift:154:35:154:35 | userControlledString | provenance | | +| CommandInjection.swift:140:24:140:24 | userControlledString | CommandInjection.swift:155:70:155:70 | userControlledString | provenance | | +| CommandInjection.swift:140:24:140:24 | userControlledString | CommandInjection.swift:160:53:160:53 | userControlledString | provenance | | +| CommandInjection.swift:140:24:140:24 | userControlledString | CommandInjection.swift:163:52:163:52 | userControlledString | provenance | | +| CommandInjection.swift:140:24:140:24 | userControlledString | CommandInjection.swift:164:33:164:33 | userControlledString | provenance | | +| CommandInjection.swift:140:24:140:24 | userControlledString | CommandInjection.swift:166:57:166:57 | userControlledString | provenance | | +| CommandInjection.swift:151:67:151:95 | [...] [Collection element] | CommandInjection.swift:151:67:151:95 | [...] | provenance | | +| CommandInjection.swift:151:75:151:75 | userControlledString | CommandInjection.swift:151:67:151:95 | [...] [Collection element] | provenance | | +| CommandInjection.swift:154:23:154:55 | call to URL.init(string:) [some:0] | CommandInjection.swift:154:23:154:56 | ...! | provenance | | +| CommandInjection.swift:154:35:154:35 | userControlledString | CommandInjection.swift:154:23:154:55 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:155:62:155:90 | [...] [Collection element] | CommandInjection.swift:155:62:155:90 | [...] | provenance | | +| CommandInjection.swift:155:70:155:70 | userControlledString | CommandInjection.swift:155:62:155:90 | [...] [Collection element] | provenance | | +| CommandInjection.swift:160:41:160:73 | call to URL.init(string:) [some:0] | CommandInjection.swift:160:41:160:74 | ...! | provenance | | +| CommandInjection.swift:160:53:160:53 | userControlledString | CommandInjection.swift:160:41:160:73 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:163:40:163:72 | call to URL.init(string:) [some:0] | CommandInjection.swift:163:40:163:73 | ...! | provenance | | +| CommandInjection.swift:163:40:163:72 | call to URL.init(string:) [some:0] | CommandInjection.swift:163:40:163:73 | ...! | provenance | | +| CommandInjection.swift:163:40:163:73 | ...! | file://:0:0:0:0 | url | provenance | | +| CommandInjection.swift:163:52:163:52 | userControlledString | CommandInjection.swift:163:40:163:72 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:164:32:164:53 | [...] [Collection element] | CommandInjection.swift:164:32:164:53 | [...] | provenance | | +| CommandInjection.swift:164:33:164:33 | userControlledString | CommandInjection.swift:164:32:164:53 | [...] [Collection element] | provenance | | +| CommandInjection.swift:166:45:166:77 | call to URL.init(string:) [some:0] | CommandInjection.swift:166:45:166:78 | ...! | provenance | | +| CommandInjection.swift:166:45:166:77 | call to URL.init(string:) [some:0] | CommandInjection.swift:166:45:166:78 | ...! | provenance | | +| CommandInjection.swift:166:45:166:78 | ...! | file://:0:0:0:0 | url | provenance | | +| CommandInjection.swift:166:57:166:57 | userControlledString | CommandInjection.swift:166:45:166:77 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:193:3:193:3 | newValue [Collection element] | CommandInjection.swift:194:19:194:19 | newValue [Collection element] | provenance | | +| CommandInjection.swift:193:3:193:3 | newValue [Collection element] | CommandInjection.swift:195:20:195:20 | newValue [Collection element] | provenance | | +| CommandInjection.swift:193:3:193:3 | newValue [Collection element] | CommandInjection.swift:196:19:196:19 | newValue [Collection element] | provenance | | +| CommandInjection.swift:194:4:194:4 | [post] getter for .p1 [arguments, Collection element] | CommandInjection.swift:194:4:194:4 | [post] getter for .p1 | provenance | | +| CommandInjection.swift:194:19:194:19 | newValue [Collection element] | CommandInjection.swift:194:4:194:4 | [post] getter for .p1 [arguments, Collection element] | provenance | | +| CommandInjection.swift:195:4:195:6 | [post] ...! [arguments, Collection element] | CommandInjection.swift:195:4:195:6 | [post] ...! | provenance | | +| CommandInjection.swift:195:20:195:20 | newValue [Collection element] | CommandInjection.swift:195:4:195:6 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:196:4:196:4 | [post] ...! [arguments, Collection element] | CommandInjection.swift:196:4:196:4 | [post] ...! | provenance | | +| CommandInjection.swift:196:19:196:19 | newValue [Collection element] | CommandInjection.swift:196:4:196:4 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:201:9:201:13 | let ...? [some:0] | CommandInjection.swift:201:13:201:13 | userControlledString | provenance | | +| CommandInjection.swift:201:13:201:13 | userControlledString | CommandInjection.swift:205:19:205:19 | userControlledString | provenance | | +| CommandInjection.swift:201:13:201:13 | userControlledString | CommandInjection.swift:211:31:211:31 | userControlledString | provenance | | +| CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) [some:0] | provenance | | +| CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:205:19:205:19 | userControlledString | provenance | | +| CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:211:31:211:31 | userControlledString | provenance | | +| CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) [some:0] | CommandInjection.swift:201:9:201:13 | let ...? [some:0] | provenance | | +| CommandInjection.swift:205:18:205:39 | [...] [Collection element] | CommandInjection.swift:207:18:207:18 | tainted1 [Collection element] | provenance | | +| CommandInjection.swift:205:18:205:39 | [...] [Collection element] | CommandInjection.swift:208:19:208:19 | tainted1 [Collection element] | provenance | | +| CommandInjection.swift:205:18:205:39 | [...] [Collection element] | CommandInjection.swift:209:18:209:18 | tainted1 [Collection element] | provenance | | +| CommandInjection.swift:205:19:205:19 | userControlledString | CommandInjection.swift:205:18:205:39 | [...] [Collection element] | provenance | | +| CommandInjection.swift:207:3:207:3 | [post] getter for .p1 [arguments, Collection element] | CommandInjection.swift:207:3:207:3 | [post] getter for .p1 | provenance | | +| CommandInjection.swift:207:18:207:18 | tainted1 [Collection element] | CommandInjection.swift:207:3:207:3 | [post] getter for .p1 [arguments, Collection element] | provenance | | +| CommandInjection.swift:207:18:207:18 | tainted1 [Collection element] | CommandInjection.swift:208:19:208:19 | tainted1 [Collection element] | provenance | | +| CommandInjection.swift:207:18:207:18 | tainted1 [Collection element] | CommandInjection.swift:209:18:209:18 | tainted1 [Collection element] | provenance | | +| CommandInjection.swift:208:3:208:5 | [post] ...! [arguments, Collection element] | CommandInjection.swift:208:3:208:5 | [post] ...! | provenance | | +| CommandInjection.swift:208:19:208:19 | tainted1 [Collection element] | CommandInjection.swift:208:3:208:5 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:208:19:208:19 | tainted1 [Collection element] | CommandInjection.swift:209:18:209:18 | tainted1 [Collection element] | provenance | | +| CommandInjection.swift:209:3:209:3 | [post] ...! [arguments, Collection element] | CommandInjection.swift:209:3:209:3 | [post] ...! | provenance | | +| CommandInjection.swift:209:18:209:18 | tainted1 [Collection element] | CommandInjection.swift:209:3:209:3 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:211:30:211:51 | [...] [Collection element] | CommandInjection.swift:213:18:213:18 | tainted2 [Collection element] | provenance | | +| CommandInjection.swift:211:30:211:51 | [...] [Collection element] | CommandInjection.swift:214:19:214:19 | tainted2 [Collection element] | provenance | | +| CommandInjection.swift:211:30:211:51 | [...] [Collection element] | CommandInjection.swift:215:18:215:18 | tainted2 [Collection element] | provenance | | +| CommandInjection.swift:211:30:211:51 | [...] [Collection element] | CommandInjection.swift:217:13:217:13 | tainted2 [Collection element] | provenance | | +| CommandInjection.swift:211:31:211:31 | userControlledString | CommandInjection.swift:211:30:211:51 | [...] [Collection element] | provenance | | +| CommandInjection.swift:213:3:213:3 | [post] getter for .p1 [arguments, Collection element] | CommandInjection.swift:213:3:213:3 | [post] getter for .p1 | provenance | | +| CommandInjection.swift:213:18:213:18 | tainted2 [Collection element] | CommandInjection.swift:213:3:213:3 | [post] getter for .p1 [arguments, Collection element] | provenance | | +| CommandInjection.swift:214:3:214:5 | [post] ...! [arguments, Collection element] | CommandInjection.swift:214:3:214:5 | [post] ...! | provenance | | +| CommandInjection.swift:214:19:214:19 | tainted2 [Collection element] | CommandInjection.swift:214:3:214:5 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:215:3:215:3 | [post] ...! [arguments, Collection element] | CommandInjection.swift:215:3:215:3 | [post] ...! | provenance | | +| CommandInjection.swift:215:18:215:18 | tainted2 [Collection element] | CommandInjection.swift:215:3:215:3 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:217:13:217:13 | tainted2 [Collection element] | CommandInjection.swift:193:3:193:3 | newValue [Collection element] | provenance | | +======= +| CommandInjection.swift:121:2:121:2 | [post] task4 [arguments, Collection element] | CommandInjection.swift:121:2:121:2 | [post] task4 | provenance | | +| CommandInjection.swift:121:20:121:56 | [...] [Collection element] | CommandInjection.swift:121:2:121:2 | [post] task4 [arguments, Collection element] | provenance | | +| CommandInjection.swift:121:28:121:36 | ... .+(_:_:) ... | CommandInjection.swift:121:20:121:56 | [...] [Collection element] | provenance | | +| CommandInjection.swift:125:2:125:7 | [post] ...? [executableURL] | CommandInjection.swift:125:2:125:7 | [post] ...? | provenance | | +| CommandInjection.swift:125:25:125:66 | call to URL.init(fileURLWithPath:) | CommandInjection.swift:125:2:125:7 | [post] ...? [executableURL] | provenance | | +| CommandInjection.swift:125:46:125:46 | userControlledString | CommandInjection.swift:125:25:125:66 | call to URL.init(fileURLWithPath:) | provenance | | +| CommandInjection.swift:126:2:126:7 | [post] ...? [arguments, Collection element] | CommandInjection.swift:126:2:126:7 | [post] ...? | provenance | | +| CommandInjection.swift:126:21:126:42 | [...] [Collection element] | CommandInjection.swift:126:2:126:7 | [post] ...? [arguments, Collection element] | provenance | | +| CommandInjection.swift:126:22:126:22 | userControlledString | CommandInjection.swift:126:21:126:42 | [...] [Collection element] | provenance | | +| CommandInjection.swift:130:2:130:2 | [post] task6 [executableURL] | CommandInjection.swift:130:2:130:2 | [post] task6 | provenance | | +| CommandInjection.swift:130:24:130:65 | call to URL.init(fileURLWithPath:) | CommandInjection.swift:130:2:130:2 | [post] task6 [executableURL] | provenance | | +| CommandInjection.swift:130:45:130:45 | userControlledString | CommandInjection.swift:130:24:130:65 | call to URL.init(fileURLWithPath:) | provenance | | +| CommandInjection.swift:131:2:131:2 | [post] task6 [executableURL] | CommandInjection.swift:131:2:131:2 | [post] task6 | provenance | | +| CommandInjection.swift:131:24:131:56 | call to URL.init(string:) [some:0] | CommandInjection.swift:131:24:131:57 | ...! | provenance | | +| CommandInjection.swift:131:24:131:57 | ...! | CommandInjection.swift:131:2:131:2 | [post] task6 [executableURL] | provenance | | +| CommandInjection.swift:131:36:131:36 | userControlledString | CommandInjection.swift:131:24:131:56 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:132:2:132:2 | [post] task6 [arguments, Collection element] | CommandInjection.swift:132:2:132:2 | [post] task6 | provenance | | +| CommandInjection.swift:132:20:132:41 | [...] [Collection element] | CommandInjection.swift:132:2:132:2 | [post] task6 [arguments, Collection element] | provenance | | +| CommandInjection.swift:132:21:132:21 | userControlledString | CommandInjection.swift:132:20:132:41 | [...] [Collection element] | provenance | | +| CommandInjection.swift:133:21:133:42 | [...] [Collection element] | CommandInjection.swift:93:20:93:40 | arguments [Collection element] | provenance | | +| CommandInjection.swift:133:22:133:22 | userControlledString | CommandInjection.swift:133:21:133:42 | [...] [Collection element] | provenance | | +| CommandInjection.swift:145:67:145:95 | [...] [Collection element] | CommandInjection.swift:145:67:145:95 | [...] | provenance | | +| CommandInjection.swift:145:75:145:75 | userControlledString | CommandInjection.swift:145:67:145:95 | [...] [Collection element] | provenance | | +| CommandInjection.swift:148:23:148:55 | call to URL.init(string:) [some:0] | CommandInjection.swift:148:23:148:56 | ...! | provenance | | +| CommandInjection.swift:148:35:148:35 | userControlledString | CommandInjection.swift:148:23:148:55 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:149:62:149:90 | [...] [Collection element] | CommandInjection.swift:149:62:149:90 | [...] | provenance | | +| CommandInjection.swift:149:70:149:70 | userControlledString | CommandInjection.swift:149:62:149:90 | [...] [Collection element] | provenance | | +| CommandInjection.swift:154:41:154:73 | call to URL.init(string:) [some:0] | CommandInjection.swift:154:41:154:74 | ...! | provenance | | +| CommandInjection.swift:154:53:154:53 | userControlledString | CommandInjection.swift:154:41:154:73 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:157:40:157:72 | call to URL.init(string:) [some:0] | CommandInjection.swift:157:40:157:73 | ...! | provenance | | +| CommandInjection.swift:157:40:157:72 | call to URL.init(string:) [some:0] | CommandInjection.swift:157:40:157:73 | ...! | provenance | | +| CommandInjection.swift:157:40:157:73 | ...! | file://:0:0:0:0 | url | provenance | | +| CommandInjection.swift:157:52:157:52 | userControlledString | CommandInjection.swift:157:40:157:72 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:158:32:158:53 | [...] [Collection element] | CommandInjection.swift:158:32:158:53 | [...] | provenance | | +| CommandInjection.swift:158:33:158:33 | userControlledString | CommandInjection.swift:158:32:158:53 | [...] [Collection element] | provenance | | +| CommandInjection.swift:160:45:160:77 | call to URL.init(string:) [some:0] | CommandInjection.swift:160:45:160:78 | ...! | provenance | | +| CommandInjection.swift:160:45:160:77 | call to URL.init(string:) [some:0] | CommandInjection.swift:160:45:160:78 | ...! | provenance | | +| CommandInjection.swift:160:45:160:78 | ...! | file://:0:0:0:0 | url | provenance | | +| CommandInjection.swift:160:57:160:57 | userControlledString | CommandInjection.swift:160:45:160:77 | call to URL.init(string:) [some:0] | provenance | | +| CommandInjection.swift:174:3:174:3 | newValue [Collection element] | CommandInjection.swift:175:19:175:19 | newValue [Collection element] | provenance | | +| CommandInjection.swift:174:3:174:3 | newValue [Collection element] | CommandInjection.swift:176:20:176:20 | newValue [Collection element] | provenance | | +| CommandInjection.swift:174:3:174:3 | newValue [Collection element] | CommandInjection.swift:177:19:177:19 | newValue [Collection element] | provenance | | +| CommandInjection.swift:175:4:175:4 | [post] getter for .p1 [arguments, Collection element] | CommandInjection.swift:175:4:175:4 | [post] getter for .p1 | provenance | | +| CommandInjection.swift:175:19:175:19 | newValue [Collection element] | CommandInjection.swift:175:4:175:4 | [post] getter for .p1 [arguments, Collection element] | provenance | | +| CommandInjection.swift:176:4:176:6 | [post] ...! [arguments, Collection element] | CommandInjection.swift:176:4:176:6 | [post] ...! | provenance | | +| CommandInjection.swift:176:20:176:20 | newValue [Collection element] | CommandInjection.swift:176:4:176:6 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:177:4:177:4 | [post] ...! [arguments, Collection element] | CommandInjection.swift:177:4:177:4 | [post] ...! | provenance | | +| CommandInjection.swift:177:19:177:19 | newValue [Collection element] | CommandInjection.swift:177:4:177:4 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:182:9:182:13 | let ...? [some:0] | CommandInjection.swift:182:13:182:13 | userControlledString | provenance | | +| CommandInjection.swift:182:13:182:13 | userControlledString | CommandInjection.swift:186:19:186:19 | userControlledString | provenance | | +| CommandInjection.swift:182:13:182:13 | userControlledString | CommandInjection.swift:192:31:192:31 | userControlledString | provenance | | +| CommandInjection.swift:182:41:182:95 | call to String.init(contentsOf:) | CommandInjection.swift:182:41:182:95 | call to String.init(contentsOf:) [some:0] | provenance | | +| CommandInjection.swift:182:41:182:95 | call to String.init(contentsOf:) | CommandInjection.swift:186:19:186:19 | userControlledString | provenance | | +| CommandInjection.swift:182:41:182:95 | call to String.init(contentsOf:) | CommandInjection.swift:192:31:192:31 | userControlledString | provenance | | +| CommandInjection.swift:182:41:182:95 | call to String.init(contentsOf:) [some:0] | CommandInjection.swift:182:9:182:13 | let ...? [some:0] | provenance | | +| CommandInjection.swift:186:18:186:39 | [...] [Collection element] | CommandInjection.swift:188:18:188:18 | tainted1 [Collection element] | provenance | | +| CommandInjection.swift:186:18:186:39 | [...] [Collection element] | CommandInjection.swift:189:19:189:19 | tainted1 [Collection element] | provenance | | +| CommandInjection.swift:186:18:186:39 | [...] [Collection element] | CommandInjection.swift:190:18:190:18 | tainted1 [Collection element] | provenance | | +| CommandInjection.swift:186:19:186:19 | userControlledString | CommandInjection.swift:186:18:186:39 | [...] [Collection element] | provenance | | +| CommandInjection.swift:188:3:188:3 | [post] getter for .p1 [arguments, Collection element] | CommandInjection.swift:188:3:188:3 | [post] getter for .p1 | provenance | | +| CommandInjection.swift:188:18:188:18 | tainted1 [Collection element] | CommandInjection.swift:188:3:188:3 | [post] getter for .p1 [arguments, Collection element] | provenance | | +| CommandInjection.swift:189:3:189:5 | [post] ...! [arguments, Collection element] | CommandInjection.swift:189:3:189:5 | [post] ...! | provenance | | +| CommandInjection.swift:189:19:189:19 | tainted1 [Collection element] | CommandInjection.swift:189:3:189:5 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:190:3:190:3 | [post] ...! [arguments, Collection element] | CommandInjection.swift:190:3:190:3 | [post] ...! | provenance | | +| CommandInjection.swift:190:18:190:18 | tainted1 [Collection element] | CommandInjection.swift:190:3:190:3 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:192:30:192:51 | [...] [Collection element] | CommandInjection.swift:194:18:194:18 | tainted2 [Collection element] | provenance | | +| CommandInjection.swift:192:30:192:51 | [...] [Collection element] | CommandInjection.swift:195:19:195:19 | tainted2 [Collection element] | provenance | | +| CommandInjection.swift:192:30:192:51 | [...] [Collection element] | CommandInjection.swift:196:18:196:18 | tainted2 [Collection element] | provenance | | +| CommandInjection.swift:192:30:192:51 | [...] [Collection element] | CommandInjection.swift:198:13:198:13 | tainted2 [Collection element] | provenance | | +| CommandInjection.swift:192:31:192:31 | userControlledString | CommandInjection.swift:192:30:192:51 | [...] [Collection element] | provenance | | +| CommandInjection.swift:194:3:194:3 | [post] getter for .p1 [arguments, Collection element] | CommandInjection.swift:194:3:194:3 | [post] getter for .p1 | provenance | | +| CommandInjection.swift:194:18:194:18 | tainted2 [Collection element] | CommandInjection.swift:194:3:194:3 | [post] getter for .p1 [arguments, Collection element] | provenance | | +| CommandInjection.swift:195:3:195:5 | [post] ...! [arguments, Collection element] | CommandInjection.swift:195:3:195:5 | [post] ...! | provenance | | +| CommandInjection.swift:195:19:195:19 | tainted2 [Collection element] | CommandInjection.swift:195:3:195:5 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:196:3:196:3 | [post] ...! [arguments, Collection element] | CommandInjection.swift:196:3:196:3 | [post] ...! | provenance | | +| CommandInjection.swift:196:18:196:18 | tainted2 [Collection element] | CommandInjection.swift:196:3:196:3 | [post] ...! [arguments, Collection element] | provenance | | +| CommandInjection.swift:198:13:198:13 | tainted2 [Collection element] | CommandInjection.swift:174:3:174:3 | newValue [Collection element] | provenance | | +>>>>>>> 9c984f3515 (refactor2) +| file://:0:0:0:0 | url | file://:0:0:0:0 | url | provenance | | +| file://:0:0:0:0 | url | file://:0:0:0:0 | url | provenance | | +nodes +| CommandInjection.swift:64:22:64:33 | command | semmle.label | command | +| CommandInjection.swift:64:22:64:33 | command [some:0] | semmle.label | command [some:0] | +| CommandInjection.swift:68:16:68:16 | command | semmle.label | command | +| CommandInjection.swift:68:16:68:16 | command [some:0] | semmle.label | command [some:0] | +| CommandInjection.swift:68:16:68:16 | command [some:0] | semmle.label | command [some:0] | +| CommandInjection.swift:75:8:75:12 | let ...? [some:0, some:0] | semmle.label | let ...? [some:0, some:0] | +| CommandInjection.swift:75:8:75:12 | let ...? [some:0] | semmle.label | let ...? [some:0] | +| CommandInjection.swift:75:12:75:12 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:75:12:75:12 | userControlledString [some:0] | semmle.label | userControlledString [some:0] | +| CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) | semmle.label | call to String.init(contentsOf:) | +| CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) [some:0, some:0] | semmle.label | call to String.init(contentsOf:) [some:0, some:0] | +| CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) [some:0] | semmle.label | call to String.init(contentsOf:) [some:0] | +| CommandInjection.swift:81:2:81:2 | [post] task1 | semmle.label | [post] task1 | +| CommandInjection.swift:81:2:81:2 | [post] task1 [arguments, Collection element] | semmle.label | [post] task1 [arguments, Collection element] | +| CommandInjection.swift:81:20:81:47 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:81:27:81:27 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:84:5:84:9 | let ...? [some:0] | semmle.label | let ...? [some:0] | +| CommandInjection.swift:84:9:84:9 | validatedString | semmle.label | validatedString | +| CommandInjection.swift:84:27:84:63 | call to validateCommand(_:) | semmle.label | call to validateCommand(_:) | +| CommandInjection.swift:84:27:84:63 | call to validateCommand(_:) [some:0] | semmle.label | call to validateCommand(_:) [some:0] | +| CommandInjection.swift:84:43:84:43 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:84:43:84:43 | userControlledString [some:0] | semmle.label | userControlledString [some:0] | +| CommandInjection.swift:87:6:87:6 | [post] task2 | semmle.label | [post] task2 | +| CommandInjection.swift:87:6:87:6 | [post] task2 [arguments, Collection element] | semmle.label | [post] task2 [arguments, Collection element] | +| CommandInjection.swift:87:24:87:46 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:87:31:87:31 | validatedString | semmle.label | validatedString | +| CommandInjection.swift:99:20:99:40 | arguments [Collection element] | semmle.label | arguments [Collection element] | +| CommandInjection.swift:100:3:100:3 | [post] self | semmle.label | [post] self | +| CommandInjection.swift:100:3:100:3 | [post] self [arguments, Collection element] | semmle.label | [post] self [arguments, Collection element] | +| CommandInjection.swift:100:20:100:20 | arguments [Collection element] | semmle.label | arguments [Collection element] | +| CommandInjection.swift:105:8:105:12 | let ...? [some:0] | semmle.label | let ...? [some:0] | +| CommandInjection.swift:105:12:105:12 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | semmle.label | call to String.init(contentsOf:) | +| CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) [some:0] | semmle.label | call to String.init(contentsOf:) [some:0] | +| CommandInjection.swift:120:2:120:2 | [post] task3 | semmle.label | [post] task3 | +| CommandInjection.swift:120:2:120:2 | [post] task3 [executableURL] | semmle.label | [post] task3 [executableURL] | +| CommandInjection.swift:120:24:120:56 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:120:24:120:57 | ...! | semmle.label | ...! | +| CommandInjection.swift:120:36:120:36 | userControlledString | semmle.label | userControlledString | +<<<<<<< HEAD +| CommandInjection.swift:121:2:121:2 | [post] task3 | semmle.label | [post] task3 | +| CommandInjection.swift:121:2:121:2 | [post] task3 [arguments, Collection element] | semmle.label | [post] task3 [arguments, Collection element] | +| CommandInjection.swift:121:20:121:48 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:121:28:121:28 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:125:2:125:2 | [post] task4 | semmle.label | [post] task4 | +| CommandInjection.swift:125:2:125:2 | [post] task4 [executableURL] | semmle.label | [post] task4 [executableURL] | +| CommandInjection.swift:125:24:125:65 | call to URL.init(fileURLWithPath:) | semmle.label | call to URL.init(fileURLWithPath:) | +| CommandInjection.swift:125:45:125:45 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:126:2:126:2 | [post] task4 | semmle.label | [post] task4 | +| CommandInjection.swift:126:2:126:2 | [post] task4 [executableURL] | semmle.label | [post] task4 [executableURL] | +| CommandInjection.swift:126:24:126:56 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:126:24:126:57 | ...! | semmle.label | ...! | +| CommandInjection.swift:126:36:126:36 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:127:2:127:2 | [post] task4 | semmle.label | [post] task4 | +| CommandInjection.swift:127:2:127:2 | [post] task4 [arguments, Collection element] | semmle.label | [post] task4 [arguments, Collection element] | +| CommandInjection.swift:127:20:127:56 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:127:28:127:36 | ... .+(_:_:) ... | semmle.label | ... .+(_:_:) ... | +| CommandInjection.swift:131:2:131:7 | [post] ...? | semmle.label | [post] ...? | +| CommandInjection.swift:131:2:131:7 | [post] ...? [executableURL] | semmle.label | [post] ...? [executableURL] | +| CommandInjection.swift:131:25:131:66 | call to URL.init(fileURLWithPath:) | semmle.label | call to URL.init(fileURLWithPath:) | +| CommandInjection.swift:131:46:131:46 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:132:2:132:7 | [post] ...? | semmle.label | [post] ...? | +| CommandInjection.swift:132:2:132:7 | [post] ...? [arguments, Collection element] | semmle.label | [post] ...? [arguments, Collection element] | +| CommandInjection.swift:132:21:132:42 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:132:22:132:22 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:136:2:136:2 | [post] task6 | semmle.label | [post] task6 | +| CommandInjection.swift:136:2:136:2 | [post] task6 [executableURL] | semmle.label | [post] task6 [executableURL] | +| CommandInjection.swift:136:24:136:65 | call to URL.init(fileURLWithPath:) | semmle.label | call to URL.init(fileURLWithPath:) | +| CommandInjection.swift:136:45:136:45 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:137:2:137:2 | [post] task6 | semmle.label | [post] task6 | +| CommandInjection.swift:137:2:137:2 | [post] task6 [executableURL] | semmle.label | [post] task6 [executableURL] | +| CommandInjection.swift:137:24:137:56 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:137:24:137:57 | ...! | semmle.label | ...! | +| CommandInjection.swift:137:36:137:36 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:138:2:138:2 | [post] task6 | semmle.label | [post] task6 | +| CommandInjection.swift:138:2:138:2 | [post] task6 [arguments, Collection element] | semmle.label | [post] task6 [arguments, Collection element] | +| CommandInjection.swift:138:20:138:41 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:138:21:138:21 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:139:21:139:42 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:139:22:139:22 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:140:24:140:24 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:150:42:150:42 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:151:67:151:95 | [...] | semmle.label | [...] | +| CommandInjection.swift:151:67:151:95 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:151:75:151:75 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:154:23:154:55 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:154:23:154:56 | ...! | semmle.label | ...! | +| CommandInjection.swift:154:35:154:35 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:155:62:155:90 | [...] | semmle.label | [...] | +| CommandInjection.swift:155:62:155:90 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:155:70:155:70 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:160:41:160:73 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:160:41:160:74 | ...! | semmle.label | ...! | +| CommandInjection.swift:160:53:160:53 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:163:40:163:72 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:163:40:163:73 | ...! | semmle.label | ...! | +| CommandInjection.swift:163:40:163:73 | ...! | semmle.label | ...! | +| CommandInjection.swift:163:52:163:52 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:164:32:164:53 | [...] | semmle.label | [...] | +| CommandInjection.swift:164:32:164:53 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:164:33:164:33 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:166:45:166:77 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:166:45:166:78 | ...! | semmle.label | ...! | +| CommandInjection.swift:166:45:166:78 | ...! | semmle.label | ...! | +| CommandInjection.swift:166:57:166:57 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:193:3:193:3 | newValue [Collection element] | semmle.label | newValue [Collection element] | +| CommandInjection.swift:194:4:194:4 | [post] getter for .p1 | semmle.label | [post] getter for .p1 | +| CommandInjection.swift:194:4:194:4 | [post] getter for .p1 [arguments, Collection element] | semmle.label | [post] getter for .p1 [arguments, Collection element] | +| CommandInjection.swift:194:19:194:19 | newValue [Collection element] | semmle.label | newValue [Collection element] | +| CommandInjection.swift:195:4:195:6 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:195:4:195:6 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:195:20:195:20 | newValue [Collection element] | semmle.label | newValue [Collection element] | +| CommandInjection.swift:196:4:196:4 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:196:4:196:4 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:196:19:196:19 | newValue [Collection element] | semmle.label | newValue [Collection element] | +| CommandInjection.swift:201:9:201:13 | let ...? [some:0] | semmle.label | let ...? [some:0] | +| CommandInjection.swift:201:13:201:13 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | semmle.label | call to String.init(contentsOf:) | +| CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) [some:0] | semmle.label | call to String.init(contentsOf:) [some:0] | +| CommandInjection.swift:205:18:205:39 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:205:19:205:19 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:207:3:207:3 | [post] getter for .p1 | semmle.label | [post] getter for .p1 | +| CommandInjection.swift:207:3:207:3 | [post] getter for .p1 [arguments, Collection element] | semmle.label | [post] getter for .p1 [arguments, Collection element] | +| CommandInjection.swift:207:18:207:18 | tainted1 [Collection element] | semmle.label | tainted1 [Collection element] | +| CommandInjection.swift:208:3:208:5 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:208:3:208:5 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:208:19:208:19 | tainted1 [Collection element] | semmle.label | tainted1 [Collection element] | +| CommandInjection.swift:209:3:209:3 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:209:3:209:3 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:209:18:209:18 | tainted1 [Collection element] | semmle.label | tainted1 [Collection element] | +| CommandInjection.swift:211:30:211:51 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:211:31:211:31 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:213:3:213:3 | [post] getter for .p1 | semmle.label | [post] getter for .p1 | +| CommandInjection.swift:213:3:213:3 | [post] getter for .p1 [arguments, Collection element] | semmle.label | [post] getter for .p1 [arguments, Collection element] | +| CommandInjection.swift:213:18:213:18 | tainted2 [Collection element] | semmle.label | tainted2 [Collection element] | +| CommandInjection.swift:214:3:214:5 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:214:3:214:5 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:214:19:214:19 | tainted2 [Collection element] | semmle.label | tainted2 [Collection element] | +| CommandInjection.swift:215:3:215:3 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:215:3:215:3 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:215:18:215:18 | tainted2 [Collection element] | semmle.label | tainted2 [Collection element] | +| CommandInjection.swift:217:13:217:13 | tainted2 [Collection element] | semmle.label | tainted2 [Collection element] | +======= +| CommandInjection.swift:121:2:121:2 | [post] task4 | semmle.label | [post] task4 | +| CommandInjection.swift:121:2:121:2 | [post] task4 [arguments, Collection element] | semmle.label | [post] task4 [arguments, Collection element] | +| CommandInjection.swift:121:20:121:56 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:121:28:121:36 | ... .+(_:_:) ... | semmle.label | ... .+(_:_:) ... | +| CommandInjection.swift:125:2:125:7 | [post] ...? | semmle.label | [post] ...? | +| CommandInjection.swift:125:2:125:7 | [post] ...? [executableURL] | semmle.label | [post] ...? [executableURL] | +| CommandInjection.swift:125:25:125:66 | call to URL.init(fileURLWithPath:) | semmle.label | call to URL.init(fileURLWithPath:) | +| CommandInjection.swift:125:46:125:46 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:126:2:126:7 | [post] ...? | semmle.label | [post] ...? | +| CommandInjection.swift:126:2:126:7 | [post] ...? [arguments, Collection element] | semmle.label | [post] ...? [arguments, Collection element] | +| CommandInjection.swift:126:21:126:42 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:126:22:126:22 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:130:2:130:2 | [post] task6 | semmle.label | [post] task6 | +| CommandInjection.swift:130:2:130:2 | [post] task6 [executableURL] | semmle.label | [post] task6 [executableURL] | +| CommandInjection.swift:130:24:130:65 | call to URL.init(fileURLWithPath:) | semmle.label | call to URL.init(fileURLWithPath:) | +| CommandInjection.swift:130:45:130:45 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:131:2:131:2 | [post] task6 | semmle.label | [post] task6 | +| CommandInjection.swift:131:2:131:2 | [post] task6 [executableURL] | semmle.label | [post] task6 [executableURL] | +| CommandInjection.swift:131:24:131:56 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:131:24:131:57 | ...! | semmle.label | ...! | +| CommandInjection.swift:131:36:131:36 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:132:2:132:2 | [post] task6 | semmle.label | [post] task6 | +| CommandInjection.swift:132:2:132:2 | [post] task6 [arguments, Collection element] | semmle.label | [post] task6 [arguments, Collection element] | +| CommandInjection.swift:132:20:132:41 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:132:21:132:21 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:133:21:133:42 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:133:22:133:22 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:144:42:144:42 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:145:67:145:95 | [...] | semmle.label | [...] | +| CommandInjection.swift:145:67:145:95 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:145:75:145:75 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:148:23:148:55 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:148:23:148:56 | ...! | semmle.label | ...! | +| CommandInjection.swift:148:35:148:35 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:149:62:149:90 | [...] | semmle.label | [...] | +| CommandInjection.swift:149:62:149:90 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:149:70:149:70 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:154:41:154:73 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:154:41:154:74 | ...! | semmle.label | ...! | +| CommandInjection.swift:154:53:154:53 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:157:40:157:72 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:157:40:157:73 | ...! | semmle.label | ...! | +| CommandInjection.swift:157:40:157:73 | ...! | semmle.label | ...! | +| CommandInjection.swift:157:52:157:52 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:158:32:158:53 | [...] | semmle.label | [...] | +| CommandInjection.swift:158:32:158:53 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:158:33:158:33 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:160:45:160:77 | call to URL.init(string:) [some:0] | semmle.label | call to URL.init(string:) [some:0] | +| CommandInjection.swift:160:45:160:78 | ...! | semmle.label | ...! | +| CommandInjection.swift:160:45:160:78 | ...! | semmle.label | ...! | +| CommandInjection.swift:160:57:160:57 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:174:3:174:3 | newValue [Collection element] | semmle.label | newValue [Collection element] | +| CommandInjection.swift:175:4:175:4 | [post] getter for .p1 | semmle.label | [post] getter for .p1 | +| CommandInjection.swift:175:4:175:4 | [post] getter for .p1 [arguments, Collection element] | semmle.label | [post] getter for .p1 [arguments, Collection element] | +| CommandInjection.swift:175:19:175:19 | newValue [Collection element] | semmle.label | newValue [Collection element] | +| CommandInjection.swift:176:4:176:6 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:176:4:176:6 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:176:20:176:20 | newValue [Collection element] | semmle.label | newValue [Collection element] | +| CommandInjection.swift:177:4:177:4 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:177:4:177:4 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:177:19:177:19 | newValue [Collection element] | semmle.label | newValue [Collection element] | +| CommandInjection.swift:182:9:182:13 | let ...? [some:0] | semmle.label | let ...? [some:0] | +| CommandInjection.swift:182:13:182:13 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:182:41:182:95 | call to String.init(contentsOf:) | semmle.label | call to String.init(contentsOf:) | +| CommandInjection.swift:182:41:182:95 | call to String.init(contentsOf:) [some:0] | semmle.label | call to String.init(contentsOf:) [some:0] | +| CommandInjection.swift:186:18:186:39 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:186:19:186:19 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:188:3:188:3 | [post] getter for .p1 | semmle.label | [post] getter for .p1 | +| CommandInjection.swift:188:3:188:3 | [post] getter for .p1 [arguments, Collection element] | semmle.label | [post] getter for .p1 [arguments, Collection element] | +| CommandInjection.swift:188:18:188:18 | tainted1 [Collection element] | semmle.label | tainted1 [Collection element] | +| CommandInjection.swift:189:3:189:5 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:189:3:189:5 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:189:19:189:19 | tainted1 [Collection element] | semmle.label | tainted1 [Collection element] | +| CommandInjection.swift:190:3:190:3 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:190:3:190:3 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:190:18:190:18 | tainted1 [Collection element] | semmle.label | tainted1 [Collection element] | +| CommandInjection.swift:192:30:192:51 | [...] [Collection element] | semmle.label | [...] [Collection element] | +| CommandInjection.swift:192:31:192:31 | userControlledString | semmle.label | userControlledString | +| CommandInjection.swift:194:3:194:3 | [post] getter for .p1 | semmle.label | [post] getter for .p1 | +| CommandInjection.swift:194:3:194:3 | [post] getter for .p1 [arguments, Collection element] | semmle.label | [post] getter for .p1 [arguments, Collection element] | +| CommandInjection.swift:194:18:194:18 | tainted2 [Collection element] | semmle.label | tainted2 [Collection element] | +| CommandInjection.swift:195:3:195:5 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:195:3:195:5 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:195:19:195:19 | tainted2 [Collection element] | semmle.label | tainted2 [Collection element] | +| CommandInjection.swift:196:3:196:3 | [post] ...! | semmle.label | [post] ...! | +| CommandInjection.swift:196:3:196:3 | [post] ...! [arguments, Collection element] | semmle.label | [post] ...! [arguments, Collection element] | +| CommandInjection.swift:196:18:196:18 | tainted2 [Collection element] | semmle.label | tainted2 [Collection element] | +| CommandInjection.swift:198:13:198:13 | tainted2 [Collection element] | semmle.label | tainted2 [Collection element] | +>>>>>>> 9c984f3515 (refactor2) +| file://:0:0:0:0 | url | semmle.label | url | +| file://:0:0:0:0 | url | semmle.label | url | +| file://:0:0:0:0 | url | semmle.label | url | +| file://:0:0:0:0 | url | semmle.label | url | +subpaths +| CommandInjection.swift:84:43:84:43 | userControlledString | CommandInjection.swift:64:22:64:33 | command | CommandInjection.swift:68:16:68:16 | command | CommandInjection.swift:84:27:84:63 | call to validateCommand(_:) | +| CommandInjection.swift:84:43:84:43 | userControlledString | CommandInjection.swift:64:22:64:33 | command | CommandInjection.swift:68:16:68:16 | command [some:0] | CommandInjection.swift:84:27:84:63 | call to validateCommand(_:) [some:0] | +| CommandInjection.swift:84:43:84:43 | userControlledString [some:0] | CommandInjection.swift:64:22:64:33 | command [some:0] | CommandInjection.swift:68:16:68:16 | command [some:0] | CommandInjection.swift:84:27:84:63 | call to validateCommand(_:) [some:0] | +#select +| CommandInjection.swift:81:2:81:2 | [post] task1 | CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) | CommandInjection.swift:81:2:81:2 | [post] task1 | This command depends on a $@. | CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:87:6:87:6 | [post] task2 | CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) | CommandInjection.swift:87:6:87:6 | [post] task2 | This command depends on a $@. | CommandInjection.swift:75:40:75:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:100:3:100:3 | [post] self | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:100:3:100:3 | [post] self | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:120:2:120:2 | [post] task3 | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:120:2:120:2 | [post] task3 | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:121:2:121:2 | [post] task3 | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:121:2:121:2 | [post] task3 | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:125:2:125:2 | [post] task4 | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:125:2:125:2 | [post] task4 | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:126:2:126:2 | [post] task4 | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:126:2:126:2 | [post] task4 | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:127:2:127:2 | [post] task4 | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:127:2:127:2 | [post] task4 | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:131:2:131:7 | [post] ...? | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:131:2:131:7 | [post] ...? | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:132:2:132:7 | [post] ...? | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:132:2:132:7 | [post] ...? | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:136:2:136:2 | [post] task6 | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:136:2:136:2 | [post] task6 | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:137:2:137:2 | [post] task6 | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:137:2:137:2 | [post] task6 | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:138:2:138:2 | [post] task6 | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:138:2:138:2 | [post] task6 | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:150:42:150:42 | userControlledString | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:150:42:150:42 | userControlledString | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:151:67:151:95 | [...] | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:151:67:151:95 | [...] | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:154:23:154:56 | ...! | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:154:23:154:56 | ...! | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:155:62:155:90 | [...] | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:155:62:155:90 | [...] | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:160:41:160:74 | ...! | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:160:41:160:74 | ...! | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:163:40:163:73 | ...! | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:163:40:163:73 | ...! | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:164:32:164:53 | [...] | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:164:32:164:53 | [...] | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:166:45:166:78 | ...! | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | CommandInjection.swift:166:45:166:78 | ...! | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:194:4:194:4 | [post] getter for .p1 | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:194:4:194:4 | [post] getter for .p1 | This command depends on a $@. | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:195:4:195:6 | [post] ...! | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:195:4:195:6 | [post] ...! | This command depends on a $@. | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:196:4:196:4 | [post] ...! | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:196:4:196:4 | [post] ...! | This command depends on a $@. | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:207:3:207:3 | [post] getter for .p1 | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:207:3:207:3 | [post] getter for .p1 | This command depends on a $@. | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:208:3:208:5 | [post] ...! | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:208:3:208:5 | [post] ...! | This command depends on a $@. | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:209:3:209:3 | [post] ...! | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:209:3:209:3 | [post] ...! | This command depends on a $@. | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:213:3:213:3 | [post] getter for .p1 | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:213:3:213:3 | [post] getter for .p1 | This command depends on a $@. | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:214:3:214:5 | [post] ...! | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:214:3:214:5 | [post] ...! | This command depends on a $@. | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | user-provided value | +| CommandInjection.swift:215:3:215:3 | [post] ...! | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | CommandInjection.swift:215:3:215:3 | [post] ...! | This command depends on a $@. | CommandInjection.swift:201:41:201:95 | call to String.init(contentsOf:) | user-provided value | +| file://:0:0:0:0 | url | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | file://:0:0:0:0 | url | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value | +| file://:0:0:0:0 | url | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | file://:0:0:0:0 | url | This command depends on a $@. | CommandInjection.swift:105:40:105:94 | call to String.init(contentsOf:) | user-provided value |