[clang] Fix the Modules/compiler_builtins.m test (PR #68163)
    Ian Anderson via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Oct  3 15:00:35 PDT 2023
    
    
  
https://github.com/ian-twilightcoder created https://github.com/llvm/llvm-project/pull/68163
Sometimes unwind.h needs uint32_t also.
>From cd2cc782937f9b0415733c48dcd1d9d8ab19ea48 Mon Sep 17 00:00:00 2001
From: Ian Anderson <iana at apple.com>
Date: Tue, 3 Oct 2023 14:51:58 -0700
Subject: [PATCH] Fix the Modules/compiler_builtins.m test
Sometimes unwind.h needs uint32_t also.
---
 clang/test/Modules/Inputs/System/usr/include/stdint.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/clang/test/Modules/Inputs/System/usr/include/stdint.h b/clang/test/Modules/Inputs/System/usr/include/stdint.h
index e3592fe359a4a32..209d54cd411ad55 100644
--- a/clang/test/Modules/Inputs/System/usr/include/stdint.h
+++ b/clang/test/Modules/Inputs/System/usr/include/stdint.h
@@ -30,6 +30,7 @@ typedef unsigned int uintmax_t;
 
 // additional types for unwind.h
 
+typedef unsigned int uint32_t;
 typedef unsigned long long uint64_t;
 
 #endif /* STDINT_H */
    
    
More information about the cfe-commits
mailing list