It's unclear what you mean, but generally, KDevelop works similar to a real compiler, and the knowledge from which macro some code was created is usually lost (the parser works with the code resulting from the macro expansion).