Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ded0e57 commit 276fec3Copy full SHA for 276fec3
1 file changed
swift/extractor/SwiftExtractor.cpp
@@ -123,6 +123,9 @@ static std::unordered_set<swift::ModuleDecl*> extractDeclarations(
123
auto trap = createTargetTrapDomain(state, filename, trapType);
124
if (!trap) {
125
// another process arrived first, nothing to do for us
126
+ if (lazyDeclaration) {
127
+ state.emittedDeclarations.insert(lazyDeclaration);
128
+ }
129
return {};
130
}
131
@@ -242,7 +245,7 @@ void codeql::extractExtractLazyDeclarations(SwiftExtractorState& state,
242
245
extractLazy(state, compiler);
243
246
244
247
if (iteration >= upperBound) {
- std::cerr << "Swift extractor reach upper bound while extracting lazy declarations\n";
248
+ std::cerr << "Swift extractor reached upper bound while extracting lazy declarations\n";
249
abort();
250
251
0 commit comments