[Lldb-commits] [lldb] [lldb] Make single-argument Address constructor explicit (NFCI) (PR #189035)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 27 09:04:39 PDT 2026
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 h,cpp -- lldb/include/lldb/Core/Address.h lldb/source/Breakpoint/BreakpointLocation.cpp lldb/source/Commands/CommandObjectMemory.cpp lldb/source/Commands/CommandObjectTarget.cpp lldb/source/Core/Address.cpp lldb/source/DataFormatters/FormattersHelpers.cpp lldb/source/DataFormatters/StringPrinter.cpp lldb/source/Expression/DWARFExpression.cpp lldb/source/Plugins/Architecture/Mips/ArchitectureMips.cpp lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp lldb/source/Plugins/Language/ObjC/CFBasicHash.cpp lldb/source/Plugins/Language/ObjC/CFBasicHash.h lldb/source/Plugins/Language/ObjC/NSString.cpp lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.cpp lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp lldb/source/Plugins/SymbolFile/CTF/SymbolFileCTF.cpp lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp lldb/source/Target/StackFrame.cpp lldb/source/Target/Target.cpp lldb/source/ValueObject/ValueObjectDynamicValue.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/Core/Address.h b/lldb/include/lldb/Core/Address.h
index 71078bb44..5c09dd261 100644
--- a/lldb/include/lldb/Core/Address.h
+++ b/lldb/include/lldb/Core/Address.h
@@ -162,16 +162,16 @@ public:
explicit Address(lldb::addr_t abs_addr);
-/// Assignment operator.
-///
-/// Copies the address value from another Address object \a rhs into \a this
-/// object.
-///
-/// \param[in] rhs
-/// A const Address object reference to copy.
-///
-/// \return
-/// A const Address object reference to \a this.
+ /// Assignment operator.
+ ///
+ /// Copies the address value from another Address object \a rhs into \a this
+ /// object.
+ ///
+ /// \param[in] rhs
+ /// A const Address object reference to copy.
+ ///
+ /// \return
+ /// A const Address object reference to \a this.
const Address &operator=(const Address &rhs);
/// Clear the object's state.
``````````
</details>
https://github.com/llvm/llvm-project/pull/189035
More information about the lldb-commits
mailing list