|
1 | | -/* auto-generated on 2025-02-23 20:08:55 -0500. Do not edit! */ |
| 1 | +/* auto-generated on 2025-02-25 13:08:18 -0500. Do not edit! */ |
2 | 2 | /* begin file include/ada.h */ |
3 | 3 | /** |
4 | 4 | * @file ada.h |
@@ -290,7 +290,8 @@ bool valid_name_code_point(char32_t input, bool first); |
290 | 290 | ADA_DISABLE_GCC_WARNING("-Wreturn-type") \ |
291 | 291 | ADA_DISABLE_GCC_WARNING("-Wshadow") \ |
292 | 292 | ADA_DISABLE_GCC_WARNING("-Wunused-parameter") \ |
293 | | - ADA_DISABLE_GCC_WARNING("-Wunused-variable") |
| 293 | + ADA_DISABLE_GCC_WARNING("-Wunused-variable") \ |
| 294 | + ADA_DISABLE_GCC_WARNING("-Wsign-compare") |
294 | 295 | #define ADA_PRAGMA(P) _Pragma(#P) |
295 | 296 | #define ADA_DISABLE_GCC_WARNING(WARNING) \ |
296 | 297 | ADA_PRAGMA(GCC diagnostic ignored WARNING) |
@@ -9226,34 +9227,32 @@ result<std::optional<url_pattern_result>> url_pattern<regex_provider>::match( |
9226 | 9227 | // https://github.com/cloudflare/workerd/blob/8620d14012513a6ce04d079e401d3becac3c67bd/src/workerd/jsg/url.c%2B%2B#L2038 |
9227 | 9228 | protocol = url->get_protocol().substr(0, url->get_protocol().size() - 1); |
9228 | 9229 | // Set username to url’s username. |
9229 | | - username = std::move(url->get_username()); |
| 9230 | + username = url->get_username(); |
9230 | 9231 | // Set password to url’s password. |
9231 | | - password = std::move(url->get_password()); |
| 9232 | + password = url->get_password(); |
9232 | 9233 | // Set hostname to url’s host, serialized, or the empty string if the value |
9233 | 9234 | // is null. |
9234 | | - hostname = std::move(url->get_hostname()); |
| 9235 | + hostname = url->get_hostname(); |
9235 | 9236 | // Set port to url’s port, serialized, or the empty string if the value is |
9236 | 9237 | // null. |
9237 | | - port = std::move(url->get_port()); |
| 9238 | + port = url->get_port(); |
9238 | 9239 | // Set pathname to the result of URL path serializing url. |
9239 | | - pathname = std::move(url->get_pathname()); |
| 9240 | + pathname = url->get_pathname(); |
9240 | 9241 | // Set search to url’s query or the empty string if the value is null. |
9241 | 9242 | // IMPORTANT: Not documented on the URLPattern spec, but search prefix '?' |
9242 | 9243 | // is removed. Similar work was done on workerd: |
9243 | 9244 | // https://github.com/cloudflare/workerd/blob/8620d14012513a6ce04d079e401d3becac3c67bd/src/workerd/jsg/url.c%2B%2B#L2232 |
9244 | 9245 | if (url->has_search()) { |
9245 | 9246 | auto view = url->get_search(); |
9246 | | - search = |
9247 | | - view.starts_with("?") ? url->get_search().substr(1) : std::move(view); |
| 9247 | + search = view.starts_with("?") ? url->get_search().substr(1) : view; |
9248 | 9248 | } |
9249 | 9249 | // Set hash to url’s fragment or the empty string if the value is null. |
9250 | 9250 | // IMPORTANT: Not documented on the URLPattern spec, but hash prefix '#' is |
9251 | 9251 | // removed. Similar work was done on workerd: |
9252 | 9252 | // https://github.com/cloudflare/workerd/blob/8620d14012513a6ce04d079e401d3becac3c67bd/src/workerd/jsg/url.c%2B%2B#L2242 |
9253 | 9253 | if (url->has_hash()) { |
9254 | 9254 | auto view = url->get_hash(); |
9255 | | - hash = |
9256 | | - view.starts_with("#") ? url->get_hash().substr(1) : std::move(view); |
| 9255 | + hash = view.starts_with("#") ? url->get_hash().substr(1) : view; |
9257 | 9256 | } |
9258 | 9257 | } |
9259 | 9258 |
|
@@ -10479,14 +10478,14 @@ constructor_string_parser<regex_provider>::parse(std::string_view input) { |
10479 | 10478 | #ifndef ADA_ADA_VERSION_H |
10480 | 10479 | #define ADA_ADA_VERSION_H |
10481 | 10480 |
|
10482 | | -#define ADA_VERSION "3.1.1" |
| 10481 | +#define ADA_VERSION "3.1.2" |
10483 | 10482 |
|
10484 | 10483 | namespace ada { |
10485 | 10484 |
|
10486 | 10485 | enum { |
10487 | 10486 | ADA_VERSION_MAJOR = 3, |
10488 | 10487 | ADA_VERSION_MINOR = 1, |
10489 | | - ADA_VERSION_REVISION = 1, |
| 10488 | + ADA_VERSION_REVISION = 2, |
10490 | 10489 | }; |
10491 | 10490 |
|
10492 | 10491 | } // namespace ada |
|
0 commit comments