Issue 107913
Summary clang-tidy modernize-avoid-c-arrays on std::unique_ptr<T[]>
Labels clang-tidy
Assignees
Reporter avlec
    I don't think this should warn?

Seeing on clang-tidy 17.0.6 also tested on trunk on godbolt running clang-tidy tool with the argument `--checks=modernize-avoid-c-arrays`

```cpp
#include <memory>

auto func(int num) {
    return std::unique_ptr<char[]> {};
}
```

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to