[all-commits] [llvm/llvm-project] ec8c8b: [Flang] Remove constexpr from isMax variable. NFC

David Green via All-commits all-commits at lists.llvm.org
Mon Jan 29 04:33:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec8c8b6487d53b2c3222f1a2f8968e754b070912
      https://github.com/llvm/llvm-project/commit/ec8c8b6487d53b2c3222f1a2f8968e754b070912
  Author: David Green <david.green at arm.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp

  Log Message:
  -----------
  [Flang] Remove constexpr from isMax variable. NFC

The MSCV build doesn't allow the constexpr isMax variable to be used in lambda
without a capture. The -Weverything build does not allow isMax to be used in a
lambda capture as it is a constexpr. I've removed the constexpr as it shouldn't
be necessary.




More information about the All-commits mailing list