[all-commits] [llvm/llvm-project] cb3f20: [clang-format] Correct indentation for `[key] = va...

Jonathan B Coe via All-commits all-commits at lists.llvm.org
Mon Mar 9 11:04:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cb3f20d27c9e91cb9f997f0401f388e62c4ba993
      https://github.com/llvm/llvm-project/commit/cb3f20d27c9e91cb9f997f0401f388e62c4ba993
  Author: Jonathan Coe <jbcoe at google.com>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/unittests/Format/FormatTestCSharp.cpp

  Log Message:
  -----------
  [clang-format] Correct indentation for `[key] = value,` entries in C++ object initialisers

Summary: Do not use continuation indent for '[' in blocks in C# code.

Reviewers: krasimir

Reviewed By: krasimir

Subscribers: cfe-commits

Tags: #clang-format, #clang

Differential Revision: https://reviews.llvm.org/D75747




More information about the All-commits mailing list