[clang-format] Do not merge target-name and : for C# attributes
authorJonathan Coe <jbcoe@google.com>
Tue, 3 Mar 2020 22:17:25 +0000 (22:17 +0000)
committerJonathan Coe <jbcoe@google.com>
Tue, 3 Mar 2020 22:17:25 +0000 (22:17 +0000)
commit900dee8c8e03abc5a566e22b4f5499ecdc960803
tree4a413f9bf19ff081549e533fac4fcdf73458af00
parentf9047ede589bce390e3115c75656523e085809a4
[clang-format] Do not merge target-name and : for C# attributes

Summary:
Re-use token type `TT_AttributeColon` for C# attribute target colons.

Reviewers: krasimir

Reviewed By: krasimir

Subscribers: MyDeveloperDay, cfe-commits

Tags: #clang-format, #clang

Differential Revision: https://reviews.llvm.org/D75465
clang/lib/Format/FormatTokenLexer.cpp
clang/lib/Format/FormatTokenLexer.h
clang/lib/Format/TokenAnnotator.cpp