summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHWriterDecl.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-05-14 22:15:41 +0000
committerAnders Carlsson <andersca@mac.com>2009-05-14 22:15:41 +0000
commit0a7c01ff2b2b42c22e25733bf6c961cdf6ad5166 (patch)
treee5babbe6217d0b19c365fa16879e12878c8bd7b4 /clang/lib/Frontend/PCHWriterDecl.cpp
parent98ed3c7273cbccb69ed322fe2223f3bccd5b7850 (diff)
downloadbcm5719-llvm-0a7c01ff2b2b42c22e25733bf6c961cdf6ad5166.tar.gz
bcm5719-llvm-0a7c01ff2b2b42c22e25733bf6c961cdf6ad5166.zip
Check that the function being overridden is virtual.
llvm-svn: 71802
Diffstat (limited to 'clang/lib/Frontend/PCHWriterDecl.cpp')
-rw-r--r--clang/lib/Frontend/PCHWriterDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PCHWriterDecl.cpp b/clang/lib/Frontend/PCHWriterDecl.cpp
index 48c7dc2d4aa..5d08334dee8 100644
--- a/clang/lib/Frontend/PCHWriterDecl.cpp
+++ b/clang/lib/Frontend/PCHWriterDecl.cpp
@@ -149,7 +149,7 @@ void PCHDeclWriter::VisitFunctionDecl(FunctionDecl *D) {
Record.push_back(D->getStorageClass()); // FIXME: stable encoding
Record.push_back(D->isInline());
Record.push_back(D->isC99InlineDefinition());
- Record.push_back(D->isVirtual());
+ Record.push_back(D->isVirtualAsWritten());
Record.push_back(D->isPure());
Record.push_back(D->hasInheritedPrototype());
Record.push_back(D->hasWrittenPrototype());
OpenPOWER on IntegriCloud