[llvm-branch-commits] [llvm] [NFCI] Change SpecialCaseList::inSectionBlame to return pair<uint, uint> (FileIdx, LineNo). (PR #141540)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 27 19:10:45 PDT 2025


================
@@ -122,6 +123,7 @@ bool SpecialCaseList::createInternal(const std::vector<std::string> &Paths,
 
 bool SpecialCaseList::createInternal(const MemoryBuffer *MB,
                                      std::string &Error) {
+  ++currFileIdx;
----------------
vitalybuka wrote:

MemoryBuffer is always one, let's make it 0

https://github.com/llvm/llvm-project/pull/141540


More information about the llvm-branch-commits mailing list