[all-commits] [llvm/llvm-project] 3780d3: [flang] Use octal escapes for character literals i...

Tim Keith via All-commits all-commits at lists.llvm.org
Mon Jul 13 12:19:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3780d3eb1001fd25d4b4cf953ae621a0f3b30ee5
      https://github.com/llvm/llvm-project/commit/3780d3eb1001fd25d4b4cf953ae621a0f3b30ee5
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp
    M flang/lib/Semantics/mod-file.h

  Log Message:
  -----------
  [flang] Use octal escapes for character literals in modfiles

Character literals can be formatted using octal or hex escapes for
non-ascii characters. This is so that the program can be unparsed for
either pgf90 or gfortran to compile. But modfiles should not be affected
by that -- they should be consistent.

This changes causes modfiles to always have character literals formatted
with octal escapes.

Differential Revision: https://reviews.llvm.org/D83703




More information about the All-commits mailing list