[all-commits] [llvm/llvm-project] 6a9817: [clang-tidy] Speed up `misc-header-include-cycle` ...

Victor Chernyakin via All-commits all-commits at lists.llvm.org
Wed Jul 23 11:14:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a9817113838a3f87e803ac71aab46b3ccf24686
      https://github.com/llvm/llvm-project/commit/6a9817113838a3f87e803ac71aab46b3ccf24686
  Author: Victor Chernyakin <chernyakin.victor.j at outlook.com>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/HeaderIncludeCycleCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [clang-tidy] Speed up `misc-header-include-cycle` (#148757)

Performance optimization of misc-header-include-cycle 
based on clangd test on Sema.cpp. Check were slow due 
calls to SM.translateFile. Cost reduction (+-) from 11% to 3%.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list