[all-commits] [llvm/llvm-project] 6e58d1: [clang-format] [PR52228] clang-format csharp incon...

MyDeveloperDay via All-commits all-commits at lists.llvm.org
Sat Nov 13 06:14:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e58d14e5b012215007ae375006f5e847a9b61bc
      https://github.com/llvm/llvm-project/commit/6e58d14e5b012215007ae375006f5e847a9b61bc
  Author: mydeveloperday <mydeveloperday at gmail.com>
  Date:   2021-11-13 (Sat, 13 Nov 2021)

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

  Log Message:
  -----------
  [clang-format] [PR52228] clang-format csharp inconsistant nested namespace indentation

https://bugs.llvm.org/show_bug.cgi?id=52228

For multilevel namespaces in C# get their content indented when NamespaceIndentation: None is set, where as single level namespaces are formatted correctly.

Reviewed By: HazardyKnusperkeks, jbcoe

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




More information about the All-commits mailing list