* replaces `restrict` with `__restrict` in C++ `restrict` isn't a C++ keyword, but `__restrict` is recognised by Clang, GCC, and MSVC as a language extension. * adds `_BitInt` and `__int128` as C and C++ types * `_BitInt` is a new C type and an extended integral type for C++. * `__int128` is an extended integral type on both Clang and GCC.
17 lines
314 B
Text
17 lines
314 B
Text
---input---
|
|
__restrict
|
|
__int128
|
|
_BitInt(2)
|
|
|
|
---tokens---
|
|
'__restrict' Keyword
|
|
'\n' Text.Whitespace
|
|
|
|
'__int128' Keyword.Type
|
|
'\n' Text.Whitespace
|
|
|
|
'_BitInt' Keyword.Type
|
|
'(' Punctuation
|
|
'2' Literal.Number.Integer
|
|
')' Punctuation
|
|
'\n' Text.Whitespace
|