aboutsummaryrefslogtreecommitdiff
path: root/pw_tokenizer
diff options
context:
space:
mode:
authorRob Mohr <mohrr@google.com>2021-06-10 15:03:10 -0700
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2021-06-10 23:11:19 +0000
commitecbdb697920d57a8eddb913d331d027335f93de3 (patch)
tree73a6cbfe17c77b5d8e766241b724bef540f290b2 /pw_tokenizer
parent249497a97d2b4444bf5c27761bb164bf8c800ea6 (diff)
downloadpigweed-ecbdb697920d57a8eddb913d331d027335f93de3.tar.gz
pw_base64/pw_i2c/pw_tokenizer: Inclusive language
Change-Id: I3a10d0a20aef9b3c671587d9143264c2a8ed06ae Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/48562 Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Joe Ethier <jethier@google.com>
Diffstat (limited to 'pw_tokenizer')
-rw-r--r--pw_tokenizer/argument_types_test.cc4
-rw-r--r--pw_tokenizer/argument_types_test_c.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/pw_tokenizer/argument_types_test.cc b/pw_tokenizer/argument_types_test.cc
index cf3b22b5b..696886e37 100644
--- a/pw_tokenizer/argument_types_test.cc
+++ b/pw_tokenizer/argument_types_test.cc
@@ -23,7 +23,7 @@
namespace pw::tokenizer {
namespace {
-struct DummyType {};
+struct FakeType {};
// Check each relevant type mapping.
#define CHECK_TYPE(c_type, enum_type) \
@@ -61,7 +61,7 @@ CHECK_TYPE(signed char*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
CHECK_TYPE(unsigned char*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
CHECK_TYPE(int*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
CHECK_TYPE(long long*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
-CHECK_TYPE(DummyType*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
+CHECK_TYPE(FakeType*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
// nullptr
CHECK_TYPE(std::nullptr_t, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
diff --git a/pw_tokenizer/argument_types_test_c.c b/pw_tokenizer/argument_types_test_c.c
index 849357d24..05257d72e 100644
--- a/pw_tokenizer/argument_types_test_c.c
+++ b/pw_tokenizer/argument_types_test_c.c
@@ -24,7 +24,7 @@
#error "This is a test of C code and must be compiled as C, not C++."
#endif // __cplusplus
-struct DummyType {}; // stand-in type for pointer argument type test
+struct FakeType {}; // stand-in type for pointer argument type test
// Check each relevant type mapping using static_asserts.
#define CHECK_TYPE(c_type, enum_type) \
@@ -62,7 +62,7 @@ CHECK_TYPE(signed char*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
CHECK_TYPE(unsigned char*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
CHECK_TYPE(int*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
CHECK_TYPE(long long*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
-CHECK_TYPE(struct DummyType*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
+CHECK_TYPE(struct FakeType*, _PW_TOKENIZER_SELECT_INT_TYPE(void*));
// clang-format on
// null