This small patch adds another preprocessor callback that is invoked every time the 'defined' operator is seen. This (together with the macro expansion callback) allows all of the macro names in a preprocessor condition to be visited. I first tried to accomplish the same thing by addressing the FIXMEs on the If/Elif callbacks but those changes seemed too invasive.
Jason
defined.diff
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
