diff options
| author | Sylvestre Ledru <sylvestre@debian.org> | 2019-03-31 21:53:00 +0000 |
|---|---|---|
| committer | Sylvestre Ledru <sylvestre@debian.org> | 2019-03-31 21:53:00 +0000 |
| commit | 7fb58e98f547ee4cfa2dceac4367fc5942483e90 (patch) | |
| tree | 70e67d31e91ee0f860e3e58540ff1884cc3515ff | |
| parent | b0e79823d699d9a0c65edb7f425d55a305cccde3 (diff) | |
| download | bcm5719-llvm-7fb58e98f547ee4cfa2dceac4367fc5942483e90.tar.gz bcm5719-llvm-7fb58e98f547ee4cfa2dceac4367fc5942483e90.zip | |
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
llvm-svn: 357371
| -rw-r--r-- | clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst b/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst index 3f6f8c4b7f9..cd1901630df 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst +++ b/clang-tools-extra/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 |

