Don't add an extra line to the end of the buffer, it doesn't really exist.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46330 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Basic/SourceManager.cpp b/Basic/SourceManager.cpp
index fc43a2f..4f97537 100644
--- a/Basic/SourceManager.cpp
+++ b/Basic/SourceManager.cpp
@@ -285,7 +285,6 @@
       ++Offs, ++Buf;
     }
   }
-  LineOffsets.push_back(Offs);
   
   // Copy the offsets into the FileInfo structure.
   FI->NumLines = LineOffsets.size();