We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c925766 commit d7f4c6fCopy full SHA for d7f4c6f
swift/extractor/SwiftDispatcher.h
@@ -53,6 +53,7 @@ std::string inline getKindName<swift::TypeRepr, swift::TypeReprKind>(swift::Type
53
// node (AST nodes that are not types: declarations, statements, expressions, etc.).
54
class SwiftDispatcher {
55
public:
56
+ // sourceManager, arena, and trap are supposed to outlive the SwiftDispatcher
57
SwiftDispatcher(const swift::SourceManager& sourceManager, TrapArena& arena, TrapOutput& trap)
58
: sourceManager{sourceManager}, arena{arena}, trap{trap} {}
59
0 commit comments