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 cpp,h --
lldb/include/lldb/Breakpoint/BreakpointName.h lldb/source/Target/Target.cpp
--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/include/lldb/Breakpoint/BreakpointName.h
b/lldb/include/lldb/Breakpoint/BreakpointName.h
index f046a6b68..6b2429bc3 100644
--- a/lldb/include/lldb/Breakpoint/BreakpointName.h
+++ b/lldb/include/lldb/Breakpoint/BreakpointName.h
@@ -137,11 +137,10 @@ public:
}
};
- BreakpointName(llvm::StringRef name, const char *help = nullptr) :
- m_name(name), m_options(false)
- {
- SetHelp(help);
- }
+ BreakpointName(llvm::StringRef name, const char *help = nullptr)
+ : m_name(name), m_options(false) {
+ SetHelp(help);
+ }
BreakpointName(const BreakpointName &rhs) :
m_name(rhs.m_name), m_options(rhs.m_options),
@@ -186,7 +185,7 @@ public:
void ConfigureBreakpoint(lldb::BreakpointSP bp_sp);
private:
- std::string m_name;
+ std::string m_name;
BreakpointOptions m_options;
Permissions m_permissions;
std::string m_help;
``````````
</details>
https://github.com/llvm/llvm-project/pull/205910
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits