aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestCSharp.cpp
diff options
context:
space:
mode:
authorJonathan Coe <jbcoe@google.com>2020-04-28 17:26:51 +0100
committerJonathan Coe <jbcoe@google.com>2020-04-28 17:31:40 +0100
commit7443f86eabbae0fdef90fe796c3956ed65238e99 (patch)
treef2467a38ac42c5f83eb51e5eabdf2c6c2a405172 /clang/unittests/Format/FormatTestCSharp.cpp
parentedb77864ef7865437f425e98f2089e426a1ea8dc (diff)
downloadllvm-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.cpp1
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"(//