[PATCH] D151431: [clang-tidy] Add check bugprone-unique-ptr-array-mismatch.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 26 07:59:20 PDT 2023


balazske added a comment.

The case of fully dependent type (`unique_ptr<T>`) is not working in this checker and likely not in `SharedPtrArrayMismatchCheck`. I can fix this in a next patch (for both checkers).
Maybe we can remove the warning in all cases when the type is a POD type (or add a check option)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151431/new/

https://reviews.llvm.org/D151431



More information about the cfe-commits mailing list