Files
codeql/swift/ql/test/extractor-tests/generated/decl/ModuleDecl/modules.swift
Paolo Tranquilli 3a975174c3 Swift: extract ImportDecl and ModuleDecl
As `ASTMangler` crashes when called on `ModuleDecl`, we simply use
its name.

This might probably not work reliably in a scenario where multiple
modules are compiled with the same name (like `main`), but this is left
for future work. At the moment this cannot create DB inconsistencies.
2022-07-01 15:29:30 +02:00

2 lines
45 B
Swift

//codeql-extractor-options: -module-name Foo