Currently, Maki's DefinitionInfoCollector class only stores the names of macros which are already defined when their names appear in static conditionals, and only for macros which appear in #ifdef and #ifndef conditionals.
The DefinitionInfoCollector should instead store the names of all macros appearing in static conditionals (because a macro may not be defined when it first appears in a static conditional, e.g., when it appears in a header guard), and it should report the names of macros that appear in all the static conditional types that Clang offers PPCallbacks override methods for.
Currently, Maki's
DefinitionInfoCollector
class only stores the names of macros which are already defined when their names appear in static conditionals, and only for macros which appear in#ifdef
and#ifndef
conditionals. TheDefinitionInfoCollector
should instead store the names of all macros appearing in static conditionals (because a macro may not be defined when it first appears in a static conditional, e.g., when it appears in a header guard), and it should report the names of macros that appear in all the static conditional types that Clang offers PPCallbacks override methods for.