[all-commits] [llvm/llvm-project] 8909ff: [clang-tidy][NFC] Reduce map lookups in IncludeSorter

Piotr Zegar via All-commits all-commits at lists.llvm.org
Fri Nov 10 10:11:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8909ff6927f856774a907148cadd3af904361601
      https://github.com/llvm/llvm-project/commit/8909ff6927f856774a907148cadd3af904361601
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/IncludeSorter.cpp

  Log Message:
  -----------
  [clang-tidy][NFC] Reduce map lookups in IncludeSorter

Part of D117460, reduce multiple lookups on map
in IncludeSorter::addInclude method to one.




More information about the All-commits mailing list