Author: Congcong Cai Date: 2024-01-20T22:43:15+08:00 New Revision: 0f80f5e362fb43a9335bd154c5f7976a96e32cfc
URL: https://github.com/llvm/llvm-project/commit/0f80f5e362fb43a9335bd154c5f7976a96e32cfc DIFF: https://github.com/llvm/llvm-project/commit/0f80f5e362fb43a9335bd154c5f7976a96e32cfc.diff LOG: [NFC] fix typo in clang/include/clang/Sema/ScopeInfo.h Added: Modified: clang/include/clang/Sema/ScopeInfo.h Removed: ################################################################################ diff --git a/clang/include/clang/Sema/ScopeInfo.h b/clang/include/clang/Sema/ScopeInfo.h index b2f6e3289f41fc..6eaa74382685ba 100644 --- a/clang/include/clang/Sema/ScopeInfo.h +++ b/clang/include/clang/Sema/ScopeInfo.h @@ -66,7 +66,7 @@ namespace sema { /// parsed. class CompoundScopeInfo { public: - /// Whether this compound stamement contains `for' or `while' loops + /// Whether this compound statement contains `for' or `while' loops /// with empty bodies. bool HasEmptyLoopBodies = false; @@ -168,7 +168,7 @@ class FunctionScopeInfo { /// to build, the initial and final coroutine suspend points bool NeedsCoroutineSuspends : 1; - /// An enumeration represeting the kind of the first coroutine statement + /// An enumeration representing the kind of the first coroutine statement /// in the function. One of co_return, co_await, or co_yield. unsigned char FirstCoroutineStmtKind : 2; @@ -220,7 +220,7 @@ class FunctionScopeInfo { /// The initial and final coroutine suspend points. std::pair<Stmt *, Stmt *> CoroutineSuspends; - /// The stack of currently active compound stamement scopes in the + /// The stack of currently active compound statement scopes in the /// function. SmallVector<CompoundScopeInfo, 4> CompoundScopes; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits