skia2/modules/skparagraph
John Stiles 31954bf23f Enable ClangTidy check performance-unnecessary-copy-initialization.
https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-copy-initialization.html

Finds local variable declarations that are initialized using the copy
constructor of a non-trivially-copyable type but it would suffice to
obtain a const reference.

The check is only applied if it is safe to replace the copy by a const
reference. This is the case when the variable is const qualified or when
it is only used as a const, i.e. only const methods or operators are
invoked on it, or it is used as const reference or value argument in
constructors or function calls.

Change-Id: I1261410deccd8ea64e85edec53fbd5360940e587
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308759
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2020-08-07 22:20:36 +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 Cleaning codepoints/grapheme mess; it also helps with ICU API 2020-06-17 14:51:24 +00:00
src Enable ClangTidy check performance-unnecessary-copy-initialization. 2020-08-07 22:20:36 +00:00
tests Reland "Attach whitespaces to the neighbor unresolved blocks" 2020-07-28 17:19:21 +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