llvm-capstone/clang/test
Ian Anderson a649e0a6e8 [clang][modules] giving the __stddef_ headers their own modules can cause redeclaration errors with -fbuiltin-headers-in-system-modules (#84127)
On Apple platforms, some of the stddef.h types are also declared in
system headers. In particular NULL has a conflicting declaration in
<sys/_types/_null.h>. When that's in a different module from
<__stddef_null.h>, redeclaration errors can occur.

Make the \_\_stddef_ headers be non-modular in
-fbuiltin-headers-in-system-modules and restore them back to not
respecting their header guards. Still define the header guards though.
__stddef_max_align_t.h was in _Builtin_stddef_max_align_t prior to the
addition of _Builtin_stddef, and it needs to stay in a module because
struct's can't be type merged. __stddef_wint_t.h didn't used to have a
module, but leave it in it current module since it doesn't really belong
to stddef.h.

(cherry picked from commit f50d3582b4844b86ad86372028e44b52c560ec7d)
2024-03-15 17:06:34 -07:00
..
Analysis [analyzer] Fix crash on dereference invalid return value of getAdjustedParameterIndex() (#83585) 2024-03-12 21:53:55 -07:00
APINotes
ARCMT
AST [Clang][AST] Fix a crash on attaching doc comments (#78716) 2024-02-08 15:59:07 -08:00
ASTMerge
C [C23] Implement N2490, Remove trigraphs??! 2024-01-21 13:20:56 -05:00
clang-rename
ClangScanDeps [clang][modules] Fix CodeGen options that can affect the AST. (#78816) 2024-01-23 09:30:58 -08:00
CodeCompletion
CodeGen [Clang][LoongArch] Fix wrong return value type of __iocsrrd_h (#84100) 2024-03-12 22:01:13 -07:00
CodeGenCoroutines [Clang] Set writable and dead_on_unwind attributes on sret arguments (#77116) 2024-01-11 09:46:54 +01:00
CodeGenCUDA [AMDGPU] Change default AMDHSA Code Object version to 5 (#79038) 2024-01-23 17:08:18 +05:30
CodeGenCUDASPIRV
CodeGenCXX Backport '[clang] static operators should evaluate object argument (reland)' to release/18.x (#80109) 2024-02-03 10:35:40 -08:00
CodeGenHIP [AMDGPU] Change default AMDHSA Code Object version to 5 (#79038) 2024-01-23 17:08:18 +05:30
CodeGenHipStdPar
CodeGenHLSL [Clang] Set writable and dead_on_unwind attributes on sret arguments (#77116) 2024-01-11 09:46:54 +01:00
CodeGenObjC Enable direct methods and fast alloc calls for libobjc2. (#78030) 2024-01-22 08:38:41 +00:00
CodeGenObjCXX [Clang] Support MSPropertyRefExpr as placement arg to new-expression (#75883) 2024-01-17 15:09:31 -08:00
CodeGenOpenCL [AMDGPU][GFX12] VOP encoding and codegen - add support for v_cvt fp8/… (#78414) 2024-01-27 06:45:32 -08:00
CodeGenOpenCLCXX [Clang] Set writable and dead_on_unwind attributes on sret arguments (#77116) 2024-01-11 09:46:54 +01:00
CodeGenSYCL
Coverage
CoverageMapping [clang] Represent array refs as TemplateArgument::Declaration (#80050) 2024-02-03 21:09:06 -08:00
CXX [Clang][Sema] Fix regression due to missing ambiguity check before attempting access check. (#80730) 2024-02-06 17:04:46 -08:00
Driver [AArch64] Add the Ampere1B core (#81297) 2024-02-26 17:38:41 -08:00
ExtractAPI [clang][ExtractAPI] Ensure typedef to pointer types are preserved (#78584) 2024-01-22 15:41:29 +00:00
FixIt
Format Revert "[clang] Mark clang-format-ignore.cpp as unsupported on Windows" 2024-02-09 13:26:28 -08:00
Frontend [clang] Upstream XROS support in Clang (#78392) 2024-01-17 21:09:15 -08:00
Headers [Clang] Use poison as base for vector literals 2023-12-19 11:53:18 +01:00
Import Warning for incorrect use of 'pure' attribute (#78200) 2024-01-20 12:37:35 -05:00
Index [clang][AIX] Only export libclang.map symbols from libclang (#78748) 2024-01-22 14:53:35 -05:00
Integration
InterfaceStubs
Interpreter Warning for incorrect use of 'pure' attribute (#78200) 2024-01-20 12:37:35 -05:00
Layout
Lexer [Clang] Update feature test macros for Clang 18 (#78991) 2024-01-22 21:19:29 +01:00
LibClang
Misc [AArch64] Add the Ampere1B core (#81297) 2024-02-26 17:38:41 -08:00
Modules [clang][modules] giving the __stddef_ headers their own modules can cause redeclaration errors with -fbuiltin-headers-in-system-modules (#84127) 2024-03-15 17:06:34 -07:00
OpenMP [OpenMP][USM] Introduces -fopenmp-force-usm flag (#76571) 2024-01-22 21:59:26 +01:00
Parser [Clang][AArch64] Change SME attributes for shared/new/preserved state. (#76971) 2024-01-15 09:41:32 +00:00
ParserHLSL
ParserOpenACC [OpenACC] Implement 'device_type' clause parsing 2024-01-23 09:23:42 -08:00
ParserSYCL
PCH [clang] Disable gch-probe.c on AIX as -gmodules is not supported there yet. (#78513) 2024-01-17 14:40:00 -08:00
Preprocessor [AArch64] Make +pauth enabled in Armv8.3-a by default (#78027) 2024-02-26 17:38:41 -08:00
Profile [Coverage][clang] Ensure bitmap for ternary condition is updated before visiting children (#78814) 2024-01-22 16:33:20 -06:00
Refactor
Rewriter
Sema MIPS: Fix asm constraints "f" and "r" for softfloat (#79116) 2024-02-27 09:18:54 -08:00
SemaCUDA
SemaCXX [Clang] [Sema] Handle placeholders in '.*' expressions (#83103) 2024-03-12 17:38:40 -07:00
SemaHipStdPar
SemaHLSL
SemaObjC
SemaObjCXX [Clang] Support MSPropertyRefExpr as placement arg to new-expression (#75883) 2024-01-17 15:09:31 -08:00
SemaOpenCL
SemaOpenCLCXX
SemaOpenMP
SemaSYCL
SemaTemplate PR for llvm/llvm-project#79568 (#80120) 2024-02-06 16:11:28 -08:00
TableGen
Templight
Tooling
Unit
utils/update_cc_test_checks
VFS
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh