diff options
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
| -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) { |

