diff options
author | Anders Carlsson <andersca@mac.com> | 2009-05-14 21:46:00 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-05-14 21:46:00 +0000 |
commit | a75e8534f2b7c2480c48f31f301bd00b241c5499 (patch) | |
tree | 05ceade41dc6689fe4fd1eafe72fe90983db75de /lib/Frontend/PCHReaderDecl.cpp | |
parent | 48dd19b19ddb9e105f8cf0bf6f0732ca4e6a385b (diff) |
Improvements to the FunctionDecl getters/setters.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | lib/Frontend/PCHReaderDecl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/PCHReaderDecl.cpp b/lib/Frontend/PCHReaderDecl.cpp index 9dd1565890..45af36c82f 100644 --- a/lib/Frontend/PCHReaderDecl.cpp +++ b/lib/Frontend/PCHReaderDecl.cpp @@ -151,8 +151,8 @@ void PCHDeclReader::VisitFunctionDecl(FunctionDecl *FD) { FD->setC99InlineDefinition(Record[Idx++]); FD->setVirtual(Record[Idx++]); FD->setPure(Record[Idx++]); - FD->setInheritedPrototype(Record[Idx++]); - FD->setHasPrototype(Record[Idx++]); + FD->setHasInheritedPrototype(Record[Idx++]); + FD->setHasWrittenPrototype(Record[Idx++]); FD->setDeleted(Record[Idx++]); FD->setTypeSpecStartLoc(SourceLocation::getFromRawEncoding(Record[Idx++])); // FIXME: C++ TemplateOrInstantiation |