Commit ada46a8c authored by David Gobbi's avatar David Gobbi
Browse files

Ignore the __restrict and __restrict__ keywords.

Most C++ compilers have either a __restrict or __restrict__ keyword
that serves the same purpose as the C99 "restrict" keyword.  The
wrapper parser can safely ignore this keyword.
parent 6cb06ace
This diff is collapsed.
......@@ -383,6 +383,10 @@ ID [a-zA-Z_\x80-\xff][0-9a-zA-Z_\x80-\xff]*
("__cdecl"|"__clrcall"|"__stdcall"|"__fastcall"|"__thiscall") /* Windows */
"__restrict__" /* gcc/clang/other extension */
"__restrict" /* MSVC extension */
const char *args = get_macro_arguments();
if (args && args[0] != '\0' && args[1] != '\0')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment