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 | e0dd1d57b3a335362da046e4e6f5ed96880f4d15 (patch) | |
tree | 58809a26393c895b6270fd81cab8581b614e39dd /clang/lib/Frontend/PCHWriterDecl.cpp | |
parent | 372565211e075b4aad983d74b9d4f8c0ad0da3b2 (diff) | |
download | bcm5719-llvm-e0dd1d57b3a335362da046e4e6f5ed96880f4d15.tar.gz bcm5719-llvm-e0dd1d57b3a335362da046e4e6f5ed96880f4d15.zip |
Improvements to the FunctionDecl getters/setters.
llvm-svn: 71800
Diffstat (limited to 'clang/lib/Frontend/PCHWriterDecl.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHWriterDecl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/PCHWriterDecl.cpp b/clang/lib/Frontend/PCHWriterDecl.cpp index 96045f94c53..48c7dc2d4aa 100644 --- a/clang/lib/Frontend/PCHWriterDecl.cpp +++ b/clang/lib/Frontend/PCHWriterDecl.cpp @@ -151,8 +151,8 @@ void PCHDeclWriter::VisitFunctionDecl(FunctionDecl *D) { Record.push_back(D->isC99InlineDefinition()); Record.push_back(D->isVirtual()); Record.push_back(D->isPure()); - Record.push_back(D->inheritedPrototype()); - Record.push_back(D->hasPrototype() && !D->inheritedPrototype()); + Record.push_back(D->hasInheritedPrototype()); + Record.push_back(D->hasWrittenPrototype()); Record.push_back(D->isDeleted()); Writer.AddSourceLocation(D->getTypeSpecStartLoc(), Record); // FIXME: C++ TemplateOrInstantiation |