diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2025-05-21 06:36:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-21 06:36:21 -0400 |
commit | 7fe387ac35b0b37d2862beaf9c17062b62a221ed (patch) | |
tree | 59f8a7b8e72b9cf3e5c5f1c59e4ef8d8078254e3 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0bc7f41db8f3761f144679e014463aeff29fdbc5 (diff) | |
download | llvm-7fe387ac35b0b37d2862beaf9c17062b62a221ed.zip llvm-7fe387ac35b0b37d2862beaf9c17062b62a221ed.tar.gz llvm-7fe387ac35b0b37d2862beaf9c17062b62a221ed.tar.bz2 |
[C] Don't diagnose null pointer macros in -Wimplicit-void-ptr-cast (#140724)
This silences the diagnostic when the right-hand side is a null pointer
constant that comes from a macro expansion, such as NULL. However, we do
not limit to just NULL because other custom macros may expand to an
implicit void * cast in C while expanding to something else in C++.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions