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
1414import BasicBridging
1515@_spi ( Experimental) import SwiftLexicalLookup
1616import SwiftSyntax
17+ import SwiftIfConfig
1718
1819private let rowCharWidth : Int = 30
1920
@@ -69,7 +70,7 @@ public func unqualifiedLookup(
6970 let sllResults = sllConsumedResults (
7071 lookupToken: lookupToken,
7172 finishInSequentialScope: finishInSequentialScope,
72- buildConfiguration : buildConfiguration
73+ configuredRegions : sourceFileSyntax . configuredRegions ( in : buildConfiguration)
7374 )
7475
7576 // Add header to the output
@@ -195,11 +196,11 @@ private func astConsumedResults(
195196private func sllConsumedResults(
196197 lookupToken: TokenSyntax ,
197198 finishInSequentialScope: Bool ,
198- buildConfiguration : CompilerBuildConfiguration
199+ configuredRegions : ConfiguredRegions
199200) -> [ ConsumedLookupResult ] {
200201 lookupToken. lookup (
201202 nil ,
202- with: LookupConfig ( finishInSequentialScope: finishInSequentialScope, buildConfiguration : buildConfiguration )
203+ with: LookupConfig ( finishInSequentialScope: finishInSequentialScope, configuredRegions : configuredRegions )
203204 )
204205 . flatMap { result in
205206 switch result {
You can’t perform that action at this time.
0 commit comments