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
Is the filename missing here? Can the driver preprocess and emit multiple files.