[SourceManager] Fix the incorrect counting stats in getFileIDLoaded.
authorHaojian Wu <hokein.wu@gmail.com>
Fri, 7 Oct 2022 12:04:54 +0000 (14:04 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Fri, 7 Oct 2022 12:24:31 +0000 (14:24 +0200)
commitd779356043a895280d0880551ef33d663fe36c7e
tree0ea4e0d9c7f026c7dece8ad88365617eb64b24f3
parent551a242ceefea90f014edf68919b2015ddfdc103
[SourceManager] Fix the incorrect counting stats in getFileIDLoaded.

We were double-counting the number of binary search FileID scans.
clang/lib/Basic/SourceManager.cpp