aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2024-12-17 09:52:34 -0500
committerGitHub <noreply@github.com>2024-12-17 09:52:34 -0500
commitce4ac994529eb33a67b0f450fd6fe847918247e1 (patch)
treea2ccddb7ccd0664733635817de2bbdf75fa76cf8 /clang/lib/CodeGen/CodeGenFunction.cpp
parent17b3dd03a05dfa938aacd57027189271a62e2fda (diff)
downloadllvm-ce4ac994529eb33a67b0f450fd6fe847918247e1.zip
llvm-ce4ac994529eb33a67b0f450fd6fe847918247e1.tar.gz
llvm-ce4ac994529eb33a67b0f450fd6fe847918247e1.tar.bz2
[libc++] Remove explicit mentions of __need_FOO macros (#119025)
This change has a long history. It was first attempted naively in https://reviews.llvm.org/D131425, which didn't work because we broke the ability for code to include e.g. <stdio.h> multiple times and get different definitions based on the pre-defined macros. However, in #86843 we managed to simplify <stddef.h> by including the underlying system header outside of any include guards, which worked. This patch applies the same simplification we did to <stddef.h> to the other headers that currently mention __need_FOO macros explicitly.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions