a008b0fa8b
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> |
||
---|---|---|
.. | ||
agg_dash.lua | ||
bbh_filter.lua | ||
bitmap_statistics.lua | ||
chars-vs-glyphs.lua | ||
classify_rrect_clips.lua | ||
count_dashes.lua | ||
count_effects.lua | ||
dumpops.lua | ||
filter-counter.lua | ||
find_ngrams_on_ct | ||
glyph-counts.lua | ||
glyph-usage.lua | ||
gradients.lua | ||
gradients.py | ||
lua_app.cpp | ||
lua_pictures.cpp | ||
ngrams_aggregate.lua | ||
ngrams.lua | ||
paths_agg.lua | ||
paths.lua | ||
scrape_dashing_full.lua | ||
scrape_dashing.lua | ||
scrape.lua | ||
skia.lua | ||
xfer-counter.lua |