Checklist
If Disabling that^ makes the problem go away, then follow this to make an issue on the C++ extension:
https://github.com/microsoft/vscode-cpptools/issues/new/choose
The code with a problem is:
template <int n>
struct S{
int foo() requires(n == 2)
{
return 2;
}
int foo() requires(n < 2)
{
return 2;
}
private:
int b;
};
The syntax highlighting is completely broken after the second requires clause:
It looks like:

It should look like:
The syntax highlighting should continue to work as normal, as it does if you replace the < with >:

Originally from @lukas-lang in microsoft/vscode#185728
Checklist
"C_Cpp.enhancedColorization": "Disabled"If Disabling that^ makes the problem go away, then follow this to make an issue on the C++ extension:
https://github.com/microsoft/vscode-cpptools/issues/new/choose
The code with a problem is:
The syntax highlighting is completely broken after the second requires clause:
It looks like:
It should look like:
The syntax highlighting should continue to work as normal, as it does if you replace the < with >:

Originally from @lukas-lang in microsoft/vscode#185728