File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lib/ASTGen/Sources/ASTGen Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import ASTBridging
14
14
import BasicBridging
15
15
@_spi ( Experimental) import SwiftLexicalLookup
16
16
import SwiftSyntax
17
+ import SwiftIfConfig
17
18
18
19
private let rowCharWidth : Int = 30
19
20
@@ -69,7 +70,7 @@ public func unqualifiedLookup(
69
70
let sllResults = sllConsumedResults (
70
71
lookupToken: lookupToken,
71
72
finishInSequentialScope: finishInSequentialScope,
72
- buildConfiguration : buildConfiguration
73
+ configuredRegions : sourceFileSyntax . configuredRegions ( in : buildConfiguration)
73
74
)
74
75
75
76
// Add header to the output
@@ -195,11 +196,11 @@ private func astConsumedResults(
195
196
private func sllConsumedResults(
196
197
lookupToken: TokenSyntax ,
197
198
finishInSequentialScope: Bool ,
198
- buildConfiguration : CompilerBuildConfiguration
199
+ configuredRegions : ConfiguredRegions
199
200
) -> [ ConsumedLookupResult ] {
200
201
lookupToken. lookup (
201
202
nil ,
202
- with: LookupConfig ( finishInSequentialScope: finishInSequentialScope, buildConfiguration : buildConfiguration )
203
+ with: LookupConfig ( finishInSequentialScope: finishInSequentialScope, configuredRegions : configuredRegions )
203
204
)
204
205
. flatMap { result in
205
206
switch result {
You can’t perform that action at this time.
0 commit comments