This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Fixed edge-case with `Style.SpacesInSquareBrackets` with trailing bare `&` lambda capture
ClosedPublic

Authored by mitchell-stellar on Nov 14 2019, 9:19 AM.

Details

Summary

Lambda captures allow for a lone & capture, so &] needs to be properly handled.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2019, 9:19 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Nov 14 2019, 10:01 AM
This revision was automatically updated to reflect the committed changes.