[all-commits] [llvm/llvm-project] d77935: [SourceManager] Fix the incorrect counting stats i...

Haojian Wu via All-commits all-commits at lists.llvm.org
Fri Oct 7 05:24:56 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d779356043a895280d0880551ef33d663fe36c7e
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M clang/lib/Basic/SourceManager.cpp

  Log Message:
  [SourceManager] Fix the incorrect counting stats in getFileIDLoaded.

We were double-counting the number of binary search FileID scans.

More information about the All-commits mailing list