Author: Timm Baeder
Date: 2026-01-28T15:08:55+01:00
New Revision: 5f755793486704e60556f8fddb2810556c5d2e81

URL: 
https://github.com/llvm/llvm-project/commit/5f755793486704e60556f8fddb2810556c5d2e81
DIFF: 
https://github.com/llvm/llvm-project/commit/5f755793486704e60556f8fddb2810556c5d2e81.diff

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

This is what we usually do in tests.

Added: 
    

Modified: 
    clang/test/Sema/const-ptr-int-ptr-cast.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Sema/const-ptr-int-ptr-cast.c 
b/clang/test/Sema/const-ptr-int-ptr-cast.c
index 73b4a8a74fd09..9e3db6eb6dae4 100644
--- a/clang/test/Sema/const-ptr-int-ptr-cast.c
+++ b/clang/test/Sema/const-ptr-int-ptr-cast.c
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s
 // expected-no-diagnostics
 
-#include <stdint.h>
+typedef __UINTPTR_TYPE__ uintptr_t;
 
 char *a = (void*)(uintptr_t)(void*)&a;


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

Reply via email to