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

Missing C++ attribute support #75

Open
4 tasks
kirillbobyrev opened this issue Jun 29, 2019 · 1 comment
Open
4 tasks

Missing C++ attribute support #75

kirillbobyrev opened this issue Jun 29, 2019 · 1 comment

Comments

@kirillbobyrev
Copy link
Contributor

kirillbobyrev commented Jun 29, 2019

I'm not sure if it is intended or not, but I wasn't able to find any support for C++ attributes. I would be willing to add them, but I'm not sure which highlighting is intended for the attributes since I couldn't find them anywhere. The following is a list of attributes that could be added to the plugin:

  • C++11: noreturn, carries_dependency
  • C++ 14: deprecated
  • C++17: fallthrough, nodiscard, nodiscard("reason"), maybe_unused
  • C++ 20: likely, unlikely, no_unique_address and pre-,post-conditions + assertions: expects and ensures.
@octol
Copy link
Owner

octol commented Jul 1, 2019

Thanks for opening the issue so we can keep track of it

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

No branches or pull requests

2 participants