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 | 1fc09a92d0bffda20e06fa882388c01e192e2069 (patch) | |
tree | 0a0e14c1cd9a145db8c4c5b306836d20e2eab1c0 /lib/Frontend/PCHReaderDecl.cpp | |
parent | 0a2329a48095e7067b509eed82675cc2893045c8 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | lib/Frontend/PCHReaderDecl.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Frontend/PCHReaderDecl.cpp b/lib/Frontend/PCHReaderDecl.cpp index 03ac3aad22..c3c05b0d5d 100644 --- a/lib/Frontend/PCHReaderDecl.cpp +++ b/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++]); |