diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-06-20 00:02:26 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-06-20 00:02:26 +0000 |
commit | 9b0b57c6f9996bfdb67248f6942dd23acfa36167 (patch) | |
tree | d0bb3a42d9cf92b9135dd52be2b5a0e654243f1b /lib/Frontend/PCHWriterStmt.cpp | |
parent | e0762c92110dfdcdd207db461a4ea17afd168f1e (diff) |
Added writing and reading of the ConstQualAdded flag of
BlockDeclRefExpr to PCH.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriterStmt.cpp')
-rw-r--r-- | lib/Frontend/PCHWriterStmt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/PCHWriterStmt.cpp b/lib/Frontend/PCHWriterStmt.cpp index 73dea1061c..c63c03c882 100644 --- a/lib/Frontend/PCHWriterStmt.cpp +++ b/lib/Frontend/PCHWriterStmt.cpp @@ -602,6 +602,7 @@ void PCHStmtWriter::VisitBlockDeclRefExpr(BlockDeclRefExpr *E) { Writer.AddDeclRef(E->getDecl(), Record); Writer.AddSourceLocation(E->getLocation(), Record); Record.push_back(E->isByRef()); + Record.push_back(E->isConstQualAdded()); Code = pch::EXPR_BLOCK_DECL_REF; } |