Skip to content

Commit ad75877

Browse files
committed
typos
Created using spr 1.3.7
1 parent 4391a64 commit ad75877

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/include/clang/Analysis/FlowSensitive/Models/UncheckedStatusOrAccessModel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ namespace clang::dataflow::statusor_model {
2929
// The helper functions exported here are for use of downstream vendor
3030
// extensions of this model.
3131

32-
// Match declation of `absl::StatusOr<T>` and bind `T` to "T".
32+
// Match declaration of `absl::StatusOr<T>` and bind `T` to "T".
3333
clang::ast_matchers::DeclarationMatcher statusOrClass();
34-
// Match declation of `absl::Status`.
34+
// Match declaration of `absl::Status`.
3535
clang::ast_matchers::DeclarationMatcher statusClass();
3636
// Match declaration of `absl::internal_statusor::OperatorBase`.
3737
clang::ast_matchers::DeclarationMatcher statusOrOperatorBaseClass();
@@ -41,7 +41,7 @@ clang::ast_matchers::TypeMatcher statusOrType();
4141

4242
// Get RecordStorageLocation for the `Status` contained in the `StatusOr`
4343
RecordStorageLocation &locForStatus(RecordStorageLocation &StatusOrLoc);
44-
// Get the StorageLocation OK boolean in the `Status`
44+
// Get the StorageLocation for the OK boolean in the `Status`
4545
StorageLocation &locForOk(RecordStorageLocation &StatusLoc);
4646
// Get the OK boolean in the `Status`, and initialize it if necessary.
4747
BoolValue &valForOk(RecordStorageLocation &StatusLoc, Environment &Env);

0 commit comments

Comments
 (0)