================
@@ -3513,6 +3513,11 @@ void CXXNameMangler::mangleType(const BuiltinType *T) {
     mangleVendorType(#Name);                                                   
\
     break;
 #include "clang/Basic/HLSLIntangibleTypes.def"
+#define SPIRV_TYPE(Name, Id, SingletonId)                                      
\
+  case BuiltinType::Id:                                                        
\
+    mangleVendorType(Name);                                                    
\
+    break;
+#include "clang/Basic/SPIRVTypes.def"
----------------
tahonermann wrote:

We should also update `clang/lib/AST/MicrosoftMangle.cpp` too.  Use of the 
`mangleArtificialTagType()` encoding like the other types should be fine.

https://github.com/llvm/llvm-project/pull/207077
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to