summaryrefslogtreecommitdiffstats
path: root/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2019-05-14 21:58:59 +0000
committerJordan Rupprecht <rupprecht@google.com>2019-05-14 21:58:59 +0000
commit46054fed6aeeabea27b9ba4a3ef81ab5ff9b9645 (patch)
treed12279f80b5729d0324f066002c838baa736fbd2 /docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst
parent5026a9a16d10a2edf09be54c7225f49b5789c69e (diff)
parent0eb1ac6d1df856f065717226ef34d00679a211fe (diff)
Creating branches/google/stable and tags/google/stable/2019-05-14 from r360103upstream/stable
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/branches/google/stable@360714 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst')
-rw-r--r--docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst b/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst
index 3f6f8c4b..cd190163 100644
--- a/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst
+++ b/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst
@@ -50,7 +50,7 @@ to be deleted.
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