skia2/experimental
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
..
c-api-example Fix small memory leak in c-api example 2019-12-16 16:03:04 +00:00
docs runs some sample animations side by side in canvas and svg 2015-11-16 13:36:08 -08:00
documentation experimental/tools/gerrit_percent_encode 2019-08-05 16:11:45 +00:00
ffmpeg [skottie/tools] Video playback support 2020-04-24 15:56:50 +00:00
minimal_ios_mtl_skia_app Reland "Remove deprecated flush calls." 2020-05-20 15:48:46 +00:00
pvg add pvg experiment 2018-11-02 15:35:21 +00:00
skottiekit Bump SkottieKit version 2020-07-27 18:03:55 +00:00
skrive Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
svg/model Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
tools Add sleep option to web_to_(skp|mskp) shell scripts. 2020-06-19 19:06:29 +00:00
wasm-skp-debugger missed minification bug 2020-08-14 17:06:05 +00:00
xform Move a bunch of gpu files out of include/private and into src/gpu. 2019-06-18 14:24:42 +00:00
xps_to_png experimental/xps_to_png: pass in DPI as program argument 2016-11-14 15:39:09 +00:00