Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

[WIP/Don't touch] Use mirrors and type reconstruction for classes. #1977

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from

Conversation

dcci
Copy link
Member

@dcci dcci commented Sep 9, 2019

No description provided.

ConstString mangled_with_prefix("$s" + mangled);

SwiftASTContext *swift_ast_ctx = llvm::dyn_cast_or_null<SwiftASTContext>(
in_value.GetCompilerType().GetTypeSystem());
Copy link
Member

Choose a reason for hiding this comment

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

Obviously this isn't meant to be production-ready yet, but: This should be the scratch context, not in_value's module context.

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants