aboutsummaryrefslogtreecommitdiff
path: root/AST/DeclSerialization.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-15 21:24:04 +0000
committerChris Lattner <sabre@nondot.org>2008-03-15 21:24:04 +0000
commita98e58ddb4696a0020fe97439d5295413f9e90b1 (patch)
tree8b9d4d61904063b32feea3b449d7d391c18ea92b /AST/DeclSerialization.cpp
parent9e151e154780e9cd443336143af1e996d1f387e5 (diff)
Switch over functiondecl. This makes it obvious that the ASTContext
argument to Create should be first, not last. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48397 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'AST/DeclSerialization.cpp')
-rw-r--r--AST/DeclSerialization.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AST/DeclSerialization.cpp b/AST/DeclSerialization.cpp
index 26b36c2994..a7eaed5b2e 100644
--- a/AST/DeclSerialization.cpp
+++ b/AST/DeclSerialization.cpp
@@ -338,7 +338,7 @@ FunctionDecl* FunctionDecl::CreateImpl(Deserializer& D) {
bool IsInline = D.ReadBool();
FunctionDecl* decl =
- new FunctionDecl(SourceLocation(),NULL,QualType(),SClass,IsInline);
+ new FunctionDecl(SourceLocation(),NULL,QualType(),SClass, IsInline, 0);
decl->ValueDecl::ReadInRec(D);
D.ReadPtr(decl->DeclChain);