We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
assume
Checklist
"C_Cpp.enhancedColorization": "Disabled"
int x{}; [[assume(true)]]; [[assume(sizeof x == 4)]];
The theme is Default Dark Modern. Expression in assume attribute is not highlighted.
Expression in assume attribute should be highlighted consistently with the expressions outside.
The text was updated successfully, but these errors were encountered:
Is assume part of the C++ spec? I'm not familiar with it
Sorry, something went wrong.
Yes, attribute assume is part of C++23.
https://en.cppreference.com/w/cpp/language/attributes/assume
No branches or pull requests
Checklist
"C_Cpp.enhancedColorization": "Disabled"
The code with a problem is:
It looks like:
The theme is Default Dark Modern.
Expression in
assume
attribute is not highlighted.It should look like:
Expression in
assume
attribute should be highlighted consistently with the expressions outside.The text was updated successfully, but these errors were encountered: