[all-commits] [llvm/llvm-project] f537a4: [clang-format] Correctly detect `!` as TT_NonNullA...

Marek Kurdej via All-commits all-commits at lists.llvm.org
Tue Mar 8 04:35:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f537a409160dc1e506445724c5256bb116c0d71a
      https://github.com/llvm/llvm-project/commit/f537a409160dc1e506445724c5256bb116c0d71a
  Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

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

  Log Message:
  -----------
  [clang-format] Correctly detect `!` as TT_NonNullAssertion after `default`.

Fixes https://github.com/llvm/llvm-project/issues/53153.

Depends on D121132.

Reviewed By: HazardyKnusperkeks, owenpan

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




More information about the All-commits mailing list