summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReaderDecl.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-22 05:38:14 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-22 05:38:14 +0000
commitb45012dcdea35a38c7b7719fa3a2330298417885 (patch)
treeb7cf493f685846b4693fa7a5207bdd9269a4cf1a /clang/lib/Frontend/PCHReaderDecl.cpp
parent2d925ebd0ab1c2cce4ba3fe7e587d33d2d45a0f5 (diff)
downloadbcm5719-llvm-b45012dcdea35a38c7b7719fa3a2330298417885.tar.gz
bcm5719-llvm-b45012dcdea35a38c7b7719fa3a2330298417885.zip
Update PCH serialization of FunctionDecl flags.
llvm-svn: 82526
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r--clang/lib/Frontend/PCHReaderDecl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp
index 67ffabba863..77721bdf629 100644
--- a/clang/lib/Frontend/PCHReaderDecl.cpp
+++ b/clang/lib/Frontend/PCHReaderDecl.cpp
@@ -230,6 +230,9 @@ void PCHDeclReader::VisitFunctionDecl(FunctionDecl *FD) {
FD->setHasInheritedPrototype(Record[Idx++]);
FD->setHasWrittenPrototype(Record[Idx++]);
FD->setDeleted(Record[Idx++]);
+ FD->setTrivial(Record[Idx++]);
+ FD->setCopyAssignment(Record[Idx++]);
+ FD->setHasImplicitReturnZero(Record[Idx++]);
FD->setLocEnd(SourceLocation::getFromRawEncoding(Record[Idx++]));
// FIXME: C++ TemplateOrInstantiation
unsigned NumParams = Record[Idx++];
OpenPOWER on IntegriCloud