This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Plugin that parse tree


>>>>> "Ian" == Ian Lance Taylor <iant@google.com> writes:

Ian> The problem with warnings for this kind of code in C/C++ is that it
Ian> often arises in macro expansions.  I think it would be necessary to
Ian> first develop a scheme which lets us determine whether code resulted
Ian> from a macro expansion or not, which I think would be quite useful in a
Ian> number of different cases.

There is a patch series pending for this.

See the thread "Tracking locations of tokens resulting from macro
expansion".

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]