Skip to content

Commit af0770e

Browse files
lemireanonrig
authored andcommitted
removing the declaration of ascii_has_upper_case
1 parent 5311784 commit af0770e

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

fuzz/idna.cc

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
1515
*/
1616
ada::idna::to_ascii(source);
1717
ada::idna::to_unicode(source);
18-
ada::idna::ascii_has_upper_case(source.data(), source.length());
1918

2019
return 0;
2120
}

include/ada/ada_idna.h

-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ namespace ada::idna {
3535

3636
// If the input is ascii, then the mapping is just -> lower case.
3737
void ascii_map(char* input, size_t length);
38-
// check whether an ascii string needs mapping
39-
bool ascii_has_upper_case(char* input, size_t length);
4038
// Map the characters according to IDNA, returning the empty string on error.
4139
std::u32string map(std::u32string_view input);
4240

0 commit comments

Comments
 (0)