[all-commits] [llvm/llvm-project] fc6140: [flang] Fix llvm::Optional warning caused by D140220

jeanPerier via All-commits all-commits at lists.llvm.org
Mon Dec 19 02:44:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc61400cb81200198cf5b1d53cff2d29f5909800
      https://github.com/llvm/llvm-project/commit/fc61400cb81200198cf5b1d53cff2d29f5909800
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp

  Log Message:
  -----------
  [flang] Fix llvm::Optional warning caused by D140220

Using llvm::Optional::value() was just deprecated in LLVM.
Remove the usage that was added by D140220 and replace it by an assert.

https://lab.llvm.org/buildbot/#/builders/160/builds/14222




More information about the All-commits mailing list