[Lldb-commits] [lldb] [lldb][Fortran] Added support for basic types in TypeSystemFortran (PR #223380)

via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 14 05:21:22 PDT 2026


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 origin/main HEAD --extensions h,cpp -- lldb/source/Plugins/TypeSystem/Fortran/FortranTypes.cpp lldb/source/Plugins/TypeSystem/Fortran/FortranTypes.h lldb/unittests/Symbol/TestTypeSystemFortran.cpp lldb/source/Plugins/TypeSystem/Fortran/TypeSystemFortran.cpp lldb/source/Plugins/TypeSystem/Fortran/TypeSystemFortran.h --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/lldb/source/Plugins/TypeSystem/Fortran/TypeSystemFortran.cpp b/lldb/source/Plugins/TypeSystem/Fortran/TypeSystemFortran.cpp
index 1445fa0b5..7cf55dad4 100644
--- a/lldb/source/Plugins/TypeSystem/Fortran/TypeSystemFortran.cpp
+++ b/lldb/source/Plugins/TypeSystem/Fortran/TypeSystemFortran.cpp
@@ -147,8 +147,7 @@ CompilerType TypeSystemFortran::GetOrCreateFortranBaseType(int kind,
   FortranType *fortran_type = m_basic_types.getOrInsert(new_type_up.get());
   if (fortran_type == new_type_up.get())
     m_types.push_back(std::move(new_type_up));
-  return CompilerType(weak_from_this(), (void *) fortran_type);
-
+  return CompilerType(weak_from_this(), (void *)fortran_type);
 }
 
 lldb::TypeClass

``````````

</details>


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


More information about the lldb-commits mailing list