[all-commits] [llvm/llvm-project] cfa032: [flang] Emit just one warning for a bad format edi...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jul 21 15:17:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfa032cea0a165ad803fbfdd17e805052e2f3640
      https://github.com/llvm/llvm-project/commit/cfa032cea0a165ad803fbfdd17e805052e2f3640
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M flang/include/flang/Common/format.h
    M flang/lib/Parser/io-parsers.cpp

  Log Message:
  -----------
  [flang] Emit just one warning for a bad format edit descriptor

An attempt to use an edit descriptor (other than A or L) in a FORMAT
statement without arequired 'w' width will elicit warnings from both
the parser and the I/O checker in semantics.  Remove the warning from
the parser.

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




More information about the All-commits mailing list