[Mlir-commits] [flang] [mlir] [WIP] Delayed privatization. (PR #79862)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jan 29 08:58:13 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff ce72f78f37199d693a65b6c7c1d637fafbb13727 4def3b57d5bb316eaba96deb404692eebfa8fc5e -- flang/include/flang/Lower/AbstractConverter.h flang/include/flang/Lower/SymbolMap.h flang/lib/Lower/Bridge.cpp flang/lib/Lower/OpenMP.cpp mlir/lib/Dialect/Func/IR/FuncOps.cpp mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/flang/include/flang/Lower/SymbolMap.h b/flang/include/flang/Lower/SymbolMap.h
index 834ab747e1..1031b479eb 100644
--- a/flang/include/flang/Lower/SymbolMap.h
+++ b/flang/include/flang/Lower/SymbolMap.h
@@ -101,9 +101,7 @@ struct SymbolBox : public fir::details::matcher<SymbolBox> {
                  [](const fir::FortranVariableOpInterface &x) {
                    return fir::FortranVariableOpInterface(x).getBase();
                  },
-                 [](const fir::MutableBoxValue &x) {
-                   return x.getAddr();
-                 },
+                 [](const fir::MutableBoxValue &x) { return x.getAddr(); },
                  [](const auto &x) { return x.getAddr(); });
   }
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/79862


More information about the Mlir-commits mailing list