[clang-tools-extra] [clang-tidy][C++20] Add support for aggregate types within modernize-use-emplace (PR #131969)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 19 04:42:56 PDT 2025
================
@@ -0,0 +1,86 @@
+// RUN: %check_clang_tidy %s -std=c++20 modernize-use-emplace %t -- \
----------------
vbvictor wrote:
Consider mergin this file `use-emplace.cpp` using 2 RUN commands with specified custom suffix. This will remove unnecessary deplication of `vector` and `initializer_list` classes.
Or at least they should be placed in `clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs` and included via `-I` in RUN command
https://github.com/llvm/llvm-project/pull/131969
More information about the cfe-commits
mailing list