aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Parse/ParseStmt.cpp
diff options
context:
space:
mode:
authorGabriel Ravier <gabravier@gmail.com>2022-08-01 13:12:11 -0400
committerAaron Ballman <aaron@aaronballman.com>2022-08-01 13:13:18 -0400
commit5674a3c88088e668b684326c2194a6282e8270ff (patch)
treeb732ae3aead7406c8eadfe039ed0e348c5a70d1e /clang/lib/Parse/ParseStmt.cpp
parent556c422de1c3b0623e83c85b36a43dd743660fb1 (diff)
downloadllvm-5674a3c88088e668b684326c2194a6282e8270ff.zip
llvm-5674a3c88088e668b684326c2194a6282e8270ff.tar.gz
llvm-5674a3c88088e668b684326c2194a6282e8270ff.tar.bz2
Fixed a number of typos
I went over the output of the following mess of a command: (ulimit -m 2000000; ulimit -v 2000000; git ls-files -z | parallel --xargs -0 cat | aspell list --mode=none --ignore-case | grep -E '^[A-Za-z][a-z]*$' | sort | uniq -c | sort -n | grep -vE '.{25}' | aspell pipe -W3 | grep : | cut -d' ' -f2 | less) and proceeded to spend a few days looking at it to find probable typos and fixed a few hundred of them in all of the llvm project (note, the ones I found are not anywhere near all of them, but it seems like a good start). Differential Revision: https://reviews.llvm.org/D130827
Diffstat (limited to 'clang/lib/Parse/ParseStmt.cpp')
-rw-r--r--clang/lib/Parse/ParseStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseStmt.cpp b/clang/lib/Parse/ParseStmt.cpp
index 1f6c74a..16270ad 100644
--- a/clang/lib/Parse/ParseStmt.cpp
+++ b/clang/lib/Parse/ParseStmt.cpp
@@ -956,7 +956,7 @@ StmtResult Parser::ParseCompoundStatement(bool isStmtExpr) {
///
StmtResult Parser::ParseCompoundStatement(bool isStmtExpr,
unsigned ScopeFlags) {
- assert(Tok.is(tok::l_brace) && "Not a compount stmt!");
+ assert(Tok.is(tok::l_brace) && "Not a compound stmt!");
// Enter a scope to hold everything within the compound stmt. Compound
// statements can always hold declarations.