[flang-commits] [PATCH] D139196: [flang] Lower conversions to HLFIR

Pete Steinfeld via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Dec 2 07:29:44 PST 2022


PeteSteinfeld added a comment.

Need to fix the build problem.



================
Comment at: flang/lib/Lower/ConvertExprToHLFIR.cpp:603
+                                         fir::FirOpBuilder &builder,
+                                         const Op &op, hlfir::Entity lhs) {
+    if constexpr (TC1 == Fortran::common::TypeCategory::Character &&
----------------
I get an error on this line:
```
/local/home/psteinfeld/main/conversion/flang/lib/Lower/ConvertExprToHLFIR.cpp:603:70: error: parameter ‘lhs’ set but not used [-Werror=unused-but-set-parameter]
  603 |                                          const Op &op, hlfir::Entity lhs) {
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139196



More information about the flang-commits mailing list