Add capitilization and punctuation to TODO comments (#4486)

Co-authored-by: Josh L <josh11b@users.noreply.github.com>
This commit is contained in:
josh11b
2024-11-05 16:31:00 +00:00
committed by GitHub
co-authored by Josh L
parent 9c8ca2f6e9
commit 4febf7c459
16 changed files with 29 additions and 28 deletions
+3 -3
View File
@@ -46,7 +46,7 @@ enum class MatchKind {
// against the portion of the pattern below the ParamPattern insts.
Callee,
// TODO: add enumerator for non-function-call pattern match
// TODO: Add enumerator for non-function-call pattern match.
};
// The collected state of a pattern-matching operation.
@@ -115,7 +115,7 @@ class MatchContext {
SemIR::SpecificId callee_specific_id_;
// The return slot inst emitted by `DoWork`, if any.
// TODO: can this be added to the block returned by `DoWork`, instead?
// TODO: Can this be added to the block returned by `DoWork`, instead?
SemIR::InstId return_slot_id_;
};
@@ -251,7 +251,7 @@ auto MatchContext::EmitPatternMatch(Context& context,
break;
}
case MatchKind::Callee: {
// TODO: consider ways to address near-duplication with the
// TODO: Consider ways to address near-duplication with the
// ValueParamPattern case.
if (param_pattern.runtime_index ==
SemIR::RuntimeParamIndex::Unknown) {