summaryrefslogtreecommitdiffstats
path: root/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-05-20 17:10:39 +0000
committerEric Christopher <echristo@gmail.com>2014-05-20 17:10:39 +0000
commitc9e2a689054b63e2c02fddd27b1f508bd57451a3 (patch)
treebe1d28c2bf954a313b59175b2c99a0634ff00c52 /clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
parentb1cc6d5603f68ab9bf62210078fb143404b71870 (diff)
downloadbcm5719-llvm-c9e2a689054b63e2c02fddd27b1f508bd57451a3.tar.gz
bcm5719-llvm-c9e2a689054b63e2c02fddd27b1f508bd57451a3.zip
Clean up language and grammar.
Based on a patch by jfcaron3@gmail.com! PR19806 llvm-svn: 209215
Diffstat (limited to 'clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp')
-rw-r--r--clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp b/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
index 33c651952e3..bcbc9e9612b 100644
--- a/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
+++ b/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
@@ -70,7 +70,7 @@ public:
// An unused autorelease is badness. If we remove it the receiver
// will likely die immediately while previously it was kept alive
// by the autorelease pool. This is bad practice in general, leave it
- // and emit an error to force the user to restructure his code.
+ // and emit an error to force the user to restructure their code.
Pass.TA.reportError("it is not safe to remove an unused 'autorelease' "
"message; its receiver may be destroyed immediately",
E->getLocStart(), E->getSourceRange());
OpenPOWER on IntegriCloud