diff options
Diffstat (limited to 'lib/Frontend/PCHReader.cpp')
-rw-r--r-- | lib/Frontend/PCHReader.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Frontend/PCHReader.cpp b/lib/Frontend/PCHReader.cpp index bc754cb845..b0b35e491b 100644 --- a/lib/Frontend/PCHReader.cpp +++ b/lib/Frontend/PCHReader.cpp @@ -482,14 +482,15 @@ PCHReader::PCHReadResult PCHReader::ReadSourceManagerBlock() { SourceLocation::getFromRawEncoding(Record[2]), SourceLocation::getFromRawEncoding(Record[3]), Lexer::MeasureTokenLength(SpellingLoc, - SourceMgr)); + SourceMgr, + PP.getLangOptions())); break; } - case pch::SM_LINE_TABLE: { + case pch::SM_LINE_TABLE: if (ParseLineTable(SourceMgr, Record)) return Failure; - } + break; } } } |