The extractor identifies uses of a macro that occur after the macro is defined lexically (or within the compilation). However, the standard also considers it an acceptable use if it comes before. Most notably this occurs with header guards.
Example
#ifndef HEADER_GUARD_H
#define HEADER_GUARD_H // COMPLIANT, used above
#endif
Affected rules
RULE-2-5
Description
The extractor identifies uses of a macro that occur after the macro is defined lexically (or within the compilation). However, the standard also considers it an acceptable use if it comes before. Most notably this occurs with header guards.
Example