[all-commits] [llvm/llvm-project] c82fb1: [flang] Use has_value instead of hasValue (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Mon Jul 11 20:41:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c82fb16f580c80b961cb1971df66ce70eaf7d87a
      https://github.com/llvm/llvm-project/commit/c82fb16f580c80b961cb1971df66ce70eaf7d87a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-07-11 (Mon, 11 Jul 2022)

  Changed paths:
    M flang/include/flang/Lower/IterationSpace.h
    M flang/include/flang/Lower/StatementContext.h
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/lib/Lower/IterationSpace.cpp
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Transforms/AffinePromotion.cpp
    M flang/unittests/Optimizer/Builder/FIRBuilderTest.cpp
    M flang/unittests/Optimizer/Builder/Runtime/RuntimeCallTestBase.h

  Log Message:
  -----------
  [flang] Use has_value instead of hasValue (NFC)

This patch replaces hasValue with has_value in an effort to deprecate
Optional<X>::hasValue.

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




More information about the All-commits mailing list