[all-commits] [llvm/llvm-project] 993625: [flang] Use value instead of getValue (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Wed Jul 20 08:56:36 PDT 2022


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

  Changed paths:
    M flang/include/flang/Lower/IterationSpace.h
    M flang/lib/Lower/CustomIntrinsicCall.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp

  Log Message:
  -----------
  [flang] Use value instead of getValue (NFC)

Flang C++ Style Guide tells us to use x.value() when no presence test
is obviously protecting the reference.  Since assert can be disabled,
I don't count it as "protection" here.

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




More information about the All-commits mailing list