This addresses part of @rsmith 's inline comment on https://reviews.llvm.org/D77598.
I want to avoid having an explicit int cast (that happens in the current diff and makes a lot of tests fail) but I did not find a better way to check for that than T->getCanonicalTypeInternal().getAsString(Policy) == "int". Is there a better way to do that? If so could you please let me know and I'll update the diff.
Details
- Reviewers
v.g.vassilev rsmith
Diff Detail
Event Timeline
I am unable to add a diff/edit the old diff in the other revision(I think since I am not the author of that review). Clicking on "Update Diff" only allowed me to create a new revision.
This still doesn't address the long long versus 64-bit long that was also mentioned.
I updated the summary of this review to state that only part of the comment was addressed.
Have you consulted with the author on the status of the other revision? The "Commandeer Revision" option under "Add Action" in the menu above the comment submission box might work from the technical side.
@hubert.reinterpretcast, this patch is part of our internal forks which we would like to put upstream. The author of the previous patch does not have bandwidth to work on it and @reikdas kindly volunteered to take over. I can close the previous one if that's preferable.
Thanks; if @reikdas can try to update the previous patch using the "Commandeer Revision" action I described, then that is preferable. If that doesn't work, then this patch should have the full set of changes (including the test changes) and the previous patch should be closed.