| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fd61588 commit 3a7c2c3
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - /* auto-generated on 2025-07-16 22:15:14 -0400. Do not edit! */ | ||
| 1 | + /* auto-generated on 2025-07-27 12:29:50 -0400. Do not edit! */ | ||
| 2 | 2 | /* begin file src/ada.cpp */ | |
| 3 | 3 | #include "ada.h" | |
| 4 | 4 | /* begin file src/checkers.cpp */ | |
@@ -9511,12 +9511,14 @@ bool is_label_valid(const std::u32string_view label) { | |||
| 9511 | 9511 | for (size_t i = 0; i <= last_non_nsm_char; i++) { | |
| 9512 | 9512 | const direction d = find_direction(label[i]); | |
| 9513 | 9513 | ||
| 9514 | + // NOLINTBEGIN(bugprone-assignment-in-if-condition) | ||
| 9514 | 9515 | // In an RTL label, if an EN is present, no AN may be present, and vice | |
| 9515 | 9516 | // versa. | |
| 9516 | 9517 | if ((d == direction::EN && ((has_en = true) && has_an)) || | |
| 9517 | 9518 | (d == direction::AN && ((has_an = true) && has_en))) { | |
| 9518 | 9519 | return false; | |
| 9519 | 9520 | } | |
| 9521 | + // NOLINTEND(bugprone-assignment-in-if-condition) | ||
| 9520 | 9522 | ||
| 9521 | 9523 | if (!(d == direction::R || d == direction::AL || d == direction::AN || | |
| 9522 | 9524 | d == direction::EN || d == direction::ES || d == direction::CS || | |
@@ -10908,6 +10910,7 @@ bool percent_encode(const std::string_view input, const uint8_t character_set[], | |||
| 10908 | 10910 | } | |
| 10909 | 10911 | ada_log("percent_encode appending ", std::distance(input.begin(), pointer), | |
| 10910 | 10912 | " bytes"); | |
| 10913 | + // NOLINTNEXTLINE(bugprone-suspicious-stringview-data-usage) | ||
| 10911 | 10914 | out.append(input.data(), std::distance(input.begin(), pointer)); | |
| 10912 | 10915 | ada_log("percent_encode processing ", std::distance(pointer, input.end()), | |
| 10913 | 10916 | " bytes"); | |
@@ -10942,6 +10945,7 @@ bool to_ascii(std::optional<std::string>& out, const std::string_view plain, | |||
| 10942 | 10945 | std::string percent_encode(const std::string_view input, | |
| 10943 | 10946 | const uint8_t character_set[], size_t index) { | |
| 10944 | 10947 | std::string out; | |
| 10948 | + // NOLINTNEXTLINE(bugprone-suspicious-stringview-data-usage) | ||
| 10945 | 10949 | out.append(input.data(), index); | |
| 10946 | 10950 | auto pointer = input.begin() + index; | |
| 10947 | 10951 | for (; pointer != input.end(); pointer++) { | |
@@ -12008,6 +12012,7 @@ ada_warn_unused std::string to_string(ada::state state) { | |||
| 12008 | 12012 | ||
| 12009 | 12013 | #include <numeric> | |
| 12010 | 12014 | #include <algorithm> | |
| 12015 | + #include <iterator> | ||
| 12011 | 12016 | #include <ranges> | |
| 12012 | 12017 | #include <string> | |
| 12013 | 12018 | #include <string_view> | |
@@ -12570,6 +12575,7 @@ ada_really_inline void url::parse_path(std::string_view input) { | |||
| 12570 | 12575 | if (has_search()) { | |
| 12571 | 12576 | answer.append(",\n"); | |
| 12572 | 12577 | answer.append("\t\"query\":\""); | |
| 12578 | + // NOLINTNEXTLINE(bugprone-unchecked-optional-access) | ||
| 12573 | 12579 | helpers::encode_json(query.value(), back); | |
| 12574 | 12580 | answer.append("\""); | |
| 12575 | 12581 | } | |
@@ -13316,6 +13322,7 @@ result_type parse_url_impl(std::string_view user_input, | |||
| 13316 | 13322 | ||
| 13317 | 13323 | // If c is U+002F (/), then set state to relative slash state. | |
| 13318 | 13324 | if ((input_position != input_size) && | |
| 13325 | + // NOLINTNEXTLINE(bugprone-branch-clone) | ||
| 13319 | 13326 | (url_data[input_position] == '/')) { | |
| 13320 | 13327 | ada_log( | |
| 13321 | 13328 | "RELATIVE_SCHEME if c is U+002F (/), then set state to relative " | |
@@ -13848,6 +13855,7 @@ template url_aggregator parse_url<url_aggregator>( | |||
| 13848 | 13855 | /* end file src/parser.cpp */ | |
| 13849 | 13856 | /* begin file src/url_components.cpp */ | |
| 13850 | 13857 | ||
| 13858 | + #include <iterator> | ||
| 13851 | 13859 | #include <string> | |
| 13852 | 13860 | ||
| 13853 | 13861 | namespace ada { | |
@@ -13897,6 +13905,7 @@ namespace ada { | |||
| 13897 | 13905 | /* end file src/url_components.cpp */ | |
| 13898 | 13906 | /* begin file src/url_aggregator.cpp */ | |
| 13899 | 13907 | ||
| 13908 | + #include <iterator> | ||
| 13900 | 13909 | #include <ranges> | |
| 13901 | 13910 | #include <string> | |
| 13902 | 13911 | #include <string_view> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - /* auto-generated on 2025-07-16 22:15:14 -0400. Do not edit! */ | ||
| 1 | + /* auto-generated on 2025-07-27 12:29:50 -0400. Do not edit! */ | ||
| 2 | 2 | /* begin file include/ada.h */ | |
| 3 | 3 | /** | |
| 4 | 4 | * @file ada.h | |
@@ -947,7 +947,7 @@ constexpr uint8_t WWW_FORM_URLENCODED_PERCENT_ENCODE[32] = { | |||
| 947 | 947 | // 50 51 52 53 54 55 56 57 | |
| 948 | 948 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00, | |
| 949 | 949 | // 58 59 5A 5B 5C 5D 5E 5F | |
| 950 | - 0x00 | 0x00 | 0x00 | 0x08 | 0x00 | 0x20 | 0x40 | 0x00, | ||
| 950 | + 0x00 | 0x00 | 0x00 | 0x08 | 0x10 | 0x20 | 0x40 | 0x00, | ||
| 951 | 951 | // 60 61 62 63 64 65 66 67 | |
| 952 | 952 | 0x01 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00, | |
| 953 | 953 | // 68 69 6A 6B 6C 6D 6E 6F | |
@@ -6641,6 +6641,7 @@ inline std::ostream &operator<<(std::ostream &out, const ada::url &u) { | |||
| 6641 | 6641 | out.protocol_end = uint32_t(get_protocol().size()); | |
| 6642 | 6642 | ||
| 6643 | 6643 | // Trailing index is always the next character of the current one. | |
| 6644 | + // NOLINTNEXTLINE(clang-analyzer-deadcode.DeadStores) | ||
| 6644 | 6645 | size_t running_index = out.protocol_end; | |
| 6645 | 6646 | ||
| 6646 | 6647 | if (host.has_value()) { | |
@@ -10514,14 +10515,14 @@ constructor_string_parser<regex_provider>::parse(std::string_view input) { | |||
| 10514 | 10515 | #ifndef ADA_ADA_VERSION_H | |
| 10515 | 10516 | #define ADA_ADA_VERSION_H | |
| 10516 | 10517 | ||
| 10517 | - #define ADA_VERSION "3.2.6" | ||
| 10518 | + #define ADA_VERSION "3.2.7" | ||
| 10518 | 10519 | ||
| 10519 | 10520 | namespace ada { | |
| 10520 | 10521 | ||
| 10521 | 10522 | enum { | |
| 10522 | 10523 | ADA_VERSION_MAJOR = 3, | |
| 10523 | 10524 | ADA_VERSION_MINOR = 2, | |
| 10524 | - ADA_VERSION_REVISION = 6, | ||
| 10525 | + ADA_VERSION_REVISION = 7, | ||
| 10525 | 10526 | }; | |
| 10526 | 10527 | ||
| 10527 | 10528 | } // namespace ada | |
| Back | FazBrowse Home | New Git URL |
0 commit comments