[clang-tools-extra] r357371 - Spelling correction for docs for cppcoreguidelines-owning-memory
Sylvestre Ledru via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 31 14:53:01 PDT 2019
Author: sylvestre
Date: Sun Mar 31 14:53:00 2019
New Revision: 357371
URL: http://llvm.org/viewvc/llvm-project?rev=357371&view=rev
Log:
Spelling correction for docs for cppcoreguidelines-owning-memory
Summary: There's a typo in the docs, as mentioned in the title. Please see the diff.
Reviewers: JonasToth
Subscribers: sylvestre.ledru, nemanjai, kbarton, cfe-commits
Tags: #clang-tools-extra, #clang
Differential Revision: https://reviews.llvm.org/D60050
Modified:
clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst?rev=357371&r1=357370&r2=357371&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst Sun Mar 31 14:53:00 2019
@@ -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
More information about the cfe-commits
mailing list