This is an archive of the discontinued LLVM Phabricator instance.

Fix clang-tidy util findNextTokenSkippingComments
Needs ReviewPublic

Authored by mbid on Nov 15 2022, 7:04 AM.

Details

Summary

The function did not update the Start source location, resulting in an
infinite loop if the first token was a comment token.

Diff Detail

Event Timeline

mbid created this revision.Nov 15 2022, 7:04 AM
Herald added a project: Restricted Project. · View Herald Transcript
mbid requested review of this revision.Nov 15 2022, 7:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2022, 7:04 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
LegalizeAdulthood resigned from this revision.Mar 29 2023, 8:08 AM