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:
Chris Lattner 2008-01-24 23:25:53 +00:00
parent 8a025806a4
commit 01b322cb02
1 changed files with 0 additions and 1 deletions

View File

@ -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();