[PATCH] D145834: typo statment to statement
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 13 08:51:38 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG73f9a0c92377: Fix typo: statment to statement; NFC (authored by HerrCai0907, committed by aaron.ballman).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145834/new/
https://reviews.llvm.org/D145834
Files:
clang/lib/AST/Interp/ByteCodeStmtGen.cpp
clang/lib/Parse/ParseStmt.cpp
Index: clang/lib/Parse/ParseStmt.cpp
===================================================================
--- clang/lib/Parse/ParseStmt.cpp
+++ clang/lib/Parse/ParseStmt.cpp
@@ -1100,7 +1100,7 @@
++LookAhead;
}
// Then look to see if the next two tokens close the statement expression;
- // if so, this expression statement is the last statement in a statment
+ // if so, this expression statement is the last statement in a statement
// expression.
IsStmtExprResult = GetLookAheadToken(LookAhead).is(tok::r_brace) &&
GetLookAheadToken(LookAhead + 1).is(tok::r_paren);
Index: clang/lib/AST/Interp/ByteCodeStmtGen.cpp
===================================================================
--- clang/lib/AST/Interp/ByteCodeStmtGen.cpp
+++ clang/lib/AST/Interp/ByteCodeStmtGen.cpp
@@ -471,7 +471,7 @@
const Expr *Value = CS->getLHS();
PrimType ValueT = this->classifyPrim(Value->getType());
- // Compare the case statment's value to the switch condition.
+ // Compare the case statement's value to the switch condition.
if (!this->emitGetLocal(CondT, CondVar, CS))
return false;
if (!this->visit(Value))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145834.504688.patch
Type: text/x-patch
Size: 1203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230313/53e12861/attachment.bin>
More information about the cfe-commits
mailing list