diff options
author | Steve Naroff <snaroff@apple.com> | 2008-10-10 01:28:17 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-10-10 01:28:17 +0000 |
commit | 090276f5e164d491a1bb3f541bafdb394f5e6f04 (patch) | |
tree | ae729e4967e16751a9ace0c4037c4b3f847972f4 /lib/AST/Decl.cpp | |
parent | f02e9ddf5efc75917af712b3c7f909581205f0a5 (diff) |
Final phase of converting BlockDecls over to DeclContext. This is unfortunately a largish/complex diff, however it was necessry to pass all the current block tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57337 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r-- | lib/AST/Decl.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index fe2e95d157..382b9ebd51 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -76,10 +76,9 @@ FunctionDecl *FunctionDecl::Create(ASTContext &C, DeclContext *DC, TypeSpecStartLoc); } -BlockDecl *BlockDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, - ParmVarDecl **args, unsigned numargs) { +BlockDecl *BlockDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L) { void *Mem = C.getAllocator().Allocate<BlockDecl>(); - return new (Mem) BlockDecl(DC, L, args, numargs); + return new (Mem) BlockDecl(DC, L); } FieldDecl *FieldDecl::Create(ASTContext &C, SourceLocation L, |