Skip to content

Conversation

HerrCai0907
Copy link
Contributor

@HerrCai0907 HerrCai0907 commented Oct 14, 2023

We cannot get element size only when type is DependentSizedArrayType.
So it should be treated as not cheap to copy and use element ref in loop.

Fixes: #68975

@HerrCai0907 HerrCai0907 requested a review from PiotrZSL October 15, 2023 12:17
Copy link
Member

@PiotrZSL PiotrZSL left a comment

Choose a reason for hiding this comment

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

LGTM, please provide more information in pull request description before merging instead of just title.

@PiotrZSL
Copy link
Member

Please also fix CI first, because looks like it fails on windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[clang-tidy] Segmentation fault during check modernize-loop-convert
3 participants