[PATCH] D60050: Spelling correction for docs for cppcoreguidelines-owning-memory

Benjamin Brown via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 31 14:31:20 PDT 2019


gobennyb created this revision.
gobennyb added a reviewer: JonasToth.
gobennyb created this object with edit policy "Administrators".
gobennyb added a project: clang-tools-extra.
Herald added subscribers: cfe-commits, kbarton, nemanjai.
Herald added a project: clang.

There's a typo in the docs, as mentioned in the title. Please see the diff.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D60050

Files:
  docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst


Index: docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst
===================================================================
--- docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst
+++ docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst
@@ -50,7 +50,7 @@
   int* NonOwner = new int(42); // First warning here, since new must land in an owner
   delete NonOwner; // Second warning here, since only owners are allowed to be deleted
 
-  // Example Good, Ownership correclty stated
+  // Example Good, Ownership correctly stated
   gsl::owner<int*> Owner = new int(42); // Good
   delete Owner; // Good as well, statically enforced, that only owners get deleted
   


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60050.193025.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190331/fbc0656e/attachment.bin>


More information about the cfe-commits mailing list