Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constexprify unicode #696

Merged
merged 10 commits into from
Sep 30, 2022
Merged

Conversation

Thomas1664
Copy link
Contributor

Many functions inside unicode.h and unicode.cpp could be marked as constexpr.

@Thomas1664 Thomas1664 marked this pull request as draft September 7, 2022 20:59
@@ -1580,6 +1580,7 @@ namespace vcpkg
"'--' at the beginning must be preserved",
"-- Using community triplet {triplet}. This triplet configuration is not guaranteed to succeed.");
DECLARE_MESSAGE(UsingManifestAt, (msg::path), "", "Using manifest file at {path}.");
DECLARE_MESSAGE(Utf8DecoderDereferencedAtEof, (), "", "dereferenced Utf8Decoder at the end of a string.");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a program bug rather than a user message so I don't think it should be localized. (Maybe in all such cases we should be outright deleting the message and adding a comment to the line instead? /cc @JavierMatosD )

@Thomas1664 Thomas1664 marked this pull request as ready for review September 23, 2022 15:23
@BillyONeal BillyONeal merged commit d021215 into microsoft:main Sep 30, 2022
@Thomas1664 Thomas1664 deleted the constexpr-unicode branch October 1, 2022 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants