[clang-tools-extra] [clang-tidy]detecting conversion directly by `make_unique` and `make_shared` in bugprone-optional-value-conversion (PR #119371)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 10 08:42:07 PST 2024


https://github.com/PiotrZSL commented:

Note: Probably also std::make_optional could be supported.

Please improve performance - avoid creating temporary matchers on every match.
Except above, looks fine.

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


More information about the cfe-commits mailing list