Skip to content

Precise compiler invocations: Set C++ interoperability per SymbolContext #8592

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
Apr 18, 2024

Conversation

adrian-prantl
Copy link

rdar://125182583

@adrian-prantl
Copy link
Author

@swift-ci test

case AutoBool::Auto: {
if (!cu)
return false;
lldb::ModuleSP module = cu->CalculateSymbolContextModule();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't you call Module::IsSwiftCxxInteropEnabled? The code looks pretty much the same.

return false;
auto options = sym_file->GetCompileOptions();
for (auto &[unit, args] : options) {
if (unit.get() == cu) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of this check.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link
Author

@swift-ci test windows

@adrian-prantl adrian-prantl merged commit 2c365f1 into swiftlang:swift/release/6.0 Apr 18, 2024
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.

3 participants