[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:08:11 PDT 2025


================
@@ -1285,11 +1289,9 @@ void testBracedInitTemporaries() {
 
 
   // These should not be noticed or fixed; after the correction, the code won't
-  // compile.
+  // compile in version previous to C++20.
----------------
vbvictor wrote:

This is not needed anymore since those cases moved to another place?
```suggestion
  // compile.
```

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


More information about the cfe-commits mailing list