Avoid implicit array-to-pointer decay
commit069985e1e8a3faa75075a45a8637a70f750620d4
authorChris Robinson <chris.kcat@gmail.com>
Thu, 25 Jan 2024 03:56:33 +0000 (24 19:56 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Thu, 25 Jan 2024 04:31:02 +0000 (24 20:31 -0800)
treebbb7fa57c6a2586c5d84c667632bd32fc3c88735
parent7703f2af071f24e5bb33ef7e29e94c14c4851b3b
Avoid implicit array-to-pointer decay

Note that GCC's va_list seems to be implemented as some type with an array size
of 1 (__va_list_tag[1]), which is expected to implicitly decay to a pointer
when passed as a parameter. This unfortunately necessitates NOLINTBEGIN/END
where it's used to silence clang-tidy.
18 files changed:
al/effect.cpp
al/error.cpp
al/filter.cpp
alc/alc.cpp
alc/alu.cpp
alc/backends/base.cpp
alc/backends/jack.cpp
alc/backends/pipewire.cpp
alc/context.cpp
alc/panning.cpp
core/ambdec.cpp
core/except.cpp
core/helpers.cpp
core/logging.cpp
examples/alffplay.cpp
utils/alsoft-config/mainwindow.cpp
utils/makemhr/loaddef.cpp
utils/makemhr/makemhr.cpp