swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.6k stars 10.37k forks source link

[Clang importer + macros] Handle name lookup and type checking for expanded macros #77580

Closed DougGregor closed 2 days ago

DougGregor commented 3 days ago

Introduce a number of fixes to allow us to fully use declarations that are produced by applying a peer macro to an imported declarations.

These changes include:

Expand testing to be sure that we're getting the right calls, diagnostics, printing APIs, and generated IR symbols.

DougGregor commented 3 days ago

@swift-ci please smoke test

rintaro commented 2 days ago

While you are here, could you make the parsing use ParseSourceFileRequest? (rdar://139119159)

DougGregor commented 2 days ago

@swift-ci please smoke test

DougGregor commented 2 days ago

@swift-ci please smoke test

DougGregor commented 2 days ago

@swift-ci please smoke test