[flang-commits] [PATCH] D140031: [flang][NFC] add builder to simplify fir.shape creationDepends on D140023

Pete Steinfeld via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Dec 14 11:03:52 PST 2022


PeteSteinfeld accepted this revision.
PeteSteinfeld added a comment.

All builds and tests correctly and looks good.



================
Comment at: flang/lib/Lower/ConvertExpr.cpp:7275
 bool isParentComponent(const Fortran::lower::SomeExpr &expr) {
-  if (const Fortran::semantics::Symbol * symbol{GetLastSymbol(expr)}) {
+  if (const Fortran::semantics::Symbol *symbol{GetLastSymbol(expr)}) {
     if (symbol->test(Fortran::semantics::Symbol::Flag::ParentComp))
----------------
When I run clang-format on this line, I get the following:
```
  if (const Fortran::semantics::Symbol * symbol{GetLastSymbol(expr)}) {
```
Note the space between the "*" and "symbol".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140031



More information about the flang-commits mailing list