[PATCH] D103612: [flang][driver] Add `-funparse-typed-exprs-as-fortran`

Peter Klausler via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 18 09:55:38 PDT 2021


klausler added a comment.

> The default behaviour is to always decorate unparsed typed expression with e.g. their KIND. The new flag can be used to turn this off, so that the generated output uses valid Fortran syntax and can be fed to another Fortran compiler.

The output of Expr<T>::AsFortran() should be valid Fortran, and it's a bug if it's not.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103612/new/

https://reviews.llvm.org/D103612



More information about the cfe-commits mailing list