[clang-tidy] performance-unnecessary-copy-initialization: Directly examine the...
[clang-tidy] performance-unnecessary-copy-initialization: Directly examine the initializing var's initializer. This fixes false positive cases where a reference is initialized outside of a block statement and then its initializing variable is modified. Another case is when the looped over container is modified. Differential Revision: https://reviews.llvm.org/D103021 Reviewed-by: ymandel
Loading
Please sign in to comment