[clang] [clang][modules] Fix std::initializer_list recognition if it's exported out of a module (PR #118537)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 9 17:48:02 PST 2024


================
@@ -803,6 +803,8 @@ Bug Fixes to C++ Support
 - Fixed an incorrect lambda scope of generic lambdas that caused Clang to crash when computing potential lambda
   captures at the end of a full expression. (#GH115931)
 - Clang no longer rejects deleting a pointer of incomplete enumeration type. (#GH99278)
+- Fixed recognition of ``std::initializer_list`` when it's surrounded with ``extern "C++"`` and exported
----------------
ChuanqiXu9 wrote:

I guess it is worth mentioning the pattern comes from MSVC's std module implementation.

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


More information about the cfe-commits mailing list