[flang-commits] [flang] [flang] AliasAnalysis: Handle fir.load on fir.alloca (PR #117785)

via flang-commits flang-commits at lists.llvm.org
Tue Nov 26 15:09:04 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 86f7f089ee6bcf01bf082ca802220b1143a3ade9 869c7563267ed592023f17b381962b30d66b5744 --extensions cpp -- flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
``````````

</details>

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

``````````diff
diff --git a/flang/lib/Optimizer/Analysis/AliasAnalysis.cpp b/flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
index 61d8fb4ca2..05ca527670 100644
--- a/flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
+++ b/flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
@@ -32,8 +32,8 @@ using namespace mlir;
 //===----------------------------------------------------------------------===//
 
 namespace fir {
-  static AliasAnalysis::Source::Attributes
-  getAttrsFromVariable(fir::FortranVariableOpInterface var);
+static AliasAnalysis::Source::Attributes
+getAttrsFromVariable(fir::FortranVariableOpInterface var);
 }
 
 /// Temporary function to skip through all the no op operations

``````````

</details>


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


More information about the flang-commits mailing list