diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-23 18:22:55 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-23 18:22:55 +0000 |
commit | b3efa98e320590e8be9d62818e89e599303e65b4 (patch) | |
tree | e1dfe49a1b96f17d9dc5815273bee027ed5d5343 /lib/Frontend/PCHWriter.cpp | |
parent | 87de6497f45243fbcef6dac5be6a641ca9331f61 (diff) |
Fix handling of C99 "extern inline" semantics when dealing with
multiple declarations of the function. Should fix PR3989 and
<rdar://problem/6818429>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69905 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriter.cpp')
-rw-r--r-- | lib/Frontend/PCHWriter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/PCHWriter.cpp b/lib/Frontend/PCHWriter.cpp index 62e129919b..0c640e7b05 100644 --- a/lib/Frontend/PCHWriter.cpp +++ b/lib/Frontend/PCHWriter.cpp @@ -356,6 +356,7 @@ void PCHDeclWriter::VisitFunctionDecl(FunctionDecl *D) { Writer.AddDeclRef(D->getPreviousDeclaration(), Record); 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->isPure()); Record.push_back(D->inheritedPrototype()); |