This patch makes sure that diagnostics from the prescanner are reported
when running flang-new -E (i.e. only the preprocessor phase is
requested). More specifically, the PrintPreprocessedAction action is
updated.
With this patch we make sure that the f18 and flang-new provide
identical output when running the preprocessor and the prescanner
generates diagnostics.
Depends on: D93453
clang-tidy: error: 'flang/Frontend/FrontendActions.h' file not found [clang-diagnostic-error]
not useful