r215145 - Flip the order the preprocessor and frontendaction are informed of the end of a file.

Chandler Carruth chandlerc at google.com
Thu Aug 7 14:07:31 PDT 2014


On Thu, Aug 7, 2014 at 1:51 PM, Benjamin Kramer <benny.kra at googlemail.com>
wrote:

> Flip the order the preprocessor and frontendaction are informed of the end
> of a file.
>
> This allows using EndOfMainFile from a PPCallback to access data from the
> action. The pattern of PPCallback referencing an action is common in
> clang-tidy.
>

Do we have no use cases of th ereverse? Wondering if we should have
different APIs to support both directions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140807/c167b030/attachment.html>


More information about the cfe-commits mailing list