summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-05-08 00:52:19 +0000
committerEric Fiselier <eric@efcs.ca>2018-05-08 00:52:19 +0000
commitc5fb8580536e421e3d18ac0dd82615d2e87a1131 (patch)
treedd70622074da959c03921edde44f16afc764cf72 /clang/lib/CodeGen/CGExprAgg.cpp
parentfb00bde419b4dd51de5b3b15ade3ef1cdc481ddc (diff)
downloadbcm5719-llvm-c5fb8580536e421e3d18ac0dd82615d2e87a1131.tar.gz
bcm5719-llvm-c5fb8580536e421e3d18ac0dd82615d2e87a1131.zip
[C++2a] Implement operator<=>: Address bugs and post-commit review comments after r331677.
This patch addresses some mostly trivial post-commit review comments received on r331677. Additionally, this patch fixes an assertion in `getNarrowingKind` caused by the use of an uninitialized value from `checkThreeWayNarrowingConversion`. llvm-svn: 331707
Diffstat (limited to 'clang/lib/CodeGen/CGExprAgg.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprAgg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp
index 23d74dae4e3..a736beb96bb 100644
--- a/clang/lib/CodeGen/CGExprAgg.cpp
+++ b/clang/lib/CodeGen/CGExprAgg.cpp
@@ -956,7 +956,7 @@ void AggExprEmitter::VisitBinCmp(const BinaryOperator *E) {
if (!ArgTy->isIntegralOrEnumerationType() && !ArgTy->isRealFloatingType() &&
!ArgTy->isNullPtrType() && !ArgTy->isPointerType() &&
!ArgTy->isMemberPointerType() && !ArgTy->isAnyComplexType()) {
- return CGF.ErrorUnsupported(E, "aggregate three-way comparisoaoeun");
+ return CGF.ErrorUnsupported(E, "aggregate three-way comparison");
}
bool IsComplex = ArgTy->isAnyComplexType();
OpenPOWER on IntegriCloud