[all-commits] [llvm/llvm-project] 31ded4: [clang-tidy][modernize-use-using]fix function poin...

Congcong Cai via All-commits all-commits at lists.llvm.org
Thu Sep 7 02:06:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31ded495271e5869d619da851a351c9f6f05b2d4
      https://github.com/llvm/llvm-project/commit/31ded495271e5869d619da851a351c9f6f05b2d4
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-using.cpp

  Log Message:
  -----------
  [clang-tidy][modernize-use-using]fix function pointer typedef correctly (#65558)

Fixed #65055
For normal type, typedef is from typedef to the end of original type,
but for function pointer it is from typedef to the end.
So it needs to consider alias name length for normal type.




More information about the All-commits mailing list