summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseExpr.cpp
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-02 06:12:49 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-02 06:12:49 +0000
commit533777f257fba1fe899580865a1eecc9aa007f39 (patch)
tree0584f178b67644b3e2c25420b2259b6b3a802429 /clang/lib/Parse/ParseExpr.cpp
parentbb703e89602acdf4a80f6dd8240422cba451f6bd (diff)
downloadbcm5719-llvm-533777f257fba1fe899580865a1eecc9aa007f39.tar.gz
bcm5719-llvm-533777f257fba1fe899580865a1eecc9aa007f39.zip
fix trivial typos in comments; NFC
llvm-svn: 306969
Diffstat (limited to 'clang/lib/Parse/ParseExpr.cpp')
-rw-r--r--clang/lib/Parse/ParseExpr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp
index aacb00e8be6..44b87af01ab 100644
--- a/clang/lib/Parse/ParseExpr.cpp
+++ b/clang/lib/Parse/ParseExpr.cpp
@@ -1866,7 +1866,7 @@ Parser::ParseExprAfterUnaryExprOrTypeTrait(const Token &OpTok,
}
}
- // If we get here, the operand to the typeof/sizeof/alignof was an expresion.
+ // If we get here, the operand to the typeof/sizeof/alignof was an expression.
isCastExpr = false;
return Operand;
}
@@ -1972,7 +1972,7 @@ ExprResult Parser::ParseUnaryExprOrTypeTraitExpression() {
if (OpTok.isOneOf(tok::kw_alignof, tok::kw__Alignof))
Diag(OpTok, diag::ext_alignof_expr) << OpTok.getIdentifierInfo();
- // If we get here, the operand to the sizeof/alignof was an expresion.
+ // If we get here, the operand to the sizeof/alignof was an expression.
if (!Operand.isInvalid())
Operand = Actions.ActOnUnaryExprOrTypeTraitExpr(OpTok.getLocation(),
ExprKind,
OpenPOWER on IntegriCloud