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:31:53 PDT 2014


On Thu, Aug 7, 2014 at 2:28 PM, Benjamin Kramer <benny.kra at gmail.com> wrote:

> You can probably make up a use case but I don't see much value in it.
> PPCallbacks. The previous ordering was rather atypical
>
> Action.Begin
> Preprocessor.Begin
> Action.End
> Preprocessor.End
>
> now it's
>
> Action.Begin
> Preprocessor.Begin
> Preprocessor.End
> Action.End
>
> which is more natural.  If anyone's tools start failing now we can
> consider adding a hatch to get the old behavior but I think that is highly
> unlikely.
>

No, this makes sense. I just wanted to check.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140807/ca291bc0/attachment.html>


More information about the cfe-commits mailing list