C Macro Kinds

Use “c macro” to match all C Macro kinds

Kind Name
C Inactive Macro
C Macro
C Macro Functional
C Macro Project
C Unknown Macro
C Unresolved Macro

A macro which is defined in and used in an active region of code is C Macro. For example:

#define MACRO_ACTIVE   

An inactive macro appears in an inactive region of code.

#if 0 
#ifdef MACRO_INACTIVE 
#endif 
#endif 

An unresolved macro is one that is known to exist but who’s definition is not available in the current scope. An unknown macro is a macro whose definition is not known. Typically this occurs when the macro is defined in an included file that is not part of the project.

#include “my_macros.h”     // C Unknown Header File 
#ifdef  MY_MACRO           // C Unknown Macro 
... 
#endif 

Scientific Toolworks, Inc.
http://www.scitools.com