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

via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 12 01:56:57 PDT 2024


================
@@ -408,6 +408,9 @@ class MicrosoftCXXNameMangler {
   void mangleSourceName(StringRef Name);
   void mangleNestedName(GlobalDecl GD);
 
+  void mangleAutoReturnType(QualType T, SourceRange Range,
----------------
zmodem wrote:

Is the SourceRange actually needed? I see it getting passed around to the `mangleAutoReturnType` methods, but I didn't find any actual use in the end?

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


More information about the cfe-commits mailing list