forked from OSchip/llvm-project
Don't add an extra line to the end of the buffer, it doesn't really exist.
llvm-svn: 46330
This commit is contained in:
parent
8a025806a4
commit
01b322cb02
|
@ -285,7 +285,6 @@ static void ComputeLineNumbers(ContentCache* FI) {
|
|||
++Offs, ++Buf;
|
||||
}
|
||||
}
|
||||
LineOffsets.push_back(Offs);
|
||||
|
||||
// Copy the offsets into the FileInfo structure.
|
||||
FI->NumLines = LineOffsets.size();
|
||||
|
|
Loading…
Reference in New Issue