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 | 5072bae7098c80fb725199ddf16cacb42a059e59 (patch) | |
tree | 03e51a38dee3d38790757778c58a210aa5a96bf4 /clang/AST/DeclSerialization.cpp | |
parent | 4b08ca8f2e16e7fea0840bc83cb207aa53c5cfd2 (diff) | |
download | bcm5719-llvm-5072bae7098c80fb725199ddf16cacb42a059e59.tar.gz bcm5719-llvm-5072bae7098c80fb725199ddf16cacb42a059e59.zip |
Switch over functiondecl. This makes it obvious that the ASTContext
argument to Create should be first, not last.
llvm-svn: 48397
Diffstat (limited to 'clang/AST/DeclSerialization.cpp')
-rw-r--r-- | clang/AST/DeclSerialization.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/AST/DeclSerialization.cpp b/clang/AST/DeclSerialization.cpp index 26b36c2994d..a7eaed5b2ef 100644 --- a/clang/AST/DeclSerialization.cpp +++ b/clang/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); |