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

No const information available #45

Open
porky11 opened this issue Jan 25, 2017 · 0 comments
Open

No const information available #45

porky11 opened this issue Jan 25, 2017 · 0 comments

Comments

@porky11
Copy link

porky11 commented Jan 25, 2017

example:

//test.h
char x(char* c);
const char y(const char* c);

both functions return the same types

[
{ "tag": "function", "name": "x", "ns": 0, "location": "test.h:2:6", "variadic": false, "inline": false, "storage-class": "none", "parameters": [{ "tag": "parameter", "name": "c", "type": { "tag": ":pointer", "type": { "tag": ":char", "bit-size": 8, "bit-alignment": 8 } } }], "return-type": { "tag": ":char", "bit-size": 8, "bit-alignment": 8 } },
{ "tag": "function", "name": "y", "ns": 0, "location": "test.h:3:12", "variadic": false, "inline": false, "storage-class": "none", "parameters": [{ "tag": "parameter", "name": "c", "type": { "tag": ":pointer", "type": { "tag": ":char", "bit-size": 8, "bit-alignment": 8 } } }], "return-type": { "tag": ":char", "bit-size": 8, "bit-alignment": 8 } }
]
@porky11 porky11 changed the title Functions don't return const information No const information available Jan 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants