From c5fb8580536e421e3d18ac0dd82615d2e87a1131 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Tue, 8 May 2018 00:52:19 +0000 Subject: [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 --- clang/lib/CodeGen/CGExprAgg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGExprAgg.cpp') 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(); -- cgit v1.2.3