skia2/modules
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
..
canvaskit Publish version 0.17.3 2020-08-05 15:23:05 +00:00
particles Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
pathkit [canvaskit] Update to 0.17.1 2020-07-21 14:48:20 +00:00
skottie Enable ClangTidy check readability-static-accessed-through-instance. 2020-08-07 16:57:17 +00:00
skparagraph Enable ClangTidy check performance-unnecessary-copy-initialization. 2020-08-07 22:20:36 +00:00
skplaintexteditor Enable ClangTidy check readability-const-return-type. 2020-08-07 17:42:38 +00:00
skresources [skottie] Avoid image data duplication when pre-decoding 2020-07-30 22:09:41 +00:00
sksg Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
skshaper move SkArenaAlloc reset to its own class 2020-08-07 18:48:53 +00:00