[clang] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 22 19:56:22 PDT 2025


================
@@ -3780,6 +3780,11 @@ void MicrosoftCXXNameMangler::mangleType(const HLSLInlineSpirvType *T,
   llvm_unreachable("HLSL uses Itanium name mangling");
 }
 
+void MicrosoftCXXNameMangler::mangleType(const OverflowBehaviorType *T,
+                                         Qualifiers, SourceRange Range) {
+  llvm_unreachable("OverflowBehaviorType uses Itanium name mangling");
+}
----------------
mizvekov wrote:

I don't think this is right. On MS-ABI platforms, you still want to mangle the thing using the microsoft mangler, as it is not going to call out into the Itanium Mangler.

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


More information about the cfe-commits mailing list