Ensure that lint does not pick up C11 keywords (e.g. _Noreturn), even

if C11 mode is used.  It does not support any C11 constructs.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2015-01-29 18:44:21 +00:00
parent c67d5d66bf
commit f8270a6221

View File

@ -252,7 +252,7 @@
* Keywords added in C11.
*/
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L || defined(lint)
#if !__has_extension(c_alignas)
#if (defined(__cplusplus) && __cplusplus >= 201103L) || \