diff options
author | Jonathan Coe <jbcoe@google.com> | 2020-04-28 17:26:51 +0100 |
---|---|---|
committer | Jonathan Coe <jbcoe@google.com> | 2020-04-28 17:31:40 +0100 |
commit | 7443f86eabbae0fdef90fe796c3956ed65238e99 (patch) | |
tree | f2467a38ac42c5f83eb51e5eabdf2c6c2a405172 /clang/unittests/Format/FormatTestCSharp.cpp | |
parent | edb77864ef7865437f425e98f2089e426a1ea8dc (diff) | |
download | llvm-7443f86eabbae0fdef90fe796c3956ed65238e99.zip llvm-7443f86eabbae0fdef90fe796c3956ed65238e99.tar.gz llvm-7443f86eabbae0fdef90fe796c3956ed65238e99.tar.bz2 |
[clang-format] insert space after C# keyword var in var (key, value)
Reviewers: krasimir, MyDeveloperDay
Reviewed By: MyDeveloperDay
Subscribers: cfe-commits
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D79008
Diffstat (limited to 'clang/unittests/Format/FormatTestCSharp.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTestCSharp.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestCSharp.cpp b/clang/unittests/Format/FormatTestCSharp.cpp index 75112a7..91962ef 100644 --- a/clang/unittests/Format/FormatTestCSharp.cpp +++ b/clang/unittests/Format/FormatTestCSharp.cpp @@ -698,6 +698,7 @@ TEST_F(FormatTestCSharp, CSharpSpaces) { verifyFormat(R"(Result this[Index x] => Foo(x);)", Style); verifyFormat(R"(char[,,] rawCharArray = MakeCharacterGrid();)", Style); + verifyFormat(R"(var (key, value))", Style); // Not seen as a C-style cast. verifyFormat(R"(// |