[Lldb-commits] [lldb] c7759df - [lldb] Correct spelling in RegisterFlags comments
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 21 02:34:35 PDT 2023
Author: David Spickett
Date: 2023-06-21T09:34:22Z
New Revision: c7759df03825f63f8334d88c9525d655acfab685
URL: https://github.com/llvm/llvm-project/commit/c7759df03825f63f8334d88c9525d655acfab685
DIFF: https://github.com/llvm/llvm-project/commit/c7759df03825f63f8334d88c9525d655acfab685.diff
LOG: [lldb] Correct spelling in RegisterFlags comments
I missed these review comments on https://reviews.llvm.org/D152917
before landing it.
Added:
Modified:
lldb/include/lldb/Target/RegisterFlags.h
lldb/source/Target/RegisterFlags.cpp
Removed:
################################################################################
diff --git a/lldb/include/lldb/Target/RegisterFlags.h b/lldb/include/lldb/Target/RegisterFlags.h
index 0b9961e3d7a3f..8137fd27e99c2 100644
--- a/lldb/include/lldb/Target/RegisterFlags.h
+++ b/lldb/include/lldb/Target/RegisterFlags.h
@@ -93,7 +93,7 @@ class RegisterFlags {
unsigned GetSize() const { return m_size; }
void log(Log *log) const;
- /// Produce a text table showing the layout of all the fields. Unamed/padding
+ /// Produce a text table showing the layout of all the fields. Unnamed/padding
/// fields will be included, with only their positions shown.
/// max_width will be the width in characters of the terminal you are
/// going to print the table to. If the table would exceed this width, it will
diff --git a/lldb/source/Target/RegisterFlags.cpp b/lldb/source/Target/RegisterFlags.cpp
index 9b12815fa59a9..06fb45d777ec3 100644
--- a/lldb/source/Target/RegisterFlags.cpp
+++ b/lldb/source/Target/RegisterFlags.cpp
@@ -146,7 +146,7 @@ std::string RegisterFlags::AsTable(uint32_t max_width) const {
// one column, put out what we have and move to a new table on the next line
// (+1 here because we need to cap the ends with '|'). If this is the first
// column, just let it overflow and we'll wrap next time around. There's not
- // mich we can do with a very small terminal.
+ // much we can do with a very small terminal.
if (current_width && ((current_width + column_width + 1) >= max_width)) {
EmitTable(table, lines);
// Blank line between each.
More information about the lldb-commits
mailing list