summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaObjCProperty.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-05-21 17:10:28 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-05-21 17:10:28 +0000
commit19e09cb2248b61f5d2f8b8285447850e9b8fcc5d (patch)
tree7466fb14348a5770df693624aac168e9db48913f /clang/lib/Sema/SemaObjCProperty.cpp
parentb52d8d2e5f8b0ee514eced41079ac11ecaf221f8 (diff)
downloadbcm5719-llvm-19e09cb2248b61f5d2f8b8285447850e9b8fcc5d.tar.gz
bcm5719-llvm-19e09cb2248b61f5d2f8b8285447850e9b8fcc5d.zip
Remove unused argument in my last patch.
llvm-svn: 157194
Diffstat (limited to 'clang/lib/Sema/SemaObjCProperty.cpp')
-rw-r--r--clang/lib/Sema/SemaObjCProperty.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp
index d944380ef85..222eaac7f0a 100644
--- a/clang/lib/Sema/SemaObjCProperty.cpp
+++ b/clang/lib/Sema/SemaObjCProperty.cpp
@@ -202,8 +202,7 @@ makePropertyAttributesAsWritten(unsigned Attributes) {
return (ObjCPropertyDecl::PropertyAttributeKind)attributesAsWritten;
}
-static bool LocPropertyAttribute(const Sema &sema,
- ASTContext &Context, const char *attrName,
+static bool LocPropertyAttribute( ASTContext &Context, const char *attrName,
SourceLocation LParenLoc, SourceLocation &Loc) {
if (LParenLoc.isMacroID())
return false;
@@ -672,7 +671,7 @@ Decl *Sema::ActOnPropertyImplDecl(Scope *S,
Diag(IC->getLocation(), diag::warn_auto_readonly_iboutlet_property);
Diag(property->getLocation(), diag::note_property_declare);
SourceLocation readonlyLoc;
- if (LocPropertyAttribute(*this, Context, "readonly",
+ if (LocPropertyAttribute(Context, "readonly",
property->getLParenLoc(), readonlyLoc)) {
SourceLocation endLoc =
readonlyLoc.getLocWithOffset(strlen("readonly")-1);
OpenPOWER on IntegriCloud