Martin Hořeňovský
b2b7cbdc31
Remove pointless internal macro
2024-09-13 16:39:53 +02:00
Kasper Laudrup
bc63412e2a
Suppress GCC useless-cast warning from CHECK_THROWS_MATCHES
...
Suppress warning from GCC about useless cast in the
CHECK_THROWS_MATCHES macro the same way it is already being done for
the similar CHECK macros.
2024-09-06 16:04:35 +02:00
Martin Hořeňovský
fa5a53df17
Explicitly silence Wnon-virtual-dtor in Decomposer and MatchExpr
...
Closes #2854
2024-04-30 23:51:36 +02:00
Martin Hořeňovský
0dc82e08df
Move CATCH_INTERNAL_STRINGIFY macro into its own header
2023-05-07 20:58:54 +02:00
Martin Hořeňovský
6e77e16ea8
Remove unused StringRef argument from MatchExpr
...
Apart from cleaning up the code, this change also improves the
compilation time of `UsageTests/Matchers.tests.cpp` by about 2%.
2022-11-10 15:25:51 +01:00
Lars Toenning
f1084fb309
Fix references to license file
...
The license file was renamed with 6a502cc2f5fedd59b3495b58708f0d6d987ed9e1
2022-10-28 11:30:15 +02:00
Martin Hořeňovský
1a56ba851b
struct -> class normalization for matchers
2022-04-11 13:06:54 +02:00
Martin Hořeňovský
d2ee7100d2
Replace uses of std::move and std::forward with macros
...
This improves the SelfTest build times by about 3% (measured
with Clang 10 on random Linux box I had lying around).
2021-08-16 16:22:19 +02:00
Martin Hořeňovský
8ee422d6bf
Remove pointless branch from stringifying matcher assertions
2021-05-15 11:47:02 +02:00
Martin Hořeňovský
61e16416a9
Pass other StringRef arguments by value instead of by-ref
...
Apart from being clearer, it also improves the overall codesize
of the implementation library, and should improve the performance
as well, by removing one level of indirection.
2021-05-14 23:45:59 +02:00
Martin Hořeňovský
90aeffb97d
Add standardized copyright notice + SPDX identifier to source files
...
This should also be done for test files, but that has lower priority.
2020-08-30 15:43:45 +02:00
Martin Hořeňovský
a822cb9717
Standardize include guard patterns to FILE_NAME_EXTENSION_INCLUDED
...
This commit also strips the old copyright comment header in touched
files, as those will also be replaced with a more standardized and
machine-friendly version.
2020-08-30 14:09:27 +02:00
Martin Hořeňovský
9e498278be
Move StringRef header to internals
2020-05-10 10:09:01 +02:00
Martin Hořeňovský
8d50f04419
Move around matcher macro implementation
2020-04-26 21:33:55 +02:00