[flang-commits] [flang] [llvm] [flang] [flang-rt] Implement AT edit descriptor for Fortran 202X with appropriate handling and tests (PR #189157)
via flang-commits
flang-commits at lists.llvm.org
Mon Apr 6 11:38:38 PDT 2026
================
@@ -921,6 +921,13 @@ template <typename CHAR>
RT_API_ATTRS bool EditCharacterOutput(IoStatementState &io,
const DataEdit &edit, const CHAR *x, std::size_t length) {
int len{static_cast<int>(length)};
+ if (edit.descriptor == 'A' && edit.variation == 'T') {
+ // AT edit descriptor: trim trailing blanks (F202X TRIM semantics)
----------------
laoshd wrote:
F202X has been changed to F2023.
https://github.com/llvm/llvm-project/pull/189157
More information about the flang-commits
mailing list