[clang-tools-extra] [clang-tidy][C++20] Add support for Initialization Forwarding in structs and Nested Objects within modernize-use-emplace (PR #131969)

David Rivera via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 1 20:49:50 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.
----------------
RiverDave wrote:

All should be addressed now

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


More information about the cfe-commits mailing list