diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-16 00:16:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-16 00:16:02 +0000 |
commit | 8e25d8681822d8094bfeb97b2239363552548171 (patch) | |
tree | 3c3d5c9f3f93a8587d0bbd1ad3341bad1b407285 /lib/AST/DeclSerialization.cpp | |
parent | bda0b626e74513950405c27525af87e214e605e2 (diff) |
switch the rest of the C decl classes to do their
allocation through ASTContext.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclSerialization.cpp')
-rw-r--r-- | lib/AST/DeclSerialization.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclSerialization.cpp b/lib/AST/DeclSerialization.cpp index a7eaed5b2e..fe2ccefdce 100644 --- a/lib/AST/DeclSerialization.cpp +++ b/lib/AST/DeclSerialization.cpp @@ -302,7 +302,7 @@ void FieldDecl::EmitImpl(Serializer& S) const { } FieldDecl* FieldDecl::CreateImpl(Deserializer& D) { - FieldDecl* decl = new FieldDecl(SourceLocation(),NULL,QualType()); + FieldDecl* decl = new FieldDecl(SourceLocation(), NULL, QualType(), 0); decl->DeclType.ReadBackpatch(D); decl->ReadInRec(D); decl->BitWidth = D.ReadOwnedPtr<Expr>(); |