Page MenuHomePhabricator

[clang-tidy] Fix minor bug in bugprone-too-small-loop-variable
ClosedPublic

Authored by PiotrZSL on Mon, Mar 13, 10:07 AM.

Details

Summary

Correct issue when incorrectly matched bitfield loop
variable would still be considered valid and equal to
base type, because check didnt compare size of bitfield.

Fixes issue introduced in: D142587

Diff Detail

Event Timeline

PiotrZSL created this revision.Mon, Mar 13, 10:07 AM
Herald added a project: Restricted Project. · View Herald Transcript
PiotrZSL requested review of this revision.Mon, Mar 13, 10:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptMon, Mar 13, 10:07 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Henric added a subscriber: Henric.Tue, Mar 14, 1:18 AM
carlosgalvezp accepted this revision.Sat, Mar 18, 3:10 AM
This revision is now accepted and ready to land.Sat, Mar 18, 3:10 AM