[all-commits] [llvm/llvm-project] ca1fd4: [clang-format] Do not treat C# attribute targets a...
Jonathan B Coe via All-commits
all-commits at lists.llvm.org
Wed Feb 5 09:30:35 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ca1fd460f1f5bc4c200f557b63d69a93e3722175
https://github.com/llvm/llvm-project/commit/ca1fd460f1f5bc4c200f557b63d69a93e3722175
Author: Jonathan Coe <jbcoe at google.com>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/FormatTokenLexer.h
M clang/unittests/Format/FormatTestCSharp.cpp
Log Message:
-----------
[clang-format] Do not treat C# attribute targets as labels
Summary: Merge '[', 'target' , ':' into a single token for C# attributes to
prevent the target from being seen as a label.
Reviewers: MyDeveloperDay, krasimir
Reviewed By: krasimir
Tags: #clang-format
Differential Revision: https://reviews.llvm.org/D74043
More information about the All-commits
mailing list