Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests/ToStringVector.tests.cpp
diff options
context:
space:
mode:
authorTim Blechmann2022-10-04 21:55:50 +0800
committerGitHub2022-10-04 15:55:50 +0200
commit728de353be6a6d3658932bfc8e1ea5c7742a61c6 (patch)
tree7b7219f19086de94e5ed57ecab1b1f6a919b52b1 /tests/SelfTest/UsageTests/ToStringVector.tests.cpp
parent0e139b73e4a462f0ea23e22c3182a3d1f91b719d (diff)
downloadcatch3-728de353be6a6d3658932bfc8e1ea5c7742a61c6.tar.gz
improve `-ffile-prefix-map` detection (#2517)
the current implementation has two problems: * `clang-cl` does not know `-ffile-prefix-map`, but in CMake it is reported as "Clang", so the compiler will warn about an unknown compiler option. * XCode's clang in CMake is reported as "AppleClang", so it is not picked up as "Clang", so it is not passed `-ffile-prefix-map`, even though it supports it. Also changed the map so that the normalized `__FILE__` paths are the same as what the approval tests normalize paths into. Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
Diffstat (limited to 'tests/SelfTest/UsageTests/ToStringVector.tests.cpp')
0 files changed, 0 insertions, 0 deletions