[all-commits] [llvm/llvm-project] f40a79: [clang-format] Do not merge short C# class definit...

Jonathan B Coe via All-commits all-commits at lists.llvm.org
Wed Feb 5 09:38:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f40a7972cb42e130c6e954f21acf9b66bf5bcad7
      https://github.com/llvm/llvm-project/commit/f40a7972cb42e130c6e954f21acf9b66bf5bcad7
  Author: Jonathan Coe <jbcoe at google.com>
  Date:   2020-02-05 (Wed, 05 Feb 2020)

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

  Log Message:
  -----------
  [clang-format] Do not merge short C# class definitions into one line

Summary: Skip access specifiers before record definitions when deciding whether
or not to wrap lines so that C# class definitions do not get wrapped into a
single line.

Reviewers: krasimir, MyDeveloperDay

Reviewed By: krasimir

Tags: #clang-format

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




More information about the All-commits mailing list