[flang-commits] [clang] [flang] [flang] Add UNSIGNED (PR #113504)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri Oct 25 08:04:21 PDT 2024


================
@@ -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:

I did try marking all of these explicitly unsigned where appropriate and it broke the world in ways I didn't understand.  We can look at this further later when/if I merge this feature and try to clean it up.

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


More information about the flang-commits mailing list