[clang-tidy] performance-unnecessary-copy-initialization: Disable check when...
[clang-tidy] performance-unnecessary-copy-initialization: Disable check when variable and initializer have different replaced template param types. This can happen when a template with two parameter types is instantiated with a single type. The fix would only be valid for this instantiation but fail for others that rely on an implicit type conversion. The test cases illustrate when the check should trigger and when not. Differential Revision: https://reviews.llvm.org/D106011
Loading
Please sign in to comment