llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Timm Baeder (tbaederr)

<details>
<summary>Changes</summary>

This is what we usually do in tests.

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


1 Files Affected:

- (modified) clang/test/Sema/const-ptr-int-ptr-cast.c (+1-1) 


``````````diff
diff --git a/clang/test/Sema/const-ptr-int-ptr-cast.c 
b/clang/test/Sema/const-ptr-int-ptr-cast.c
index 73b4a8a74fd09..40475ba9eeb29 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 unsigned __INTPTR_TYPE__ uintptr_t;
 
 char *a = (void*)(uintptr_t)(void*)&a;

``````````

</details>


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

Reply via email to