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/PCHWriterStmt.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/PCHWriterStmt.cpp')
-rw-r--r-- | lib/Frontend/PCHWriterStmt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Frontend/PCHWriterStmt.cpp b/lib/Frontend/PCHWriterStmt.cpp index 827676ad30..783cd568b6 100644 --- a/lib/Frontend/PCHWriterStmt.cpp +++ b/lib/Frontend/PCHWriterStmt.cpp @@ -204,6 +204,8 @@ void PCHStmtWriter::VisitForStmt(ForStmt *S) { Writer.WriteSubStmt(S->getInc()); Writer.WriteSubStmt(S->getBody()); Writer.AddSourceLocation(S->getForLoc(), Record); + Writer.AddSourceLocation(S->getLParenLoc(), Record); + Writer.AddSourceLocation(S->getRParenLoc(), Record); Code = pch::STMT_FOR; } |