commit | 9d53de55df8e2f3201aab04e8f0410d5c2827182 | [log] [tgz] |
---|---|---|
author | Kirill Bobyrev <kbobyrev@google.com> | Fri Nov 26 10:10:49 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Nov 26 01:16:23 2021 -0800 |
tree | 19a8994ac9cbc31e80351b977da1c50d9ed4997d | |
parent | 28f0973e536970a16cfcbb0016d999738dfccbe0 [diff] |
[clang] Change ordering of PreableCallbacks to make sure PP can be referenced in them Currently, BeforeExecute is called before BeginSourceFile which does not allow using PP in the callbacks. Change the ordering to ensure it is possible. This is a prerequisite for D114370. Originated from a discussion with @kadircet. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D114525 GitOrigin-RevId: bad8977786382739256f4bd966fb4cdcfd50be2a