[clang-format] Do not format C# array subscript operators as attributes
authorJonathan Coe <jbcoe@google.com>
Tue, 3 Mar 2020 22:21:33 +0000 (22:21 +0000)
committerJonathan Coe <jbcoe@google.com>
Tue, 3 Mar 2020 22:21:33 +0000 (22:21 +0000)
commit736fef97c7ac4113388fc56db10c599fb4d2f074
treecbedcc9169ab862ea591da9d96d37cf04215d20d
parent900dee8c8e03abc5a566e22b4f5499ecdc960803
[clang-format] Do not format C# array subscript operators as attributes

Summary:
Fix misidentification of C# array subscript operators.

Reviewers: krasimir

Reviewed By: krasimir

Subscribers: cfe-commits, MyDeveloperDay

Tags: #clang-format, #clang

Differential Revision: https://reviews.llvm.org/D75517
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTestCSharp.cpp