[clang-tools-extra] [clang-tidy][C++20] Add support for Initialization Forwarding in structs and Nested Objects within modernize-use-emplace (PR #131969)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 13 23:49:06 PDT 2025
================
@@ -1,4 +1,12 @@
-// RUN: %check_clang_tidy %s modernize-use-emplace %t -- \
+// RUN: %check_clang_tidy %s -std=c++11 modernize-use-emplace %t -- \
----------------
vbvictor wrote:
```suggestion
// RUN: %check_clang_tidy %s -std=c++11,c++14,c++17 modernize-use-emplace %t -- \
```
https://github.com/llvm/llvm-project/pull/131969
More information about the cfe-commits
mailing list