summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclSerialization.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-16 00:16:02 +0000
committerChris Lattner <sabre@nondot.org>2008-03-16 00:16:02 +0000
commitee1284a6e20097fe1fe0fa1f16ab95c596bcea4a (patch)
tree5a4c72dc49dcce3dfe6c35cbb2912c897a714d19 /clang/lib/AST/DeclSerialization.cpp
parent7a51313d8a0a358bb92eb5dbf8fd846b7c48e7fe (diff)
downloadbcm5719-llvm-ee1284a6e20097fe1fe0fa1f16ab95c596bcea4a.tar.gz
bcm5719-llvm-ee1284a6e20097fe1fe0fa1f16ab95c596bcea4a.zip
switch the rest of the C decl classes to do their
allocation through ASTContext. llvm-svn: 48403
Diffstat (limited to 'clang/lib/AST/DeclSerialization.cpp')
-rw-r--r--clang/lib/AST/DeclSerialization.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclSerialization.cpp b/clang/lib/AST/DeclSerialization.cpp
index a7eaed5b2ef..fe2ccefdce2 100644
--- a/clang/lib/AST/DeclSerialization.cpp
+++ b/clang/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>();
OpenPOWER on IntegriCloud