This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Fix text proto extension scope opening detection
ClosedPublic

Authored by krasimir on Feb 19 2018, 8:01 AM.

Details

Summary

This fixes the detection of scope openers in text proto extensions; previously
they were not detected correctly leading to instances like:

msg {
  [aa.bb
] {
key: value
}
}

Diff Detail

Event Timeline

krasimir created this revision.Feb 19 2018, 8:01 AM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 19 2018, 8:02 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.