Rename objc_lifetime -> objc_ownership, and modify diagnostics to talk about 'ownership', not 'lifetime'.

rdar://9477613.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133779 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ARCMigrate/TransProperties.cpp b/lib/ARCMigrate/TransProperties.cpp
index 2122e03..e0009ac 100644
--- a/lib/ARCMigrate/TransProperties.cpp
+++ b/lib/ARCMigrate/TransProperties.cpp
@@ -116,7 +116,7 @@
 
     Transaction Trans(Pass.TA);
     Pass.TA.insert(prop.IvarD->getLocation(), "__weak "); 
-    Pass.TA.clearDiagnostic(diag::err_arc_assign_property_lifetime,
+    Pass.TA.clearDiagnostic(diag::err_arc_assign_property_ownership,
                             prop.ArcPropAssignErrorLoc);
   }
 
@@ -126,7 +126,7 @@
       if (PI->ShouldChangeToWeak) {
         Transaction Trans(Pass.TA);
         Pass.TA.insert(PI->IvarD->getLocation(), "__unsafe_unretained ");
-        Pass.TA.clearDiagnostic(diag::err_arc_assign_property_lifetime,
+        Pass.TA.clearDiagnostic(diag::err_arc_assign_property_ownership,
                                 PI->ArcPropAssignErrorLoc);
       }
     }
@@ -151,7 +151,7 @@
           != Qualifiers::OCL_Strong)
       return true;
     if (!Pass.TA.hasDiagnostic(
-                      diag::err_arc_assign_property_lifetime, D->getLocation()))
+                      diag::err_arc_assign_property_ownership, D->getLocation()))
       return true;
 
     // There is a "error: existing ivar for assign property must be
@@ -162,7 +162,7 @@
       Transaction Trans(Pass.TA);
       Pass.TA.insert(ivarD->getLocation(), "__unsafe_unretained ");
       Pass.TA.clearDiagnostic(
-                      diag::err_arc_assign_property_lifetime, D->getLocation());
+                      diag::err_arc_assign_property_ownership, D->getLocation());
     } else {
       // Mark that we want the ivar to become weak.
       unsigned loc = SM.getInstantiationLoc(propD->getAtLoc()).getRawEncoding();