[Lldb-commits] [lldb] [lldb] Fix source display for artificial locations (PR #115876)

via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 12 06:57:27 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 2a3c08f620fc89823ebf1d2af4ea0beb97671db2 7f9c959bf0ffffee984b3c2e93f11a96b57162b3 --extensions h,cpp -- lldb/test/API/source-manager/artificial_location.cpp lldb/test/API/source-manager/artificial_location.h lldb/include/lldb/Symbol/Function.h lldb/source/Breakpoint/BreakpointResolverFileLine.cpp lldb/source/Commands/CommandObjectSource.cpp lldb/source/Core/Disassembler.cpp lldb/source/Symbol/Function.cpp lldb/source/Target/StackFrame.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/test/API/source-manager/artificial_location.cpp b/lldb/test/API/source-manager/artificial_location.cpp
index e5f03b3139..776f68a00b 100644
--- a/lldb/test/API/source-manager/artificial_location.cpp
+++ b/lldb/test/API/source-manager/artificial_location.cpp
@@ -5,6 +5,4 @@ int A::foo() {
   return 42;
 }
 
-int main() {
-  return A::foo();
-}
+int main() { return A::foo(); }

``````````

</details>


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


More information about the lldb-commits mailing list