aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-09-11 15:47:25 +0200
committerGitHub <noreply@github.com>2025-09-11 15:47:25 +0200
commite1aa2dff8a7a53fec14130e77d7da15d0ac482ca (patch)
tree43bec593ad9a3ac9f2f8541b17d8f30c631d4b37 /llvm/unittests/Support/MathExtrasTest.cpp
parent23302a2aacb31f30a80e9ae3105d215c14ab363e (diff)
downloadllvm-e1aa2dff8a7a53fec14130e77d7da15d0ac482ca.zip
llvm-e1aa2dff8a7a53fec14130e77d7da15d0ac482ca.tar.gz
llvm-e1aa2dff8a7a53fec14130e77d7da15d0ac482ca.tar.bz2
[flang-rt] Use -Wp to undefine macros (#156034)
If the macro was previously defined with `-Wp,-D` then a later `-U` is *not* going to take effect, the `-Wp` flag takes precedence. Instead use `-Wp,-U`. This works regardless of whether the original definition was provided via `-D` or `-Wp,-D`. Also make sure these flags only get passed to the C++ compiler -- they are only relevant there, and flang does not support `-Wp`.
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions