================
@@ -12528,9 +12528,12 @@ static QualType DecodeTypeFromStr(const char *&Str, 
const ASTContext &Context,
     assert(HowLong == 0 && !Signed && !Unsigned && "Bad modifiers for 'b'!");
     Type = Context.BoolTy;
     break;
-  case 'z':  // size_t.
-    assert(HowLong == 0 && !Signed && !Unsigned && "Bad modifiers for 'z'!");
-    Type = Context.getSizeType();
+  case 'z': // size_t and ssize_t.
+    assert(HowLong == 0 && "Bad modifiers for 'z'!");
+    if (Signed)
----------------
ColinKinloch wrote:

I don't think so.
Could you give me some guidance as to what tests would be suitable for this? Or 
pointers to relevant existing code?

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

Reply via email to