[Lldb-commits] [lldb] [lldb] Deal with SupportFiles in SourceManager (NFC) (PR #106740)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 30 07:26:21 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 b0eefb4c4e5136fd606cf4cff566df9dbc0fa051 f7b0874d6bd83c85f4fb6411fc4da7dfb4dd8453 --extensions h,cpp -- lldb/include/lldb/Core/SourceManager.h lldb/source/API/SBSourceManager.cpp lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp lldb/source/Commands/CommandObjectBreakpoint.cpp lldb/source/Commands/CommandObjectSource.cpp lldb/source/Core/Disassembler.cpp lldb/source/Core/IOHandlerCursesGUI.cpp lldb/source/Core/SourceManager.cpp lldb/source/Expression/REPL.cpp lldb/source/Target/StackFrame.cpp lldb/source/Target/StackFrameList.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/include/lldb/Core/SourceManager.h b/lldb/include/lldb/Core/SourceManager.h
index b1c9b3d054..a9958ab1a3 100644
--- a/lldb/include/lldb/Core/SourceManager.h
+++ b/lldb/include/lldb/Core/SourceManager.h
@@ -165,7 +165,7 @@ public:
lldb::SupportFileSP support_file_sp;
uint32_t line;
SupportFileAndLine(lldb::SupportFileSP support_file_sp, uint32_t line)
- : support_file_sp(support_file_sp), line(line){};
+ : support_file_sp(support_file_sp), line(line) {};
};
std::optional<SupportFileAndLine> GetDefaultFileAndLine();
``````````
</details>
https://github.com/llvm/llvm-project/pull/106740
More information about the lldb-commits
mailing list