[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 Mar 30 11:09:58 PDT 2025


================
@@ -305,6 +320,36 @@ void UseEmplaceCheck::registerMatchers(MatchFinder *Finder) {
       this);
 }
 
+static const CXXConstructExpr *unwrapToConstructorExpr(const Expr *E) {
+
----------------
vbvictor wrote:

```suggestion
```
Maybe excessive line

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


More information about the cfe-commits mailing list