[Lldb-commits] [lldb] [lldb] Realpath symlinks for breakpoints (PR #102223)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 7 15:15:24 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 396343f17b1182ff8ed698beac3f9b93b1d9dabd 6011b7ebfaa3717086251dc61cd0ba32a6b0c3fd --extensions h,cpp -- lldb/include/lldb/Utility/RealpathPrefixes.h lldb/source/Utility/RealpathPrefixes.cpp lldb/unittests/Utility/MockSymlinkFileSystem.h lldb/unittests/Utility/RealpathPrefixesTest.cpp lldb/include/lldb/Symbol/CompileUnit.h lldb/include/lldb/Target/Statistics.h lldb/include/lldb/Target/Target.h lldb/include/lldb/Utility/FileSpecList.h lldb/include/lldb/lldb-forward.h lldb/source/Breakpoint/BreakpointResolverFileLine.cpp lldb/source/Symbol/CompileUnit.cpp lldb/source/Target/Statistics.cpp lldb/source/Target/Target.cpp lldb/source/Utility/FileSpecList.cpp lldb/unittests/Utility/FileSpecListTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/include/lldb/Utility/RealpathPrefixes.h b/lldb/include/lldb/Utility/RealpathPrefixes.h
index d50fbb663e..b9344d2f28 100644
--- a/lldb/include/lldb/Utility/RealpathPrefixes.h
+++ b/lldb/include/lldb/Utility/RealpathPrefixes.h
@@ -32,7 +32,7 @@ public:
void SetFileSystem(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs);
// Sets an optional Target instance to gather statistics.
- void SetTarget(const lldb::TargetSP& target) { m_target = target; }
+ void SetTarget(const lldb::TargetSP &target) { m_target = target; }
lldb::TargetSP GetTarget() const { return m_target.lock(); }
std::optional<FileSpec> ResolveSymlinks(const FileSpec &file_spec) const;
``````````
</details>
https://github.com/llvm/llvm-project/pull/102223
More information about the lldb-commits
mailing list