summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReaderDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-09-13 07:46:26 +0000
committerDouglas Gregor <dgregor@apple.com>2009-09-13 07:46:26 +0000
commit299d76e90193e8a4f48ce399ba46f315f6890372 (patch)
tree343244a7208e0039952b73d3ca1ed764b98bef7f /clang/lib/Frontend/PCHReaderDecl.cpp
parentc2e87ad47a8662d72b33b9d82e2dcae8695817a2 (diff)
downloadbcm5719-llvm-299d76e90193e8a4f48ce399ba46f315f6890372.tar.gz
bcm5719-llvm-299d76e90193e8a4f48ce399ba46f315f6890372.zip
Rework the way we determine whether an externally visible symbol is
generated for an inline function definition, taking into account C99 and GNU inline/extern inline semantics. This solution is simpler, cleaner, and fixes PR4536. llvm-svn: 81670
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r--clang/lib/Frontend/PCHReaderDecl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp
index 03ac3aad229..c3c05b0d5da 100644
--- a/clang/lib/Frontend/PCHReaderDecl.cpp
+++ b/clang/lib/Frontend/PCHReaderDecl.cpp
@@ -225,7 +225,6 @@ void PCHDeclReader::VisitFunctionDecl(FunctionDecl *FD) {
cast_or_null<FunctionDecl>(Reader.GetDecl(Record[Idx++])));
FD->setStorageClass((FunctionDecl::StorageClass)Record[Idx++]);
FD->setInline(Record[Idx++]);
- FD->setC99InlineDefinition(Record[Idx++]);
FD->setVirtualAsWritten(Record[Idx++]);
FD->setPure(Record[Idx++]);
FD->setHasInheritedPrototype(Record[Idx++]);
OpenPOWER on IntegriCloud