[all-commits] [llvm/llvm-project] fcfb62: [flang][NFC] rename hlfir::FortranEntity into Enti...

jeanPerier via All-commits all-commits at lists.llvm.org
Mon Nov 14 01:37:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fcfb620db55ec6fde832254f38a207da24399a2d
      https://github.com/llvm/llvm-project/commit/fcfb620db55ec6fde832254f38a207da24399a2d
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M flang/include/flang/Lower/ConvertExprToHLFIR.h
    M flang/include/flang/Optimizer/Builder/HLFIRTools.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/lib/Optimizer/Builder/HLFIRTools.cpp
    M flang/unittests/Optimizer/Builder/HLFIRToolsTest.cpp

  Log Message:
  -----------
  [flang][NFC] rename hlfir::FortranEntity into EntityWithAttributes

This reflects the fact that Attributes will not always be visible when
looking at an HLFIR variable. The EntityWithAttributes class is used
to denote in the compiler code that the value at hand has visible
attributes. It is intended to be used in lowering so that the code
can query about operands attributes when generating code.

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




More information about the All-commits mailing list