skia2/tools/fonts
John Stiles a008b0fa8b Enable ClangTidy check readability-redundant-smartptr-get.
To my surprise, this even works with homegrown smart pointers (such as
SkTLazy).

https://clang.llvm.org/extra/clang-tidy/checks/readability-redundant-smartptr-get.html

Find and remove redundant calls to smart pointer’s .get() method.

Examples:

  ptr.get()->Foo()  ==>  ptr->Foo()
  *ptr.get()  ==>  *ptr
  *ptr->get()  ==>  **ptr
  if (ptr.get() == nullptr) ... => if (ptr == nullptr) ...

Change-Id: I8ff541e0229656b4d8e875c8053a7e6138302547
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/310976
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2020-08-16 15:56:48 +00:00
..
create_test_font_color.cpp Add SkMakeSpan and helpful conversion 2019-07-02 21:49:09 +00:00
create_test_font.cpp Include the SkTSort header only where it is used. 2020-07-14 14:19:06 +00:00
generate_fir_coeff.py [minor] mark scripts as executable 2019-11-21 17:06:27 +00:00
RandomScalerContext.cpp use std::make_unique 2019-12-12 22:32:45 +00:00
RandomScalerContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
test_font_index.inc Make create_test_font less global-ish. 2018-08-23 21:23:29 +00:00
test_font_monospace.inc use SkFontMetrics so we can deprecated the typedef 2018-11-12 15:03:03 +00:00
test_font_sans_serif.inc use SkFontMetrics so we can deprecated the typedef 2018-11-12 15:03:03 +00:00
test_font_serif.inc use SkFontMetrics so we can deprecated the typedef 2018-11-12 15:03:03 +00:00
TestEmptyTypeface.h Move scaler context fallback to GDI 2020-02-11 19:50:27 +00:00
TestFontMgr.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TestFontMgr.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TestSVGTypeface.cpp Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
TestSVGTypeface.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TestTypeface.cpp Correct TestTypeface::onCharsToGlyphs signature. 2020-05-19 19:55:25 +00:00
TestTypeface.h Fix clang 12 Wsuggest-override and Wsuggest-destructor-override 2020-07-22 01:11:36 +00:00
ToolUtilsFont.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00