Skip to content

[ClangImporter] Honor the 'DC' parameter for importStringLiteral. #10224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2017

Conversation

jrose-apple
Copy link
Contributor

We don't have any way to import a macro into a different DeclContext anyway, but even then this saves a bit of unnecessary work.

Groundwork for rdar://problem/32199805, which is that upstream Clang has removed a bunch of facilities for going from a SourceLocation or MacroInfo to a Module in favor of things like clang::ModuleMacro.

We don't have any way to import a macro into a different DeclContext
anyway, but even then this saves a bit of unnecessary work.

Groundwork for rdar://problem/32199805, which is that Clang has
removed a bunch of facilities for going from a SourceLocation or
MacroInfo to a Module in favor of things like clang::ModuleMacro.
@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit 740d83b into swiftlang:master Jun 13, 2017
@jrose-apple jrose-apple deleted the dc-marvel branch June 13, 2017 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants