[clang-format] Do not interpret C# deconstruction in a foreach as a cast
authorJonathan Coe <jbcoe@google.com>
Thu, 16 Apr 2020 13:20:51 +0000 (14:20 +0100)
committerJonathan Coe <jbcoe@google.com>
Thu, 16 Apr 2020 13:22:34 +0000 (14:22 +0100)
commit07c1978b15b4e9daefbf358e6fd185b5aa269f98
treea44e37b82a31609743a12eabd35ab63d7ee0b47e
parent11f093fab4a38a652563cde52fcfa65ebcdc65e4
[clang-format] Do not interpret C# deconstruction in a foreach as a cast

Reviewers: krasimir

Reviewed By: krasimir

Subscribers: cfe-commits, MyDeveloperDay

Tags: #clang-format, #clang

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