-Wreserved-id-macro and __STDC_LIMIT_MACROS

Hi all,

Updated my clang and discovered the new -Wreserved-id-macro warning. Tried it against some codebases I use. Several places do something like:

/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
* if you want the limit (max/min) macros for int types.
*/
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
#endif

and clang warns:

warning: reserved identifier is used as macro name [-Wreserved-id-macro]
#define __STDC_LIMIT_MACROS
        ^

Some searching suggests that C11 and C++11 no longer need this. But of course some codebases must work with old stuff.

Could -Wreserved-id-macro whitelist #defining __STDC_LIMIT_MACROS and not warn?

Cheers,