Skip to content

Commit 5db18bb

Browse files
committed
Swift: add a comment clarifying swift::FrontendObserver
1 parent e2332fc commit 5db18bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

swift/extractor/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
using namespace std::string_literals;
1111

12+
// This is part of the swiftFrontendTool interface, we hook into the
13+
// compilation pipeline and extract files after the Swift frontend performed
14+
// semantic analysys
1215
class Observer : public swift::FrontendObserver {
1316
public:
1417
explicit Observer(const codeql::SwiftExtractorConfiguration& config) : config{config} {}

0 commit comments

Comments
 (0)