This is an archive of the discontinued LLVM Phabricator instance.

[clang][Parse][NFC] Remove unused CommaLocs parameters
ClosedPublic

Authored by tbaeder on Nov 17 2022, 6:53 AM.

Details

Reviewers
aaron.ballman
Group Reviewers
Restricted Project
Summary

The vectors holding the comma locs are unused (except for an assertion in two places).

Diff Detail

Event Timeline

tbaeder created this revision.Nov 17 2022, 6:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2022, 6:53 AM
tbaeder requested review of this revision.Nov 17 2022, 6:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2022, 6:53 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
aaron.ballman accepted this revision.Nov 17 2022, 7:56 AM
aaron.ballman added a subscriber: aaron.ballman.

LGTM -- it's a bit sad that we're losing some assertion coverage, but it seems like reasonable coverage to lose.

clang/include/clang/Parse/Parser.h
1837–1840

As best I can tell, this removes all uses of that type, so we might as well ditch it as well.

This revision is now accepted and ready to land.Nov 17 2022, 7:56 AM
tbaeder marked an inline comment as done.Nov 17 2022, 7:53 PM