This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Recognize Verilog type dimension in module header
ClosedPublic

Authored by sstwcw on Apr 27 2023, 8:25 AM.

Details

Summary

We had the function verilogGroupDecl for that. However, the type
name would be incorrectly annotated in isStartOfName when it was not
a C++ keyword and followed another identifier.

Diff Detail

Event Timeline

sstwcw created this revision.Apr 27 2023, 8:25 AM
Herald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptApr 27 2023, 8:25 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
sstwcw requested review of this revision.Apr 27 2023, 8:25 AM
This revision is now accepted and ready to land.Apr 27 2023, 12:29 PM
MyDeveloperDay accepted this revision.Apr 28 2023, 12:53 AM
owenpan accepted this revision.Apr 29 2023, 12:41 AM
This revision was landed with ongoing or failed builds.Apr 30 2023, 3:35 PM
This revision was automatically updated to reflect the committed changes.