7 ms·
> IDEs understand preprocessor macros, so IDE features (jump2def, etc) work with this. Do they? X macros often are used with token pasting (https://gcc.gnu.org
by Someone 2y ago
> IDEs understand preprocessor macros, so IDE features (jump2def, etc) work with this.
Do they? X macros often are used with token pasting (https://gcc.gnu.org/onlinedocs/cpp/Concatenation.html https://gcc.gnu.org/onlinedocs/cpp/Concatenation.html), as for example in (FTA)
#define AST_BEGIN_SUBCLASSES(NAME) START_##NAME ,
Are modern IDEs/compiler toolchains smart enough to tell you that START_foo was created by an expansion of that macro?