]> granicus.if.org Git - clang/commit
[C++2a] Implement operator<=>: Address bugs and post-commit review comments after...
authorEric Fiselier <eric@efcs.ca>
Tue, 8 May 2018 00:52:19 +0000 (00:52 +0000)
committerEric Fiselier <eric@efcs.ca>
Tue, 8 May 2018 00:52:19 +0000 (00:52 +0000)
commit69c8cb5c32122984d00da0e56c46421d2bdc6d09
tree25bb5bb2b67b45d03a6cfdf112394319d968561d
parent179156d855fbab556047efce8e38d88d03816554
[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`.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331707 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
include/clang/AST/ComparisonCategories.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/ComparisonCategories.cpp
lib/CodeGen/CGExprAgg.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExpr.cpp
test/SemaCXX/compare-cxx2a.cpp
test/SemaCXX/std-compare-cxx2a.cpp