This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 152
alignof(i) not colored as a keyword #246
Labels
Comments
2 tasks
The same issue exists for static_assert, alignas, and typeid. |
This bug still repros with Atom 1.33.1 -- I see some references to tree sitter fixes...not sure if this was supposed to be fixed...maybe it'll be fixed in a later release? |
Looking at the comments in #303, it sounds like fixing this issue as part of that PR was considered along with a number of other issues (#303 (comment)) but folks ended up sticking to the initial set of issues mentioned in the PR body. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Use
int a = alignof(char)
. The colorization of alignof is as a function instead of a keyword (it colors as a keyword without the parenthesis). It should match sizeof(). This repros with Atom and VS Code. See microsoft/vscode-cpptools#938 .The text was updated successfully, but these errors were encountered: