diff options
author | Nico Weber <thakis@chromium.org> | 2021-09-20 19:42:27 -0400 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2021-09-20 19:42:49 -0400 |
commit | bde305baf631004b8d00081f11e62b33e1665e45 (patch) | |
tree | f7c27a1383ac616e55fa97e4466c3be387b50d9c /clang/lib/Sema/SemaInit.cpp | |
parent | bb2506061b06e9786b5eb9c458f52f9ba7e52a73 (diff) | |
download | llvm-bde305baf631004b8d00081f11e62b33e1665e45.zip llvm-bde305baf631004b8d00081f11e62b33e1665e45.tar.gz llvm-bde305baf631004b8d00081f11e62b33e1665e45.tar.bz2 |
[clang] Fix a few comment more typos to cycle bots
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
-rw-r--r-- | clang/lib/Sema/SemaInit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp index 111d93b1..4056308 100644 --- a/clang/lib/Sema/SemaInit.cpp +++ b/clang/lib/Sema/SemaInit.cpp @@ -2041,7 +2041,7 @@ void InitListChecker::CheckStructUnionTypes( RecordDecl *structDecl = DeclType->castAs<RecordType>()->getDecl(); // If the record is invalid, some of it's members are invalid. To avoid - // confusion, we forgo checking the intializer for the entire record. + // confusion, we forgo checking the initializer for the entire record. if (structDecl->isInvalidDecl()) { // Assume it was supposed to consume a single initializer. ++Index; @@ -8252,7 +8252,7 @@ ExprResult InitializationSequence::Perform(Sema &S, // When this is an incomplete array type (such as when this is // initializing an array of unknown bounds from an init list), use THAT - // type instead so that we propogate the array bounds. + // type instead so that we propagate the array bounds. if (MTETy->isIncompleteArrayType() && !CurInit.get()->getType()->isIncompleteArrayType() && S.Context.hasSameType( |