Skip to content
Commit 9d652f02 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Lint: apply performance suggestions by clang-tidy

- move constructors and assignment operators should be noexcept
  https://clang.llvm.org/extra/clang-tidy/checks/performance-noexcept-move-constructor.html
- avoid unnecessary copy on range loop variables
  https://clang.llvm.org/extra/clang-tidy/checks/performance-for-range-copy.html
- avoid unnecessary value parameters of types that are expensive to copy
  https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
- avoid unnecessary copy initialization of types that are expensive to copy
  https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-copy-initialization.html
parent 8e1b0301
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment