Skip to content
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

Store type string alongside LLVM types in spec #327

Open
wants to merge 2 commits into
base: ian/set_context_at_entry_to_function
Choose a base branch
from

Conversation

frabert
Copy link
Contributor

@frabert frabert commented Sep 24, 2022

No description provided.

@frabert frabert requested a review from 2over12 September 27, 2022 13:31
@2over12 2over12 force-pushed the ian/set_context_at_entry_to_function branch from 55d47e9 to 59e978a Compare September 28, 2022 11:10
@2over12
Copy link
Collaborator

2over12 commented Sep 28, 2022

Sorry can you re-cherry-pick your commit over latest

@@ -361,6 +361,7 @@ JSONTranslator::DecodeValue(const llvm::json::Object *obj, const char *desc,

if (auto maybe_type_str = obj->getString("type")) {
std::string spec = maybe_type_str->str();
decl.type_string = spec;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you missed doing this assignment in ParseJsonIntoCallableDecl

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Doesn't it use DecodeValue as well?

@frabert frabert force-pushed the frabert/type-string-irene3 branch from 2cbbdac to d7eecbe Compare September 29, 2022 09:58
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