commit | 13099923a2209899034e2ea0ca0e88f27fb7a8b2 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jan 24 23:25:53 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jan 24 23:25:53 2008 +0000 |
tree | d7f3ef638057f0df71c8f4240ed74b94f442d967 | |
parent | f13794e2a0bacb93163da7be810cbe0cd84492a1 [diff] |
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();