readability-redundant-preprocessor

查找可能冗余的预处理器指令。目前,以下情况将被检测到

#ifdef FOO
#ifdef FOO // inner ifdef is considered redundant
void f();
#endif
#endif
#ifndef FOO
#ifndef FOO // inner ifndef is considered redundant
void f();
#endif
#endif
#ifdef FOO
#ifndef FOO // inner ifndef is considered redundant
void f();
#endif
#endif
#ifndef FOO
#ifdef FOO // inner ifdef is considered redundant
void f();
#endif
#endif
#define FOO 4
#if FOO == 4
#if FOO == 4 // inner if is considered redundant
void f();
#endif
#endif