diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-02-17 20:20:37 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-02-17 20:20:37 +0000 |
commit | 0cf6625ff848d67569e7db9f13fa97c9a680c588 (patch) | |
tree | 540b6ad39cb428faa9433fd569ea7285f9bc84db /clang/lib/Sema | |
parent | 19c44508a1838e80f1aaf3dd18c9f8d8d3a59075 (diff) | |
download | bcm5719-llvm-0cf6625ff848d67569e7db9f13fa97c9a680c588.tar.gz bcm5719-llvm-0cf6625ff848d67569e7db9f13fa97c9a680c588.zip |
All Decls have a DeclContext now, hooray! Fans of consistency rejoice.
Pass the DeclContext to ObjCIvarDecls as well.
llvm-svn: 64801
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index b5e6bd69739..5eb2e6a95ba 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -3559,7 +3559,7 @@ Sema::DeclTy *Sema::ActOnIvar(Scope *S, : ObjCIvarDecl::None; // Construct the decl. - ObjCIvarDecl *NewID = ObjCIvarDecl::Create(Context, Loc, II, T, ac, + ObjCIvarDecl *NewID = ObjCIvarDecl::Create(Context, CurContext, Loc, II, T,ac, (Expr *)BitfieldWidth); if (II) { |