[flang-commits] [PATCH] D101208: [flang] Provide access to constant character array data

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed May 5 16:57:15 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG535cbe02a454: [flang] Provide access to constant character array data (authored by klausler).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101208/new/

https://reviews.llvm.org/D101208

Files:
  flang/include/flang/Evaluate/constant.h


Index: flang/include/flang/Evaluate/constant.h
===================================================================
--- flang/include/flang/Evaluate/constant.h
+++ flang/include/flang/Evaluate/constant.h
@@ -168,6 +168,7 @@
   bool empty() const;
   std::size_t size() const;
 
+  const Scalar<Result> &values() const { return values_; }
   ConstantSubscript LEN() const { return length_; }
 
   std::optional<Scalar<Result>> GetScalarValue() const {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101208.343240.patch
Type: text/x-patch
Size: 450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210505/1485794b/attachment.bin>


More information about the flang-commits mailing list