diff options
author | Mital Ashok <mital@mitalashok.co.uk> | 2024-08-20 17:31:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-20 18:31:52 +0200 |
commit | 0e24686af49d2f9e50438d3a27db6f1ade594855 (patch) | |
tree | 7c4fbbbabda96e3e6d359590fe572dde6c41b7d4 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | aaba552f51e1a96f829afa8b422ca8d7ace55781 (diff) | |
download | llvm-0e24686af49d2f9e50438d3a27db6f1ade594855.zip llvm-0e24686af49d2f9e50438d3a27db6f1ade594855.tar.gz llvm-0e24686af49d2f9e50438d3a27db6f1ade594855.tar.bz2 |
[Clang] CWG722: nullptr to ellipses (#104704)
https://cplusplus.github.io/CWG/issues/722.html
nullptr passed to a variadic function now converted to void* in C++.
This does not affect C23 nullptr.
Also fixes -Wformat-pedantic so that it no longer warns for nullptr
passed to %p (because it is converted to void* in C++ and it is allowed
for va_arg(ap, void*) in C23)
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions