================
@@ -3383,21 +3383,27 @@ static void encodeTypeForFunctionPointerAuth(const 
ASTContext &Ctx,
 
   // Don't bother discriminating based on these types.
   case Type::Pipe:
-  case Type::BitInt:
   case Type::ConstantMatrix:
     OS << "?";
     return;
 
+  case Type::BitInt: {
+    const auto *BtTy = T->castAs<BitIntType>();
----------------
asl wrote:

I was thinking about this. However, looks like the standard explicitly 
specifies that `_BitInt(n)` are distinct types for each `n`. Therefore e.g. 
`_BitInt(8)` and `uint8_t` are different types.

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

Reply via email to