[clang] [Clang] [AST] Fix placeholder return type name mangling for MSVC 1920+ / VS2019+ (PR #102848)

via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 13 01:02:15 PDT 2024


================
@@ -2494,6 +2506,58 @@ void MicrosoftCXXNameMangler::mangleAddressSpaceType(QualType T,
   mangleArtificialTagType(TagTypeKind::Struct, ASMangling, {"__clang"});
 }
 
+void MicrosoftCXXNameMangler::mangleAutoReturnType(QualType T,
+                                                   SourceRange Range,
+                                                   QualifierMangleMode QMM) {
+  assert(getASTContext().getLangOpts().isCompatibleWithMSVC(
----------------
zmodem wrote:

Oh I see, that makes sense.

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


More information about the cfe-commits mailing list