diff options
author | Jonathan Coe <jbcoe@google.com> | 2020-03-19 12:49:15 +0000 |
---|---|---|
committer | Jonathan Coe <jbcoe@google.com> | 2020-03-19 12:56:08 +0000 |
commit | dcbcec4822f47ec5b638dd9c20dcebd464569dae (patch) | |
tree | 22530881e5a62cab9b6f54772cc07f5d59712c06 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0ea4fb5bb77ba3da165acaee54bb77379b137bb0 (diff) | |
download | llvm-dcbcec4822f47ec5b638dd9c20dcebd464569dae.zip llvm-dcbcec4822f47ec5b638dd9c20dcebd464569dae.tar.gz llvm-dcbcec4822f47ec5b638dd9c20dcebd464569dae.tar.bz2 |
[clang-format] Handle C# generic type constraints
Summary:
Treat each C# generic type constraint, `where T: ...`, as a line.
Add C# keyword: where
Add Token Types: CSharpGenericTypeConstraint, CSharpGenericTypeConstraintColon, CSharpGenericTypeConstraintComma.
This patch does not wrap generic type constraints well, that will be addressed in a follow up patch.
Reviewers: krasimir
Reviewed By: krasimir
Subscribers: cfe-commits, MyDeveloperDay
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D76367
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions