Hook up attribute 'objc_ownership_retain' to the analyzer. This attribute allows
users to specify that a method's argument is visibly retained (reference count
incremented).
llvm-svn: 70008
diff --git a/clang/lib/Parse/AttributeList.cpp b/clang/lib/Parse/AttributeList.cpp
index a205c04..8048db8 100644
--- a/clang/lib/Parse/AttributeList.cpp
+++ b/clang/lib/Parse/AttributeList.cpp
@@ -135,7 +135,7 @@
break;
case 21:
if (!memcmp(Str, "objc_ownership_retain", 21))
- return AT_objc_ownership_returns;
+ return AT_objc_ownership_retain;
case 22:
if (!memcmp(Str, "objc_ownership_returns", 22))
return AT_objc_ownership_returns;