skia2/include
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
..
android androidFramework_replaceClip proposal 2020-06-25 21:54:11 +00:00
c Remove subset parameter from making encoded/generator images 2020-07-28 17:33:12 +00:00
codec Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
config rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
core Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
docs Add appendNodeIdArray to avoid code duplication. 2020-06-23 14:25:33 +00:00
effects Remove 'in' variables from SkRuntimeEffect 2020-08-10 22:00:44 +00:00
encode Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
gpu Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
pathops rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
ports Componentize SkAudioPlayer 2020-08-14 13:46:06 +00:00
private Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
svg [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
third_party Roll skcms from c21106442079 to f73242142ce5 (1 revision) 2020-07-16 21:50:37 +00:00
utils Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00