summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-05 05:37:45 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-05 05:37:45 +0000
commit0c2734f8de45da5df4fcbb3993682be81f5dbb62 (patch)
tree52695180de4a9598c791416b63d1cba27a1fb408 /clang/lib/AST
parent5fd4ea36fd53f8beca2056f98c2683ae4ceb5e0d (diff)
downloadbcm5719-llvm-0c2734f8de45da5df4fcbb3993682be81f5dbb62.tar.gz
bcm5719-llvm-0c2734f8de45da5df4fcbb3993682be81f5dbb62.zip
fix trivial typos in comments; NFC
llvm-svn: 307123
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/ExprConstant.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index e836135cf2f..548a1e24f83 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/lib/AST/ExprConstant.cpp
@@ -9508,7 +9508,7 @@ bool ComplexExprEvaluator::VisitBinaryOperator(const BinaryOperator *E) {
case BO_Mul:
if (Result.isComplexFloat()) {
// This is an implementation of complex multiplication according to the
- // constraints laid out in C11 Annex G. The implemantion uses the
+ // constraints laid out in C11 Annex G. The implemention uses the
// following naming scheme:
// (a + ib) * (c + id)
ComplexValue LHS = Result;
@@ -9589,7 +9589,7 @@ bool ComplexExprEvaluator::VisitBinaryOperator(const BinaryOperator *E) {
case BO_Div:
if (Result.isComplexFloat()) {
// This is an implementation of complex division according to the
- // constraints laid out in C11 Annex G. The implemantion uses the
+ // constraints laid out in C11 Annex G. The implemention uses the
// following naming scheme:
// (a + ib) / (c + id)
ComplexValue LHS = Result;
OpenPOWER on IntegriCloud