summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
author Ian Pedowitz <ijpedowitz@google.com> 2020-07-22 14:33:00 -0700
committer Ian Pedowitz <ijpedowitz@google.com> 2020-07-24 00:41:56 +0000
commit2d53643ca0e05e7c67894aa75eba899acbb9f287 (patch)
tree39299475c04303312f527bc00355bd9fd7a3fad8 /cmdline
parentcefebc86af30522bf79d2a89a2bcf96f7f970ecb (diff)
Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Bug: 161850439 Bug: 161336379 Test: m -j checkbuild cts docs tests Change-Id: I32d869c274a5d9a3dac63221e25874fe685d38c4
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/cmdline_parser.h4
-rw-r--r--cmdline/detail/cmdline_parse_argument_detail.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/cmdline_parser.h b/cmdline/cmdline_parser.h
index 01806d48b2..86e3b2c7df 100644
--- a/cmdline/cmdline_parser.h
+++ b/cmdline/cmdline_parser.h
@@ -484,8 +484,8 @@ struct CmdlineParser {
return *this;
}
- // Finish building the parser; performs sanity checks. Return value is moved, not copied.
- // Do not call this more than once.
+ // Finish building the parser; performs a check of the validity. Return value is moved, not
+ // copied. Do not call this more than once.
CmdlineParser Build() {
assert(!built_);
built_ = true;
diff --git a/cmdline/detail/cmdline_parse_argument_detail.h b/cmdline/detail/cmdline_parse_argument_detail.h
index 4591d0b11c..f5cbda9a73 100644
--- a/cmdline/detail/cmdline_parse_argument_detail.h
+++ b/cmdline/detail/cmdline_parse_argument_detail.h
@@ -189,7 +189,7 @@ struct CmdlineParserArgumentInfo {
// Mark the argument definition as completed, do not mutate the object anymore after this
// call is done.
//
- // Performs several sanity checks and token calculations.
+ // Performs several checks of the validity and token calculations.
void CompleteArgument() {
assert(names_.size() >= 1);
assert(!is_completed_);