diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-15 21:24:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-15 21:24:04 +0000 |
commit | a98e58ddb4696a0020fe97439d5295413f9e90b1 (patch) | |
tree | 8b9d4d61904063b32feea3b449d7d391c18ea92b /AST/DeclSerialization.cpp | |
parent | 9e151e154780e9cd443336143af1e996d1f387e5 (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.cpp | 2 |
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); |