[clang] [clang][Interp] Add IntegralAP for arbitrary-precision integers (PR #65844)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 11 06:57:25 PDT 2023


================
@@ -102,7 +102,8 @@ std::optional<PrimType> Context::classify(QualType T) const {
     case 8:
       return PT_Sint8;
     default:
-      return std::nullopt;
+      return PT_IntAPS;
+      // return std::nullopt;
----------------
erichkeane wrote:

If we're removing these, I wonder if we need a 'LLVM_FALLTHROUGH' in case others add to it later?

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


More information about the cfe-commits mailing list