From 003e83004b366285c2f15b6d871754775f5bd291 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Thu, 20 Nov 2008 00:15:42 +0000 Subject: More objc gc stuff. Read/Write barriers for local static/extern, diagnostics on use of __weak attribute on fields, Early support for read/write barriers for objc fields. llvm-svn: 59682 --- clang/lib/CodeGen/CodeGenFunction.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 05b2793456b..1da4e195ba8 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -462,7 +462,8 @@ public: LValue EmitBinaryOperatorLValue(const BinaryOperator *E); // Note: only availabe for agg return types LValue EmitCallExprLValue(const CallExpr *E); - + void SetVarDeclObjCAttribute(const VarDecl *VD, const QualType &Ty, + LValue &LV); LValue EmitDeclRefLValue(const DeclRefExpr *E); LValue EmitStringLiteralLValue(const StringLiteral *E); LValue EmitPredefinedFunctionName(unsigned Type); -- cgit v1.2.3