[cfe-dev] Extracting preprocessor documentation

Guilherme guibufolo at gmail.com
Tue Feb 10 21:23:29 PST 2015


@Richard Which article? I only see a mail link.

On Tue, Feb 10, 2015 at 11:48 PM, Richard <legalize at xmission.com> wrote:
>
> In article <CAMDzUtzsoUL4wZs-iTsthjoUnc03SLsYjZYgpQrVm5-q0K8krg at mail.gmail.com>,
>     Guilherme <guibufolo+llvm at gmail.com> writes:
>
>> Is it possible to do this from a theoretical point of view? The
>> problem i see is that preprocessing is done in stage 4 where there is
>> no syntax tree. It is built in stage 7.
>>
>> Would there still be a way to annotate this in the syntax tree?
>
> If I understood the referenced slide deck correctly, they gathered
> their own comment information as parsing proceeded and then
> back-filled it onto the AST after it was built.
>
> Wouldn't that work for macro definitions too?
> --
> "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
>      The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
>          The Terminals Wiki <http://terminals.classiccmp.org>
>   Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev



More information about the cfe-dev mailing list