[clang] [clang] Ensure fixed point conversions work in C++ (PR #68344)
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 5 17:05:13 PDT 2023
================
@@ -156,7 +156,8 @@ ImplicitConversionRank clang::GetConversionRank(ImplicitConversionKind Kind) {
// it was omitted by the patch that added
// ICK_Zero_Queue_Conversion
ICR_C_Conversion,
- ICR_C_Conversion_Extension
+ ICR_C_Conversion_Extension,
+ ICR_C_Conversion_Extension,
----------------
rjmccall wrote:
What's the consequence of using `ICR_C_Conversion_Extension` here instead of just an ordinary conversion? In a sense, this isn't an extension in the same way that some of the other conversions are — these are just fundamental types that C++ hasn't incorporated into the standard yet.
https://github.com/llvm/llvm-project/pull/68344
More information about the cfe-commits
mailing list