================
@@ -400,6 +400,69 @@ constexpr TypeBuilderFunc getModel<bool &>() {
     return fir::ReferenceType::get(f(context));
   };
 }
+template <>
+constexpr TypeBuilderFunc getModel<unsigned short>() {
+  return getModel<short>();
----------------
klausler wrote:

The existing code does not distinguish `unsigned int` from `signed int`, so I 
followed that precedent for other sizes of `unsigned` types.  Should the patch 
be changed to mark the signature for `unsigned int` as being unsigned, along 
with the other sizes, or just the other sizes?

https://github.com/llvm/llvm-project/pull/113504
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to