diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-09-13 07:46:26 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-09-13 07:46:26 +0000 |
commit | 299d76e90193e8a4f48ce399ba46f315f6890372 (patch) | |
tree | 343244a7208e0039952b73d3ca1ed764b98bef7f /clang/lib/Frontend/PCHReaderDecl.cpp | |
parent | c2e87ad47a8662d72b33b9d82e2dcae8695817a2 (diff) | |
download | bcm5719-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.cpp | 1 |
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++]); |