[clang-format] only parse C# generic type constraints in C#
authorKrasimir Georgiev <krasimir@google.com>
Mon, 30 Mar 2020 11:13:07 +0000 (13:13 +0200)
committerKrasimir Georgiev <krasimir@google.com>
Mon, 30 Mar 2020 11:13:07 +0000 (13:13 +0200)
commit0574030c01615d4ce26de0d9b0d64292ab3eac9b
tree7263cf3c738791699cb4057e649b996cdbafe53d
parent9e81249d7614df252e2047b5c6c20f45159b563d
[clang-format] only parse C# generic type constraints in C#

Commit "[clang-format] Handle C# generic type constraints",
https://github.com/llvm/llvm-project/commit/dcbcec4822f47ec5b638dd9c20dcebd464569dae
regressed the formatting of code containing `where` as an identifier in other
languages.
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTestCSharp.cpp