skia2/modules/skparagraph
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
..
bench Move SkParagraph bits into skparagraph directory. 2020-05-28 13:59:18 +00:00
gm Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
include Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
samples Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
src Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
tests Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
utils Fix clang 12 Wsuggest-override and Wsuggest-destructor-override 2020-07-22 01:11:36 +00:00
BUILD.gn Revert "Revert "gms for SkParagraph"" 2020-06-02 19:26:04 +00:00
skparagraph.gni Remove use of ICU C++ API from SkParagraph. 2020-05-28 22:07:40 +00:00
test.html Font resolution: all unit tests working 2019-11-08 17:24:14 +00:00