This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Correctly annotate overloaded operator function name
ClosedPublic

Authored by owenpan on Jul 15 2023, 1:00 AM.

Details

Summary

The operator keyword preceded by a template closer should be annotated as TT_FunctionDeclarationName.

Fixes https://github.com/llvm/llvm-project/issues/63879.

Diff Detail

Event Timeline

owenpan created this revision.Jul 15 2023, 1:00 AM
Herald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptJul 15 2023, 1:00 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
owenpan requested review of this revision.Jul 15 2023, 1:00 AM
MyDeveloperDay accepted this revision.Jul 15 2023, 2:05 AM
This revision is now accepted and ready to land.Jul 15 2023, 2:05 AM
rymiel accepted this revision.Jul 15 2023, 2:44 AM

Was caused by 3f3620e5c9ee0f7b64afc39e5a26c6f4cc5e7b37, thank you for fixing it up!

This revision was landed with ongoing or failed builds.Jul 15 2023, 11:03 AM
This revision was automatically updated to reflect the committed changes.