The idents in "ident-list.h" are probably organized mainly in the chronological order of their addition to the file and as such a bit dispersed here and there. Change this by regrouping them in Basic C/C99/C11/GCC extensions/... Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- ident-list.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/ident-list.h b/ident-list.h index 3c7547783..dbed06858 100644 --- a/ident-list.h +++ b/ident-list.h @@ -16,7 +16,6 @@ IDENT_RESERVED(for); IDENT_RESERVED(while); IDENT_RESERVED(do); IDENT_RESERVED(goto); -IDENT_RESERVED(_Static_assert); /* C typenames. They get marked as reserved when initialized */ IDENT(struct); @@ -26,13 +25,22 @@ IDENT(__attribute); IDENT(__attribute__); IDENT(volatile); IDENT(__volatile); IDENT(__volatile__); IDENT(double); +/* C storage classes. They get marked as reserved when initialized */ +IDENT(static); + +/* C99 keywords */ +IDENT(restrict); IDENT(__restrict); IDENT(__restrict__); + +/* C11 keywords */ +IDENT_RESERVED(_Alignof); +IDENT_RESERVED(_Static_assert); + /* Special case for L'\t' */ IDENT(L); /* Extended gcc identifiers */ IDENT(asm); IDENT_RESERVED(__asm); IDENT_RESERVED(__asm__); IDENT(alignof); IDENT_RESERVED(__alignof); IDENT_RESERVED(__alignof__); -IDENT_RESERVED(_Alignof); IDENT_RESERVED(__sizeof_ptr__); IDENT_RESERVED(__builtin_types_compatible_p); IDENT_RESERVED(__builtin_offsetof); @@ -88,12 +96,10 @@ IDENT(stdcall); IDENT(__stdcall__); IDENT(fastcall); IDENT(__fastcall__); IDENT(dllimport); IDENT(__dllimport__); IDENT(dllexport); IDENT(__dllexport__); -IDENT(restrict); IDENT(__restrict); IDENT(__restrict__); IDENT(artificial); IDENT(__artificial__); IDENT(leaf); IDENT(__leaf__); IDENT(vector_size); IDENT(__vector_size__); IDENT(error); IDENT(__error__); -IDENT(static); /* Preprocessor idents. Direct use of __IDENT avoids mentioning the keyword -- 2.12.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html