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

runtime(c): Support new C23 features #12984

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

dkearns
Copy link
Contributor

@dkearns dkearns commented Aug 31, 2023

Conditionally highlight C23 features:

  • #embed, #elifdef and #elifndef preprocessor directives
  • predefined macros
  • UTF-8 character constants
  • binary integer constants, _BitInt literals, and digit separators
  • nullptr_t type and associated constant
  • decimal real floating-point and bit precise types

Finalises and extends #10265.

@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a02fe34) 82.22% compared to head (7bb41c9) 82.06%.
Report is 1 commits behind head on master.

❗ Current head 7bb41c9 differs from pull request most recent head bcf0398. Consider uploading reports for the commit bcf0398 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12984      +/-   ##
==========================================
- Coverage   82.22%   82.06%   -0.16%     
==========================================
  Files         160      160              
  Lines      197071   194776    -2295     
  Branches    44164    43713     -451     
==========================================
- Hits       162044   159847    -2197     
+ Misses      22119    22066      -53     
+ Partials    12908    12863      -45     
Flag Coverage Δ
huge-clang-Array 82.68% <ø> (-0.20%) ⬇️
linux 82.68% <ø> (-0.20%) ⬇️
mingw-x64-HUGE 76.62% <ø> (+0.26%) ⬆️
mingw-x86-HUGE 77.12% <ø> (-0.24%) ⬇️
windows 78.21% <ø> (-0.19%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Conditionally highlight C23 features:

- #embed, #elifdef and #elifndef preprocessor directives
- predefined macros
- UTF-8 character constants
- binary integer constants, _BitInt literals, and digit separators
- nullptr_t type and associated constant
- decimal real floating-point, bit precise and char types
- typeof operators

Matchit:
- update for new preprocessor directives

Fixes vim#13667.
@dkearns dkearns changed the title runtime(c): Conditionally highlight C23 features runtime(c): Support new C23 features Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants