[clang] [NFC][Clang] Fix Static Code Analysis Concerns with copy without assign (PR #75091)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 22 18:48:26 PST 2023
smanna12 wrote:
> I think the static analysis tool is confused here. The `SVEType` class doesn't actually have a user-declared copy constructor. It does have a constructor that delegates to the implicitly declared copy constructor though. The class members are all scalar types, so the implicitly declared copy constructor and assignment operator will both behave as expected.
>
> I recommend triaging the static analysis report as a false positive and not making a source code change.
Thanks @tahonermann for reviews and clarification. I will close it as FP.
https://github.com/llvm/llvm-project/pull/75091
More information about the cfe-commits
mailing list