[flang-commits] [flang] [clang] [flang] Enable alias tags pass by default (PR #73111)
via flang-commits
flang-commits at lists.llvm.org
Wed Nov 22 13:44:04 PST 2023
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 fbfd2c9972695bc74a646bfa5e3e2d00477dabe2 b5b0aa7c97dcdd723ca53c71b77382e834ec1938 -- clang/lib/Driver/ToolChains/Flang.cpp flang/include/flang/Tools/CLOptions.inc flang/lib/Frontend/CompilerInvocation.cpp flang/tools/tco/tco.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/include/flang/Tools/CLOptions.inc b/flang/include/flang/Tools/CLOptions.inc
index 0e00f9c01c..d3e4dc6cd4 100644
--- a/flang/include/flang/Tools/CLOptions.inc
+++ b/flang/include/flang/Tools/CLOptions.inc
@@ -157,8 +157,8 @@ inline void addDebugFoundationPass(mlir::PassManager &pm) {
[&]() { return fir::createAddDebugFoundationPass(); });
}
-inline void addFIRToLLVMPass(mlir::PassManager &pm,
- const MLIRToLLVMPassPipelineConfig &config) {
+inline void addFIRToLLVMPass(
+ mlir::PassManager &pm, const MLIRToLLVMPassPipelineConfig &config) {
fir::FIRToLLVMPassOptions options;
options.ignoreMissingTypeDescriptors = ignoreMissingTypeDescriptors;
options.applyTBAA = config.AliasAnalysis;
``````````
</details>
https://github.com/llvm/llvm-project/pull/73111
More information about the flang-commits
mailing list