From 1841aa19aa577437f3b0ff8ce1ff8deafa20d6c8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 11 Mar 2009 01:09:52 +0000 Subject: [PATCH] Clear all the linetable state in clear(), fixing problems with "clang t.i s.i" where the .i files contain line markers. rdar://6667812 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66619 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/SourceManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Basic/SourceManager.cpp b/lib/Basic/SourceManager.cpp index 2b581bb1ed..bb20067d7a 100644 --- a/lib/Basic/SourceManager.cpp +++ b/lib/Basic/SourceManager.cpp @@ -129,6 +129,7 @@ public: void clear() { FilenameIDs.clear(); FilenamesByID.clear(); + LineEntries.clear(); } ~LineTableInfo() {} -- 2.40.0