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.
Details
Details
- Reviewers
klimek djasper alexfh rsmith - Commits
- rG88d99e4f4273: Flip the order the preprocessor and frontendaction are informed of the end of a…
rC215145: Flip the order the preprocessor and frontendaction are informed of the end of a…
rL215145: Flip the order the preprocessor and frontendaction are informed of the end of a…
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I'm fine with it - we might want to ask Richard whether he can imagine any problems with this change...
Comment Actions
This seems like a more natural order for these actions to me. Can you add a test? (Install a preprocessing callback and check that its EndOfMainFile action is called before the FrontendAction's EndSourceFileAction)