aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2025-04-28 12:06:52 -0700
committerGitHub <noreply@github.com>2025-04-28 15:06:52 -0400
commit9124e963a3bf73fd7430a17535d638601be5630f (patch)
tree2544966c20514ab9a3f27f21e5e90c4623b93cb6 /clang/lib/Frontend/CompilerInvocation.cpp
parentabec9ff47da4fd8b614d0338203b2e3663c36aaf (diff)
downloadllvm-9124e963a3bf73fd7430a17535d638601be5630f.zip
llvm-9124e963a3bf73fd7430a17535d638601be5630f.tar.gz
llvm-9124e963a3bf73fd7430a17535d638601be5630f.tar.bz2
[libc] Update assert for C23 (#137402)
Previously the assert macro took one argument named "e", but this led to possible errors if the caller had commas in their input. C23 changed the definition of assert to use `__VA_ARGS__` to ensure comma cases are handled properly. This patch doesn't introduce the enforcement function mentioned in the standard update, though that may be done in a followup. Fixes #136184
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions