[flang-commits] [flang] [flang] Rename AddDebugFoundation to AddDebugInfo (NFC) (PR #89191)

via flang-commits flang-commits at lists.llvm.org
Thu Apr 18 02:27:11 PDT 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 b4e7b56403387630d4c390ea4f53921312326e34 e265feb6f6ab7a0120b9af9cdf5513692f52b8f6 -- flang/include/flang/Tools/CLOptions.inc flang/lib/Optimizer/Transforms/AddDebugInfo.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 1d55a6cd1c..ea297fb337 100644
--- a/flang/include/flang/Tools/CLOptions.inc
+++ b/flang/include/flang/Tools/CLOptions.inc
@@ -156,8 +156,8 @@ inline void addTargetRewritePass(mlir::PassManager &pm) {
 }
 
 inline void addDebugInfoPass(mlir::PassManager &pm) {
-  addPassConditionally(pm, disableDebugInfo,
-      [&]() { return fir::createAddDebugInfoPass(); });
+  addPassConditionally(
+      pm, disableDebugInfo, [&]() { return fir::createAddDebugInfoPass(); });
 }
 
 inline void addFIRToLLVMPass(

``````````

</details>


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


More information about the flang-commits mailing list