Skip to content

Conversation

@mizvekov
Copy link
Contributor

This keeps around the resugared DeclType for DeclRefExpr, which is otherwise partially lost as the expression type removes top level references.

This helps 'decltype' resugaring work without any loss of information.

@mizvekov mizvekov requested a review from zyn0217 March 21, 2025 18:26
@mizvekov mizvekov self-assigned this Mar 21, 2025
@mizvekov mizvekov force-pushed the users/mizvekov/clang-resugar-expr branch from 29d057e to 002480b Compare March 21, 2025 18:43
@mizvekov mizvekov force-pushed the users/mizvekov/clang/resugar-decltype-declrefexpr branch from 8d8ee15 to 29cc63d Compare March 21, 2025 18:44
@mizvekov mizvekov force-pushed the users/mizvekov/clang-resugar-expr branch from 002480b to d226c8d Compare April 3, 2025 01:53
@mizvekov mizvekov force-pushed the users/mizvekov/clang/resugar-decltype-declrefexpr branch from 29cc63d to 6b9e8d1 Compare April 3, 2025 01:53
This keeps around the resugared DeclType for DeclRefExpr,
which is otherwise partially lost as the expression type
removes top level references.

This helps 'decltype' resugaring work without any loss
of information.
@mizvekov mizvekov force-pushed the users/mizvekov/clang-resugar-expr branch from d226c8d to df203b5 Compare April 3, 2025 18:14
@mizvekov mizvekov force-pushed the users/mizvekov/clang/resugar-decltype-declrefexpr branch from 6b9e8d1 to 0a36331 Compare April 3, 2025 18:14
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