[PATCH] Correct spelling of "alignment".
Giuliano Procida via libabigail
libabigail@sourceware.org
Wed Jan 1 00:00:00 GMT 2020
* src/abg-reporter-priv.cc: s/alignement/alignment/
* tests/data/test-abidiff/test-struct0-report.txt: Ditto..
* tests/data/test-abidiff/test-struct1-report.txt: Ditto.
* tests/data/test-abidiff/test-var0-report.txt: Ditto.
Signed-off-by: Giuliano Procida <gprocida@google.com>
---
src/abg-reporter-priv.cc | 2 +-
tests/data/test-abidiff/test-struct0-report.txt | 2 +-
tests/data/test-abidiff/test-struct1-report.txt | 2 +-
tests/data/test-abidiff/test-var0-report.txt | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/abg-reporter-priv.cc b/src/abg-reporter-priv.cc
index 78ebd91b..29aa37cd 100644
--- a/src/abg-reporter-priv.cc
+++ b/src/abg-reporter-priv.cc
@@ -812,7 +812,7 @@ report_size_and_alignment_changes(type_or_decl_base_sptr first,
if (n)
out << "\n";
out << indent;
- show_numerical_change("type alignement", fa, sa, *ctxt, out,
+ show_numerical_change("type alignment", fa, sa, *ctxt, out,
/*show_bits_or_bytes=*/false);
n = true;
}
diff --git a/tests/data/test-abidiff/test-struct0-report.txt b/tests/data/test-abidiff/test-struct0-report.txt
index 5c8d78ad..f6c4cece 100644
--- a/tests/data/test-abidiff/test-struct0-report.txt
+++ b/tests/data/test-abidiff/test-struct0-report.txt
@@ -7,7 +7,7 @@
type of 'char s0::m1' changed:
type name changed from 'char' to 'unsigned int'
type size changed from 8 to 32 (in bits)
- type alignement changed from 8 to 32
+ type alignment changed from 8 to 32
's0&' changed:
referenced type 'class s0' changed, as reported earlier
diff --git a/tests/data/test-abidiff/test-struct1-report.txt b/tests/data/test-abidiff/test-struct1-report.txt
index 7f372cd7..39b71e55 100644
--- a/tests/data/test-abidiff/test-struct1-report.txt
+++ b/tests/data/test-abidiff/test-struct1-report.txt
@@ -13,7 +13,7 @@
type of 'int s0::m0' changed:
type name changed from 'int' to 'char'
type size changed from 32 to 8 (in bits)
- type alignement changed from 32 to 8
+ type alignment changed from 32 to 8
'unsigned int s0::m2' offset changed from 128 to 192 (in bits) (by +64 bits)
'const s0' changed:
diff --git a/tests/data/test-abidiff/test-var0-report.txt b/tests/data/test-abidiff/test-var0-report.txt
index 08f28f7f..b4c9a38e 100644
--- a/tests/data/test-abidiff/test-var0-report.txt
+++ b/tests/data/test-abidiff/test-var0-report.txt
@@ -3,4 +3,4 @@
type of variable changed:
type name changed from 'int' to 'char'
type size changed from 32 to 8 (in bits)
- type alignement changed from 32 to 8
+ type alignment changed from 32 to 8
--
2.25.0.265.gbab2e86ba0-goog
More information about the Libabigail
mailing list