This is an archive of the discontinued LLVM Phabricator instance.

[pseudo] Fix noptr-abstract-declarator rule.
ClosedPublic

Authored by hokein on Jun 3 2022, 12:15 PM.

Details

Summary

The const-expression in the [] can be empty.

Diff Detail

Event Timeline

hokein created this revision.Jun 3 2022, 12:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2022, 12:15 PM
hokein requested review of this revision.Jun 3 2022, 12:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2022, 12:15 PM
sammccall accepted this revision.Jun 3 2022, 12:19 PM
sammccall added inline comments.
clang-tools-extra/pseudo/test/cxx/abstract-declarator.cpp
1 ↗(On Diff #434106)

maybe rather call this unsized-array?

This revision is now accepted and ready to land.Jun 3 2022, 12:19 PM
This revision was landed with ongoing or failed builds.Jun 7 2022, 1:22 AM
This revision was automatically updated to reflect the committed changes.
hokein marked an inline comment as done.