mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
Add module context to all declarations. As keeping the `std::variant`s required slightly more work for this, and we intended to remove them any way, this is done in this change. For background, we put those in as we were not extracting all modules at the time, so we were missing some DB ids that we put back in by adding the "defining" traps not only in the trap file related to the defining module but also to the one where the declaration was used. Since then we fixed module extraction, so this should not be needed any more.
4 lines
428 B
Plaintext
4 lines
428 B
Plaintext
| class.swift:1:1:7:1 | Foo | getModule: | file://:0:0:0:0 | class | getInterfaceType: | Foo.Type | getName: | Foo | getType: | Foo |
|
|
| class.swift:11:1:14:1 | Generic | getModule: | file://:0:0:0:0 | class | getInterfaceType: | Generic<X, Y>.Type | getName: | Generic | getType: | Generic |
|
|
| class.swift:16:1:17:1 | Baz | getModule: | file://:0:0:0:0 | class | getInterfaceType: | Baz.Type | getName: | Baz | getType: | Baz |
|