[all-commits] [llvm/llvm-project] 4f1037: [flang][build] Fix build issue reported on recent ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Feb 13 14:24:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f1037f86a6291c6cd51abdaf29b83e077a49a58
      https://github.com/llvm/llvm-project/commit/4f1037f86a6291c6cd51abdaf29b83e077a49a58
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M flang/lib/Semantics/data-to-inits.cpp

  Log Message:
  -----------
  [flang][build] Fix build issue reported on recent commit

Some compiler (not specified) reported to issue an error on a
"default:" clause in a switch statement whose cases cover all of
the values of an "enum class".  Since other compilers/versions
are known to complain in the other direction, change the switch
statement to a cascade of ifs.




More information about the All-commits mailing list