[Lldb-commits] [lldb] [lldb][NFC] Simplify DWARRFDeclContext::GetQualifiedName (PR #74788)

via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 7 15:54:43 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 7003e255d3f1fbff3b2ef3052d478b65ec555963 89c88d156170e5c8287d8a8236cfaf3e1ec2d1cf -- lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
index eda2ff3e73..a2d6eb70d3 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
@@ -9,7 +9,6 @@
 #include "DWARFDeclContext.h"
 #include "llvm/Support/raw_ostream.h"
 
-
 using namespace lldb_private::dwarf;
 using namespace lldb_private::plugin::dwarf;
 
@@ -45,7 +44,8 @@ const char *DWARFDeclContext::GetQualifiedName() const {
         }
       } else {
         llvm::raw_string_ostream string_stream(m_qualified_name);
-        llvm::interleave(llvm::reverse(m_entries), string_stream, GetName, "::");
+        llvm::interleave(llvm::reverse(m_entries), string_stream, GetName,
+                         "::");
       }
     }
   }

``````````

</details>


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


More information about the lldb-commits mailing list