[clang-tools-extra] [clang-tidy] perf-str-view-conv improvement: support c_str/data fixing (PR #181473)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 21 11:47:33 PST 2026


vbvictor wrote:

> No, it was just a proposal to discuss. I always go through the automatic fixes, so it's not a case for me.

Thank for clarification, I think we should document this behavoir in docs if anyone what to strip string like this, they can do it just in temporary variable.

Apart from this, LGTM

https://github.com/llvm/llvm-project/pull/181473


More information about the cfe-commits mailing list