skia2/tools/debugger
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
..
DebugCanvas.cpp Fix DebugCanvas(SkIRect) constructor. 2020-07-29 23:24:21 +00:00
DebugCanvas.h rm unneeded SK_SUPPORT_LEGACY_DIDCONCAT44 2020-04-20 20:44:35 +00:00
DebugLayerManager.cpp Return summaries of all layers for display 2020-01-29 20:55:49 +00:00
DebugLayerManager.h Return summaries of all layers for display 2020-01-29 20:55:49 +00:00
DrawCommand.cpp Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
DrawCommand.h Remove drawBitmap et al. from SkDevice 2020-03-12 15:28:00 +00:00
JsonWriteBuffer.cpp read/write m44 2020-07-20 20:45:04 +00:00
JsonWriteBuffer.h read/write m44 2020-07-20 20:45:04 +00:00