[all-commits] [llvm/llvm-project] 1fb9c2: [clang-format] Improved identification of C# nulla...

Jonathan B Coe via All-commits all-commits at lists.llvm.org
Wed Mar 11 06:06:52 PDT 2020


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

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

  Log Message:
  -----------
  [clang-format] Improved identification of C# nullables

Summary:
Allow `?` inside C# generics.

Do not mistake casts like `(Type?)` as conditional operators.

Reviewers: krasimir

Subscribers: cfe-commits, MyDeveloperDay

Tags: #clang-format, #clang

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




More information about the All-commits mailing list