diff options
author | Joey Watts <jwatts43@bloomberg.net> | 2022-08-19 07:57:12 +0100 |
---|---|---|
committer | Nathan James <n.james93@hotmail.co.uk> | 2022-08-19 07:57:42 +0100 |
commit | b8655f7ff286b9ebcd97cdd24b9c8eb5b89b9651 (patch) | |
tree | 2bb94d5f6aa12edbcce8f361eba53b8f9ff41905 /libcxx/include/__algorithm/generate.h | |
parent | dfde731df78a552a27db7e701c91215c244a6fe2 (diff) | |
download | llvm-b8655f7ff286b9ebcd97cdd24b9c8eb5b89b9651.zip llvm-b8655f7ff286b9ebcd97cdd24b9c8eb5b89b9651.tar.gz llvm-b8655f7ff286b9ebcd97cdd24b9c8eb5b89b9651.tar.bz2 |
[clang-tidy] Improve modernize-use-emplace check
This patch improves the modernize-use-emplace check by adding support for
detecting inefficient invocations of the `push` and `push_front` methods on
STL-style containers and replacing them with their `emplace`-style equivalent.
Fixes #56996.
Reviewed By: njames93
Differential Revision: https://reviews.llvm.org/D131623
Diffstat (limited to 'libcxx/include/__algorithm/generate.h')
0 files changed, 0 insertions, 0 deletions