[all-commits] [llvm/llvm-project] eb682b: [clang-format] C# does not indent braced initializ...

Jonathan B Coe via All-commits all-commits at lists.llvm.org
Mon Mar 9 10:37:51 PDT 2020


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

  Changed paths:
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/unittests/Format/FormatTestCSharp.cpp

  Log Message:
  -----------
  [clang-format] C# does not indent braced initializers as continuations

Summary: C# treats object initializers as braced init blocks. Braced init blocks are no longer indented as continuations.

Reviewers: krasimir

Reviewed By: krasimir

Subscribers: cfe-commits

Tags: #clang-format, #clang

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




More information about the All-commits mailing list