[clang] [Clang] support C23 printf width length modifiers (PR #199991)
Oleksandr Tarasiuk via cfe-commits
cfe-commits at lists.llvm.org
Sat May 30 11:54:11 PDT 2026
================
@@ -0,0 +1,50 @@
+// RUN: %clang_cc1 -std=c23 -fsyntax-only -verify %s
+
+typedef __INT32_TYPE__ int32_t;
+typedef __UINT32_TYPE__ uint32_t;
----------------
a-tarasyuk wrote:
@AaronBallman Thanks for the feedback. I've updated the tests to use `<stdint.h>` with `-ffreestanding`. However, after reviewing the codebase, I couldn't find any target that defines `__INT56_TYPE__`. Is there a clean way to mock exotic integer widths for testing?
https://github.com/llvm/llvm-project/pull/199991
More information about the cfe-commits
mailing list