Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/lib/AST/ParseJavadoc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// Copyright (c) 2023 Vinnie Falco ([email protected])
// Copyright (c) 2023 Krystian Stasiowski ([email protected])
// Copyright (c) 2024 Alan de Freitas ([email protected])
// Copyright (c) 2025 Gennaro Prota ([email protected])
//
// Official repository: https://github.com/cppalliance/mrdocs
//
Expand Down Expand Up @@ -540,7 +541,7 @@ parseStyled(StringRef s)
}
};

auto isPunctuationOrSpace = [](char c) {
auto isPunctuationOrSpace = [](unsigned char c) {
return std::isspace(c) || std::ispunct(c);
};

Expand Down
3 changes: 2 additions & 1 deletion src/lib/Support/Validate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// Copyright (c) 2023 Vinnie Falco ([email protected])
// Copyright (c) 2025 Gennaro Prota ([email protected])
//
// Official repository: https://github.com/cppalliance/mrdocs
//
Expand All @@ -29,7 +30,7 @@ validAdocSectionID(
return
s[0] == '_' ||
s[0] == ':' ||
std::isalpha(s[0]);
std::isalpha(static_cast<unsigned char>(s[0]));
}

} // mrdocs
Expand Down
Loading