[clang] clang: Fix ambiguous type_info when using clang modules with -fms-compatibility (PR #151277)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 29 22:46:06 PDT 2025


================
@@ -77,6 +77,9 @@ enum PredefinedDeclIDs {
   /// The internal '__NSConstantString' tag type.
   PREDEF_DECL_CF_CONSTANT_STRING_TAG_ID,
 
+  /// The predeclared 'type_info' struct.
+  PREDEF_DECL_BUILTIN_MS_TYPE_INFO_TAG_ID,
----------------
matts1 wrote:

Is changing the enum values going to present a problem with older PCM files being misinterpreted? Or is that a non-issue because we mark two PCMs from different compilers as incompatible?

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


More information about the cfe-commits mailing list