From 445945f03d24e2ef045f5cec78ce50e8537d805e Mon Sep 17 00:00:00 2001 From: bgloyer <36457894+bgloyer@users.noreply.github.com> Date: Sun, 5 Jun 2022 21:28:46 -0700 Subject: [PATCH 1/2] use snake casing --- CppCoreGuidelines.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index d14586d56..eabfb0e9d 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -4993,11 +4993,10 @@ There is a lot of code that is non-specific about ownership. ##### Example - class LegacyClass + class legacy_class { - Foo* m_owningPtr; - Bar* m_observerPtr; - // ... + foo* m_owning; + bar* m_observer; } The only way to determine ownership may be to dig through the code to look for From e0aec519d5c218857242760ece37ec207cfcbbac Mon Sep 17 00:00:00 2001 From: bgloyer <36457894+bgloyer@users.noreply.github.com> Date: Sun, 5 Jun 2022 21:32:52 -0700 Subject: [PATCH 2/2] sake case naming --- scripts/hunspell/isocpp.dic | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/hunspell/isocpp.dic b/scripts/hunspell/isocpp.dic index f9d366cbb..a60cc33b3 100644 --- a/scripts/hunspell/isocpp.dic +++ b/scripts/hunspell/isocpp.dic @@ -286,7 +286,7 @@ Lakos Lakos96 Lavavej LCSD05 -LegacyClass +legacy_class lifecycle *life-time linearization @@ -302,8 +302,8 @@ lvalues m1 m2 m3 -m_owningPtr; -m_observerPtr; +m_owning; +m_observer; macros2 malloc mallocfree