tree-sitter-cpp icon indicating copy to clipboard operation
tree-sitter-cpp copied to clipboard

Support for __restrict__ keyword

Open reiver-dev opened this issue 3 years ago • 1 comments

Please add support for __restrict__ extension.

  • restrict is not a valid C++ keyword, though many code-bases do #define restrict __restrict__
  • ms extension __restrict is currently supported
  • gcc/clang __restrict__ is not supported and thus results in type definition to be binary expression T * var instead.

reiver-dev avatar May 28 '21 02:05 reiver-dev

Figured out the issue has to be solved at C grammar: tree-sitter/tree-sitter-c#71

reiver-dev avatar May 29 '21 21:05 reiver-dev

It's fixed now

amaanq avatar Jul 25 '23 09:07 amaanq