Skip to content

Commit 0f80f5e

Browse files
committed
[NFC] fix typo in clang/include/clang/Sema/ScopeInfo.h
1 parent d01145f commit 0f80f5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/include/clang/Sema/ScopeInfo.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ namespace sema {
6666
/// parsed.
6767
class CompoundScopeInfo {
6868
public:
69-
/// Whether this compound stamement contains `for' or `while' loops
69+
/// Whether this compound statement contains `for' or `while' loops
7070
/// with empty bodies.
7171
bool HasEmptyLoopBodies = false;
7272

@@ -168,7 +168,7 @@ class FunctionScopeInfo {
168168
/// to build, the initial and final coroutine suspend points
169169
bool NeedsCoroutineSuspends : 1;
170170

171-
/// An enumeration represeting the kind of the first coroutine statement
171+
/// An enumeration representing the kind of the first coroutine statement
172172
/// in the function. One of co_return, co_await, or co_yield.
173173
unsigned char FirstCoroutineStmtKind : 2;
174174

@@ -220,7 +220,7 @@ class FunctionScopeInfo {
220220
/// The initial and final coroutine suspend points.
221221
std::pair<Stmt *, Stmt *> CoroutineSuspends;
222222

223-
/// The stack of currently active compound stamement scopes in the
223+
/// The stack of currently active compound statement scopes in the
224224
/// function.
225225
SmallVector<CompoundScopeInfo, 4> CompoundScopes;
226226

0 commit comments

Comments
 (0)