[all-commits] [llvm/llvm-project] 0ae998: [clang-format] Fix a bug in annotating TrailingRet...

Owen Pan via All-commits all-commits at lists.llvm.org
Wed Oct 18 14:05:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ae998c4aebbae7193b13ccc7ca525241b571be4
      https://github.com/llvm/llvm-project/commit/0ae998c4aebbae7193b13ccc7ca525241b571be4
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

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

  Log Message:
  -----------
  [clang-format] Fix a bug in annotating TrailingReturnArrow (#69249)

Skip TrailingAnnotation when looking for TrailingReturnArrow.

Fixes #69234.




More information about the All-commits mailing list