Pull request 1354 in include-what-you-use: Remove 'IsTemplateTypeParmUseFullUse' function

1 view
Skip to first unread message

notifi...@include-what-you-use.org

unread,
Dec 3, 2023, 11:33:22 AM12/3/23
to include-wh...@googlegroups.com
New pull request 1354 by bolshakov-a: Remove 'IsTemplateTypeParmUseFullUse' function
https://github.com/include-what-you-use/include-what-you-use/pull/1354

More general `CanForwardDeclareType` works already well even for `SubstTemplateTypeParmType`s.

The case of using a reference in a `sizeof` expression is already handled in `IwyuBaseAstVisitor::VisitUnaryExprOrTypeTraitExpr`.

Probably, the commits should be squashed (they are separated for clarity). Or even, the test case should be extracted as the first commit, and all the code changes as the second one.


notifi...@include-what-you-use.org

unread,
Dec 3, 2023, 11:50:13 AM12/3/23
to include-wh...@googlegroups.com
Comment #1 on pull request 1354 by kimgr: Remove 'IsTemplateTypeParmUseFullUse' function
https://github.com/include-what-you-use/include-what-you-use/pull/1354

Looks good to me! I don't have a strong preference for commit partitioning here, feel free to do what you prefer and let me know when it's ready to merge.


notifi...@include-what-you-use.org

unread,
Dec 3, 2023, 12:39:41 PM12/3/23
to include-wh...@googlegroups.com
Comment #2 on pull request 1354 by bolshakov-a: Remove 'IsTemplateTypeParmUseFullUse' function
https://github.com/include-what-you-use/include-what-you-use/pull/1354

I've decided to extract the test case into a separate commit.


notifi...@include-what-you-use.org

unread,
Dec 3, 2023, 2:09:02 PM12/3/23
to include-wh...@googlegroups.com
Comment #3 on pull request 1354 by kimgr: Remove 'IsTemplateTypeParmUseFullUse' function
https://github.com/include-what-you-use/include-what-you-use/pull/1354

Nice, I think that makes sense.


Reply all
Reply to author
Forward
0 new messages