From 5831c6a1efc47e6a19d82fe3dd25b5b8fef6979d Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 15 May 2009 22:12:32 +0000 Subject: Template instantiation for "for" loops git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71901 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/PCHWriterStmt.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Frontend/PCHWriterStmt.cpp') 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; } -- cgit v1.2.3-70-g09d2