[clang] [clang][test] Replace stdint include with uintptr_t typedef (PR #178125)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 27 09:20:35 PST 2026


================
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s
 // expected-no-diagnostics
 
-#include <stdint.h>
+typedef unsigned __INTPTR_TYPE__ uintptr_t;
----------------
zwuis wrote:

```diff
-__INTPTR_TYPE__
+__UINTPTR_TYPE__
```

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


More information about the cfe-commits mailing list