diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-15 22:12:32 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-15 22:12:32 +0000 |
commit | 5831c6a1efc47e6a19d82fe3dd25b5b8fef6979d (patch) | |
tree | 8447ceca131a895505af6f77d174ed94645cc52c /lib/Frontend/PCHReaderStmt.cpp | |
parent | 987edd22710b97666b7cfc28f9a645d83d3fa201 (diff) |
Template instantiation for "for" loops
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReaderStmt.cpp')
-rw-r--r-- | lib/Frontend/PCHReaderStmt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Frontend/PCHReaderStmt.cpp b/lib/Frontend/PCHReaderStmt.cpp index e526f5bd94..2daedbf0c3 100644 --- a/lib/Frontend/PCHReaderStmt.cpp +++ b/lib/Frontend/PCHReaderStmt.cpp @@ -217,6 +217,8 @@ unsigned PCHStmtReader::VisitForStmt(ForStmt *S) { S->setInc(cast_or_null<Expr>(StmtStack[StmtStack.size() - 2])); S->setBody(StmtStack.back()); S->setForLoc(SourceLocation::getFromRawEncoding(Record[Idx++])); + S->setLParenLoc(SourceLocation::getFromRawEncoding(Record[Idx++])); + S->setRParenLoc(SourceLocation::getFromRawEncoding(Record[Idx++])); return 4; } |