[PATCH] Simplify \r handling
Jonathan Yong
10walls@gmail.com
Sun Mar 31 05:42:32 GMT 2024
Simplify \r checking with regex globs.
Signed-off-by: Jonathan Yong <10walls@gmail.com>
gcc/testsuite
* g++.dg/contracts/contracts14.C: simplify \r regex.
* g++.dg/contracts/contracts15.C: ditto
* g++.dg/contracts/contracts16.C: ditto
* g++.dg/coroutines/torture/mid-suspend-destruction-0.C: ditto
---
gcc/testsuite/g++.dg/contracts/contracts14.C | 12 ++++++------
gcc/testsuite/g++.dg/contracts/contracts15.C | 8 ++++----
gcc/testsuite/g++.dg/contracts/contracts16.C | 4 ++--
.../coroutines/torture/mid-suspend-destruction-0.C | 8 ++++----
4 files changed, 16 insertions(+), 16 deletions(-)
Attached patch Okay?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Simplify-r-handling.patch
Type: text/x-patch
Size: 4562 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20240331/3de371e7/attachment.bin>
More information about the Gcc-patches
mailing list