diff options
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp index b3e9dc52513..df0263ee129 100644 --- a/clang/lib/CodeGen/CGObjC.cpp +++ b/clang/lib/CodeGen/CGObjC.cpp @@ -255,7 +255,8 @@ void CodeGenFunction::GenerateObjCGetter(ObjCImplementationDecl *IMP, if (PID->getGetterCXXConstructor()) { ReturnStmt *Stmt = new (getContext()) ReturnStmt(SourceLocation(), - PID->getGetterCXXConstructor()); + PID->getGetterCXXConstructor(), + 0); EmitReturnStmt(*Stmt); } else { |